
 
myocardium activity (Šprager and Zazula, 2012). 
However, in multivariate observations s
M,L
(n), new 
symbols can also be generated by aforementioned 
nonlinear extension of single observation s(n). 
 
a) 
b) 
c) 
Figure 1: Heartbeat detection using CKC method: (a) 
Three pulse trains (PTs) obtained by the CKC method are 
depicted by asterisks, crosses, and circles; (b) marginal 
energy of PTs in 1.a over time; (c) smoothed version of 
signal from 1.b by using local regression with weighted 
linear least squares. Detected heartbeats are denoted as 
local maxima. Referential ECG is depicted in all the three 
panels. 
Fig. 1.a confirms that the pulses from the same 
PT more or less occur at the same time instant after 
referential R waves (see pulse sequence of different 
colours for each of three heartbeats). Fig. 1.b shows 
marginal energy of PTs over time, underpinning the 
locations where pulses concentrate and point out 
individual heartbeats. From this point of view, the 
heartbeat detection step is trivial. The heartbeat time 
instants can be estimated as local maxima of 
marginal energy of PTs over time.  
In this study, the PT marginal energy was 
additionally smoothed by local regression using 
weighted linear least squares with window length 
corresponding to the highest expected heart rate, i.e. 
120 beats per minute (Fig. 1.c).  
3  EXPERIMENTS AND RESULTS 
The proposed method was applied to the signal set 
obtained by experimental protocol described in 
(Šprager and Zazula, 2012). The experiment 
involved 14 subjects, 11 males and 3 females (age of 
30 ± 9 years, height of 176 ± 6 cm, and weight of 77 
± 15 kg), and was performed on a bed with inserted 
6 m long optical fibre. Referential ECG signal was 
acquired with four electrodes firmly attached to the 
subject’s extremities. ECG lead II was taken as the 
referential one. Each of the observed persons was 
asked to cycle an ergometer until their submaximal 
heart rate (85 % of maximal heart rate, which 
computes as 220-age) was achieved. Afterwards, 
subjects immediately lied down on the mattress (in 
the supine position) and were asked to lie still during 
4 minutes long acquisition of interferometric and 
referential ECG signals. With such a protocol, 
gradual change of heart rate was obtained, which 
exposed the detection approach to an aggravated 
situation. 
Signals were acquired by costume made four-
channel sampling device and digitised by a 12-bit 
A/D converter built in the microcontroller 
PIC18F4458. Interferometric signals were sampled 
at 50 kHz, whereas the referential ECG signals were 
sampled at 196 Hz. The two signal sequences were 
synchronized by hardware. It has been shown 
(Šprager and Zazula, 2012) that, in demodulated 
signal, the energy of heartbeat contributions due to 
mechanical and audible activity of myocardium is 
below 60 Hz. Therefore, after frequency 
demodulation of interferometric signal, all signals 
were down-sampled to 125 Hz.  
Recorded signals were divided into four one-
minute-long segments. Each segment was then 
nonlinearly extended by using entrywise products up 
to the 5
th
 order (M = 5) with lags up to L = 10 
samples and decomposed by CKC decomposition 
approach (Holobar and Zazula, 2007).  
The acquired referential ECG signals were used 
to validate the efficiency and accuracy of the 
proposed approach. The validation step was based 
on the R waves in the ECG signal as automatically 
detected by the method published in (Pan and 
Tompkins, 1985). 
Detection efficiency was determined according 
to each referential R wave. Due to delays of 
mechanical activity of the heart in comparison with 
the ECG signal, the heartbeats detected from the 
interferometric signal fall between two consecutive 
referential R waves. In the ideal case, exactly one 
detected heartbeat appears in every RR interval. In 
this way, all detected heartbeats can be grouped in 
the following three classes: 
  true positive (TP) – the number of first detected 
heartbeats in the RR intervals, 
  false positive (FP) – the number of all detected 
heartbeats in RR intervals, excluding the first 
heartbeat in each RR interval, 
  false negative (FN) – the number of all 
undetected heartbeats in RR intervals. 
With these classes, sensitivity (r
s
) and precision (r
p
) 
were calculated as follows: 
BIOSIGNALS2013-InternationalConferenceonBio-inspiredSystemsandSignalProcessing
398