Introduction

Cardiovascular diseases (CVDs) are the most common cause of death in the world.1 This has led to assign great efforts to their early diagnosis, prevention, and treatment. According to the European Heart Network (EHN), overall CVDs are estimated to cost the EU economy 210 billion a year, of which around 53% (111 billion) are intended to the health costs.2,3 Electrocardiography (ECG) is the most common method to diagnose abnormalities in the cardiac activity and to extract the information that might reveal CVDs in advance.4 So far, this technique was traditionally limited to the hospital environment; however, the emergence of new technological paradigms, such as the Internet of Things (IoT), flexible electronic devices and electronic textiles (e-textiles) is shifting the “in-hospital care” towards the ubiquitous health-monitoring.5,6,7

Metals such as silver (Ag) or copper (Cu) are currently the most used materials for the biosignal transduction.8,9,10 There is no doubt that these materials have offered high performance in this kind of applications and have contributed to the process of medical diagnosis. However, wearable health-monitoring systems (WHMS) also require of inexpensive, lightweight, and bio-compatible conductive materials. Following these premises, flexible electronics and carbon-based materials are a symbiosis expected to play an important role in the next generation of WHMS.11,12,13,14 Celik et al. presented an electrode fabricated by chemical vapor deposition coating of graphene on top of a Ag-based electrode;15 chemically reduced graphene oxide on polyethylene terephthalate (PET) and porous textile substrates have been also studied by Lou et al. and Karim et al., respectively.16,17 Moreover, Jung et al. also proposed a carbon-nanotube (CNT) on polydimethylsiloxane (PDMS) composite-based electrode for the ECG monitoring.18 All these proposed electrodes, in addition of being biocompatible, are suitable for long-term monitoring due to their “dry” nature, since they do not require of the use of adhesive or conductive gels, in contrast to the Ag/AgCl ones.5 However, they are subjected to manufacturing processes with multiple stages, and therefore high production costs. In addition, the signal transduction capability of the electrodes must be good enough for the subsequent processing of the recorded signals. It is also important to keep in mind that wearables devices are subjected to significant restrictions of size, computational capabilities and power consumption. Therefore, it is necessary to ensure a compromise between both the raw biosignal quality and the optimization of the processing algorithms to obtain accurate results.

In this article, we propose the use of a low-power laser diode to produce a foam of porous graphene (PG) on a flexible substrate; this structure is applied to the fabrication of electrodes for the continuous and ubiquitous monitoring of ECG signals. As reported by previous works, PG with high electrical conductivity can be induced on the surface of diverse carbon-rich materials by a photothermal process.19 Recently, we presented an in-depth study of the laser-induction of PG on a flexible Kapton® substrate under ambient conditions by using a laser diode.20 This approach offers the advantage of defining high-precision conductive patterns of laser-induced nanographene aggregates (LINA) on flexible substrates without the need for lithographic masks or the deposition of any material before the laser treatment, such as occurs for the laser-reduced graphene oxide (laser-rGO).21 This one-step technique is also compatible with roll-to-roll methods, enabling an inexpensive mass-production of samples. The feasibility of the proposed electrodes for recording electrophysiological signals is demonstrated by monitoring the heart rate through a clustering algorithm intended to be implemented in portable hardware, such as wearables. This algorithm performs, on one side, the artifact removal from the ECG signal (baseline wandering (BW), tremor artifacts, etc.) and, on the other side, the extraction of the heart beat from the QRS-complexes by means of the classification of the peaks in different clusters. Thus, the classification is much more robust against noise and amplitude variations, since it is based on similarities instead of on fixed values as in the case of threshold-based methods. The results have shown that the proposed electrodes, in combination with data analysis techniques, pave the way for the inexpensive and simple fabrication of electrodes for a new generation of wearable monitoring devices.

Results and discussion

Electrode design and fabrication

Figure 1a illustrates a schematic of the structure of the developed electrodes, fabricated following the basis of the laser-scribing procedure proposed in our previous work.20 The Kapton® HN tape was cut into squares (20 mm × 20 mm), then a circumference with a diameter of 10 mm was photothermally patterned on its surface using a computer numerical control (CNC)-driven laser diode. The electrode was laser-scribed at a fluence of 20 J cm−2 (laser spot diameter: 20 μm) and at an excursion rate of 3 min cm−2 in two perpendicular passes (one for X-axis and one for Y-axis), ensuring the carbonization process and the integrity of the substrate in terms of thermal dissipation.22 Next, a planar wire was connected to the LINA electrode using Ag-based conductive paint. This electrical connection approach provides a low contact resistance due to the increase of the contact area resulting from the high porosity of the nanographene-induced patterns.20 Most common commercial electrodes are based on Ag/AgCl composites, being the surface of contact between the skin and the electrode of 78.5 mm2. Therefore, the whole structure was isolated using laminating pouches (as shown in Fig. 1a) leaving the access to the LINA circumference free in order to establish an appropriate comparison between our electrodes and the commercial ones (Supplementary Fig. S1). An adhesive skin patch with a transparent polyurethane (PU) film and a polyacrylate adhesive was used to attach the electrodes safely on the skin, as shown in Fig. 1b.

Fig. 1
figure 1

Electrode fabrication and material characterization. a Schematic of the flexible electrode. b Flexible electrode attached to the forearm of a person. c SEM-image of the laser patterned surface (scale bar: 20 μm). The bright areas corresponds to the non-irradiated surface, while the dark ones are that of laser-induced nanographene aggregate. d Raman spectrum of the laser-induced porous nanographene aggregates. e Percentage of change in resistance (R/R0(%)) for a increasing number of bending cycles, being R0 the initial resistance and R the resistance measured after each bending cycle

Electrode characterization

A SEM image of the patterned area of the flexible polyimide substrate is shown in Fig. 1c. As can be observed, the laser-induced nanographene patterns show a mesh-like structure as a consequence of the mechanical resolution of the CNC unit (~40 μm). Besides, the ablated surface (non-bright areas) exhibits a high porosity, which is a distinctive feature of the laser-induced porous nanographene.23 The LINA increases substantially the porosity of the polyimide, resulting in an increase of the thickness of 18.7 ± 2.2 μm over its surface, which enhances the overall contact interface. The nanographene nature of the induced patterns is confirmed by the Raman spectrum (Fig. 1d), which is composed of three main peaks (D peak: ~135 cm−1, G peak: ~158 cm−1, 2D peak: ~270 cm−1). However, it is far from achieving the single-layer pristine graphene structure, since the ratio ID/IG 1 indicates that the sp2-hybridized carbonous systems, which compose the surface present defects in their crystalline structure, while the I2D/IG ratio reflects the 3D nature of PG.24 Furthermore, XPS results demonstrate the structure alterations induced by the photothermal process (Supplementary Fig. S2). The initial relative content of carbon (~75%), present as C–C sp3 hybridized bonds, is increased up to ~85% after the laser ablation, more than a half corresponding to C–C sp2 hybridized carbon. The increase of the relative content of carbon is the outcome of the release as gases of the nitrogen and oxygen from the polyimide substrate. Thus, both oxygen and nitrogen relative contents are reduced by more than 10% and 5%, respectively, as a result of the photothermal process. In addition to the chemical alterations, the LINA-induced patterns also present a great enhancement of the electrical conductivity with respect to the precursor substrate. The four-wire sensing experiments demonstrate that, through the photothermal ablation process, the sheet resistance of the samples can be reduced down to values closed to 250 Ω ☐−1. The bending dependence of the sheet resistance was also investigated to demonstrate the feasibility of the flexible electrodes for a long-term monitoring. Figure 1e shows the normalized change in the resistance of an electrode (ΔR/R0(%)) as a function of the bending cycles accumulated. The results have confirmed that the difference in the electrode resistance between the initial state and the state after 104 bending cycles are negligible (<4%). Further, we compared the skin–electrode contact impedance of the fabricated electrodes with two different commercial wet electrodes (see the section “Materials”) aiming to compare their frequency response, which is normally modeled as the association of parallel connections of resistors and capacitors.25 Results have shown promising values of skin–electrode impedance as a function of the frequency when compared with the commercial electrodes, as depicted in Fig. 2a. On one hand, the commercial electrodes show a contact impedance more than 15 times higher than that of the electrodes presented in this work at low frequencies (~1 kΩ). On the other hand, the frequency response of the contact impedance of the LINA electrodes stands out for its lower ratio of change in frequency (2.33 Ω Hz−1), while the commercial electrodes present a deviation with respect to the frequency of 66.52 and 37.84 Ω Hz−1, respectively, due to the higher impact of the parasitic capacitance when the frequency increases. The notable achievement of the LINA electrodes is attributed to the high porosity of the material, which enhances the specific contact area of the interface skin–electrode decreasing both the resistance and the capacitance seen from the body to the electrodes.

Fig. 2
figure 2

Electrocardiography recording and processing methods. a Comparison of the skin–electrode contact resistance as a function of the frequency for two commercial electrodes (Ambu® BlueSensor VL and Biopac EL503, respectively) and the LINA electrode. b ECG recordings carried out simultaneously with the LINA electrodes (in red) and the Ag/AgCl commercial electrodes (in blue). c One step wavelet-preprocessing method for the baseline wandering and noise correction. d Clustering-based method for the heart rate monitoring based on the max–min amplitude

ECG and heart rate monitoring with LINA electrodes

The raw signals recorded from both the commercial and the flexible electrodes developed are comparable in terms of amplitude and signal-to-noise ratio. Figure 2b shows an extract of 3.5 s from two simultaneous ECG recordings where the P–QRS–T complexes can be clearly distinguished.26 The measuring electrodes were placed on a volunteer according to the Lead I Einthoven’s triangle scheme.27 Thus, the positive electrode was placed on the left wrist, the negative electrode was placed on the right wrist and the reference one on the left ankle. Under the configurations parameters of the ECG acquisition system (see the section “Materials and methods”), the signals present an average R-peak amplitude of ~467 mV with a crest factor (peak-to-RMS ratio) of 11.40 and 11.47 dB for Ag-based electrodes and LINA ones, respectively. The feasibility of the proposed electrodes for the WHMS paradigm is further demonstrated combining them with an algorithm that can be applied not only to filter and preprocessing the signal obtained from the LINA electrodes but also to extract the heart rate.28 This algorithm can be divided in two main blocks, as schematized in Fig. 2c, d. First, we apply a modified version of the discrete wavelet transform (DWT) optimized for portable hardware implementations to reduce the BW and noise of the recorded ECG signals produced by the motion artifacts (see the section “Materials and methods”). The resulting signal after the baseline wander correction and noise suppression is shown in Fig. 3b, where the crest factor has been increased up to 15.24 dB. After that, a clustering-based method, depicted in Fig. 2d and described in the section “Materials and methods”, is applied to the pre-processed signal for the heart rate monitoring. This method allows the extraction of the heart rate from the RS-peaks frequency by means of the classification of the different peaks (RS-peaks and others) which compose the ECG signal, using the distance between a local maximum followed by a local minimum (amplitude Max–Min) as the feature for clustering (depicted in Fig. 3c). Then, the results of the classification allow the high accuracy detection of the R-peaks (Fig. 3d). As can be seen, this method, applied to an extract of 60 s from a signal recorded with the LINA electrodes, yields a 94.3% of accuracy, since it allows to detect 66 R-peaks from a total of 70 R-peaks (four false negatives). These results are comparable to that obtained for commercial electrodes. Finally, the frequency of the RS-peaks is used to extract the instantaneous heart rate as shown in Fig. 3e, where the outliers resulting of the false negatives can also be appreciated. Future studies aim to include a next stage to correct these false negatives, as well as to consider alternative machine/deep learning techniques to automatically extract features from ECG signals. For instance, the approach proposed by Xia et al.,29 which combines a stacked denoising autoencoder with a softmax regression for the feature extraction and its subsequent classification to detect cardiac arrhythmia, or the one proposed by Zhang et al.,30 which is based on convolutional neural networks. Alternatively, we aim to combine the electrodes proposed in this work with our recently presented wearable system for biosignal acquisition.31

Fig. 3
figure 3

Electrodes performance in electrocardiography and heart rate monitoring. a Raw ECG signal recording with some motion artifacts performed with the LINA-based electrodes. b Resulting signal after the baseline correction and noise suppression using the proposed DWT-based method. c Two-cluster classification (RS-peaks and noise) of the peaks which compose the ECG signal. d Identification of the RS-peaks along the 60 s signal from the clustering algorithm results. e Evolution of the heart rate over time extracted from the RS-peaks frequency

Materials and methods

Materials

Flexible Kapton® HN films with a thickness of 125 μm obtained from DuPontTM were used as raw material for LINA production in our experiments. Ag-based conductive paint was acquired from RS Pro. Two Comercial silver/silver chloride (Ag/AgCl) ECG electrodes were used for comparison, the Ambu® BlueSensor VL (VL-00-S/25, from Ambu A/S) and the EL503 general purpose electrode (from Biopac Systems Inc.), together with the SIGNAGEL® electrolyte gel (15–25 from Parker Laboratories Inc). The laminating pouches Capture125 acquired from Fellowes Inc. were used to seal and isolate the LIG electrodes. Moreover, the photothermal process was carried out using a DIY CNC laser engraver (λ = 405 nm) with adjustable laser power and laser spot size.

Material characterization

The morphology and structural properties of the LINA layer were analyzed by scanning electron microscopy (SEM), Raman spectroscopy, and X-ray photoelectron spectroscopy (XPS). SEM-images were recorded using a NVision 40 field-emission scanning electron microscope (from Carl Zeiss) at an extraction and acceleration voltage of 5 kV and a working distance of 6 mm. Raman-spectra were acquired using a JASCO NRS-5100 dispersive micro-Raman spectrometer with an Elforlight G4-30 green diode (λ = 532 nm) as excitation source.32 XPS experiments were performed on a Katros Axis Ultra-DLD spectrometer with an X-ray power of 450 W in a vacuum chamber with a pressure 10−10 Torr. CasaXPS software (from Casa Software Ltd.) was used for the C1s spectra decomposition. A 3D profile was also acquired using a DekTak XT profilometer from Bruker. For the electrical characterization of the samples we used the four-point-contact method based on a probe head from Jandel connected to a B2901A source measuring unit (from Keysight) with a constant current of 0.5 mA. The bending tests were automated using a LabVIEW 2016 (from National Instruments) software controlled setup with a bending speed of 10 mm s−1 and a minimum bending diameter of 4 mm.

Measurement of the skin–electrode contact resistance

The contact resistance of the skin–electrode interface was extracted following a modified version of the setup proposed by Spach et al.33 (Supplementary Fig. S3a) for both commercial wet Ag/AgCl and LINA electrodes. Three electrodes were placed on the forearm (ventral side) of a person at a distance of 5 cm from each other. For this particular implementation we used an input voltage of 1 V with a frequency range from 1 to 250 Hz referenced to the first electrode. The contact resistance (Rc) was calculated using the equation below, where the input current (iin) was monitored through the voltage drop (v12) on the reference resistor (r), while v23 corresponds to the the voltage drop in the contact resistance (considering an ideal differential amplifier).

$$R_{\mathrm {c}} = \frac{{v_{23}}}{{i_{{\mathrm {in}}}}} = \frac{{v_{23} \cdot r}}{{v_{12}}} = \frac{{G_1 \cdot v_{{\mathrm {o}}_2} \cdot r}}{{G_2 \cdot v_{{\mathrm {o}}_1}}}$$
(1)

Due to the inherent variability of the signals recorded from one person to another and the signal amplitude variations associated to the use of the different kinds of electrodes, the monitoring stage (differential amplifiers, gains G1 and G2, and high-frequency noise suppression) was implemented using a reconfigurable field programmable analog array (FPAA) from Anadigm (AN221E04, Anadigm, Inc.) to obtain a reliable and adaptive analog conditioning signal for each case. In this way, the conditioning electronics is simplified within the FPAA device as depicted in Supplementary Fig. S3b.

ECG electrodes performance evaluation

ECG signals were acquired using the wearable body sensing platform Biosignals Researcher Kit (from PLUX wireless biosignals S.A.) combined with an ECG local differential three-lead electrode (also from PLUX wireless biosignals S.A.) with 16 bit resolution and 1 kHz sampling rate. This wearable device has Bluetooth streaming capability which allowed to send the signals to a computer for their analysis. To compare the performance of both commercial and the LINA proposed electrodes, we analyzed the crest factor of each P–QRS–T complex of the raw recorded signals following equation:34

$${\mathrm {CF}}({\mathrm {dB}}) = 20{\mathrm {log}}_{10}\left( {\frac{{|S_{{\mathrm {peak}}}|}}{{S_{{\mathrm {rms}}}}}} \right)$$
(2)

being Speak the peak amplitude of the ECG signal (R peak) and Srms the RMS value of the signal along the P–QRS–T complex.

The main sources of noise of the electrocardiogram signals are the power line interference (50 or 60 Hz) and the motion artifacts.35 For the noise suppression of the ECG signals we have applied an algorithm based on DWT digital processing techniques proposed by Castillo et al.,36 which is widely used to reduce the BW and noise in ECG signals,37,38 Moreover, the advantage of the custom algorithm proposed by Castillo et al. lies on its feasibility to be used in portable implementations, such as wearables devices. The algorithm, which has been coded in Matlab® (from The MathWorks, Inc.), follows the scheme shown in Fig. 2c. Then, to obtain the noiseless ECG signal, the raw signal is decomposed into L frequency bands (\(L < \left\lceil {{\mathrm {log}}_2(F_{\mathrm {s}}/2)} \right\rceil\), being Fs the sampling frequency) to, on one hand, remove the BW by the zeroing approximation of the lowest frequencies and, on the other hand, denoise the signal by the modification of the details of levels 1 to M (with M < L). The frequency details subbands of levels M + 1 to L, where most of the spectral energy should lie, are preserved to avoid losing possible clinically important components of the signal.39 Thus, the BW corrected and denoised ECG signal is reconstructed using the modified details of the levels 1 to M, the original details of levels M + 1 to L and the zeroing approximation of the coefficients of level L. For this particular implementation we have decomposed the recorded signal (Fig. 3a) into nine frequency levels (L = 9), using the first five levels for the noise suppression (M = 5). Therefore, the BW correction is applied to the 9th level, which captures frequencies from 0 to 0.9765 Hz, while the adaptive filtering is applied to the first five levels (range from 15.625 to 500 Hz).39 Thus, from 0.9765 to 15.625 Hz the signal is unaltered to preserve the information of the QRS low-frequency bands.40 The results of the BW and noise correction in the frequency domain are shown in Supplementary Fig. S4.

Together with the implementation of the DWT detailed above, we have applied a clustering-based method to the recorded signals for the heart rate monitoring. This method is an adaptation of the method recently proposed by Castillo et al. 28 devoted to the extraction of fetal heart rate from the abdominal ECG signal of the mother. In this case, the heart rate is extracted from the RS-peaks frequency of the P–QRS–T complexes following the procedure shown in Fig. 2d. The RS-peak wave morphology shows a local maximum followed by a local minimum, therefore this pattern is localized along the denoised signal and assigned to one of the N intervals according to the maximum to minimum amplitude. The data is then classified into two different clusters (noise and RS-peaks) using the squared Euclidean distance D2(xi, xj) = (xixj)2 and the k-medoids++ algorithm, which ensures a highly accurate classification and a better performance over threshold-based methods, as it has already been demonstrated in our previous work.28