APP下载

Electrocardiogram(ECG)pattern modeling and recognition via deterministic learning

2014-12-06XundeDONGCongWANGJunminHUShanxingOU

Control Theory and Technology 2014年4期

Xunde DONG,Cong WANG†,Junmin HU,Shanxing OU

1.School of Automation Science and Engineering,South China University of Technology,Guangzhou Guangdong 510640,China;

2.Department of Radiology,General Hospital of Guangzhou Military Command,Guangzhou Guangdong 510010,China

Electrocardiogram(ECG)pattern modeling and recognition via deterministic learning

Xunde DONG1,Cong WANG1†,Junmin HU1,Shanxing OU2

1.School of Automation Science and Engineering,South China University of Technology,Guangzhou Guangdong 510640,China;

2.Department of Radiology,General Hospital of Guangzhou Military Command,Guangzhou Guangdong 510010,China

A method for electrocardiogram(ECG)pattern modeling and recognition via deterministic learning theory is presented in this paper.Instead of recognizing ECG signals beat-to-beat,each ECG signal which contains a number of heartbeats is recognized.The method is based entirely on the temporal features(i.e.,the dynamics)of ECG patterns,which contains complete information of ECG patterns.A dynamical model is employed to demonstrate the method,which is capable of generating synthetic ECG signals.Based on the dynamical model,the method is shown in the following two phases:the identification(training)phase and the recognition(test)phase.In the identification phase,the dynamics of ECG patterns is accurately modeled and expressed as constant RBF neural weights through the deterministic learning.In the recognition phase,the modeling results are used for ECG pattern recognition.The main feature of the proposed method is that the dynamics of ECG patterns is accurately modeled and is used for ECG pattern recognition.Experimental studies using the Physikalisch-Technische Bundesanstalt(PTB)database are included to demonstrate the effectiveness of the approach.

ECG;Pattern recognition;Deterministic learning;Dynamics;Temporal features DOI10.1007/s11768-014-4056-4

1 Introduction

As a valuable tool for patient monitoring or diagnosis in clinical practice,an electrocardiogram(ECG)iswidely used for the detection of a broad range of cardiac conditions,e.g.,heart rate variability(HRV),myocardial ischemia and myocardial infarction.Due to the enormous volume of the non-stationary ECG data available,ECG analysis is very time consuming.Thus,automatic ECG recognition and analysis is very important in detecting cardiac disease.The process of automatic ECG recognition generally consists of two steps:i)the extraction and selection of ECG pattern features,and ii)the design of classification systems.The performance of ECG pattern classification strongly depends on the characterization power of the features extracted fromthe ECG data and the design of the classification model[1].ECG features can be extracted in time domain,in frequency domain,or represented as statistical measures.Lots of schemes using different techniques have been proposed for feature extraction,such as wavelet transform(WT)[1–10],principal component analysis(PCA)[11–13],KL transforms[14],Hermite function[15],and Hilbert transform[16].For the design of ECG classification systems,many schemes have also been presented,including morphology method[17],fuzzy inference engines[18],particle swarm optimization[1,19],support vector machines[20–22],hidden Markov model[23],independent component analysis[24,25],nearest neighbor method[9],linear discriminant analysis[26,27],and artificial neural network(ANN).In particular,ANN has often been proposed as tools for realizing classifiers that are able to deal even with nonlinear discrimination between classes and to accept incomplete or ambiguous input patterns[28].Many promising ANN-based techniques have also been applied to the ECG pattern recognition and classification,including multilayer perceptrons(MLPs)[29–34],fuzzy neural networks[35–39],modular neural network[40,41],radial basis function network[42–44],etc.

Although muchprogresshasbeenachieved,sofarfully automatic classification of ECG patterns is still a challenging problem.The main difficulty lies in the significant variations in the morphologies of ECG waveforms for different patients and under different temporal and physical conditions[1,34].For example,in some cases patients with identical defects may not have completely similar ECG waveforms,while in other cases two variousdiseasesmayhavenearlythesameECGsignals[45].Moreover,in healthy individuals as well as within different patient categories,a large interindividual variability in the ECG waveforms is presented[46].The existence of large variations in the morphologies of ECG waveforms is mainly due to the fact that ECG waveforms are temporal or dynamical patterns describing electrical activities of the heart.Thus,automatic classification and diagnosis of ECG signals virtually belongs to the problem of temporal pattern recognition.As a matter of fact,recognition of temporal patterns is among the most difficult tasks in the pattern recognition area[47].One challenging issue is how to appropriately represent thetime-varyingpatternsinatime-independentmanner.Further,similarity definition andrecognition oftemporal patterns are also difficult problems.It has been pointed out that the methods for temporal pattern processing should be fundamentally different from those for static pattern processing[48].

Recently,a deterministic learning theory[49–51]was proposed for representation,similarity definition and rapid recognition of temporal patterns.This theory was mainlydeveloped using conceptsand theoriesofsystem identification,adaptive control,and radial basis function(RBF)networks.By using the deterministic learning theory,the dynamics of a temporal pattern is accurately modeled and then the temporal pattern can be effectively represented in a time-invariant and spatially distributed manner.That is,a temporal pattern is represented as a set of constant weights of an RBF network.Moreover,this representation contains complete information of its state trajectory and its underlying system dynamics along the state trajectory.A similarity definition of temporal patterns was given based on system dynamics.With the time-invariant representation and the similarity definition of temporal patterns,a mechanism for rapid recognition of temporal patterns was proposed in[50,51].In the recognition mechanism,the learned knowledge can be quickly recalled and used for recognition.A bank of estimators are constructed using the time-invariant representation.By comparing the set of estimators with a test pattern,a set of recognition errors are generated,and are taken as the similarity measure between the training patterns and the test pattern.The recognition of a test dynamical pattern is achieved rapidly because the recognition process takes place from the beginning of measuring the state of the test pattern,without identifying the system dynamics of the test pattern and so without comparing system dynamics of corresponding dynamical patterns via numericalcomputation.Furthermore,ascompleteinformation of temporal patterns is used in the recognition mechanism,it will be more suitable for accurate recognition of complex temporal patterns.

In this paper,we present a method for ECG pattern modeling and recognition via deterministic learning theory,aiming at classify ECG signals into different types corresponding to different heart diseases.The proposed method is completely based on the temporal features(i.e.,the dynamics)of ECG patterns rather than statics features.The underlying dynamics within an ECG pattern is accurately modeled by using RBF neural networks(NNs).On this basis,an ECG pattern is represented by using complete information of its state trajectory and its underlying system dynamics along the state trajectory.Based on the representation,a mechanism of recognition of ECG patterns with low computational effort is presented.Since complete information of ECG patterns is used for automatic classification,the presented method is appropriate to solve the problems caused by the large variations of ECG.To test the proposed method,two types of ECG recordings,healthy recordings and myocardial infarction(MI)recordings,taken from Physikalisch-Technische Bundesanstalt(PTB)database[52]are used in the paper.Experimental results demonstrate the effectiveness of the proposed method.

Compared with existing results on ECG pattern modeling and recognition the proposed method has the following features:1)In existing studies,each heartbeat was recognized and classified as one type of beats(e.g.,normal beat,premature ventricular contraction,atrial premature beat).However,in this paper,each ECG signal contains a number of heartbeats,and is recognized and classified as one type of heart diseases.The objectives of the two kinds of methods are different.2)In most existing ECG modeling studies,it is the states of ECG signals that were modeled.However,in this paper,it is the underlying system dynamics rather than the states of ECG signals that are accurately modeled and then used for ECG pattern recognition.Especially,it is accurately modeled by using the deterministic learning theory.3)The recognition process of a test ECG pattern takes place from the beginning of measuring the state of test ECG pattern,without numerical computation associated with identifying the test ECG pattern dynamics andcomparisonofsystemdynamicsofthetwoECGpatterns.Thus,the recognition can be achieved with low computational effort.

The remainder of this paper is organized as follows.A brief introduction of the deterministic learning is presented in Section 2.Section 3 is devoted to the dynamical model used for showing the proposed method.In Section 4,on the basis of the dynamical model mentioned in Section 3,we present the mechanism of ECG pattern recognition of via deterministic learning.In Section 5,two types of ECG recordings taken from PTB database are used to demonstrate the effectiveness of the proposed method.Section 6 is a discussion of the proposed method.Section 7 concludes the paper.

2 Deterministic learning

Deterministic learning theory was proposed for NN approximation of nonlinear dynamical systems[49].Among various types of NN architectures,a dynamical version of the localized RBF neural networks is used in deterministic learning theory.The RBF networks can be considered as two-layer networks in which the hidden layer performs a fixed nonlinear transformation with no adjustableparameters;thatis,theinputspaceismapped into a new space.The output layer then combines the outputs in the latter space linearly.Therefore,they belong to a class of linearly parameterized networks.It has been proven that an RBF network can approximate any continuous function(i.e.,universal approximation)to arbitrary accuracy.Usually,it can be described in the following form:

where x is the input vector,W=[w1···wN]T∈ RNis the weight vector,N>1 is the NN node number,and S(x)=[s1(|x − ξ1|) ···sN(|x − ξN|)],is the regressor vector,with si(·)being a radial basis function,and ξi(i=1,...,N)being distinct neurons in state space.The radial basis function used in deterministic learning is Gaussian function,which has the following form:where η is the bandwidth of the each neuron.

Consider a general nonlinear dynamical system in the following form:

where x is the state of the system which is measurable,p is a constant vector of system parameters,and f(x;p)is a continuous but unknown nonlinear function.

To achieve identification of the unknown system dynamics f(x;p),the following dynamical model using the RBF network is employed:

whereˆx is the state of the dynamical model,x is the state of system(2),a>0 is a design constant,RBF networkˆWTS(x)are used to approximate the unknown f(x;p)in equation(2)withˆW=[w1···wN]T∈RNand S(x)=[s1(‖x − ξ1‖) ···sN(‖x − ξN‖)]T,si(·)being Gaussian function,and ξi(i=1,...,N)being distinct points in state space.The weight estimatesˆW are updated by the following law:

where Γ = ΓT> 0,and σ > 0 is a small value.Based on the dynamical model(3)and the weight update law(4),the approximation for the unknown f(x;p)can be obtained:

Remark1 A temporal(dynamical)pattern isdefined as a recurrent system trajectory generated from the dynamical system as system(2).The class of recurrent trajectories includes periodic,quasi-periodic,almostperiodic,and even chaotic trajectories.This definition of a dynamical pattern covers a wide class of temporal patterns studied in the literature.

3 Dynamical model

A dynamical model which is capable of replicating many of the important features of the human ECG had been introduced in[53].It has a variable number of free parameters that make it adaptable to many normal and abnormal ECG signals[54].By changing parameters of the dynamical model,different morphologies for the PQRST-complex can be generated.The effectiveness of different techniques for ECG analysis could be assessed by using the synthetic ECG.For example,in[55],the data generated by mixing the synthetic ECG signals with random realizations of ECG noise are used to evaluate performance of various of ECG enhancers.In[56],the dynamical model is used to quantify the errors in spectral estimates of HRV due to resampling and beatreplacement.With the simplicity and flexibility,this model can be easily used as a base for ECG processing[57],somemodified nonlinear dynamicmodelshave developed and are used for ECG denoising and baseline wandering[54,57].

To illustrate the proposed method,a dynamical model which is a little different from the dynamical model proposed in[53]is used in this paper.The difference is that the baseline wander,which was modeled in the dynamical model proposed in[53],is not considered in ourstudy,since the purpose of this paperis to propose a new method for ECG pattern recognition rather than for ECG preprocessing.It is given by a set of three ordinary equations as follows:

with x=[x1x2x3],p=[AlBlθl]being the constant vector of system parameters,Al,l∈{P,Q,R,S,T}represent the amplitudes of the P,Q,R,S,T waves;Bl,l∈{P,Q,R,S,T}represent the width(i.e.,time duration)of P,Q,R,S,T waves;θl,l∈ {P,Q,R,S,T}represent the locations on the circle where P,Q,R,S,T waves occur[58].A three-dimensional trajectory generated by(5)corresponding to(x1,x2,x3)is illustrated in Fig.1 and is denoted as ϕζ.The x3variable from the dynamical model(5)yields a synthetic ECG with realistic PQRST morphology(Fig.2).Inthefollowingsection,thedynamicalmodelandthe trajectory willbe used to illustrate the proposed method.

Remark 2 In the dynamicalmodel proposed in[53],the baseline wander is modeled with the x30which is assumed to be a relatively low amplitude sinusoidal componentcoupled with the respiratory frequency[54],where

Fig.1 Trajectory generated by the dynamical model(5)with certain parameters.

Fig.2 Morphology of one PQRST-complex of the ECG with big T-wave generated by dynamical model(5),corresponding to the x3variable.

4 Methods

In this section,based on the dynamical model mentioned in Section 3,we present an approach for recognition of ECG patterns by using the deterministic learning theory.The approach will be shown in two phases:the training phase and the test phase.In the training phase,the dynamics of the ECG signals is accurately modeled and is expressed as constant RBF networks.In the test phase,a similarity definition of ECG patterns is given first.Based on the constant RBF networks and the similarity definition,we propose a mechanism for recognition of ECG patterns.For a test ECG pattern,a bank of estimators are constructed using the constant RBF networks.By comparing the set of estimators with the test ECG pattern,a set of recognition errors are generated and are taken as the similarity measure between the training ECG patterns and the test ECG pattern.According to the smallest error principle,the test ECG pattern can be recognized.

4.1 Identif i cation phase

In this section,we will discuss the identification of the ECG system dynamics f(x;p).Based on the deterministic learning,the following dynamical model using the RBF networks is employed to identify the dynamics f(x;p)of system(5).

where X=[x1x2],ˆx3is the estimation of x3in system(5),a>0 being design constants,RBF networksˆWS(X)are used to approximate f(x;p).The weight estimates ˆW are updated by the following law:

where Γ = ΓT> 0,and σ > 0 is a small value.

Consider the adaptive system consisting of the nonlinear dynamical system(5),the dynamical model(6),and the NN weight updating law(7).For the trajectory ϕζshown in Fig.1,with initial valuesˆW(0)=0,according to Theorem 1 in[59],we have:i)all signals in the adaptive system remain uniformly bounded;ii)the state estimation error˜x3=ˆx3−x3converges to zero;iii)f(x;p)=¯WTS(X)+∈,where∈is the approximation error which can be made arbitrarily small.Thus,accurate identification of ECG system dynamics is achieved along the trajectory ϕζ.ECG patterns are effectively represented by the accurate NN approximations of system dynamics.The representation is time-invariant in the sense that it is independent of the time attribute.The representation is also spatially distributed,since fundamental information is stored in a large number of neurons distributed along the trajectory of the ECG pattern.Thus,complete information of both the ECG pattern state and the underlying ECG dynamics is utilized for appropriate representation of the ECG pattern.In other words,a complete representation of ECG patterns is achieved.

In order to show the identification effect of the proposed method,synthetic ECG signal shown in Fig.2 is accurately identified.A dynamical model(such as(6))corresponding to the synthetic ECG signal is first constructed using RBF networks.The weightestimatesˆW of the RBF network are updated by equation(7).According to Theorem 1 in[59],the weights of the RBF networks ˆW will be converge to their optimal values W*.The convergence of the neural weights is shown in Fig.3.It can be seen from this figure that the neural weights indeed convergeto their optimalvalues.FromFig.4,wecansee that good NN approximations of f(x;p)is obtained using the proposed method.In other words,the accurate identification of f(x;p)is actually achieved.

Fig.3Partial parameter convergenceˆW after the transient process.Each line corresponds to one neuron of the RBF network.

Fig.4 Function approximation,where f(x)is known,¯WTS(X)is the approximation of f(x),and e(X)is the approximating error.

4.2 Recognition phase

Based on the time-invariant representation of the system dynamics of ECG patterns(i.e.,constant RBF neural weights),we propose a mechanism for recognition of ECG patterns.Using the constant RBF networks obtained in the training phase,we construct a dynamical model for each training ECG pattern[50].For the kth(k=1,...,M)training ECG pattern ϕkζ,a dynamical model is constructed by using the time-invariant representation¯WkTas

According to Theorem 2 in[50],the state estimation errorsare approximately proportional to the differences between the system dynamics of test ECG pattern ϕςand the identified system dynamics of training ECG patternThus,the synchronization errors can be taken as similarity measures between the test and the training ECG patterns.Accordingly,in this paper,we propose the following definition of similarity for ECG patterns.

Def i nition 1 The test ECG pattern ϕςis recognized as similar to the training ECG patternif the average L1norm of the state estimation error˜xkis the smallest.

where T is the period of the heart beat.

From the above analysis,we take the following method to recognize a test ECG pattern from a set of training ECG patterns:

·Identify the system dynamics of a set of training ECG patterns ϕkζ,k=1,...,M.

·Construct a set of dynamical models(8)for the training dynamical patterns ϕkζ.

·Take the state x(t)of a test ECG pattern ϕςas the RBFN input to the dynamical models(8),and compute the average L1norm of the state estimation error˜xk.

·Take the training dynamical pattern whose corresponding dynamical model yields the smallest‖˜xk‖1as the one most similar to the test dynamical pattern ϕςin the sense of similarity definition given above.

Remark 3 The recognition of a test ECG pattern can be achieved with low computational effort because the recognition process takes place from the beginning of measuring the state of the test ECG pattern,without feature extraction from test ECG pattern.

5 Results

A set of ECG records taken from PTB diagnostic ECG database[52]is used to evaluate the proposed method.PTB database is an ECG collection that was provided by the National Metrology Institute of Germany for teaching and research purposes,and for algorithm evaluation[60].It contains more than 27000ECG records,and each record includes 15 simultaneously measured signals:the conventional 12 leads together with the three Frank leads ECG(VX,VY,VZ).Especially,each record of PTB database has a detailed clinical summary,including age,gender,diagnosis and so on.In the database,52 subject’s records diagnosed as healthy and 148 subject’s records diagnosed as myocardial infarction(MI)by physicians.A set containing 52 healthy ECG signals taken from the 52 healthy subjects and 148 MI ECG signals taken from the 148 MI subjects(one recording per patient)is used in our experiment.The data length is 10 seconds.Since ECG signal recorded in each lead is the projection of the heart vector onto the lead vector,so we only use the three Frank leads ECG to recognize and classify the ECG patterns.It is worth noting that,no matter identify or recognize a ECG pattern,ECG preprocessing have to be done to remove various noises,especially the baseline wandering since it will seriously affect the periodicity of the ECG signal.

Based on the ECG recordings taken from PTB database,four experiments are conducted in the paper.The performance is quantified by the following three indices:accuracy,specificity(SPE)and sensitivity(SEN),which are defined as follows:

where TP(true positives)is the number of correctly recognized MI ECG signals,TN(true negatives)is the number of correctly recognized healthy ECG signals,FP(falsepositives)isthenumberoferroneouslyrecognized MI ECG signals,and FN(false negatives)is the number of erroneously recognized healthy ECG signals.

In the first experiment,10 healthy ECG signals and 25 MI ECG signals are randomly selected as training patterns.The remaining ECG signals,42 healthy ECG signals and 123 MI ECG signals,are used as test patterns.In the second experiment,25 healthy ECG patterns and 50 MI ECG patterns are selected as training patterns.Correspondingly,the remaining 25 healthy ECG signals and 98 MI ECG signals are used as test patterns.The obtained test recognition accuracies of experiment 1 and experiment 2 are 81%and 90%.Detailed results of the two experiments are given in Table 1,where H and MI denote healthy and MI ECG signal,N denotes the number of mis-recognized ECG signals.

To further estimate the performance of the proposed method,k-fold cross-validation method is used in the following two experiments.It is a standard technique in machine learning and is popular for estimating generalization ability of a classifier.The data set is divided into k subsets,and the proposed method is repeated k times.Each time,one of the k subsets is used as the test set and the other k−1 subsets are put together to form a training set.Then,the average error across all k trials is computed.In the paper,3-and 5-fold cross-validation are used to further estimate the proposed method.The obtained test recognition accuracies of 3-and 5-fold cross-validation are 89.5%and 85.5%,respectively.Detailed results are given in Tables 2 and 3,where H,MI and N are the same as in Table 1.

Table 1 Recognition results of Experiments 1 and 2.

Table 2 Recognition results of Experiment 3.

Table 3 Recognition results of Experiment 4.

Asanexample,identificationresultsofs0302lrem(patient 116)are given as follows.After denoising,space vector(VX,VY,VZ)of s0302lrem is shown in Fig.5.As mentioned in Section 4.1,three dynamicalmodels using the RBF networks are employed to identify the dynamics of VX,VYand VZ.The neural weights estimatesˆWX,ˆWYandˆWZare updated along the trajectory shown in Fig.5.AsdescribedforFig.3inthe lastparagraphofSection 4.1,the neural weights of the three RBF networks are converge to their optimal values.The convergence of the neural weights is shown in Fig.6.It can be seen from Fig.6 that the neural weights are essentially unchanged during the last two seconds,in other words,the weights estimates indeed converge to their optimal values.The underlying system dynamics along the state trajectory shown in Fig.5 is identified and is shown in Fig.7.The dynamics of the other training ECG patterns can also be identified by the same procedure.Then,a pattern library can be obtained.

With a pattern library,a test ECG pattern can be recognizedaccordingtothesimilarity definition ofECGpatterns.Asanexample,ahealthy ECGdata s0336lrem(patient 185)is recognized by using the proposed method,with the pattern library of the first experiment.A set of dynamical models for the training ECG patterns are constructed first,and the state of s0336lrem is used as the RBF network input to the dynamical models.Then,comparing the test ECG pattern s0336lrem with the dynamical models,we obtain a set of state tracking errors ˜xk,k=1,2,...,35,where˜x=(˜VX,˜VY,˜VZ).The average L1norms of˜xkis computed as follows:

The average L1norms of˜xkfor the 35 training patterns are shown in Fig.8.According to the smallest error principle,test ECG pattern s0036lrem is recognized as similar to training pattern s0302lrem.That is,ECG pattern s0036lrem is classified into healthy group.

Fig.5 The space vector of s0302lrem with 10 seconds length(patient 116).

Fig.6 Partialparameterconvergenceafterthe transient process,which are corresponding to the three Frank lead ECGs VX,VY,VZ.Each line corresponds to one neuron of the RBF network.

Fig.7 The dynamics of s0302lrem(the first 1.5 seconds)we identified,andcorresponding to the three Frank leads ECG.

Fig.8 Average L1norms of˜xkfor the 35 training patterns,where˜xk,k=1,2,...,35 are the state tracking errors obtained by comparing the test ECG pattern s0036lrem with the 35 training ECG patterns.The dash line corresponds to the training ECG pattern s0302lrem,a healthy ECG data(patient 116).

6 Discussion

AsshowninSection4.1,asyntheticECGsignalshown in Fig.2 is generated by the dynamical model(5),and the dynamics f(x;p)of the synthetic ECG signals is accurately modeled and represented as constant RBF networks.Likewise,the dynamics of practical ECG signals can also be accurately modeled,an example is given in Section 5.On this basis,four experiments with different number of training ECG patterns are given.The number of the training ECG patterns of the second experiment is more than 2 times of the first experiment.From the results of the two experiments,we can see that the accuracy of the second experiment is higher than the first experiment.Especially,the accuracy of the second experiment for healthy and MI ECG patterns are 16 percentage points and 7 percentage points higher than the first experiment.This shows that the accuracy can be improved by increasing the number of the training ECG patterns.

From Tables 2 and 3,we can see the accuracies of 3-and 5-fold cross-validation are 89.5%and 85.5%,respectively.There is a little difference between the accuracies of the two experiments.Additionally,the accuracy of experiment 2(90%)is very close to experiment 3(89.5%).These show the proposed method has good generations.On the another hand,these also show the accuracybased on the set used in the paper is difficult to further improve,since the number of the records is very limited and the records(52 healthy ECG signals and 148 MI ECG signals)are far from representative of all of the healthy ECG patterns and MI ECG patterns.

As the existence of individual differences in human heart,the recognition accuracy based on a small pattern library is more dependent on the selection of training ECGpatterns.Thatisthemainreasonfortheloweraccuracy of the first experiment(which can be seen in Table 1).Also for the reason,there is a large variation of specificity of different folds(e.g.,the difference between the specificity of Folds 1 and 4 of 5-fold cross-validation experiment is 11.8 percentage point).Moreover,the training ECG patterns used in the experiments may not be universally representative,since the impact of various factors(e.g.,ages,gender,physical conditions)for ECG patterns is not taken into account.However,in addition to the individual differences,there also exist similarities in the mechanism and physiological among patients with the same disease.Thus,if there is a large pattern library containing adequate ECG patterns with different agesand differentphysical conditions(e.g.,healthy conditions,various diseases),most of test ECG pattern will be accurately recognized.With further increase of the training ECG pattern,the accuracy will be satisfactory for the clinical application.

Thus,the method may be used in automatic detection of heart diseases in the near future.A large number of ECG patterns can be obtained conveniently in clinical.ECG recordings of various heart diseases diagnosed by physicians can be added in a ECG pattern library.Based on a very large scale pattern library which contains ECG patterns with various heart diseases,a more accurate detection of heart diseases will be achieved.As the rapid development of computer technology,the establishment and processing of a very large scale pattern library is not a problem.As an estimated 106ECGs performed per day[61],the proposed method will be very helpful to improve diagnosis efficiency and to reduce workload of physicians.

7 Conclusions

In this paper,we have proposed an approach for recognition of ECG signals.Each ECG signal is recognized rather than beat-to-beat,which is completely different from existing studies.It includes the following elements:a time-invariant representation for ECG patterns,a similarity measure based on ECG dynamics,a mechanism for ECG pattern recognition with low computationaleffort.Ithasbeenshown,thatthedynamicsof ECG is effectively expressed as constant RBF networks.With the time-invariant manner,a set of estimators are constructed.For a test ECG pattern,a set of errors are obtained by comparing it with the set of dynamical estimators.Based on the similarity definition of ECG patterns,the test ECG pattern is recognized according to the smallest residual error principle.Compared with the existing ECG recognition approaches,the main advantage of the proposed method is that the dynamics which contains complete information of ECG patterns is used for recognition.Another advantage is that it does not need to extract various static features from test ECG pattern.Moreover,numerical computation associated with identifying test ECG pattern dynamics and comparison of dynamics of two ECG patterns is also not required.Accordingly,various complex algorithms for features extraction are avoided and the recognition can be achieved with low computational effort.

[1]T.Ince,S.Kiranyaz,M.Gabbouj.A generic and robust system for automated patient-specific classification of ECG signals.IEEE Transactions on Biomedical Engineering,2009,56(5):1415–1426.

[2] C.Li,C.Zheng,C.Tai.Detection of ECG characteristic points using wavelet transforms.IEEE Transactions on Biomedical Engineering,1995,42(1):21–28.

[3]F.A.Afsar,M.Arif,J.Yang.Detection of ST segment deviation episodes in ECG using KLT with an ensemble neural classifier.Physiological Measurement,2008,29(7):747–760.

[4]J.S.Sahambi,S.N.Tandonz,R.K.P.Bhatt.Using wavelet transforms for ECG characterization–an on-line digital signal processing system.IEEE Engineering in Medicine and Biology Magazine,1997,16(1):77–83.

[5]S.C.Saxena,V.Kumar,S.T.Hamde.Feature extraction from ECG signals using wavelet transforms for disease diagnostics.International Journal of Systems Science,2002,33(13):1073–1085.

[6]˙I.G¨uler,E.¨Ubeyli.ECG beat classifier designed by combined neural network model.Pattern Recognition,2005,38(2):199–208.

[7]M.Bahoura,M.Hassani,M.Hubin.DSP implementation of wavelet transform for real time ECG wave forms detection and heart rate analysis.Computer Methods and Programs in Biomedicine,1997,52(1):35–44.

[8]A.Daamouchea,L.Hamamib,N.Alajlanc,et al.A wavelet optimization approach for ECG signal classification.Biomedical Signal Processing and Control,2012,7(4):342–349.

[9] S.Banerjee,M.Mitra.ECG beat classification based on discrete wavelet transformation and nearest neighbor classifier.Journal of Medical Engineering&Technology,2013,37(4):264–272.

[10]J.P.Mart´ınez,R.Almeida,S.Olmos,et al.A wavelet-based ECG delineator:evaluation on standard databases.IEEE Transactions on Biomedical Engineering,2004,51(4):570–581.

[11]V.Monasterio,P.Laguna,J.P.Mart´ınez.Multilead analysis of T-wave alternans in the ECG using principal component analysis.IEEE Transactions on Biomedical Engineering,2009,56(7):1880–1890.

[12]F.Castells,P.Laguna,L.Söornmo,et al.Principal component analysis in ECG signal processing.EURASIP Journal on Applied Signal Processing,2007:DOI 10.1155/2007/74580.

[13]M.P.S.Chawla,H.K.Verma,V.Kumar.Anewstatistical PCA-ICA algorithm for location of R-peaks in ECG.International Journal of Cardiology,2008,129(1):146–148.

[14]F.Jager,G.B.Moody,R.G.Mark.Detection of transient ST segment episodes during ambulatory ECG monitoring.Computers and Biomedical Research,1998,31(5):305–322.

[15]T.Rochaa,S.Paredesa,P.Carvalhob,et al.A lead dependent ischemic episodes detection strategy using Hermite functions.Biomedical Signal Processing and Control,2010,5(4):271–281.

[16]D.Benitez,P.A.Gaydecki,A.Zaidi,et al.The use of the Hilbert transform in ECG signal analysis.Computers in Biology and Medicine,2001,31(5):399–406.

[17]P.D.Chazal,M.O’Dwyer,R.B.Reilly.Automatic classification of heartbeats using ECG morphology and heartbeat interval features.IEEE Transactions on Biomedical Engineering,2004,51(7):1196–1206.

[18]M.Engin.ECG beat classification using neuro-fuzzy network.Pattern Recognition Letters,1998,25(15):1715–1722.

[19]M.Kor¨urek,B.Doˇgan.ECG beat classification using particle swarm optimization and radial basis function neural network.Expert Systems with Applications,2010,37(12):7563–7569.

[20]F.Melgani,Y.Bazi.Classification of electrocardiogram signals with support vector machines and particle swarm optimization.IEEE Transactions on Biomedical Engineering,2008,12(5):667–677.

[21]S.Karpagachelvi,M.Arthanari,M.Sivakumar.Classification of electrocardiogram signals with support vector machines and extreme learning machine.Neural Computing and Applications,2012,21(6):1331–1339.

[22]F.A.Atienza,J.L.Rojo-´Alvarez,A.R.Mu˜noz,etal.Feature selection using support vector machines and bootstrap methods for ventricular fibrillation detection.Expert Systems with Applications,2012,39(2):1956–1967.

[23]R.V.Andre˜ao,B.Dorizzi,J.Boudy.ECG signal analysis through hidden Markov models.IEEE Transactions on Biomedical Engineering,2006,53(8):1541–1549.

[24]Y.Zhu,A.Shayan,W.Zhang,et al.Analyzing high-density ECG signals using ICA.IEEE Transactions on Biomedical Engineering,2008,55(11):2528–2537.

[25]S.Yu,K.T.Chou.A switchable schemeforECGbeatclassification based on independent component analysis.Expert Systems with Applications,2007,3(4):824–829.

[26]M.Kaur,A.S.Arora.Classification of ECG signals using LDA with factor analysis method as feature reduction technique.Journal of Medical Engineering&Technology,2012,36(8):411–420.

[27]Y.C.Yeh,W.Wang,C.W.Chiou.Cardiac arrhythmia diagnosis method using linear discriminant analysis on ECG signals.Measurement,2009,42(5):778–789.

[28]R.Silipo,C.Marchesi.Artificial neural networks for automatic ECGanalysis.IEEE Transactionson Signal Processing,1998,46(5):1417–1425.

[29]Y.Hu,S.Palreddy,W.Tompkins.A patient-adaptable ECG beat classifier using a mixture of experts approach.IEEE Transactions on Biomedical Engineering,1997,44(9):891–900.

[30]Z.Dokur,T.¨Olmez.ECG beat classification by a novel hybrid neural network.Computer Methods and Programs in Biomedicine,2001,66(2/3):167–181.

[31]T.Mar,S.Zaunseder,J.P.Mart´Inez,et al.Optimization of ECG classification by means of feature selection.IEEE Transactions on Biomedical Engineering,2011,58(8):2168–2711.

[32]H.G.Hosseini,D.Luo,K.J.Reynolds.The comparison of different feed forward neural network architectures for ecg signal diagnosis.MedicalEngineering&Physics,2006,28(4):372–378.

[33]S.Osowski,T.H.Linh.ECG beat recognition using fuzzy hybrid neural network.IEEE Transactions on Biomedical Engineering,2001,48(11):1265–1271.

[34]R.Ceylan,Y.¨Ozbay.Comparison of FCM,PCA and WT techniques for classification ECG arrhythmias using artificial neural network.Expert Systems with Applications,2007,33(2):286–295.

[35]R.Ceylan,Y.¨Ozbay,B.Karlik.A novel approach for classification of ECG arrhythmias:type-2 fuzzy clustering neural network.Expert Systems with Applications,2009,36(3):6721–6726.

[36]F.M.Ham,S.Han.Classification of cardiac arrhythmias using fuzzy ARTMAP.IEEE Transactions on Biomedical Engineering,1996,43(4):425–430.

[37]L.Y.Shyu,Y.Wu,W.Hu.Using wavelet transform and fuzzy neural network for VPC detection from the Holter ECG.IEEE Transactions on Biomedical Engineering,2004,51(7):1269–1273.

[38]S.Barro,M.F.Delgado,J.A.V.Sobrino,et al.Classifying multichannel ECG patterns with an adaptive neural network.IEEE Engineering in Medicine and Biology Magazine,1998,17(1):45–55.

[39]Y.Wang,Y.Zhu,N.V.Thakor,et al.A short-time multifractal approach for arrhythmia detection based on fuzzy neural network.IEEE Transactions on Biomedical Engineering,2001,48(9):989–995.

[40]M.Javadia,S.A.A.A.Aranib,A.Sajedina,et al.Classification of ECG arrhythmia by a modular neural network based on mixture of experts and negatively correlated learning.Biomedical Signal Processing and Control,2013,8(3):289–296.

[41]S.M.Jadhav,S.L.Nalbalwar,A.A.Ghatol.Modular neural network network based arrhythmia classification system using ECG signal data.InternationalJournal of Knowledge Management and Information Technology,2011,4(1):205–209.

[42]T.Stamkopoulos,K.Diamantaras,N.Maglaveras,et al.ECG analysis using nonlinear PCA neural networks for ischemia detection.IEEE Transactions on Signal Processing,1998,46(11):3058–3067.

[43]N.Maglaveras,T.Stamkopoulos,K.Diamantaras,etal.ECG pattern recognition and classification using non-linear transformations and neural networks:a review.International Journal of Medical Informatics,1998,52(1/3):191–208.

[44]A.S.Al-Fahoum,I.Howitt.Combinedwavelettransformation and radialbasisneuralnetworksforclassifyinglife-threateningcardiac arrhythmias.Medical&Biological Engineering&Computing,1999,37(5):566–573.

[45]M.Moavenian,H.Khorrami.A qualitative comparison of artificial neuralnetworksandsupportvectormachinesinECGarrhythmias classification.Expert Systems with Applications,2010,37(4):3088–3093.

[46]R.Hoekema,G.J.H.Uijen,A.V.Oosterom.Geometrical aspects of the interindividual variability of multilead ECG recordings.IEEE Transactions on Biomedical Engineering,2001,48(5):551–559.

[47]P.Hong,T.Huang.Automatic temporal pattern extraction and association.IEEE International Conference on Acoustics,Speech,and Signal Processing.Orlando:IEEE,2002:2005–2008.

[48]D.L.Wang.Temporal pattern processing.TheHandbook of Brain Theory and Neural Networks.Cambridge:MIT,2003:1163–1167.

[49]C.Wang,D.J.Hill.Learningfromneuralcontrol.IEEETransactions on Neural Networks,2006,17(1):1310–146.

[50]C.Wang,D.J.Hill.Deterministic learning and rapid dynamical pattern recognition.IEEE Transactions on Neural Networks,2007,18(3):617–630.

[51]C.Wang,D.J.Hill.Deterministic LearningTheoryfor Identification,Recognition and Control.Boca Raton:CRC Press,2009.

[52]A.L.Goldberger,L.Amaral,L.Glass,et al.PhysioBank,PhysioToolkit,and PhysioNet:components of a new research resource for complex physiologic signals.Circulation,2000,101(23):e215–e220.

[53]P.McSharry,G.Clifford,L.Tarassenko.A dynamical model for generating synthetic electrocardiogram signals.IEEE Transactions on Biomedical Engineering,2003,50(3):289–294.

[54]R.Sameni,M.B.Shamsollahi,C.Jutten,et al.A nonlinear Bayesianfiltering frameworkfor ECGdenoising.IEEETransactions on Biomedical Engineering,2007,54(12):2172–2185.

[55]X.Hu,V.Nenov.A single-lead ECGenhancementalgorithm using a regularized data-driven filter.IEEE Transactions on Biomedical Engineering,2006,53(2):347–351.

[56]G.D.Clifford,L.Tarassenko.Quantifying errors in spectral estimates of HRV due to beat replacement and resampling.IEEE Transactions on Biomedical Engineering,2005,52(4):630–638.

[57]O.Sayadi,M.B.Shamsollahi.ECG denoising and compression using a modified extended Kalman filterstructure.IEEE Transactions on Biomedical Engineering,2008,55(9):2240–2248.

[58]M.Gidea,C.Gidea,W.Byrd.Deterministic modelsforsimulating electrocardiographicsignals.Communications in Nonlinear Science and Numerical Simulation,2011,16(10):3871–3880.

[59]C.Wang,D.J.Hill.Deterministic learning and nonlinear observer design.Asian Journal of Control,2010,12(6):714–724.

[60]I.Odinaka,P.Lai,A.Kaplan,et al.ECG biometric recognition:a comparative analysis.IEEE Transactions on Information Forensics and Security,2012,7(6):1812–1824.

[61]G.T.Lines,M.L.Buist,P.Grttum,et al.Mathematical models and numerical methods for the forward problem in cardiac electrophysiology.Computingand Visualization in Science,2003,5(4):215–239.

2 May 2014;revised 17 October 2014;accepted 17 October 2014

†Corresponding author.

E-mail:wangcong@scut.edu.cn.Tel.:+86-20-87114612.

This work was supported by the National Science Fund for Distinguished Young Scholars of China(No.61225014).

©2014 South China University of Technology,Academy of Mathematics and Systems Science,CAS,and Springer-Verlag Berlin Heidelberg

Xunde DONG is a Ph.D.candidate at the Center for Control and Optimization,School of Automation,South China University ofTechnology.His research interest covers adaptive NN control/identification,deterministic learning theory and distributed parameter system.E-mail:dong.xd@mail.scut.edu.cn.

Cong WANG received the B.E.and M.E.degrees from Beijing University of Aeronautic&Astronautics in 1989 and 1997,respectively,and the Ph.D.degree from the Department of Electrical&Computer Engineering,The National University of Singapore in 2002.From 2001 to 2004,he did his postdoctoral researchatthe Department of Electronic Engineering,City University of Hong Kong.He has been with the School of Automation,South China University of Technology,Guangzhou,China,since 2004,where he is currently a professor.He has authored and co-authored over 60 international journal and conference papers and the book“Deterministic Learning Theory for Identification,Recognition and Control”.He serves as an associate editor of the IEEE Transactions on Neural Networks and Learning Systems since 2012,and as an Associate Editor for Journal of Control Theory&Applications,and ACTA AUTOMATICA SINICA(two best journals in systems and control area in China)since 2008 and 2011,respectively.He is a member of the Technical Committee on Intelligent Control of the IEEE CSS.His research interest includes intelligent control,neural networks,nonlinear systems and control,dynamical pattern recognition,pattern-based control,dynamical systems,and oscillation fault diagnosis.E-mail:wangcong@scut.edu.cn.

Junmin HU isaPh.D.candidateat the Center for Control and Optimization,School of Automation,South China University of Technology.Her research interest covers adaptive NN control/identification,deterministic learning theory and oscillation faultdiagnosis.E-mail:hujunmin852@163.com.

Shanxing OU is a doctor of Medicine,and is currently director of the Department of Radiology,General Hospital of Guangzhou Military Command,Guangzhou,China.He is a member of the standing committee of the Chinese People’s Liberation Army society of radiology.He servers as the chairman of committee of Guangzhou Military Command society of radiology.His research interest includes cardiothoracic surgery disease,the imaging diagnosis of heart diseases,coronary heart disease,and myocardial ischemia.E-mail:oushanxing@sina.com.