Next Article in Journal
A Novel Dual-Band Six-Phase Voltage-Control Oscillator
Next Article in Special Issue
Human Activity Recognition Based on Symbolic Representation Algorithms for Inertial Sensors
Previous Article in Journal
Block Adjustment without GCPs for Chinese Spaceborne SAR GF-3 Imagery
Previous Article in Special Issue
3DAirSig: A Framework for Enabling In-Air Signatures Using a Multi-Modal Depth Sensor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An EigenECG Network Approach Based on PCANet for Personal Identification from ECG Signal

Department of Control and Instrumentation Engineering, Chosun University, Gwangju 501759, Korea
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(11), 4024; https://doi.org/10.3390/s18114024
Submission received: 29 October 2018 / Revised: 11 November 2018 / Accepted: 14 November 2018 / Published: 18 November 2018
(This article belongs to the Special Issue Artificial Intelligence and Machine Learning in Sensors Networks)

Abstract

:
We herein propose an EigenECG Network (EECGNet) based on the principal component analysis network (PCANet) for the personal identification of electrocardiogram (ECG) from human biosignal data. The EECGNet consists of three stages. In the first stage, ECG signals are preprocessed by normalization and spike removal. The R peak points in the preprocessed ECG signals are detected. Subsequently, ECG signals are transformed into two-dimensional images to use as the input to the EECGNet. Further, we perform patch-mean removal and PCA algorithm similar to the PCANet from the transformed two-dimensional images. The second stage is almost the same as the first stage, where the mean removal and PCA process are repeatedly performed in the cascaded network. In the final stage, the binary quantization, block sliding, and histogram computation are performed. Thus, this EECGNet performs well without the use of back-propagation to obtain features from the visual content. We constructed a Chosun University (CU)-ECG database from an ECG sensor implemented by ourselves. Further, we used the well-known MIT Beth Israel Hospital (BIH) ECG database. The experimental results clearly reveal the good performance and effectiveness of the proposed method compared with conventional algorithms such as PCA, auto-encoder (AE), extreme learning machine (ELM), and ensemble extreme learning machine (EELM).

1. Introduction

ECG is the process of recording the electrical activity of the heart over a period of time using electrodes placed on the skin. These electrodes detect small electrical changes on the skin that arise from the heart muscle’s electrophysiological pattern of depolarizing and repolarizing during each heartbeat. In addition, The ECG signal is some kind of an electric provocation spread in the heart muscle cells. Under the influence of this provocation, the heart muscle cells shrink, which as a result, causes a mechanical effect in the form of the cyclic shrinking of heart atria and ventricles. As an effect of heart muscle shrinking, the blood circulates in the human organs. The propagation of electric provocation in the heart muscle forms a depolarization wave of the bioelectric potentials of the neighboring heart cells. The propagation of the depolarization wave is caused due to a quick movement of positive ions of sodium (Na+). After moving of the depolarization wave, the heart muscle cells return to their rest state recovering before starting resting negative potential. This state is called a repolarization phase. The depolarization and repolarization phenomena of the heart muscle cells are caused by the movement of ions. This is the essence of the heart electric activity. Movement of ions in the heart muscle cells is the electric current, which generates the electromagnetic field around the heart. There is a possibility to measure the electric potential at each point of the electromagnetic field [1,2]. In summary, the heart’s electrical supply is automatically functioned by slow spontaneous depolarization of the sinus node, resulting in cell migration based on relaxation and relaxation of the heart muscle. Cell migration causes depolarization and repolarization, which leads to electrical generation. Accordingly, it is the electrocardiogram that measures the cell movement of the heart from the small electricity generated by the sinus node.
Meanwhile, ECG was originally used to distinguish diseases (arrhythmia, cardiomyopathy, and cardiac valve) in the medical field. Recently, it has been widely used in the field of recognition using characteristic information of unique ECG. Samsung pay, Apple pay, Ali pay with a fingerprint, face recognition, etc., will begin to use biometric information for personal authentication. Therefore, ECG signals that have been collected only for medical purposes can represent the person and become another unique information type. In addition, the electrocardiogram signal will have a great effect that it can be used for confirming the health status of the patient such as smart health care or telemedicine. Moreover, ECG can be used only while it is alive, and security can be useful because it cannot be authenticated if it is influenced by feelings and body changes due to intimidation. In addition, miniature devices for healthcare such as smart bands are introduced, and ECG and brain waves can be measured and utilized for personal identification at the same time [3]. The ECG of self-certification can have an effect of huge ripple as described above, and we look at trends in previous research to verify the identity of the individual.
Firstly, a detection method of heartbeat type was presented. Sotelo [4] addressed the specific problem of detecting atrial premature beats that had been demonstrated to be a marker for stroke risk or cardiac arrhythmias. Isar [5] proposed the reconstructed phase space modeled by the Gaussian mixture model and bins, separately, and subsequently used the classic Bayesian classifier for patient-independent heartbeat classification. Wen [6] applied a self-organizing cerebellar model articulation controller network to design an ECG classifier by observing the QRS complex of each heartbeat. Yu [7] presented a noise-tolerant ECG beat classification method based on the higher order statistics of sub-band components using DWT and the feedforward backpropagation neural network.
Secondly, we discuss emotion recognition. It is one of the fields that can be developed, if ECG recognition technology is commercialized. Kiranyaz [8] presented a personalized long-term ECG classification framework, which addresses the problem within a long-term ECG signal, known as the Holter register, recorded from an individual patient. Long [9] presented a wavelet-transform-based feature extraction to recognize emotions through ECG signals. Foteini [10] studied the ECG pattern analysis for emotion detection using the Hilbert instantaneous frequency.
Finally, we discuss biometric identification. The goal of Tantawi [11] was to quantitatively evaluate the information content of a fiducial-based feature set in terms of its effect on the subject and heart beat classification accuracy using PCA, Linear Discriminant Analysis (LDA), and information-gain ratio. Fang [12] developed a QRS detection-free ECG biometric based on the phase space trajectory of the ECG signal using normalized spatial correlation and mutual nearest point distance. David [13] proposed novel fiducial and nonfiducial approaches to electrocardiogram-based biometric systems using the mean nearest-neighbor. Singh [14] proposed new techniques to delineate P and T waves efficiently from heartbeats. Odinaka [15] proposed cardiovascular biometrics by combining mechanical and electrical signals using laser Doppler vibrometry. Juan [16] developed ECG authentication for mobile devices using ECG intervals. Safie [17] presented a novel framework comprising ECG as a biometric system for human authentication using the pulse active ratio and Euclidean distance. Juan [18] proposed using a multimodal biometric approach (ECG and fingerprint) to secure the interaction between “things” and people, and Yin [19] proposed a parallel ECG-based authentication called PEA. Specifically, this paper proposes a hybrid ECG feature extraction method that integrates fiducial- and nonfiducial-based features to extract more comprehensive ECG features and thereby improve the authentication stability. Muqing [20] presented a dynamical ECG recognition framework for human identification and cardiovascular diseases classification via a dynamical neural learning mechanism. Carmen [21] introduced a new CA scheme that, contrary to previous works in this area, considers ECG signals as continuous data streams. Pedro [22] studied the effect of attacker characterization in ECG-based continuous authentication mechanisms for the Internet of things. Mahsa [23] proposed a novel method for extracting fiducial points (FPs) of the beats in ECG signals using the switching Kalman filter. Peyman [24] developed a biometric security scheme for wireless body area networks.
In this section, well-known feature extraction methods that are employed in ECG analysis are introduced. Various feature extraction algorithms such as PCA [25], LDA [26], and Independent Component Analysis (ICA) [27] are used for personal authentication. Abawajy [25] proposed a novel multistage algorithm that combined various procedures for dimensionality reduction, consensus clustering of randomized samples, and fast supervised classification algorithms for processing high-dimensional large ECG datasets using PCA. Khalaf [26] proposed a computer-aided diagnosis system for classifying five beat types including normal, premature ventricular contraction, premature atrial contraction, left bundle branch block, and right bundle branch block using PCA with LDA. Martis [27] studied ECG beat classification using PCA, LDA, ICA, and Discrete Wavelet Transform (DWT). Also, cardiac decision is studied making using higher-order spectra using PCA [28]. Wang [29] presented a k-nearest-neighbor classifier with a heart-rate variability-feature-based transformation algorithm for driving stress recognition using LDA. Karimipour [30] introduced a simple, low-latency, and accurate algorithm for the real-time detection of P-QRS-T waves in ECG signals using DWT.
On the other hand, there are two main types of PCANet studies. The first one is applied to various data without changing the algorithm. The second one is proposed by changing the algorithm and structure of PCANet. Researchers applying various data without changing algorithm include the following. Wu [31] utilized deep learning and SVM classifiers to recognize traffic lights for varying illumination conditions. Wang [32] showed that the error rate of PCANet is qualitatively correlated with the inverse of the logarithm of BlockEnergy, which is the energy after the block sliding process of PCANet, and also this relation is quantified by using curve fitting method.
Researchers proposing the changing algorithm of PCANet include the following. Yang [33] presented a canonical correlation analysis network (CCANet) to address image classification, in which images are represented by two-view features. Zeng [34] proposed a quaternion principal component analysis network (QPCANet), which extends PCANet by using quaternion theory, for color image classification. In addition, the first author to suggest PCANet was Chan [35]. The authors developed the PCANet for a simple deep-running algorithm. PCANet and LDANet have been developed together and compared to the existing deep-learning CNN. PCANet is similar to CNN’s convolution concept. Accordingly, there are two directions for development of PCANet.

Motivation and Contribution

The initial motivation of our study was to apply a simple deep learning network using ECG. PCANet is an algorithm that is primarily used in face recognition, and facial data are primarily composed of two dimensions. However, to apply ECG to EECGNet, one-dimensional ECG should be changed to 2D. How to change the dimension of the input is also seen in many trends. In addition, it is applied to many fields through recent deep running, but it is difficult to analyze the reason for its performance. That is, you cannot tell why the performance is good. Undoubtedly, EECGNet is easy to understand and analyze because it is part of the most intuitive and easy deep learning. Thus, we represent the novelty and excellence of EECGNet applications through the comparison with deep-learning algorithms in ECG.
The contribution of this paper are helping Database (DB) acquisition and performing various experiments with a preprocessing method. The preprocessing process and the data were processed. Various experiments were conducted and analyzed using EECGNet in ECG. We herein classify ECG signals through EECGNet and compare the performance with PCA, ELM and EELM. We also present a new approach using ECG signals. The ECG is originally composed of one-dimensional signals. One-dimensional ECG is featured by the proposed preprocessing method, and the feature is converted into two-dimensional. The features extracted by the PCANet using ECG are exploratory and the ECG recognition rate is improved through the following modeling. In short, the merit of this paper is the possibility of research on ECG personal recognition of research through EECGNet, and the validity of the pre-processing process, the geometric transformation of data, and algorithm are verified by using two kinds of data. In addition, the CU-ECG database is a self-produced database by the CU.
This paper is organized as follows. Section 2 describes the concept of PCANet. The core of PCANet is PCA with learning. Hence, the Net that is called the weight is presented to train each layer, individually. Regarding speed, PCANet is slower than PCA because of the training, but PCANet performs better than PCA in terms of performance. In Section 3, we present the structure of the EigenECG Network (EECGNet), data processing, and preprocessing of ECG signals. Further, we explore the feature of EECGNet using ECG and analyze the flow of EECGNet. Section 4 describes the CU-ECG database of the construction environment and sensor information and summarizes the MIT-BIH ECG database and CU-ECG databases which are developed with a sensor to acquire ECG data. For the experiment, 1D ECG signals are transformed into 2D ones because EECGNet uses 2D and three-dimensional (3D) signals as inputs. We also use comparative indicators to analyze the differences between the data and compare their performances using PCA, Auto-Encoder (AE), ELM, and EELM. The parameters of EECGNet such as the patch size, number of filters, block size, and lap ratio are adjusted to improve its performance. We verified the influence of these parameters on the performance of PCANet by modifying the key parameters of the experiment. Finally, Section 5 presents the conclusion of this paper.

2. PCANet

In this section, PCANet-related papers and PCA papers are reviewed to apply PCANet [35]. The architecture of the basic PCANet is shown in Figure 1. It can be divided into three stages that include 10 steps.

2.1. PCA

A PCA is a linear subspace projection technique used to downsample high-dimensional datasets and minimize the reprojection error. The primary steps in the process are summarized as follows. First, the covariance matrix of the input data is calculated; subsequently, from this covariance matrix, the eigenvalues and eigenvectors are calculated. Next, the eigenvalues provide a measure of the significance of the corresponding eigenvectors, and considers the variation in the original data. Finally, the eigenvectors that account for the desired level of the variation are selected. The eigenvectors are the coordinate axes of the new feature space. The variables in the original dataset are projected onto the most significant eigenvectors to yield the original data solely in terms of the chosen vectors. These transformed variables are called the principal components (PCs). The pseudocode of PCA algorithm is presented in Algorithm 1.
Algorithm 1 PCA
  Input: A D-dimensional training set X = { x 1 ,   x 2 , , x N }
     and the new (lower) dimensionality d (with d D)
  • Compute the mean x ¯ = 1 N i = 1 N x i
  • Compute the covariance matrix Cov ( x ) = 1 N i = 1 N ( x i x ¯ ) ( x i x ¯ i ) T
  • Find the spectral decomposition of Cov ( x ) , obtaining the eigenvectors
    V 1 , V 2 , , V D and their corresponding eigenvalues λ 1 , λ 2 , , λ D . Note that the eigenvalues are sorted, such that λ 1 λ 2 λ D 0
  • For any x D , its new lower dimensional representation is:
    y =   ( V 1 T ( x x ¯ ) ,   V 2 T ( x x ¯ ) , , V d T ( x x ¯ ) ) T d
    and the original x can be approximated as
    x x ¯ + V 1 T ( x x ¯ ) ) V 1 + ( V 2 T ( x x ¯ ) ) V 2 + + ( V d T ( x x ¯ ) ) V d

2.2. PCANet

In this section, we first review the PCANet [31,35], whose architecture is shown in Figure 1, and can be divided into three stages that include 10 steps.
Figure 2 shows the detailed flow of process that PCANet extracts features of train dataset. The detailed description of the workflow is below:
(1) The original input is training images such as ECG. However, input image is PCA output’s output if Step (4) processes before.
(2) Extracting the PCANet filters is the main mission of PCA filterbank.
(3) The eigenvector is an output of PCA filterbank
(4) Make original images convolve with PCANet filters as output to the next step.
(5) Make V convolve with PCANet filters as an output image to the next step.
(6) Output image is the PCANet output after two PCA stage.
(7) Binarize output image and calculate block-wise histograms. Here, we create a weight map and proceed with the binary quantization and weighted combination of the elements of the input data.
(8) Ftrain is the final feature extracted by PCANet.
Suppose that we have N input training images { I i ,   i = 1 , 2 , , N } ,   I i m   ×   n , and that the patch size (or 2D filter size) of all stages is k 1   ×   k 2 , where k 1 and k 2 are odd integers satisfying 1 ≤ k 1 m, 1 ≤ k 2 n. Further, the number of filters in layer i is L i , i.e., L 1 is the first stage and L 2 is the second stage. In the following, we describe the structure of PCANet in detail. Let the N input images { I i ,   i = 1 , 2 , , N } ,   be concatenated as follows:
  I = [ I 1   I 2     I N ] m   ×   N n ,  

2.2.1. First Stage of PCANet

As shown in Figure 1, the first stage of PCANet includes the following:
Step 1: The first patch sliding process.
The images are padded to I i ( m   +   k 1     1 ) × ( n   +   k 2     1 ) before the sliding operation. Out-of-range input pixels are assumed as zero. This ensures that all weights in the filters reach the entire images. We use a patch of size k 1 × k 2 to slide each pixel of the ith image I i ( m   +   k 1     1 )   ×   ( n   +   k 2     1 ) , and subsequently reshape each k 1   ×   k 2 matrix into a column vector, followed by concatenation to obtain a matrix:
  X i = [ x i , 1   x i , 2     x i , m n ] k 1 k 2   ×   m n  
where x i , j denotes the jth vectorized patch in I i . Therefore, for all the input training images { I i ,   i = 1 ,   2 , , N } ,   we can obtain the following matrix. Figure 3 shows an example of the first patch sliding process. The data of the square matrix are vectorized according to the patch size. For example, if the patch size is [3 × 3], a square matrix is set as 3 × 3 . In Figure 2, element (A1, A2, ..., A9) is converted to a vector. The elements are stacked from element (1) to (49) in the circle; subsequently, the mean removal step is performed using this data.
  X = [ X 1   X 2     X N ] k 1 k 2   ×   N m n  
Step 2: The first mean remove process.
In this step, we subtract the patch mean from each patch and obtain the following:
  X ¯ i = [ X ¯ i , 1   X ¯ i , 2     X ¯ i , m n ] k 1 k 2   ×   m n  
where x ¯ i , j   =   x i , j     1     1 m n j   =   1 m n x i , j ,   is a mean-removed vector. For each input training image I i m   ×   n , we can obtain a substituted matrix as follows:
  X ¯ = [ X ¯ 1   X ¯ 2   X ¯ N ] k 1 k 2   ×   N m n  
Step 3: The first PCA process.
In this step, the eigenvalues and eigenvectors of X ¯ are calculated from Equation (5) using the PCA algorithm, which in fact minimizes the reconstruction error in the Frobenius norm as follows:
  m i n V R k 1 k 2   ×   L 1 X     V V T X 2 2 ,   s . t . V T V = I L 1  
where I L 1 is an identity matrix of size L 1 × L 2 , and the T denotes transposition. The PCA filters are expressed as follows:
  W l 1   m a t k 1 , k 2 ( q l ( X X T ) ) k 1 × k 2 ,   l = 1 , 2 , , L 1  
where m a t k 1 , k 2 ( u l ) is a function that maps ( u l ) k 1   ×   k 2 to a matrix W l 1 k 1 × k 2 . The output of the first stage of PCANet is as follows:
  I i l I i W l 1 ,    i = 1 , 2 , , N  
where denotes a 2D convolution, and the boundary of I i is zero padding before convolving with W l 1 such that I i l is the same size as I i .

2.2.2. Second Stage of PCANet

Almost repeating the same process as the first stage, as shown in Figure 1, the second stage of PCANet also includes three steps:
Step 4: The second patch sliding process.
Similar to Step 1, we use a patch of size k 1 × k 2 to slide each pixel of the ith image I i , l k 1 k 2 × m n ,   l = 1 , 2 , , L 1 , and obtain a matrix as follows:
  Y i , l = [ y i , l , 1   y i , l , 2     y i , l , m n ] k 1 k 2 × m n ,       l = 1 ,   2 , , L 1 ; i = 1 , 2 , , N  
We concatenate the matrices of all the L 1 filters and obtain the following equation:
  Y = [ Y 1 ,   Y 2 , , Y L 1 ] k 1 k 2 × m n  
Step 5: The second mean removal process.
  Y ¯ = [ Y ¯ 1 ,   Y ¯ 2 , ,   Y ¯ L 1 ] k 1 k 2 × m n N  
Step 6: The second PCA process.
m i n V R k 1 k 2 × L 1 Y ¯ V V T Y ¯ 2 2 ,   s . t . V T V = I L 1 ,   T i , l = = 1 L 2 2 1  

2.2.3. Output Stage of PCANet

Step 7: Binary quantization,
In this step, we binarize the outputs I I I i , l , ρ of the second stage of PCANet, and obtain the following:
  P i , l , = H ( I i , l , I I ) ,    l = 1 , 2 , , L 1 ;   = 1 , 2 , , L 2 ;   i = 1 , 2 , , N ,  
where H ( · ) is a Heaviside step function whose value is 1 for positive entries, and 0 otherwise. We denote P as follows:
P = P 1 , 1 , 1   P 1 , 1 , L 2   P 1 , L 1 , 1   P 1 , L 1 , L 2   P N , 1 , 1   P N , 1 , L 2   P N , L 1 , 1   P N , L 1 , L 2  
Step 8: Weight and sum.
Around each pixel, we view the vector of L 2 binary bits as a decimal number. This converts the binary images P i , l , back into integer-valued images as follows:
  T i , l = = 1 L 2 2 1  
We denote T as follows:
  T = [ T 1 , 1   T 1 , L 1 T N , 1 T N , L 1 ] m × N L L 1 n  
Around each pixel, we view the vector of L 2 binary bits as a decimal number. This converts the binary images P i , l , back into integer-valued images.
Step 9: Block sliding.
We use a block of size h 1 × h 2 to slide each of the L 1 images T i , l ,   l = 1 , , L 1 , with overlap ratio R, and subsequently reshape each h 1 × h 2 matrix into a column vector, which is then concatenated to obtain a matrix as follows:
  Z i , l = [ z i , l , 1       z i , l , 2       z i , l , B ] h 1 h 2 × B , i = 1 , 2 , , N  
where z i , l , j denotes the jth vectorized patch in T i , l ,   l = 1 , ,   L 1 .   B is the number of blocks when using a block of size h 1 × h 2 to slide each T i , l ,   l = 1 , , L 1 , with the overlap ratio R, and expressed as
  B = [ 1 + m + k 1 1 h 1 s t r i d e 1 ]   ×   [ 1 + n + k 2 1 h 2 s t r i d e 2 ]  
where stride1 and stride2 are the vertical and horizontal steps, respectively, and r o u n d ( . ) means round off.
  s t r i d e 1 = r o u n d ( ( 1 R )   ×   h 1 ) ,    s t r i d e 2 = r o u n d ( ( 1 R )   ×   h 2 )  
As shown in Equation (16), the number of blocks B increases as the overlap ratio R increases. For L 1 images, we concatenate Z i , l to obtain a matrix as follows:
  Z i = [ Z i , 1 Z i , 2     Z i , B ] h 1 h 2 × L 1 B ,     i = 1 , 2 , , N  
We denote Z as follows:
  Z = [ Z 1 , 1   Z 1 , B Z N , 1 Z N , B ] h 1 h 2 × L 1 B N  
Step 10: Histogram.
We compute the histogram (with 2 L 2 bins) of the decimal values in each column of Z i and concatenate all the histograms into one vector and obtain the following:
  f 1 = [ H i s t ( Z i , 1 , 1 )   H i s t ( Z i , 1 , B )   H i s t ( Z i , L 1 , 1 )   H i s t ( Z i , L 1 , B ) ] T ( 2 L 2 ) L 1  
This is the feature of the input image I 1 and H i s t ( . ) denotes the histogram operation. We denote f as follows:
  f = [ f 1 f N ] ( 2 L 2 ) L 1 B N  
The feature vector is subsequently sent to a classifier, for example, the Support Vector Machine (SVM) [36], etc. Figure 1 shows a diagram of PCANet. In the first stage of PCANet, mean removal and the PCA algorithm are applied. The second step is the same as the first step. Step 3 includes binary quantization and histogram computation. Table 1 shows core parameters of PCANet.

2.3. Comparison of PCA with EigenECGs Network (EECGNet)

The most significant difference between PCA and EECGNet is the dependency of training. EECGNet contains weights and training, while PCA is not dependent on training. Further, when PCA and EECGNet are applied as feature extractors, PCA is primarily reduced by a snapshot, but EECGNet is far from dimensional reduction. The other is the structural difference. Structurally, EECGNet contains Stage 1, Stage 2, and hashing histograms in the output layers; however, PCA contains covariance, eigenvectors, and eigenvalues. Further, these concepts are included in the EECGNet. In addition, PCA can analyze the performance according to the number of eigenvalues, but EECGNet contains various parameters (filter size, block size, patch size, and the overlap ratio of a block). Therefore, PCA compares and analyzes the performance according to the number of eigenvalues, but EECGNet can analyze the influence on various parameters and adjust the robust parameters to specific data. EECGNet is most affected by the patch size and filter size, and it is not significantly affected by the block size. The result is a large matrix formed by taking all possible products between the elements of X and those of Y.

3. ECG Biometrics Based on EECGNet

In this section, we present ECG-based preprocessing and EECGNet analysis. In the preprocessing, we show the sampling method by Q point detection in the original signal using ECG. The EECGNet process shows the ECG features or analyses extracted from EECGNet.

3.1. Preprocessing

ECG recordings are typically contaminated by different types of noise and artifacts. In the preprocessing step, the goals are to reduce such noise and artifacts to determine the fiducial points (P, Q, R, S, and T), and to avoid amplitude and offset effects to compare the signals from different patients. Typical types of noise are briefly described and grouped into the following categories [37]. The preprocessing process of ECG significantly affects signal analysis and classification. Therefore, we applied the following preprocessing procedure (Steps 1–5). Figure 4 shows the preprocessing using the CU ECG database.
Step 1:
Convolution is performed on the original signal with an average filter of size 500, and the average convoluted signal is subtracted from the original signal.
Step 2:
Convolution is performed with an average filter of size 10 for the regular signal.
Step 3:
The largest value in the signal is detected.
Step 4:
An average of 400 frames are extracted based on the peaks of both sides.
Step 5:
The ECG average signal of one lead and two leads are connected.

3.2. EECGNet-Based ECG Biometrics

ECG authentication, which has been highlighted in the field of biometric signal authentication, is studied to design a simple and secure authentication system through a band-type clock. ECG consists of 1D data, but the inputs of EECGNet are 2D and 3D. Therefore, ECG data of size of 1 × 784 should be changed to a 2D size. We proceed with matrix resizing to transform 1D to 2D. First, we obtain a rectangular matrix of size ( k 1   ×   k 1 ) through patch-mean removal from 2D ECG data. Subsequently, the covariance matrix, eigenvalue, and eigenvector are obtained using PCA. This is the PCA process, and the next is the PCA output process. In the PCA output process, the size of D + 1 × k 2 + 1   is changed to zero by padding; subsequently, patch-mean removal is performed again. Next, the value of the patch-mean removal is projected to the eigenvector. The convolution output can be obtained at this stage. Subsequently, the rectangular matrix is obtained again through patch-mean removal and the processes of PCA and PCA output are performed again. Subsequently, when the combination of weights is performed, the size ( m 1 × m 2 ) is returned to the original image size, and the sparse feature is constructed from the calculated histogram. The Kronecker is a tensor product of X and Y in the PCANet algorithm. Finally, the extracted features are used as inputs to the SVM classifier and the final recognition rate is obtained. Figure 5 shows a structure of EECGNet. Figure 6 shows convolution output of MIT ECG database. Figure 7 shows a comparison of PCA with EECGNet in structure. The pseudocode of EECGNet algorithm is presented in Algorithm 2.
Algorithm 2 EECGNet
    Input: training data { X i } i = 1 N ,   X i R m × n ,   L 1 ,   L 2 ,   T h e   p a t c h   s i z e   i s   k 1 × k 2
  • Reading:
    Signal ← ECG data
  • Initialization of variable:
    The size of the patch ← select the size of the patch in EECGNet
    The number of filters ← select the number of filters in EECGNet
    The size of a block ← select the size of a block in EECGNet
    Sparsity regularization ← select the number of layers in EECGNet
  • Stage 1 of EECGNet
    -
    Patch mean-removal:   X = [ X ¯ 1 ,   X ¯ 2 , ,   X ¯ N ] R k 1 k 2 × m n N  
    -
    Compute convolution kernels use PCA:
    m i n V R k 1 k 2 × L 1 || X V V T X || 2 2 ,   s . t . V T V = I L 1
    W l 1   m a t k 1 , k 2 ( q l ( X X T ) ) k 1 × k 2 ,   l = 1 , 2 , , L 1
    -
    Output: I i l I i W l 1 ,   i = 1 , 2 , , N
  • Stage 2 of EECGNet
    -
    Patch mean-removal:   Y ¯ = [ Y ¯ 1 ,   Y ¯ 2 , ,   Y ¯ L 1 ] k 1 k 2 × m n N  
    -
    Compute convolution kernels use PCA:
    m i n V R k 1 k 2 × L 1 || Y ¯ V V T Y ¯ || 2 2 ,   s . t . V T V = I L 1
    W ϑ 2   m a t k 1 , k 2 ( q l ( X X T ) ) k 1 × k 2 ,   ϑ = 1 , 2 , , L 2
    -
    Output: O i l { I i l W ϑ 2 } ϑ = 1 L 2
  • Output layer
    -
    Binary hashing: compute the decimal-valued image
    I i l ϑ = 1 L 2 2   ϑ 1   H ( I i l W ϑ 2 )
    -
    Histogram: f i [ B h i s t ( I i 1 ) , ,   B h i s t ( I i L 1 ) ] T 2 L 2 ) L 1 B
    -
    Output: F = [ f 1 ,   f 2 , , f N ]

4. Experimental Results

This section lists the database acquisition process and environment, evaluates the data, and examines the similarities. In addition, we present the performance evaluation and the effectiveness of the EECGNet.

4.1. ECG

The ECG measurement method induces three types of induction: one lead (right hand, left hand), two leads (right hand, left foot), and three leads (left hand, left foot). In this paper, we use the simplest method, which is one lead, and the signal appears as PQRST wave due to contraction of the ventricle. The P-wave is the first deflection of the ECG. It results from depolarization of the atria. Atrial repolarization occurs during ventricular depolarization and is obscured. The QRS complex corresponds to the ventricular depolarization. The T-wave represents ventricular repolarization, restoration of the resting membrane potential. In about one-quarter of population, a U-wave can be seen after the T-wave. This usually has the same polarity as the preceding T-wave. It has been suggested that the U-wave is caused by after-potentials that are probably generated by mechanical–electric feedback. Inverted U-waves can appear in the presence of left ventricular hypertrophy or ischemia. The PQ segment corresponds to electrical impulses transmitted through the S-A node, bundle of His and its branches, and the Purkinje fibers and is usually isoelectric. The PQ interval expresses the time elapsed from atrial depolarization to the onset of ventricular depolarization. The ST-T interval coincides with the slow and rapid repolarization of ventricular muscle. The QT interval corresponds to the duration of the ventricular action potential and repolarization. Then, TP interval is the period for which the atria and ventricles are in diastole. The RR interval represents one cardiac cycle and is used to calculate the heart rate [1,2,38]. Figure 8 shows the ECG waves, segment, and intervals.

4.2. CU-ECG Database

The CU-ECG is the data from the CU in Korea. The data consist of 100 persons, the measurement time was 10 s for one measurement, and a total of 60 times was measured during three days. The participants were measured while they were sitting on a chair in a relaxed state, and the data sampling rate was 500,000 Hz. The type of ECG acquired was only Lead1, and the type of electrode was a wet electrode. We used a processor, amplifier, bandpass filter, band stop filter, and low-pass filter for the primary board and sensor. The processor uses Atmega8, and the Analog to Digital (AD) converter uses a 10-bit resolution. The communication is USB to serial. The gain of the amplifier was 1000 times, and the signal was measured using a 5-V positive power source. Figure 9 shows the internal block diagram of the ECG measuring device.
To determine the suitability of the sensor, we compared the input and output signals using an SECG 4.0 machine which is manufactured in Gyeonggi, South Korea [39]. In addition, it was confirmed that the signal was outputted according to Association for the Advancement of Medical Instrumentation (AAMI) EC11 standard. The ECG performance tester designed for compliance tests. The SECG 4.0 is compliant with IEC 60601-2-25, IEC 60601-2-27, IEC 60601-2-47, and AAMI EC11 [39]. The experiment sequence is to send a signal from the computer to the generator and connect the toolbox to the mainboard ECG system. Next, an output port is created in the system and measured with an oscilloscope. Figure 10 shows ECG performance tester for compliance tests with signal.

4.3. MIT-BIH ECG Database

The MIT-BIH ECG database includes 48 parts that contain two-channel ECG recordings. Those parts were recorded between 1975 and 1979 at Boston’s Beth Israel Hospital (now the Beth Israel Deaconess Medical Center). The MIT-BIH ECG database was obtained from 47 persons, including 25 men and 22 women. Further, the men were 32–89 years of age, and the women were 23–89 years of age (two records are collected from the same male participant among all the records). This database was acquired in approximately 30 min. The sampling rate is 360 samples per second, and the resolution for digitization is 11-bit over a 10 mV range. Twenty data are constructed per class. The size of the training data is 940 × 1600, and both one lead and two leads are used. Figure 11 shows the training and testing feature data of 1D ECG using preprocessing.

4.4. Data Evaluation and Similarity Measurement

The compression ratio (CR) is defined as the ratio of the original signal size to the compressed signal size. The CR provides information about the degree by which the compression algorithm removes the redundant data. A higher CR requires fewer bits to store or transmit the data, which can be defined as
  C R = B 0 / B c  
where B 0 is the total number of bits required to represent the original data, and B c is the total number of bits required to represent the compressed data. The percent mean square difference (PRD) measures the error between the original and reconstructed signals.
  P R D ( % ) = 100   × n = 1 N ( X s ( n ) X r ( n ) ) 2 ( X s ( n ) ) 2  
The percentage root mean square difference normalized (PRDN) is a normalized version of the PRD, which is independent of the signal mean value X ¯ .
  P R D N ( % ) = 100   × n = 1 N ( X s ( n ) X r ( n ) ) 2 ( X s ( n ) X ¯ ) 2  
The root mean square error (RMS) provides a measure of error in the reconstructed signal with respect to the original signal.
  R M S ( % ) = 100   × n = 1 N ( X s ( n ) X r ( n ) ) 2 ( N 1 )  
The signal-to-noise ratio (SNR) is the measure of the degree of noise energy introduced by compression in decibels (dB).
  S N R = 10   × l o g [ n = 1 N ( X s ( n ) X ¯ ) 2 ( X s ( n ) X r ( n ) ) 2 ) ]  
Figure 12 shows the comparison of the MIT-BIH ECG database with wavelet decomposition and the CU-ECG database without wavelet decomposition.

4.5. Performance Evaluation

The accuracy performance of the SVM is used as the ratio of the correct classification to the number of total classified samples. The accuracy can be formulized as follows:
  A c c u r a c y = T P + T N T P + T N + F P + F N
TP is the number of correct predictions for the positive samples, TN is the number of correct predictions for the negative samples, FN is the number of incorrect predictions for the positive samples, and FP is the number of incorrect predictions for the negative samples. Next, to extract the optimal performance of the EECGNet, various parameters were changed. The modified parameters correspond to h, k, l, and R. We set each parameter as h 1 = h 2 ,   k 1 = k 2 ,   L 1 = L 2 and extracted the performance accordingly. We adjusted each parameter for the performance of the experiment and analyzed the effects of the parameters. The analysis shows that the higher is the block size, the better is the recognition rate. The filter number generally shows a good performance between 4 and 8. Next, concerning the database, we performed ECG personal authentication using CEECGNet. The size of both the training data and the testing data is 784 × 8550 on the CU-ECG database. There are 17,100 sizes, with 180 ECG signals per class, consisting of 95 classes. The training and testing data are divided by 0.5, resulting in a size of 8550. Training and testing data were selected as shown in Figure 13. Figure 13 shows how to divide training and testing data.
Table 2 shows the performance of EECGNet using the CU-ECG database. Table 3 shows the performance of EECGNet using the MIT-BIH ECG database. Table 4 shows a comparison among EECGNet, PCA, AE, ELM, and EELM. Figure 14 shows the performance of the MIT-BIH ECG database using one lead. Figure 15 shows the performance of ELM using the MIT-BIH ECG database and CU-ECG database. Figure 16 shows the identification performance for the MIT-BIH ECG database using one lead.

4.6. Results and Discussion

We recruited 100 subjects and and acquired three days of data per person. We propose an EigenECG Network (EECGNet) based on the principal component analysis network (PCANet) for the personal identification of electrocardiogram (ECG) from human biosignal data. In this paper, we propose the classification of ECG for identification systems using EECGNet from the human biosignal data. ECG authentication, which has been highlighted in the field of biometric signal authentication, was studied to design a simple and secure authentication system through a band-type clock. We designed the EECGNet-based SVM classifier for the ECG authentication system. The design results show good performance when compared with other algorithms, and the validity of EECGNet was confirmed. The validity of EECGNet was confirmed to be 98.2% and the proposed method showed good performance when compared with conventional algorithms such as PCA, auto-encoder, ELM, and EELM.
In addition, we analyzed the results in terms of parameters of PCANet. To illustrate with visual data, Figure 17 is shown. As the number of L, which is a parameter of PCANet, increases, the performance of the recognition rate also increases. R did not significantly affect performance. Figure 17 fixes R and h, and increases k and L from 1 to 9. When L is 9, k is increased by 1, and when k is 9, h is increased by 1. It can be seen that 10 cycles are created by looking at the whole shape. This means that every time L becomes 9 and k becomes 9, a cycle occurs once every 50 times; as a result, the performance is affected by the parameters of k and L. In addition, when the lowest performance of 86% was shown, L was 3 and k was 9. That is, when L becomes k × k, the performance is low.
On the other hand, we compared performance with existing algorithms. PCANet shows higher performance than PCA derived PCA. PCA showed stable performance between 30 and 40 eigenvectors. In addition, it shows better performance than AE, which is the basic model of deep running. The advantage of PCANet is that it is a simple deep-learning, but it is higher in performance than the existing deep learning. ELM is also a model that does not learn. That is, there is no backpropagation. ELM was not as high as PCANet’s performance despite its fast and popular algorithms. In the active function of the ELM, the sigmoid function, the relu function, and the sin function showed more than 85% performance. For the experiment, we designed the ensemble model using the ELM activation function, but the performance of PCANet was high.
When analyzing DB, the performance of CU-ECG database was better than MIT ECG database. First, participants in the ECG CU database did not have heart disease, and, second, the CU-ECG database was the bigger than the MIT-BIH database. ECG is sensitive to heartbeat and heart disease. Therefore, the MIT-BIH database affects classification because of irregular data. In addition, the size of the data affected the learning of PCANet. The database of MIT-BIH is relatively small.
On the other hand, we used the MIT-BIH ECG database in the field of recognition. The reason the MIT-BIH ECG database was used in the recognition field is that 47 patients did not judge the same class despite having the same disease (arrhythmia). Even in a few disease trials, arrhythmia, which has a significant effect on ECG, was not a major problem in ECG recognition, and the results are shown in Table 3. Figure 17 shows performance of MIT-BIH database according to number of parameters.

5. Conclusions

We herein propose the classification of ECG for identification systems using EECGNet from the human biosignal data. ECG authentication, which has been highlighted in the field of biometric signal authentication, was studied to design a simple and secure authentication system through a band-type clock. We designed the EECGNet-based SVM classifier for the ECG authentication system. The results show good performance when compared with other algorithms, and the validity of EECGNet was confirmed. The validity of EECGNet was confirmedto be 98.2% and the proposed method showed good performance when compared with conventional algorithms such as PCA, auto-encoder, ELM, and EELM. We verified the influence of these parameters on the performance of PCANet by modifying the key parameters of the experiment. Subsequently, we constructed an ECG dataset to perform the experiment and to verify whether the EECGNet can be used for the identification. In particular, EECGNet could influence the ECG certification system because of the advantage of the faster verification time. In the future, we plan to investigate EECGNet in three dimensions, as well as study the use of 1D ECG data and the structure change in the PCANet algorithm.

Author Contributions

J.-N.L. conceived and designed the research and experiments, and contributed as the lead author of the article. Y.-H.B. constructed the database for the study; S.-B.P. supported the fund for research and provided the data; and K.-C.K. supervised the writing of the article, provided suggestions, and analyzed the data for the research.

Funding

This work was also supported by the “Human Resources Program in Energy Technology” of the Korea Institute of Energy Technology Evaluation and Planning (KETEP). Financial resources were granted by the Ministry of Trade, Industry and Energy, Republic of Korea (No. 20174030201620). This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (No. 2017R1A6A1A03015496).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Adam, G.; Witold, P. ECG Signal Processing, Classification and Interpretation; Springer: London, UK, 2012; ISBN 978-0-85729-867-6. [Google Scholar]
  2. Shadmand, S.; Mashoufi, B. A new personalized ECG signal classification algorithm using block-based neural network and particle swarm optimization. Biomed. Signal. Process. 2016, 25, 12–23. [Google Scholar] [CrossRef]
  3. Stamos, K.; Naeem, R. DREAMER: A Database for emotion recognition through EEG and ECG signals from wireless low-cost off-the-shelf devices. IEEE J. Biomed. Health Inform. 2018, 22, 98–107. [Google Scholar]
  4. Rodriguez-Sotelo, J.L.; Cuesta-Frau, D.; Castellanos-Dominguez, G. Unsupervised classification of atrial heartbeats using a prematurity index and wave morphology features. Med. Biol. Eng. Comput. 2009, 47, 731–741. [Google Scholar] [CrossRef] [PubMed]
  5. Nejadgholi, I.; Moradi, M.H.; Abdolali, F. Using phase space reconstruction for patient independent heartbeat classification in comparison with some benchmark methods. Comput. Biol. Med. 2011, 41, 411–419. [Google Scholar] [CrossRef] [PubMed]
  6. Wen, C.; Lin, T.C.; Chang, K.C.; Huang, C.H. Classification of ECG complexes using self-organizing CMAC. Measurement 2009, 42, 399–407. [Google Scholar] [CrossRef]
  7. Yu, S.N.; Chen, Y.H. Noise-tolerant electrocardiogram beat classification based on higher order statistics of subband components. Artif. Intell. Med. 2009, 46, 165–178. [Google Scholar] [CrossRef] [PubMed]
  8. Kiranyaz, S.; Ince, T.; Pulkkinen, J.; Gabbouj, M. Personalized long-term ECG classification: A systematic approach. Expert Syst. 2011, 38, 3220–3226. [Google Scholar] [CrossRef]
  9. Long, Z.; Liu, G.; Dai, X. Extracting emotional features from ECG by using wavelet transform. In Proceedings of the 2010 International Conference on Biomedical Engineering and Computer Science, Wuhan, China, 23–25 April 2010; pp. 1–4. [Google Scholar]
  10. Agrafioti, F.D.; Hatzinakos, A.K. ECG pattern analysis for emotion detection. IEEE Trans. Affect. Comput. 2012, 3, 102–115. [Google Scholar] [CrossRef]
  11. Tantawi, M.M.; Revett, K.; Salem, A.; Tolba, M.F. Fiducial feature reduction analysis for electrocardiogram (ECG) based biometric recognition. Intell. Inf. Syst. 2013, 40, 17–39. [Google Scholar] [CrossRef]
  12. Fang, S.C.; Chan, H.L. QRS detection-free electrocardiogram biometrics in the reconstructed phase space. Pattern Recognit. Lett. 2013, 34, 595–602. [Google Scholar] [CrossRef]
  13. Coutinho, D.P.; Silva, H.; Gamboa, H.; Fred, A.; Figueiredo, M. Novel fiducial and non-fiducial approaches to electrocardiogram-based biometric systems. IET Biom. 2013, 2, 64–75. [Google Scholar] [CrossRef]
  14. Singh, Y.N.; Gupta, P. Correlation-based classification of heartbeats for individual identification. Soft Comput. 2011, 15, 449–460. [Google Scholar] [CrossRef]
  15. Odinaka, I.; O’Sullivan, J.A.; Sirevaag, E.J.; Rohrbaugh, J.W. Cardiovascular biometrics: Combining mechanical and electrical signals. IEEE Trans. Inf. Forensics Secur. 2015, 10, 16–27. [Google Scholar] [CrossRef]
  16. Arteaga-Falconi, J.S.; Osman, H.A.; Saddik, A.E. ECG authentication for mobile devices. IEEE Trans. Instrum. Meas. 2016, 65, 591–600. [Google Scholar] [CrossRef]
  17. Safie, S.I.; Soraghan, J.J.; Petropoulakis, L. Electrocardiogram (ECG) biometric authentication using pulse active ratio (PAR). IEEE Trans. Inf. Forensics Secur. 2011, 6, 1315–1322. [Google Scholar] [CrossRef]
  18. Juan, A.; Hussein, A.O. ECG and fingerprint bimodal authentication. Sustain. Cities Soc. 2018, 40, 274–283. [Google Scholar]
  19. Yin, Z.; Raffaele, G.; Huimin, L. PEA: Parallel electrocardiogram-based authentication for smart healthcare systems. J. Netw. Comput. Appl. 2018, 117, 10–16. [Google Scholar]
  20. Deng, M.; Wang, C.; Tang, M.; Zheng, T. PEA: Extracting cardiac dynamics within ECG signal for human identification and cardiovascular diseases classification. Neural Netw. 2018, 100, 70–83. [Google Scholar] [CrossRef] [PubMed]
  21. Carmen, C.; Pedro, P.; Lorena, G.; Juan, T. PEA: Real-time electrocardiogram streams for continuous authentication. Appl. Soft Comput. 2018, 68, 784–794. [Google Scholar]
  22. Pedro, P.; Lorena, G.; Carmen, C.; Jose, F. Effect of attacker characterization in ECG-based continuous authentication mechanisms for Internet of Things. Future Gener. Comput. Syst. 2018, 81, 67–77. [Google Scholar]
  23. Mahsa, A.; Nasim, M.; Mohamad, B.; Shamsollahi, C.J. ECG fiducial point extraction using switching Kalman filter. Comput. Methods Programs Biomed. 2018, 157, 129–136. [Google Scholar] [Green Version]
  24. Peyman, D.; Amir, H.J. A biometric security scheme for wireless body area networks. J. Inf. Secur. Appl. 2018, 41, 62–74. [Google Scholar]
  25. Abawajy, J.H.; Kelarev, A.V.; Chowdhury, M. Multistage approach for clustering and classification of ECG data. Comput. Methods Programs Biomed. 2013, 112, 720–730. [Google Scholar] [CrossRef] [PubMed]
  26. Khalaf, A.F.; Owis, M.I.; Yassine, I.A. A novel technique for cardiac arrhythmia classification using spectral correlation and support vector machines. Expert Syst. 2015, 42, 8361–8368. [Google Scholar] [CrossRef]
  27. Martis, R.J.; Acharya, U.R.; Min, L.C. ECG beat classification using PCA, LDA ICA and discrete wavelet transform. Biomed. Signal. Process. 2013, 8, 437–448. [Google Scholar] [CrossRef]
  28. Martis, R.J.; Acharya, U.R.; Mandana, K.M.; Ray, A.K.; Chakraborty, C. Cardiac decision making using higher order spectra. Biomed. Signal. Process. 2013, 8, 193–203. [Google Scholar] [CrossRef]
  29. Wang, J.S.; Lin, C.W. A k-nearest-neighbor classifier with heart rate variability feature-based transformation algorithm for driving stress recognition. Neurocomputing 2013, 116, 136–143. [Google Scholar] [CrossRef]
  30. Karimipour, A.; Homaeinezhad, M.R. Real-time electrocardiogram P-QRS-T detection-delineation algorithm based on quality-supported analysis of characteristic templates. Comput. Methods Programs Biomed. 2014, 52, 153–165. [Google Scholar] [CrossRef] [PubMed]
  31. Wu, J.; Qiu, S.; Kong, Y.; Jiang, L.; Senhadji, L.; Shu, H. PCANet: An energy perspective. Neurocomputing 2018, 313, 271–287. [Google Scholar] [CrossRef]
  32. Wang, Z.; Bi, Z.; Wang, C.; Wang, H. Traffic lights recognition based on PCANet. In Proceedings of the 2015 Chinese Automation Congress (CAC), Wuhan, China, 27–29 November 2015; pp. 559–564. [Google Scholar]
  33. Yang, X.; Liu, W.; Tao, D.; Cheng, J. Canonical correlation analysis networks for two-view image recognition. Inf. Sci. 2017, 385, 338–352. [Google Scholar] [CrossRef]
  34. Zeng, R.; Wu, J.; Shao, Z.; Chen, Y.; Chen, B.; Senhadji, L.; Shu, H. Color image classification via quaternion principal component analysis. Neurocomputing 2016, 216, 416–428. [Google Scholar] [CrossRef]
  35. Chan, T.H.; Jia, K.; Gao, S.; Lu, J.; Zeng, Z.; Ma, Y. PCANet: A simple deep learning baseline for image classification? IEEE Trans. Image Process. 2015, 24, 5017–5032. [Google Scholar] [CrossRef] [PubMed]
  36. Fan, R.E.; Chang, K.W.; Hsieh, C.J.; Wang, X.R.; Lin, C.J. LIBLINEAR: A library for large linear classification. J. Mach. Learn. Res. 2008, 9, 1871–1874. [Google Scholar]
  37. Merone, M.; Soda, P.; Sansone, M.; Sansone, C. ECG databases for biometric systems: A systematic review. Expert Syst. 2017, 67, 189–202. [Google Scholar] [CrossRef]
  38. Liu, S.H.; Wang, J.J.; Su, C.H.; Tan, T.H. Development of a patch-type electrocardiographic monitor for real time heartbeat detection and heart rate variability analysis. J. Med. Biol. Eng. 2018, 38, 411–423. [Google Scholar] [CrossRef]
  39. Diagnostic Electrocardiographic Devices (ANSI/AAMI EC11-1991); Association for the Advancement of Medical Instrumentation: Arlington, VA, USA.
Figure 1. Diagram of PCANet.
Figure 1. Diagram of PCANet.
Sensors 18 04024 g001
Figure 2. Workflow of PCANet.
Figure 2. Workflow of PCANet.
Sensors 18 04024 g002
Figure 3. First patch sliding process.
Figure 3. First patch sliding process.
Sensors 18 04024 g003
Figure 4. Preprocessing using CU ECG database: (a) raw signal; (b) mean variance; (c) spike removal; (d) R peak detection.
Figure 4. Preprocessing using CU ECG database: (a) raw signal; (b) mean variance; (c) spike removal; (d) R peak detection.
Sensors 18 04024 g004
Figure 5. Structure of EECGNet.
Figure 5. Structure of EECGNet.
Sensors 18 04024 g005
Figure 6. Convolution output of MIT ECG database: (a) first of convolution output; (b) second convolution output; (c) third convolution output; and (d) the last convolution output.
Figure 6. Convolution output of MIT ECG database: (a) first of convolution output; (b) second convolution output; (c) third convolution output; and (d) the last convolution output.
Sensors 18 04024 g006
Figure 7. Diagram of EECGNet.
Figure 7. Diagram of EECGNet.
Sensors 18 04024 g007
Figure 8. The ECG waves, segment, and intervals.
Figure 8. The ECG waves, segment, and intervals.
Sensors 18 04024 g008
Figure 9. Device of CU-ECG database and internal block diagram: (a) block diagram; (b) primary board; (c) experiment environment; and (d) testing data of CU-ECG database.
Figure 9. Device of CU-ECG database and internal block diagram: (a) block diagram; (b) primary board; (c) experiment environment; and (d) testing data of CU-ECG database.
Sensors 18 04024 g009
Figure 10. ECG performance tester for compliance tests with signal: (a) SECG 4.0; and (b) the signal extracted by SECG 4.0 using oscilloscope.
Figure 10. ECG performance tester for compliance tests with signal: (a) SECG 4.0; and (b) the signal extracted by SECG 4.0 using oscilloscope.
Sensors 18 04024 g010
Figure 11. Training and testing feature data of 1D ECG using preprocessing: (a) training data of MIT-BIH ECG database; (b) testing data of MIT-BIH ECG database; (c) training data of CU-ECG database; and (d) testing data of CU-ECG database.
Figure 11. Training and testing feature data of 1D ECG using preprocessing: (a) training data of MIT-BIH ECG database; (b) testing data of MIT-BIH ECG database; (c) training data of CU-ECG database; and (d) testing data of CU-ECG database.
Sensors 18 04024 g011
Figure 12. Comparison of MIT-BIH ECG database with wavelet decomposition and CU-ECG database without wavelet decomposition (SNR = −2.3, MSE = 0.0, PRD = 83.0, and RMSE = 0.2).
Figure 12. Comparison of MIT-BIH ECG database with wavelet decomposition and CU-ECG database without wavelet decomposition (SNR = −2.3, MSE = 0.0, PRD = 83.0, and RMSE = 0.2).
Sensors 18 04024 g012
Figure 13. How to divide training data and testing data using CU-ECG database.
Figure 13. How to divide training data and testing data using CU-ECG database.
Sensors 18 04024 g013
Figure 14. Performance of PCA using MIT-BIH ECG database and CU-ECG database: (a) MIT-BIH ECG database with PCA; and (b) CU-ECG database with PCA.
Figure 14. Performance of PCA using MIT-BIH ECG database and CU-ECG database: (a) MIT-BIH ECG database with PCA; and (b) CU-ECG database with PCA.
Sensors 18 04024 g014
Figure 15. Performance of ELM using MIT-BIH ECG database and CU-ECG database: (a) MIT-BIH ECG database; and (b) CU-ECG database.
Figure 15. Performance of ELM using MIT-BIH ECG database and CU-ECG database: (a) MIT-BIH ECG database; and (b) CU-ECG database.
Sensors 18 04024 g015
Figure 16. Performance for MIT-BIH ECG database using only one lead: (a) MIT-BIH ECG database; and (b) CU-ECG database.
Figure 16. Performance for MIT-BIH ECG database using only one lead: (a) MIT-BIH ECG database; and (b) CU-ECG database.
Sensors 18 04024 g016
Figure 17. Performance of MIT-BIH database according to number of parameters.
Figure 17. Performance of MIT-BIH database according to number of parameters.
Sensors 18 04024 g017
Table 1. Core parameters of PCANet.
Table 1. Core parameters of PCANet.
ParametersDefinition
m × n The size of input image
NThe number of data
k 1 × k 2 The patch size. k 1   and   k 2 are odd integers and satisfy
1 k 1 m ,   1 k 2 n .
L 1 L 2 The number of filters of two stages.
1 L 1 k 1 k 2 ,   1 L 2 k 1 k 2
h 1 h 2 The block size: 1 h 1 m ,   1 h 2 n .   C o n s t r a i n t : h 2 = [ n h 1 / m ]
R The overlap ratio of block. R { 0 : 0.1 : 0.9 }  
w h i c h   m e a n s   R   v a r i e s   f r o m   0   t o   0.9   w i t h   t h e   i n t e r v a l   0.1
Table 2. Performance of EECGNet using CU-ECG database.
Table 2. Performance of EECGNet using CU-ECG database.
  h   K   L Acc (R = 0.5)Acc (R = 0.6)   h   K   L Acc (R = 0.5)Acc (R = 0.6)   h   K   L Acc (R = 0.5)Acc (R = 0.6)   h   K   L Acc (R = 0.5)Acc (R = 0.6)
63392.6894.8983392.6892.78103392.6892.68123392.6892.68
3495.5095.52 3495.5095.58 3495.5095.50 3495.5095.50
3597.3597.37 3597.3597.38 3597.3597.35 3597.3597.35
3697.2697.27 3697.2697.46 3697.2697.26 3697.2697.26
3796.9896.99 3796.9896.99 3796.9896.98 3796.9896.98
3896.8296.92 3896.8296.88 3896.8296.82 3892.8296.82
3996.7796.97 3996.6196.79 3996.6796.77 3996.7796.77
4394.4694.66 4394.4694.48 4394.4694.46 4394.4694.46
4496.3996.79 4496.3996.49 4496.3996.39 4496.3996.39
4597.2797.47 4597.2797.67 4597.2797.27 4597.2797.27
4697.7497.84 4697.7497.84 4697.7497.84 4697.7497.94
4798.1998.69 4798.1998.59 4798.1998.69 4798.1998.89
4898.0098.20 4898.0098.20 4898.0098.50 4898.0098.50
4998.0998.59 4998.0998.39 4998.0998.39 4998.0998.79
5395.5295.62 5395.5295.82 5395.5295.62 5395.5295.92
5496.4296.72 5496.4296.62 5496.1296.62 5496.4296.72
5597.2097.60 5597.2097.40 5597.2097.50 5597.2097.50
5697.7797.87 5697.7797.97 5697.7797.87 5697.7797.97
5797.9597.98 5797.9597.99 5797.9598.15 5797.9598.15
5898.1498.16 5898.1498.15 5898.1498.34 5898.1498.64
5998.2198.28 5998.2198.24 5998.2198.31 5998.2198.71
6394.8094.88 6394.8094.88 6394.8095.30 6394.8094.80
6496.7896.79 6496.7896.79 6496.7897.28 6496.7896.98
6597.3197.61 6597.3197.35 6597.3198.11 6597.3197.71
6697.4397.63 6697.4397.63 6697.4397.63 6697.4397.43
6798.0298.72 6798.0298.72 6798.0298.32 6798.0298.05
6898.2698.36 6898.0298.56 6898.0298.56 6898.2698.27
6993.3093.41 6998.2693.60 6998.2693.40 6993.3093.39
7396.0896.28 7393.3096.88 7393.3096.58 7396.0896.58
7497.1997.69 7496.0897.49 7496.0897.39 7497.1997.39
7597.6897.78 7597.1997.88 7597.1997.78 7597.6897.78
7697.9597.96 7697.6898.15 7697.6898.15 7697.9597.98
7797.9697.98 7797.9597.99 7797.9597.99 7797.969799
7898.0198.06 7897.9698.09 7897.9698.05 7898.0198.05
7992.9792.99 7998.0192.99 7998.0192.99 7992.9792.99
8395.1195.21 8392.9795.61 8392.9795.16 8395.1195.12
8496.6296.72 8495.1196.82 8495.1196.68 8496.6296.72
8597.0897.88 8596.6297.58 8596.6297.38 8597.0897.78
8697.5797.77 8697.0897.87 8697.0897.67 8697.5797.58
8797.6597.85 8797.5798.15 8797.5797.68 8797.6597.68
8897.8697.96 8897.6597.86 8897.6597.96 8897.8697.89
8992.1892.38 8997.8692.98 8997.8692.38 8992.1892.19
9394.2394.53 9392.1894.63 9392.1894.26 9394.2394.29
9496.7496.84 9494.2396.94 9494.2396.79 9496.7496.79
9596.9896.99 9596.7497.68 9594.7497.98 9596.9896.99
9691.5791.77 9696.9891.67 9696.9891.47 9691.5791.67
9797.4698.11 9797.4697.66 9797.4697.66 9797.4697.76
9897.5497.58 9897.4697.84 9897.4697.58 9897.5497.84
9997.5498.14 9997.5497.74 9997.5497.84 9997.5497.94
Table 3. Performance of EECGNet using MIT-BIH ECG database.
Table 3. Performance of EECGNet using MIT-BIH ECG database.
  h   K   L Acc (R = 0.5)Acc (R = 0.6)   h   K   L Acc (R = 0.5)Acc (R = 0.6)   h   K Acc (R = 0.5)Acc (R = 0.6)   h   K   L Acc (R = 0.5)Acc (R = 0.6)
63391.6092.2383390.0091.06103388.5188.94123386.4988.72
3492.9893.19 3493.0993.30 3492.2392.87 3490.2192.77
3594.5794.15 3593.6294.47 3593.9394.57 3593.4094.15
3694.6894.89 3694.8995.00 3694.3694.68 3694.4795.00
3795.0095.43 3795.5395.74 3795.2195.85 3795.4395.53
3895.5395.64 3895.1195.43 3895.6495.85 3895.2195.85
3995.3295.43 3995.1195.21 3995.2195.53 3995.9695.43
4392.3492.34 4390.9691.06 4388.6289.68 4386.6089.15
4494.2692.93 4493.5193.72 4492.6692.77 4490.8592.13
4595.0095.11 4594.2694.89 4594.1594.57 4593.9494.26
4695.3295.64 4694.8995.43 4695.0095.11 4694.6895.00
4795.3295.43 4795.5395.32 4795.6495.53 4795.4395.64
4895.8595.74 4895.8595.85 4896.4996.17 4896.2896.38
4995.7495.53 4995.64.96.06 4996.1795.96 4996.0695.96
5393.3092.98 5392.5592.66 5389.4791.70 5388.0989.68
5493.5193.62 5492.6693.51 5492.6693.51 5492.1392.66
5594.6894.57 5594.7994.36 5594.1594.47 5594.7994.47
5695.5394.89 5695.3295.21 5695.3295.53 5695.3295.21
5795.3295.53 5795.6495.32 5795.2195.43 5795.8595.21
5895.5395.43 5895.8595.53 5895.6495.64 5896.1796.06
5995.6495.32 5995.7495.11 5995.6495.53 5995.5395.43
6389.3689.89 6389.4789.68 6387.3489.47 6385.8588.51
6493.0993.72 6493.3093.30 6491.7092.77 6490.5392.13
6593.0993.83 6593.5194.04 6593.5193.83 6592.7794.36
6694.7995.21 6695.2195.00 6694.7995.32 6694.5795.21
6795.4395.32 6795.1195.32 6795.6495.3 6795.2195.53
6894.8994.89 6895.2195.21 6895.7495.53 6895.6496.06
6995.2195.53 6995.6495.64 6995.6495.96 6995.4395.74
7389.0489.26 7387.1388.72 7387.2387.13 7385.5386.49
7491.2891.49 7491.1790.96 7490.5390.96 7489.7991.06
7594.0494.26 7594.0494.36 7593.6293.83 7593.1993.51
7694.3694.15 7694.3694.04 7693.4093.72 7693.5193.83
7794.5794.89 7795.0095.00 7794.3695.00 7794.4794.57
7894.2694.57 7895.1195.43 7895.2195.11 7895.6495.43
7994.7994.79 7994.6895.43 7995.7495.64 7995.6495.43
8388.4088.83 8387.9888.19 8386.9186.91 8385.0086.70
8490.1190.32 8489.5789.04 8488.6288.72 8487.8788.51
8592.0292.34 8591.4991.49 8590.5390.96 8590.2191.60
8693.4093.40 8693.5193.40 8693.0993.19 8692.0293.40
8793.7293.40 8793.1992.87 8792.9893.30 8792.8793.09
8893.7293.83 8893.9492.83 8893.8394.04 8893.8394.15
8993.7293.51 8993.7292.83 8993.9493.72 8993.9494.57
9386.0687.23 9385.9685.43 9384.5785.32 9383.1984.47
9490.0090.00 9490.5389.15 9488.1988.62 9487.3488.19
9591.0680.85 9590.6491.06 9590.7490.96 9590.3290.74
9692.9892.55 9692.2392.23 9692.3491.91 9691.8192.55
9793.3093.40 9793.7292.87 9793.1993.09 9792.9892.98
9893.0993.51 9893.1993.19 9892.6693.09 9893.0993.51
9993.6293.94 9995.5193.51 9993.9493.62 9993.7294.04
Table 4. Comparison of EECGNet, PCA, AE, ELM, and EELM.
Table 4. Comparison of EECGNet, PCA, AE, ELM, and EELM.
AlgorithmPCAELMEELMAEEECGNet
Database
MIT-BIH ECG database90.82%85.72%87.30%91.25%96.06%
CU-ECG database96.45%89.89%91.24%93.24%98.87%

Share and Cite

MDPI and ACS Style

Lee, J.-N.; Byeon, Y.-H.; Pan, S.-B.; Kwak, K.-C. An EigenECG Network Approach Based on PCANet for Personal Identification from ECG Signal. Sensors 2018, 18, 4024. https://doi.org/10.3390/s18114024

AMA Style

Lee J-N, Byeon Y-H, Pan S-B, Kwak K-C. An EigenECG Network Approach Based on PCANet for Personal Identification from ECG Signal. Sensors. 2018; 18(11):4024. https://doi.org/10.3390/s18114024

Chicago/Turabian Style

Lee, Jae-Neung, Yeong-Hyeon Byeon, Sung-Bum Pan, and Keun-Chang Kwak. 2018. "An EigenECG Network Approach Based on PCANet for Personal Identification from ECG Signal" Sensors 18, no. 11: 4024. https://doi.org/10.3390/s18114024

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop