Next Article in Journal
SignBridge Bilingual Sign Language Avatar—Construction Principles and Experts Quality Assessment
Previous Article in Journal
Latent Salinity Stress Detection in Opuntia ficus-indica Using Hyperspectral Imaging and a 3D-CNN Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improving Signal Quality in Non-Contact Electrocardiography: Novel Strategy for Motion Artifact Reduction

University of Zagreb Faculty of Electrical Engineering and Computing, 10000 Zagreb, Croatia
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(12), 3643; https://doi.org/10.3390/s26123643 (registering DOI)
Submission received: 17 March 2026 / Revised: 20 April 2026 / Accepted: 4 June 2026 / Published: 7 June 2026

Abstract

Capacitive electrocardiography (cECG) enables non-contact heart rate monitoring through clothing, but motion artifacts remain a critical limitation for practical applications. We present a novel motion artifact removal method using non-contact floating electrodes as noise references combined with multi-reference Normalized Least Mean Squares (NLMS) adaptive filtering. The floating electrodes, positioned without skin contact, couple primarily to ambient 50 Hz mains interference, which becomes amplitude-modulated during motion due to changes in electrode–body capacitance. Six reference signals are derived from this noise electrode: band-pass-filtered signal and its derivative (capturing baseline-type artifacts), envelope and its derivative (capturing amplitude modulation patterns), and envelope asymmetry and its derivative (capturing non-linear electrode response during motion). The NLMS algorithm adaptively combines these references to estimate and remove motion artifacts while preserving QRS morphology through low-pass filtering of the correction signal. A hysteresis-based motion detector with minimum duration constraints enables selective application of artifact removal only during motion periods, leaving rest-period ECG unmodified. We present this as a proof-of-concept validation of a novel reference-electrode architecture for motion artifact suppression in non-contact ECG. The method was validated on 7 subjects across 24 recording sessions using two electrode configurations in two environments with different electromagnetic interference levels. Controlled axial rotation motion was induced at three frequencies using a custom apparatus with IMU-based gamification for protocol adherence. Performance was evaluated using R-peak detection F1 score against gel surface-contact electrodes ground truth and RMS reduction in motion regions. Results demonstrate consistent improvement in R-peak detection accuracy during motion periods with substantial artifact energy reduction. The proposed method is designed to address motion artifacts regardless of their physical source, though the present validation focused on subject-induced motion.

1. Introduction

Ubiquitous healthcare is moving monitoring and decision-making beyond clinics into everyday life. Advances in wearable technologies allow continuous acquisition of biopotentials, capturing subtle physiological changes as people go about their routines. When paired with robust signal processing and data analysis, these measurements can reveal early signs of disease, track recovery, and personalize treatment in real time. This shift from episodic checkups to continuous insight has the potential to improve outcomes while reducing strain on traditional healthcare systems.
Electrocardiogram (ECG), as the recording of the heart’s electrical activity, is the most widely used and clinically informative biopotential signal for assessing cardiovascular health. Its non-invasive nature, relatively low acquisition cost and strong diagnostic value make it especially well suited for continuous monitoring in ubiquitous healthcare settings, where early detection of abnormalities and long-term trend analysis are essential. Beyond traditional clinical settings, ECG is increasingly used in everyday and non-medical contexts, such as wearable fitness devices, remote patient monitoring, and stress assessment [1,2,3,4]. In particular, analysis of R–R intervals enables the extraction of heart rate variability (HRV) metrics, which provide insight into autonomic nervous system functions and have demonstrated diagnostic and prognostic value in conditions such as cardiac dysfunction, stress-related disorders, and overall cardiovascular risk [5,6,7].
Traditionally, biopotential signals can be acquired using either hypodermic-contact needles or surface-contact electrodes, each suited to different applications. Hypodermic-contact needle electrodes provide highly localized and high-fidelity recordings by penetrating the skin and bypassing its filtering properties, making them valuable in clinical diagnostics and research where precise signal capture is required. In contrast, surface-contact electrodes are mostly non-invasive, more comfortable, and easier to deploy, which makes them preferable for long-term monitoring, wearable systems, and ubiquitous healthcare applications, despite their greater susceptibility to noise and motion artifacts.
Most common among surface-contact electrodes are traditional gel-based types, such as Ag/AgCl electrodes, which provide low skin–electrode impedance and high signal quality due to the presence of an electrolytic gel. However, their performance can degrade over time as the gel dries out, while prolonged use may cause skin irritation, making them less suitable for long-term or repeated monitoring. Dry surface-contact electrodes, on the other hand, eliminate the need for gel, improving ease of use, comfort, and suitability for wearable and long-duration applications, but they typically exhibit higher impedance and increased sensitivity to motion artifacts, which can compromise signal quality. Both gel (also called “wet”) and dry surface-contact electrodes are based on the direct contact with the skin of the subject.
To further address the limitations of such surface-contact electrodes, non-contact electrodes have been introduced, often referred to as capacitive electrodes due to the capacitive coupling mechanism they rely on (and the resulting ECGs are thus called capacitive ECGs or cECGs). These electrodes can acquire biopotential signals through coupling layers, such as clothing, offering superior comfort and eliminating issues related to skin preparation, irritation, and long-term wear. They also enable seamless integration into everyday objects, such as garments, mattresses, and seating, supporting unobtrusive and passive physiological monitoring [8,9,10]. However, the weak coupling capacitance makes them highly sensitive to motion, environmental noise, and parasitic capacitances, requiring high-input-impedance front-end circuits and advanced signal processing to achieve reliable measurements.
For consistency, in accordance with all the intricacies of non-contact electrodes and capacitive coupling [11], the term non-contact electrodes is adopted throughout this paper, although capacitive electrodes and non-contact capacitive electrodes are also terms commonly used in the literature. In addition, following common usage in the literature, the terms cECG and non-contact ECG are used interchangeably to denote ECG signals acquired using non-contact electrodes.
A typical non-contact ECG acquisition system based on capacitive coupling follows a layered signal chain designed to preserve weak biopotential signals. The non-contact electrode first forms a coupling capacitance with the body, through which the cardiac-induced electric field is sensed without direct skin contact. This signal is fed to a high-input-impedance preamplifier located as close as possible to the electrode to minimize signal attenuation and interference, after which an analog front-end (AFE) performs amplification, filtering, and common-mode noise suppression. The conditioned signal is then digitized by an analog-to-digital converter (ADC) and passed to subsequent digital processing stages, where artifact reduction, feature extraction, and higher-level analysis are performed. A more comprehensive treatment of non-contact electrodes and acquisition system design can be found in our previous studies [11,12,13,14,15,16,17].
Non-contact ECG electrodes introduce a range of signal integrity challenges, many of which overlap with those encountered in conventional surface-contact electrodes, such as motion-induced artifacts and mains interference. Power-line interference (PLI) is particularly prominent in both non-contact and contact systems, acting as a significant source of extrinsic noise. Motion artifacts, however, are widely regarded as the dominant limitation in non-contact ECG systems and are described as “the primary concern of capacitive measurement systems” in a recent comprehensive review [18]. The review further points out that motion artifacts in non-contact ECG recordings are broadly attributed to relative motion between the body and electrode, encompassing both physiological and voluntary movements. Although respiration-related baseline wander is sometimes treated separately, motion-induced disturbances are generally more severe and pose a greater challenge to robust ECG feature extraction.
Importantly, this prevailing view largely confines motion artifacts to subject- or electrode-induced effects. Motion in the surrounding environment, such as the motion of nearby people or conductive objects, can likewise disturb the ambient electric-field geometry and introduce artifacts, yet this mechanism is rarely treated explicitly in the cECG literature and is often subsumed under the broader non-stationary electromagnetic interference category or overlooked altogether. Nevertheless, such environmental motion artifacts are likely to be particularly common in clinical environments, where the routine movement of healthcare personnel, mobile medical equipment, and conductive infrastructure (e.g., nurses, metal carts, beds) can repeatedly disturb the ambient electric-field distribution.
Additional disturbances include triboelectric artifacts arising from friction between the body, clothing, and electrode surfaces (which can generate substantial static charge accumulation and induce large transient voltages), as well as cable microphonics resulting from mechanical movement of the leads. Furthermore, pressure applied to the sensing area can have a non-linear impact on the effective coupling area of the equivalent coupling capacitor, as demonstrated in our prior work [12]. All of these effects are exacerbated in non-contact measurement systems due to the inherently weaker signal coupling and higher source impedance compared to conventional gel surface-contact electrodes. As a result, repeatability of measurements is severely impaired. This issue was also investigated in depth in the same study.
To mitigate these disturbances, a variety of approaches have been proposed in the literature. PLI is commonly mitigated by employing high-performance instrumentation amplifiers, active guarding [19] and capacitive driven right leg (cDRL) circuits [13,20]. Flexible electrodes have been developed in order to maximize conformity with the body of the subject [21,22,23] and to minimize subject motion artifacts (via minimizing motion between the electrode and the body). Aside from those hardware and material approaches, many digital signal processing (DSP) and adaptive filtering methods have been developed, which can broadly be categorized into [18]:
  • Self-referencing techniques (such as template-based subtraction, wavelet denoising, empirical mode decomposition—EMD, etc.);
  • Reference-assisted techniques (such as adaptive filtering using inertial measurement units—IMU, electrode–tissue impedance—ETI, etc.).
Self-referencing approaches operate exclusively on the recorded ECG signal without relying on external reference measurements. Time–frequency techniques, such as wavelet denoising, have also been applied to non-contact ECG, offering effective separation of transient artifacts, although their performance is highly dependent on parameter selection and they are most often implemented in offline or semi-offline settings [24,25]. More advanced decomposition methods, including EMD and ensemble EMD (EEMD), can isolate motion-related components but are computationally demanding and inherently non-causal, which limits their suitability for real-time applications [26,27,28,29]. Blind source separation (BSS) techniques, such as principal component analysis (PCA) and independent component analysis (ICA), have likewise been explored [30,31,32,33,34,35]; however, they generally require multi-channel recordings and are predominantly applied in offline post-processing frameworks. Moreover, these methods rely on assumptions of source independence and spatially uniform noise across channels, which are often violated in non-contact ECG systems due to channel-dependent electrode–body coupling variations [18].
Reference-assisted approaches estimate motion artifacts using auxiliary signals that are correlated with the disturbance but ideally uncorrelated with the underlying cardiac activity. IMU/accelerometer-based methods exploit correlations between electrode or subject motion and ECG artifacts to enable adaptive filtering; however, these techniques are inherently limited to detecting motion of the sensor or subject and remain largely insensitive to environmental motion that perturbs the surrounding electric field [36,37]. More recently, impedance-based techniques (particularly those leveraging ETI as a reference) have been proposed to capture variations in the electrode–body interface associated with motion [36,38,39]. While such methods can improve artifact estimation under certain conditions, the relationship between ETI variations and motion artifacts is not universally strong or straightforward. Prior studies have shown that ETI exhibits the highest correlation with locally induced electrode artifacts, reduced correlation with skin deformation, and substantially weaker correlation with global body motion, limiting its effectiveness when the dominant artifact mechanisms are not directly reflected in impedance changes [18]. As a result, ETI-based approaches may not fully capture disturbances arising from external electric-field perturbations or more global motion patterns.
These approaches address specific classes of motion artifacts but do not offer a unified solution capable of simultaneously suppressing both subject-induced and environmentally induced motion artifacts in non-contact ECG systems. To address this gap, we propose a novel motion artifact suppression strategy for non-contact ECG that is designed to be causal and composed exclusively of operations compatible with real-time implementation. In this work, the method is implemented in MATLAB (R2025b; MathWorks®: Natick, MA, USA, 2025) to facilitate systematic validation, while real-time deployment is reserved for future investigation. The present study is a proof-of-concept validation of this architecture under controlled conditions, with population-level evaluation deferred to future work.
During our prior investigations into non-contact electrodes [12,13,14], we observed that both classical motion artifacts (arising from movement of the electrodes or subject) and environmental motion artifacts (arising from movement of nearby persons or conductive objects) are registered by non-contact electrodes even when those electrodes are off-body and left floating. This observation motivates a double electrode pair approach: one pair (also called the primary pair, and their corresponding signal “primary signal”) serves as the signal electrodes for cECG acquisition, while a second pair (also called the secondary pair, and their corresponding signal “secondary signal”), intentionally left floating, serves as a noise reference that captures motion-induced disturbances without ECG content. By deriving reference signals from these noise electrodes and applying adaptive filtering, artifacts correlated between the two pairs can be suppressed regardless of their source. Related concepts exploiting auxiliary electrodes or reference signals have been explored previously [40,41,42,43], particularly in the context of interference estimation; however, the proposed configuration and acquisition protocol in this research are specifically designed to capture both subject-induced and environmentally induced motion artifacts, as well as advance the general concept one step further.
The rest of the paper is organized as follows: Section 2 will detail the hardware configuration, reference signal derivation, and adaptive filtering methodology. Section 3 delivers obtained results, along with performance evaluation and method validation, while Section 4 presents the discussion of the results and positions them in the broader context of the existing research. Lastly, Section 5 delivers concluding remarks. A list of abbreviations used throughout the paper is then provided for reference. The appendices present additional technical details, including the full algorithm pseudocode, screenshots of the gamification interface, and the full result table.
The main contributions of this work are:
  • A cECG setup with a double electrode pair in which a dedicated floating noise electrode pair captures motion-induced disturbances without cardiac content, providing artifact references that are agnostic to the physical source of the disturbance;
  • Six complementary reference signals from this single noise channel derived from the noise electrode pair, including a novel envelope asymmetry reference that exploits non-linear capacitive coupling effects not previously described in the context of motion artifact removal;
  • Integrating these references into a multi-reference NLMS adaptive filtering pipeline with motion-gated correction and QRS-preserving mechanisms, all composed of causal operations suitable for real-time implementation;
  • Validation of the method across seven subjects, two electrode configurations, and two electromagnetic environments using a gamification-based protocol for standardized motion induction.

2. Materials and Methods

2.1. System Overview

The proposed method employs a double pair of electrodes for non-contact ECG acquisition with integrated motion artifact reference. As illustrated in Figure 1, the system comprises two functionally distinct electrode pairs:
  • Signal electrodes, positioned to acquire the ECG (primary pair);
  • Noise electrodes, intentionally placed to capture motion-induced disturbances without significant ECG content (secondary pair).
Both electrode pairs feed into identical AFE circuits, implemented on the same printed circuit board (PCB) and connected to the same ADC via a multiplexer, ensuring matched frequency response and timing characteristics. A conventional gel electrode ECG, using the same AFE and ADC, serves as the gold standard for validation. The digitized signals are transmitted wirelessly via Bluetooth to a host computer for processing, and the entire acquisition setup is battery-powered to ensure galvanic isolation.
The signal processing pipeline consists of three main stages. First, six reference signals are derived from the noise electrode channel, each designed to capture different aspects of motion-induced interference, ranging from direct baseline shifts to non-linear amplitude modulation of the mains coupling. Second, an ECG-based motion detector identifies time intervals where artifact correction is required. Third, a multi-reference normalized least mean squares (NLMS) adaptive filter uses the derived references to estimate and remove artifacts from the ECG signal, with provisions to prevent overcorrection and preserve QRS morphology.
The electrodes are mounted on a wooden axial rotation apparatus, serving as an emulator of the steering wheel, equipped with an IMU which provides six degrees of freedom tracking (6-DoF). The IMU enables a gamification-based protocol in which subjects track a visual target by rotating the apparatus, facilitating controlled and repeatable motion patterns across subjects and sessions. All signals are acquired synchronously to enable direct comparison. The following subsections describe each system component in detail: the electrodes and electrode configurations (Section 2.2), analog front-end and data acquisition (Section 2.3), reference signal derivation (Section 2.4), adaptive filtering algorithm (Section 2.5), and experimental protocol (Section 2.6).

2.2. Electrodes and Electrode Configurations

In this study, we have used the non-contact electrodes used in our prior research [12,14] for both pairs of electrodes (primary and secondary—signal and noise). The electrodes are shown in Figure 2. Instead of the original rectangular sensor surface described in [44], electrodes were designed with rounded rectangular sensor surfaces to mitigate corner-induced electric-field concentration, which is known to contribute to edge effects and elevated noise levels [45]. Electrodes are based on a precision LMP7721 amplifier (Texas Instruments, Dallas, TX, USA). Shielded cables were employed to isolate the output signals from environmental noise, and the solder mask was removed from the sensing area to avoid the introduction of another dielectric and minimize surface leakage. Each of the electrodes has a sensing area of approx. 20 cm2 and is manufactured in typical FR4 two-layer rigid PCB technology.
Two electrode configurations were evaluated in this study, selected to represent distinct geometric arrangements of the signal and noise electrode pairs (Figure 3). In the coplanar configuration, both pairs are mounted on the same plane (thus coplanar), with the noise electrode pair positioned laterally outward from the signal electrode pair. This arrangement exposes the noise electrodes to a larger effective area of the ambient electric field, resulting in greater 50 Hz pickup and, consequently, stronger envelope and asymmetry reference signals. In the stacked configuration, the signal electrode pair is mounted on the upper surface of the wooden handle while the noise electrode pair is positioned directly beneath on the lower surface of the handle. This parallel-plane arrangement offers a more compact form factor while maintaining similar motion coupling between the electrode pairs, as both experience the same mechanical displacement during movement. In both configurations, signal and noise electrode pairs utilize identical electrode geometry and AFE circuitry. Because the noise electrodes are not in close proximity to the body, their coupling to biopotentials is negligible; instead, they couple predominantly to the ambient electric field, which is dominated by 50 Hz mains interference in typical indoor environments. Details on the measurement setup are given in Section 2.6.

2.3. Analog Front-End and Data Acquisition

The analog front-end used for interfacing both pairs of non-contact electrodes has been introduced in our prior work [12,14]. However, due to the nature of this research, one PCB contains two matched AFEs: one used for the signal, and another for the noise pair of electrodes. This approach was adopted to reduce mismatches arising from variations in circuit topology and to facilitate easier cable management. Since the PCB is interfacing towards a single microcontroller board, this enables simultaneous and exact gain switching in the instrumentation amplifier stage, if necessary.
Each AFE branch consists of an input differential low-pass filter, which serves as both a radio frequency interference (RFI) filter and an anti-aliasing filter (AAF) with a corner frequency of 500 Hz, and an ISL28633 (Renesas Electronics, Tokyo, Japan) fully differential instrumentation amplifier [46] with configurable gain via tri-state pins. Both branches are connected to a PSoC 5LP (Infineon Technologies, Neubiberg, Germany) microcontroller [47] that uses an internal multiplexer component to multiplex two analog signals and an internal Delta-Sigma ADC for signal digitization. Each channel is sampled at fs (1000 Hz) with 16-bit resolution. A V r e f = 1.024   V reference voltage, generated, internally bypassed, and buffered within the microcontroller, is used for all electrodes. Given the ADC differential input range of ± 2   V r e f and a total AFE gain of 4, the input-referred conversion factor is V i n = c o d e   [ a . u . ] V r e f 2 16 . This corresponds to 15.625 µV/count (input-referred), with an input-referred full-scale range of ±0.512 V.

2.4. Reference Signal Derivation

A total of six reference signals were derived from the noise non-contact electrode pair for usage in the adaptive filtering algorithm. Each of the reference signals has been designed to capture different characteristics of motion-induced interference. These references can be grouped into three categories based on the underlying physical mechanism they exploit. Illustration of all six references is shown in Figure 4.
Baseline-type references are obtained by band-pass filtering the noise electrode signal (0.5–10 Hz, Butterworth 2nd order), capturing direct motion-induced baseline shifts that occur when movement alters the electrode–body capacitance. The first reference (BP) represents these slow baseline variations, while its derivative (dBP) captures transient components associated with abrupt movements.
Envelope-type references exploit the amplitude modulation of the 50 Hz mains coupling caused by motion. As the electrode–body distance or orientation changes, the capacitive coupling to the ambient electric field is modulated, causing the amplitude of the 50 Hz interference to vary. The envelope is extracted by rectifying the noise signal and low-pass filtering with a 4 Hz cutoff frequency (Butterworth, 4th order). The envelope signal (Env) captures slow amplitude variations, while its derivative (dEnv) captures rapid modulation dynamics.
Asymmetry-type references capture non-linear aspects of the capacitive coupling that symmetric envelope detection cannot reveal. During each 50 Hz cycle, the positive and negative half-cycles may be affected differently by motion due to the non-linear nature of the electric-field distribution around the electrode. This asymmetry is quantified by separately extracting the envelopes of the positive and negative half-cycles and computing their difference. Figure 5 illustrates this phenomenon: the upper and lower envelopes of the noise signal exhibit visibly different modulation patterns during motion. The asymmetry signal (Asymm) and its derivative (dAsymm) provide reference signals that complement the symmetric envelope, particularly for fast or non-linear motion artifacts.
Power spectral density (PSD) of the six reference signals derived from secondary pair of electrodes, peak-normalized to facilitate spectral shape comparison, is shown in Figure 6. The band-pass-derived references (BP, dBP) exhibit the broadest spectral content, extending into the QRS complex band (shaded region, 5–15 Hz). Envelope-based references (Env, dEnv) are predominantly low frequency. Asymmetry-derived references (Asymm, dAsymm) occupy an intermediate spectral range, capturing non-linear coupling dynamics. The 12 Hz cutoff frequency for the NLMS correction signal low-pass filter (vertical red dashed line) is selected to permit artifact cancelation up to the lower edge of the QRS band while attenuating filter output in the frequency range critical for R-peak preservation. The 0.5 Hz marker indicates the lower bound of the noise pair passband. These spectral characteristics enable the multi-reference approach to address artifacts across different frequency ranges, targeting slow baseline drift with envelope references and addressing faster motion components with band-pass and asymmetry references.
All six references are normalized to unit standard deviation prior to adaptive filtering. Multi-reference approach ensures that various artifact types can be captured by at least one reference signal, enabling the adaptive filter to address a broad range of motion artifact characteristics. Although the six reference signals are derived from a common source, they capture largely complementary aspects of the motion-induced interference. In particular, the derivative references (dBP, dEnv, dAsymm) exhibit low correlation with their non-derivative counterparts, as they emphasize transient dynamics rather than absolute variations. Similarly, the asymmetry references capture non-linear modulation effects that are largely orthogonal to the symmetric envelope. This diversity enables the adaptive filter to address a broad range of artifact characteristics without requiring manual selection of the most appropriate reference for each condition. The signal processing pipeline for deriving six reference signals from the secondary electrode pair is shown in Figure 7.

2.5. Adaptive Filtering Algorithm

The core of the motion artifact removal is the standard NLMS adaptive filtering algorithm. NLMS was selected for its computational efficiency, numerical stability and suitability for real-time implementation in embedded systems, aligning with the goal of developing a practical non-contact monitoring device. The normalized approach was chosen to avoid manual gain tuning, which would be required as signal levels change during motion artifacts. NLMS is also extensively validated for usage in ECG artifact removal [48,49].
The adaptive filter operates by estimating the artifact component present in the primary (cECG) signal using one or more reference signals that are correlated with the motion artifact but not with the actual cardiac signal. The primary signal is modeled as:
d [ n ] = s [ n ] + v [ n ]
where d [ n ] denotes the measured cECG signal on the primary pair of electrodes, s [ n ] the underlying cardiac component, and v [ n ] the artifact component. The filter coefficients are updated iteratively to minimize the error between the primary signal and the estimated artifact, yielding a cleaned output signal. Table 1 summarizes the algorithm parameters used in this study. A block diagram of the designed multi-reference NLMS adaptive filtering system is shown in Figure 8. It will be described in detail in the rest of this section.
Rather than selecting a single optimal reference, a multi-reference NLMS approach was implemented, wherein each reference type is processed by a dedicated adaptive filter and the outputs are combined. This strategy accommodates the varying artifact characteristics across motion frequencies and electrode configurations. The entire algorithm operates in three phases: motion detection, adaptive weight estimation, and correction application. The pseudocode is available in Appendix A.
Adaptive filtering is applied selectively to signal segments exhibiting motion artifacts, preserving the original signal during stationary periods. Motion detection is performed directly on the ECG signal rather than on the noise electrode channel, ensuring that correction is applied only when artifacts are actually present in the signal of interest. This ECG-based approach is necessary due to the fact that the content of artifacts visible to the noise electrode pair is a superset of artifacts visible to the signal electrode pair. Thus, they may register environmental interference that does not manifest as an artifact in the signal electrodes.
Motion detection is based on two short-time variance (STV) metrics computed from the ECG using fully overlapping sliding windows. A low-frequency STV, obtained from a baseline estimate of the ECG (<2 Hz), captures baseline wander, while a high-frequency STV, obtained from a high-pass filtered ECG (>25 Hz), captures transient disturbances outside the typical QRS frequency band. Variance is estimated using a sliding-window sample variance, with window lengths of 1 s and 2 s for the low- and high-frequency branches, respectively. For a signal x [ n ] and window length W , the sliding-window mean x ¯ [ n ] and variance σ x 2 [ n ] are defined as:
x ¯ [ n ] = 1 W k = n W + 1 n x [ k ]
σ x 2 [ n ] = 1 W 1 k = n W + 1 n ( x [ k ] x ¯ [ n ] ) 2
Each metric is normalized by a robust (insensitive to outliers) percentile of its empirical distribution and evaluated using fixed hysteresis thresholds with separate entry and exit levels. Motion is detected when either metric exceeds its threshold, and the combined detection mask is subsequently regularized using minimum motion and rest duration constraints to reduce rapid state oscillation between motion and rest states.
The six reference signals are stacked into a single 6M-dimensional reference vector x [ n ] R 6 M , containing M delayed samples for each reference. During detected motion intervals, the six reference signals are concatenated into a single reference vector and processed by an NLMS adaptive filter. The filter estimates a set of weights that, when applied to the reference vector, produce an estimate of the artifact component present in the ECG signal, as follows:
v ^ [ n ] = w [ n ] x [ n ]
where w [ n ] denotes the adaptive weight vector. This estimate is subtracted from the ECG signal to produce the cleaned output. The instantaneous error used for adaptation is defined as:
e [ n ] = d [ n ] w [ n ] x [ n ]
which corresponds to the residual signal after subtracting the unscaled artifact estimate. The weights are then updated according to the NLMS update rule, which normalizes the adaptation step by the reference signal energy to ensure stable convergence regardless of signal amplitude variations.
The filter order M, expressed in samples, determines the temporal span of the reference signal history available to the filter. A sufficiently large filter order allows the algorithm to compensate for variable delays between the reference signals and the ECG artifacts without requiring explicit lag estimation or alignment. For the sampling rate and artifact dynamics encountered in this study, a filter order (M) of 256–384 samples (256–384 ms for fs = 1000 Hz) was found to provide adequate temporal coverage.
A known challenge with adaptive noise cancelation is overcorrection, which can occur when the reference signal contains components correlated with the desired signal or when the reference captures a superset of the interference present in the primary signal. Since the noise electrodes are more exposed to environmental disturbances than the signal electrodes, the derived references may contain interference components that do not appear in the ECG channel, potentially leading to signal distortion if the filter attempts to remove them.
Three mechanisms are employed to mitigate overcorrection. First, a leakage factor γ is incorporated into the weight update, causing weights to decay toward zero in the absence of consistent correlation. This prevents weight accumulation from spurious correlations and improves tracking of non-stationary artifacts. The leaky NLMS update rule is given by:
w [ n + 1 ] = ( 1 γ ) w [ n ] + μ e [ n ] x [ n ] | x [ n ] | 2 + ε
where μ is the step size, γ is the leakage factor, and ε prevents numerical instability.
Second, a partial correction factor α scales the filter output before subtraction, limiting the maximum correction magnitude. Third, the correction signal is low-pass filtered prior to subtraction to attenuate components in the QRS frequency band, preserving cardiac waveform morphology at the expense of reduced artifact suppression at higher frequencies. The final cleaned ECG signal is therefore computed as:
s ^ [ n ] = d [ n ] α g [ n ] L { v ^ [ n ] }
where α is the partial correction factor, g [ n ] { 0 , 1 } is the motion detector mask, and L { · } denotes low-pass filtering.
At each detected motion onset, filter weights are reset to zero, allowing fresh adaptation to the characteristics of the new artifact episode. This prevents inappropriate correction based on weights learned from previous, potentially different, artifact conditions.

2.6. Experimental Protocol

Both electrode pairs are mounted on a custom wooden apparatus designed to enable controlled and repeatable motion artifact induction. Wood was selected as the construction material due to its electrically insulating properties, ensuring that the apparatus itself does not introduce conductive pathways or alter the electric-field geometry around the electrodes. The apparatus permits axial rotation resembling a bicycle steering wheel motion, providing a natural and intuitive movement pattern for subjects while constraining motion to a single degree of freedom (nearly all of the motion is in yaw). This simplification facilitates reproducible artifact generation across subjects and sessions. Additionally, the rigid mounting of both electrode pairs on the same structure ensures that signal and noise electrodes experience identical mechanical displacement during rotation. Cabling from both electrode pairs is routed together along the apparatus, ensuring that any cable microphonics affects both channels similarly and can thus be rejected by the adaptive filter as common-mode interference.
To further enhance measurement repeatability and standardize motion patterns across subjects, a gamification-based protocol was implemented (shown in Appendix B, written in PyGame, version 2.6.1; Pygame Project). The apparatus is equipped with a 6-DoF IMU that tracks its orientation in real time. During measurement sessions, subjects view a display showing a moving target circle that oscillates horizontally at a specified frequency. Subjects are instructed to track the target by rotating the apparatus, with their current position indicated by a cursor driven by the IMU orientation data. This approach transforms the motion artifact induction task into an intuitive tracking exercise, reducing inter-subject variability in movement amplitude and timing while maintaining subject engagement throughout the session. Three target frequencies were selected for evaluation: 0.2 Hz representing slow, smooth movements (Stage 1); 0.4 Hz representing moderate movements (Stage 2); and 0.8 Hz representing fast, abrupt movements that approach or exceed typical real-world motion scenarios (Stage 3). Each measurement session followed a structured protocol alternating between stationary periods and motion periods at each frequency, enabling systematic comparison of artifact characteristics and removal performance across different motion dynamics. Motion intervals were 20 s long, with rest times dependent on the re-calibration of the rotation angles. Example of the processed IMU data for one stage (one motion interval, in this case Stage 1—0.2 Hz) is shown in Figure 9.
Our prior research into temporal stability of non-contact electrodes [12] established that an initial waiting period is necessary before obtaining comparable measurements. During this period, the signal-to-noise ratio (SNR) gradually stabilizes as the electrode–dielectric–skin interface reaches equilibrium. This stabilization typically requires about 10 min depending on subject body composition and skin characteristics and environmental conditions [12]. Consequently, the measurement protocol must accommodate this waiting period initially, and relevant measurements start after the SNR has stabilized.
A pair of gel surface-contact electrodes were used to record the reference signal simultaneously to provide ground-truth ECG morphology for quantitative evaluation of the adaptive filtering performance. This reference enables direct comparison of the filtered non-contact ECG against clinical-grade measurement, allowing assessment of both noise suppression effectiveness and preservation of diagnostically relevant features. It uses an identical AFE design (instrumentation amplifier, filtering stages, and ADC) to ensure that any differences between the reference and non-contact signals can be attributed solely to the electrode–skin interface rather than to downstream signal conditioning. Gel surface-contact electrodes used in this study were standard reusable clamp-type ECG electrodes with electrolytic conductive gel. These electrodes were selected based on their superior performance and signal stability under motion artifacts.
Crucially, both systems (the pair of reference gel-surface contact electrodes and the dual pair of non-contact electrodes) were galvanically isolated from mains power to ensure that the recorded motion artifacts are representative of standalone non-contact monitoring conditions. A mains-connected reference would alter the subject’s body potential dynamics, potentially introducing spurious interference or masking the capacitive coupling variations under study.
Galvanic isolation between the two measurement systems introduced two synchronization challenges. First, independent clock domains lead to sampling frequency disparity—even small differences in oscillator frequency accumulate over extended recordings, causing progressive temporal drift between channels. Second, Bluetooth connection establishment is inherently variable in timing, making it difficult to align the start of recordings without a shared trigger mechanism.
The first challenge was addressed by equipping both systems with precision external crystal oscillators (±20 ppm tolerance). While the systems may remain connected during the initial stabilization period of about 10 min, the analyzed measurement segments are typically up to 3 min in duration, bounding worst-case clock drift to under 4 ms. This is negligible relative to cardiac event timescales and readily correctable through resampling. If necessary, acquisition can be restarted after stabilization to reset synchronization, though in practice the achieved drift was sufficiently small that this was not required.
The second challenge was solved through a custom Python (Python 3.10; Python Software Foundation: Wilmington, DE, USA, 2021) acquisition application that manages both Bluetooth serial port profile (SPP) connections and initiates recording only after both channels have successfully connected and stabilized. This approach ensures sample-aligned recording starts without relying on post hoc cross-correlation alignment, which could be confounded by the very motion artifacts under study.
Each measurement is performed according to the following protocol:
  • The subject is informed about the measurement procedure, reasons for collecting each of the recorded data and the entire context of the measurement, and gives consent if they agree with presented conditions.
  • The subject is seated in the seat, and thin cotton gloves are placed on the subject’s hands.
  • The skin on the subject’s arms, where the gel surface-contact electrodes will be placed, is cleaned and prepared for the adhesion of gel surface-contact electrodes according to the common practice for such measurements.
  • Gel surface-contact electrodes are placed on each of the lower arms of the subject.
  • The subject places their hands over the sensing (primary) non-contact electrode pair. In the stacked configuration, the subject is instructed not to touch the secondary pair of electrodes with their fingers, while this separation is inherent with the topology of the coplanar configuration. This ensures that there is no risk of ECG signal leakage into the noise electrodes.
  • The signal is monitored until SNR stabilizes, which is confirmed by the measurement assistant.
  • The measurement assistant initiates the custom Python acquisition application, which establishes Bluetooth connections to both sensor systems and begins synchronized recording only once both channels are confirmed active. The assistant moves at least 2 m away from the subject to avoid capacitive coupling to the electrodes and introducing environmental motion artifacts. Once the assistant is positioned, the gamification protocol is started, guiding the subject through standardized motion sequences at progressively increasing frequencies via visual feedback displayed on a screen.
  • After the gamification protocol is over, the measurement is completed.
The protocol described was carried out for each of the two electrode configurations, coplanar and stacked, as described in Figure 3. In addition, to evaluate the method in presence of stronger and weaker PLI, two environments were tested: environment with greater PLI influence (Environment A, Env A), and environment with weaker PLI influence (Environment B, Env B). Thus, in total, four independent measurement sessions were performed per subject.
Both sensor systems transmitted data to a laptop via Bluetooth SPP, with each system assigned a dedicated communication (COM) port (communicating via a Universal Asynchronous Receiver-Transmitter, UART). A custom Python application managed the simultaneous connections and ensured a synchronized recording start. All ECG signals, including both the gel surface-contact electrode reference and non-contact electrode channels, were sampled at f s (1000 Hz). IMU data from the motion tracking sensor was recorded at 200 Hz for potential diagnostic use, such as verifying motion protocol compliance or correlating artifact severity with physical displacement. Post-acquisition signal processing and analysis were performed in the MATLAB (R2025b; MathWorks®: Natick, MA, USA, 2025) environment.
In total, measurements have been performed on 7 healthy, willing subjects (S1–S7). The demographic characteristics of the subjects, including age, sex, and body mass index (BMI), are summarized in Table 2. One of the subjects (S4) has a condition of semi-voluntary palmar hyperhidrosis, while other participants have no declared history of excessive hand sweating or related dermatological conditions which could influence measurement quality through the “hidden parameters” investigated in [12].

3. Results

3.1. Full Processing Pipeline Visualization

This section presents representative results from our extended measurement sessions to demonstrate the data processing workflow and analytical framework. Results from a single, representative session will be visualized to emphasize processing stages. This detailed analysis of an individual measurement establishes a basis for understanding the full collection of results summarized in Table 3, in Section 3.2.
Signals from the double pair of electrodes (primary and secondary pair) are shown in Figure 10. Significant artifacts are observable in motion segments (10–30 s for the “slow” motion, Stage 1, 55–75 s for the “medium” motion speed, Stage 2, and 105–125 s for the “fast” motion speed, Stage 3) in both primary and secondary signals. However, the secondary signal contains a significant amount of 50 Hz PLI not contained in the primary signal. This presents a problem if the secondary signal was to be used directly as a reference for NLMS algorithm. Notably, the secondary signal contains no discernible cardiac component, confirming that the floating electrode configuration couples primarily to environmental interference rather than biopotentials. Moreover, the interference captured by the secondary electrodes represents a superset of the noise present in the primary signal, encompassing both the motion-induced artifacts common to both channels and the additional 50 Hz mains coupling.
Corresponding data from the (apparatus mounted) IMU is shown in Figure 11, which shows the target tracking performance and corresponding angular velocity across three motion stages of the gamification protocol (0.2 Hz, 0.4 Hz, 0.8 Hz). Aside from generally adequate tracking performance (tracking was more accurate in frequency than in amplitude during Stage 3), proportionally increasing peak angular velocities required to track the faster-moving targets can be noticed. Those, subsequently, lead to greater motion artifacts induced in the primary signal.
Since the raw secondary signal is not suitable for usage as an NLMS reference signal due to high 50 Hz content, reference signals must be extracted from it. A total of six reference signals are extracted, as shown in Figure 12. In contrast to the illustrative Figure 4 (S2, coplanar configuration, Env A), dominance of envelope-based references is clear, with asymmetry-based references showing minimal amplitude. This variability across subjects even in the same environment and configuration (session setup) underscores the value of the multi-reference approach, as the relative contribution of each reference type depends on individual electrode–skin coupling characteristics, as well as specific movement patterns.
Since the cECG signal (acquired through primary electrodes) in the resting periods is already of adequate quality, automatic motion detection is performed to enable selective application of the adaptive filter only during artifact-corrupted segments. This enables preserving signal integrity during rest periods and avoids overtraining the algorithm. Noise references are not used to estimate motion segments since, as established earlier, interference in the secondary signal constitutes a superset of the interferences present in the primary signal. Consequently, the noise channel may exhibit significant modulation from sources (particularly 50 Hz mains coupling) that minimally affect the cECG, resulting in false-positive motion detection and unnecessary adaptive filtering. The detection algorithm employs a dual-band energy approach, computing normalized energy in both low-frequency (<2 Hz) and high-frequency (>25 Hz) bands over sliding windows, shown in Figure 13. Low-frequency energy captures baseline wander and slow drift characteristics of motion artifacts, while high-frequency energy detects broadband noise and increases during movement. Hysteresis thresholds are applied to each band independently (low-frequency: enter 1.5, exit 1.0; high-frequency: enter 1.0, exit 0.7) to prevent rapid state oscillation near threshold boundaries. These thresholds have been set empirically. The final motion mask is generated by logical OR of both detectors, flagging a segment as motion-affected if either energy metric exceeds its threshold. This dual-band strategy ensures robust detection across the range of motion frequencies tested: slow movements predominantly elevate low-frequency energy, while fast movements primarily affect the high-frequency band.
Figure 14 presents the NLMS adaptive filtering process results. The correction signal generated by the multi-reference NLMS filter (M = 384, μ = 0.15) is applied selectively during detected motion segments and low-pass filtered at 12 Hz to reduce attenuation of QRS complexes. The filter adapts its output to match the varying artifact characteristics across motion conditions, producing larger corrections during the more severely corrupted fast motion segments.
The effectiveness of the adaptive filtering approach is further illustrated in Figure 15, which directly compares raw and cleaned signals. An overall root mean square (RMS) reduction of 57.2% is achieved during motion periods, with visible artifact suppression across all three movement stages. RMS is computed as:
RMS ( x ) = 1 N n = 1 N x 2 [ n ]
The corresponding ΔRMS% metric is computed as:
Δ R M S % = R M S r a w R M S f i l t R M S r a w 100
The zoomed view of the high-frequency motion segment (100–130 s) demonstrates that the algorithm successfully reduces artifact amplitudes while preserving identifiable QRS complexes, even during the most challenging rapid oscillations. Notably, the zoomed rest segment (51–55 s) confirms that signal morphology remains unaltered when no motion is detected. The raw and cleaned traces are virtually indistinguishable. This ensures that the adaptive filter improves signal quality during motion without introducing distortion during stationary periods.
Spectral analysis confirms the distinct characteristics of the primary and secondary signals (Figure 16). The secondary (noise) signal exhibits substantially higher power across most frequencies, with a prominent 50 Hz peak from mains coupling that is absent in the primary signal. After NLMS adaptive filtering, the primary signal spectrum shows selective attenuation below the 12 Hz correction cutoff frequency, where motion artifacts predominantly reside, while power within the QRS band remains mostly preserved. This frequency-selective artifact reduction validates the low-pass filtering strategy applied to the correction signal, ensuring that the adaptive filter targets motion-induced disturbances without compromising the spectral components essential for R-peak detection.
While RMS reduction in interference is significant, even more important in the case of biopotentials, such as cECG, is the ability to reliably extract physiological information. The F1 score for R-peak detection, computed against manually verified peaks from the gel surface-contact electrode reference, serves as the primary performance metric, as accurate R–R interval measurement is fundamental to HRV analysis and arrhythmia detection. R-peak matching tolerance is set to 50 ms. Detection performance is quantified using sensitivity (Se), positive predictive value (PPV), and the F1 score. Sensitivity and PPV are defined as:
S e = T P T P + F N , P P V = T P T P + F P
where TP, FP, and FN denote true positives, false positives, and false negatives, respectively. The F1 score is computed as the harmonic mean of Se and PPV:
F 1 = 2 · T P 2 · T P + F P + F N = 2 · S e · P P V S e + P P V
While Table 3 reports the F1 score as the primary metric, the complete set of performance metrics, including Se and PPV, is provided in Appendix C.
Figure 17 shows detected R peaks over the entire range of the measurement, with a total of 193 manually verified peaks on the gold standard reference signal (top). Raw primary cECG signal contains significant motion artifacts, which negatively impact the detection, as shown in the middle plot. Ground-truth R-peak locations were established by applying the Pan–Tompkins [50] algorithm to the gel surface-contact reference signal, followed by manual verification and correction by the first author. The gel electrode signal was reviewed in sequential 5–10 s segments, with each algorithmically detected peak visually inspected against the raw waveform. Mislocated peaks were repositioned to the true R-peak apex, false detections were removed, and missed peaks were added manually. R-peak detection on both the raw and filtered cECG signals was performed automatically using the Pan–Tompkins algorithm without manual intervention, ensuring unbiased comparison between conditions. The bottom plot showcases NLMS-filtered cECG with detected peaks using the Pan–Tompkins algorithm, demonstrating improved detection with overall F1 score of 0.974 and motion-segment F1 of 0.964, alongside 57.2% RMS reduction. To better illustrate the differences between the two signals (raw and cleaned), Figure 18 presents a zoomed-in view of the high-frequency motion segment from Figure 17. Examination of the zoomed segment reveals a subtle but clinically relevant improvement: in the raw cECG, detected peaks are occasionally displaced from their true locations due to artifact interference, appearing near but not precisely at the actual R-peak positions. The cleaned signal corrects most of these misalignments, improving the alignment of detections with the QRS complexes. This improvement may not be fully captured by the F1 metric (which tolerates small temporal deviations within the matching window), yet is readily apparent upon visual inspection and would be immediately recognized by a trained clinician as improved signal quality.

3.2. Full Results for All Subjects and Sessions

3.2.1. Data Curation and Exclusions

Of the 28 planned recording sessions (seven subjects × four conditions), four were excluded due to technical issues unrelated to the algorithm: battery voltage degradation caused irregular sample timing in four sessions (S5, stacked, and S7, Env B sessions). In two measurement sessions (S5, coplanar, Env A; S6, coplanar, Env A) gel electrode signal degraded due to motion during Stage 3, hence these recordings were truncated to the valid portion prior to signal loss. One subject (S6) exhibited suboptimal electrode contact, occasionally lifting their hand from the sensor during the gamification protocol. These sessions were retained in the analysis to evaluate algorithm behavior under challenging real-world conditions, where consistent electrode contact cannot be guaranteed.

3.2.2. Performance Evaluation

Table 3 summarizes the adaptive filtering performance across all seven subjects and four experimental conditions.
The adaptive filtering algorithm improved R-peak detection across all 24 recording sessions (Figure 19a). In motion artifact regions, the F1 score improved by ΔF1mot = +0.059 ± 0.043 (median: +0.051, 95% confidence interval CI: [0.043, 0.076]), with improvements ranging from +0.002 to +0.136. RMS amplitude in motion regions was reduced by 61.5 ± 11.3% (median: 65.0%, 95% CI: [57.0%, 65.6%]), with improvements ranging from 39.8% to 75.6%. The reported 95% confidence intervals were computed using a normal approximation across the 24 sessions. As sessions within the same subject are not fully independent (up to four sessions per subject), these intervals should be interpreted as descriptive summaries of the observed variation rather than formal inferential bounds. Given that the limited and unbalanced sample (seven subjects with two to four sessions each) precludes robust formal inferential analysis, we report descriptive statistics and emphasize the consistency of improvement across all subjects and sessions. Notably, all 24 sessions exhibited positive improvement in both metrics, with 19 of 24 sessions (79%) achieving a greater than 50% RMS reduction. No session showed signal degradation, confirming the algorithm’s “do no harm” characteristic.
To complement the session-level descriptive analysis with subject-level inference, paired non-parametric tests were applied to the per-subject median improvement across sessions. Aggregating to one value per subject (median ΔF1mot per subject) yielded a sign test result of p = 0.016 (all seven subjects were positive; exact binomial, one-tailed) and a Wilcoxon signed-rank test result of p = 0.016 (W = 28, one-tailed), indicating that the improvement in R-peak detection F1 score was consistent across all subjects. The same procedure applied to ΔRMS% yielded identical results (sign test p = 0.016, Wilcoxon p = 0.016, W = 28), confirming that artifact energy reduction was unanimously positive across all subjects. These results should be interpreted with the following caveats:
  • With n = 7, the minimum attainable one-tailed p-value is 0.016, so the result primarily reflects the unanimous direction of effect rather than providing strong inferential evidence about the population;
  • The per-subject aggregation discards within-subject session-level variation captured by the session-level analysis;
  • The unbalanced repeated-measures structure (2–4 sessions per subject) means sessions contributing to each subject’s median are not equally informative;
  • These tests are therefore provided as a formal complement to the descriptive session-level analysis, not as a replacement; population-level inference would require a substantially larger and balanced cohort.
To examine whether improvement magnitude depended on baseline signal quality, Spearman’s rank correlation was computed between baseline F1 score and improvement metrics. Including all 24 sessions, the correlation was moderate but not statistically significant (p < 0.05) for ΔF1mot (rs = −0.33, p = 0.113), though significant for ΔRMS% (rs = −0.56, p = 0.005). Two outlier conditions were identified: one session (S5, coplanar, Env A) where the gel reference electrode degraded during recording, and one subject (S6) who exhibited intermittent electrode lift-off during the protocol. Excluding these outliers (n = 19), significant negative correlations emerged for both ΔF1mot (rs = −0.59, p = 0.007) and ΔRMS% (rs = −0.49, p = 0.035), indicating that the algorithm provided greater improvement for more severely degraded signals.
Figure 19b,c shows the distribution of improvement metrics across experimental conditions. While stacked configurations showed numerically higher median ΔF1mot (stacked, Env A: 0.073; stacked, Env B: 0.114) compared to coplanar configurations (coplanar, Env A: 0.033; coplanar, Env B: 0.053), substantial within-group variability precludes definitive conclusions about configuration effects, other than the effect of increased PLI for larger electrode loop areas. RMS reduction was notably consistent across all conditions, with median values ranging from 58% to 69%, indicating robust algorithm performance independent of electrode geometry or electromagnetic environment.
Full tables of results are included in Appendix C.

4. Discussion

This study presented a double electrode pair approach for motion artifact removal in non-contact ECG systems, utilizing a pair of secondary (noise) electrodes to derive reference signals for adaptive filtering. The method was validated across seven subjects, two electrode configurations, two environments with different mains interference levels, and three stages of motion frequency spanning slow to fast movements.
As shown by the results, slower movements (0.2 Hz) produced artifacts of lower amplitude in the primary electrodes, resulting in reduced need for correction. Faster movements (0.4 Hz, and especially 0.8 Hz) generated substantial artifacts that were effectively captured by the reference signals. Application of the multi-reference NLMS adaptive filter yielded consistent improvements in both signal quality and R-peak detection performance. RMS amplitude in motion regions was reduced by 61.5 ± 11.3% (range: 39.8–75.6%), while F1 scores improved by +0.059 ± 0.043 in motion regions (range: +0.002 to +0.136). All 24 sessions showed positive improvement in both metrics. These improvements translate directly to more reliable heart rate and HRV measurements in the presence of motion. HRV analysis requires accurate R–R interval measurement, as missed or spuriously detected beats corrupt HRV metrics disproportionately. To further evaluate the temporal precision of R-peak localization, additional analyses were performed. When the matching tolerance was reduced from 50 ms to 20 ms, raw signal F1 often decreased substantially (e.g., from 0.918 to 0.850 in S1, stacked, Env B), indicating that many detected peaks were temporally displaced from the true R-peak location due to artifact-induced waveform distortion. In contrast, filtered signal F1 showed only a modest decrease (0.926 to 0.906 under the same conditions), confirming that artifact removal improved not only detection sensitivity but also temporal precision.
The algorithm demonstrated consistent performance across both electrode configurations and electromagnetic environments. While stacked configurations showed numerically higher median ΔF1mot (0.071) compared to coplanar (0.049), and Environment B showed slightly greater improvement than Environment A, these differences were substantially smaller than the inter-subject variability. RMS reduction was similar across all conditions (coplanar: 58.1 ± 10.6%; stacked: 65.6 ± 9.9%; Env A: 60.7 ± 12.0%; Env B: 62.1 ± 8.1%), with overlapping distributions indicating no meaningful configuration or environment dependence. The dominant source of variation was individual subject differences (reflecting factors such as skin properties, electrode contact quality, and motion execution) rather than experimental conditions. This robustness is a practical advantage: the algorithm generalizes across electrode geometries and electromagnetic environments without requiring parameter tuning, simplifying deployment in real-world wearable applications where these factors cannot be tightly controlled.
A significant negative correlation was observed between baseline signal quality and improvement magnitude. For the clean dataset (n = 19, excluding sessions with gel electrode failure and occasional electrode lift-off), Spearman’s correlation yielded rs = −0.59 (p = 0.007) for ΔF1mot and rs = −0.49 (p = 0.035) for ΔRMS%. This indicates that the algorithm provides proportionally greater benefit for more severely degraded signals while preserving already-clean recordings, which is a desirable adaptive characteristic. Sessions with high baseline F1 (>0.95) showed minimal absolute improvement due to ceiling effects, yet still achieved 40–60% RMS reduction without introducing distortion. Conversely, sessions with poor baseline quality (F1 < 0.70) improved by up to +0.136 in F1 score. The one exception was Subject 6, who exhibited intermittent electrode lift-off during the protocol; despite low baseline F1 (0.51–0.61), improvement was modest (ΔF1mot: 0.02–0.05), confirming that the algorithm effectively targets motion-induced capacitive coupling artifacts but cannot compensate for complete signal loss due to electrode lift-off. This distinction between correctable artifacts (motion modulation) and uncorrectable failures (electrode lift-off) has practical implications for wearable system design, where electrodes’ mechanical properties and retention become the limiting factor rather than signal processing.
The key advantage of the proposed method is its independence from the physical source of the motion artifact. IMU-based adaptive filtering approaches can only detect motion of the sensor or subject itself, remaining largely insensitive to environmental disturbances that perturb the surrounding electric field [36,37]. More recently, ETI-based methods have been proposed to capture interface variations associated with motion; however, ETI exhibits the highest correlation with locally induced electrode artifacts and substantially weaker correlation with global body motion or external electric-field perturbations [18,36,38,39]. In non-contact ECG applications, artifacts arise not only from subject movement but also from movement of nearby persons, conductive objects, or changes in the ambient electromagnetic environment scenarios common in automotive applications with passenger movement, or clinical and home monitoring settings where healthcare workers, medical equipment or family members may disturb the measurement. The noise electrode approach captures the electromagnetic consequence of any such disturbance, regardless of its origin. Preliminary measurements with artifacts from external sources (nearby movement of people and equipment) showed the algorithm maintained signal quality without degradation, though improvement was marginal due to the smaller artifact amplitudes. This is consistent with algorithm effectiveness observed at 0.2 Hz controlled motion, where induced motion artifacts are minimal. Systematic quantitative validation of the method’s performance against environmentally induced artifacts, with controlled and reproducible external disturbance sources, remains a direction for future work. It is also worth noting that in two sessions, the gel surface-contact reference electrodes degraded under the same motion conditions that the non-contact system tolerated, requiring truncation of those recordings. This underscores that non-contact electrodes, despite their weaker coupling, can exhibit greater mechanical robustness to motion than conventional gel electrodes in certain scenarios.
Another advantage of the proposed method is that the complete processing pipeline is appropriate for real-time implementation. All filtering operations can be implemented causally using infinite impulse response (IIR) filters with acceptable phase delay. The NLMS algorithm is inherently sample by sample, requiring only O(M) multiply–accumulate (MAC) operations per sample, where O() denotes asymptotic computational complexity. For the parameters used in this study (M = 384, six references), the computational load is approximately 4600 multiply–accumulate operations per sample. This is well within the capability of modern embedded processors, including the Cortex-M4 class microcontrollers commonly used in wearable devices. This is an advantage over computationally intensive offline methods, such as EMD-, EEMD-, and BSS-based approaches.
The use of six complementary reference signals, each capturing different aspects of motion-induced interference, proved essential for robust performance across varied conditions. Analysis revealed that no single reference dominated across all subjects, configurations, and motion frequencies. This validates the multi-reference design philosophy, wherein the adaptive filter automatically weights each reference according to its instantaneous contribution.
The envelope asymmetry reference, derived from the difference between positive and negative half-cycle envelopes of the 50 Hz interference, represents a novel contribution to cECG signal processing. The physical basis for this reference lies in the non-linear nature of capacitive coupling: positive and negative voltage excursions create different electric-field distributions and may be affected differently by motion-induced geometry changes. In several sessions, particularly those involving fast or abrupt motion, the asymmetry reference modeled ECG artifacts better than the symmetric envelope, confirming that it captures complementary information. To our knowledge, this reference type has not been previously described in the context of motion artifact removal.
The proposed approach requires only an additional electrode pair and matched AFE circuitry, in contrast to [41] where a novel designed electrode structure is required. The noise electrodes can be integrated into the same substrate as the signal electrodes, adding minimal size, weight, and cost to the overall system. The matched AFE design ensures that any frequency-dependent effects are common to both channels, simplifying the adaptive filtering task. Similar adaptive noise cancelation approaches using adjacent non-contact electrodes have been proposed [42,43], where reference signals are derived from the difference between neighboring cECG sensor pairs. However, these methods suffer from residual cECG content in the reference signal, violating the key assumption for optimal adaptive filtering. A more limited single-reference approach without extensive human subject validation was proposed in [40].
To contextualize the proposed approach within the landscape of existing methods, Table 4 provides a structured qualitative comparison of the main reference-assisted motion artifact removal strategies for non-contact ECG. The table contrasts the approaches across hardware requirements, causal construction, computational complexity, cardiac content in the reference signal, and sensitivity to different artifact mechanisms. Because a matched quantitative comparison would require hardware not present in the current acquisition setup (body-mounted IMU sensors for an IMU-referenced baseline, and dedicated impedance injection and measurement circuitry for an ETI-referenced baseline), the table is structured around architectural and mechanistic properties that are well established in the literature [18,36,37,38,39,40,41,42,43] rather than empirical performance figures. Such direct benchmarking is identified as a priority for future work.
One of the limitations of this research is dependence on mains interference for envelope-type references. Specifically, the envelope and asymmetry references (Env, dEnv, Asymm, dAsymm) derive their information from amplitude modulation of the mains coupling and would provide diminished contribution in environments with very low 50 Hz field strength. The baseline-type references (BP, dBP), however, capture direct motion-induced signal variations independent of mains coupling and would remain fully functional. The multi-reference NLMS architecture inherently accommodates this scenario: the adaptive filter assigns near-zero weights to uninformative references, allowing the remaining references to drive artifact estimation. The method is therefore expected to degrade gracefully rather than fail entirely, albeit with reduced artifact suppression capability. In such cases, in spite of application-specific dependence of overall performance on the extent to which motion artifacts manifest as baseline-type disturbances, the algorithm would require no additional parameter tuning. Testing across two environments with different mains interference levels showed consistent performance, suggesting robustness within typical indoor settings. However, extremely low-interference environments were not evaluated. Furthermore, all measurements were performed using a standardized wooden rotation apparatus with controlled motion frequencies. While this approach enabled systematic evaluation and reproducible comparisons, it does not fully represent real-world usage scenarios, such as driving, sleeping, or daily activities. The gamification protocol ensured consistent motion patterns across subjects but may not capture the full diversity of motion artifacts encountered in practice. The cohort of seven subjects is appropriate for a proof-of-concept validation under the tightly controlled conditions described above; however, the sample size limits population-level generalization, and larger-cohort validation with more diverse populations and natural motion scenarios is an explicit priority for the next stage of this line of work.
Another limitation concerns the fact that the NLMS algorithm involves several parameters that were selected empirically based on preliminary testing. While the chosen parameters performed well across all sessions in this study, they may require adjustment for different hardware configurations, electrode geometries, or application scenarios. The robustness of the method to parameter variations, and the development of automatic parameter tuning strategies remain topics for future investigation. Although a comprehensive sensitivity analysis was not performed, preliminary parameter exploration was conducted during algorithm development. The filter order M was tested from 32 to 384 samples; performance remained comparable down to approximately 64 samples, with only marginal degradation at lower orders, suggesting feasibility for resource-constrained embedded implementations. The step size μ produced similar results across the range 0.1–1.0, higher values yielded even higher RMS reductions (up to 5% higher), but with minimal effect on ΔF1mot (+0.01 to +0.05) and increased risk of filter instability. The conservative value of μ = 0.15 was selected to prioritize stable convergence across diverse recording conditions at the cost of marginally lower artifact suppression. The correction low-pass filter cutoff was evaluated between 10 and 15 Hz, with 12 Hz representing a balanced trade-off between artifact suppression and QRS preservation; performance was acceptable throughout this range. The regularization parameter ε had no observable effect across the tested range (10−1 to 10−4). The partial correction factor α performed best in the range 0.88–0.95, and the leakage factor γ in the range 10−2 to 10−3. Overall, algorithm performance was not brittle around the selected parameter values, which supports the method’s practical applicability across different hardware configurations.
One parameter in particular warrants separate discussion, as it represents a more fundamental trade-off than the others. The correction signal low-pass filter, implemented to preserve QRS morphology, necessarily limits the removal of high-frequency artifact components. Motion artifacts with significant energy above the filter cutoff frequency (12 Hz) will be incompletely removed. This trade-off between artifact removal and QRS preservation is inherent to the approach and may require application-specific tuning.
For applications where continuous monitoring through periods of activity is required, like stress monitoring, sleep staging with movement, and automotive driver monitoring, the proposed method offers a path to more reliable measurements without constraining user behavior or requiring specialized motion sensors.
Several directions for future investigation emerge from this work:
  • Validation in real-world application settings (such as driving, sleep monitoring, ambulatory use), as well as a comprehensive sensitivity analysis would establish practical utility.
  • Systematic quantitative validation of the method’s performance against environmentally induced artifacts, with controlled and reproducible external disturbance sources, would confirm the source-agnostic property of the method.
  • Comparative quantitative benchmarking against existing reference-assisted artifact removal methods (such as IMU- and ETI-based adaptive filtering), under matched motion protocols and hardware configurations, would quantify the method performance within the broader landscape of cECG artifact suppression techniques. Implementing such a comparison would require body- or electrode-mounted inertial sensors for an IMU-referenced baseline, and dedicated impedance injection and measurement circuitry for an ETI-referenced baseline; both constitute separate experimental campaigns that are deferred to follow-on work.
  • Embedded implementation with power and latency characterization would confirm deployment feasibility.
  • Automatic parameter adaptation based on signal characteristics could improve robustness across diverse conditions.
  • Extension to other biopotentials measured with non-contact electrodes (such as EMG) may broaden applicability.

5. Conclusions

This study presented a proof-of-concept validation of a novel approach to motion artifact removal in non-contact ECG systems, using a double pair of electrodes where dedicated floating noise electrodes provide reference signals for adaptive filtering. Six reference signals were derived from the noise electrode channel, capturing baseline shifts, envelope modulation, and envelope asymmetry of the mains interference, and processed through a multi-reference NLMS adaptive filter.
The method was validated across seven subjects, two electrode configurations, two electromagnetic environments, and three motion frequencies (movement stages). Across all 24 sessions, the algorithm consistently improved R-peak detection F1 score by +0.059 ± 0.043 in motion regions while reducing RMS artifact amplitude by 61.5 ± 11.3%, with no session showing degradation.
Three key advantages distinguish this approach from existing methods. First, artifact removal is designed to be agnostic to the source of interference as the noise electrodes capture the electromagnetic consequence of any disturbance regardless of its origin, though the present study validated this primarily for subject-induced motion. Second, the processing pipeline is fully compatible with real-time embedded implementation, requiring no computationally intensive offline processing. Third, the approach requires only an additional pair of electrodes with matched AFE circuitry, avoiding the need for supplementary motion sensors.
The envelope asymmetry reference, exploiting non-linear capacitive coupling effects, represents a novel contribution that proved particularly effective for non-linear motion artifacts. The multi-reference strategy ensured robust performance across diverse conditions without requiring manual reference selection.
Limitations include dependence on mains interference for envelope-type references, validation only in controlled laboratory conditions, and empirically selected algorithm parameters. Future work will address real-world validation, competitive benchmarking, embedded implementation, and extension to other biopotentials measured with non-contact electrodes.
The proposed method offers a practical path toward reliable non-contact ECG monitoring in the presence of motion, supporting applications in automotive, wearable, and unobtrusive health monitoring where artifact-free measurement cannot be guaranteed.

Author Contributions

Conceptualization, A.S.; methodology, A.S.; software, A.S.; validation, L.K., D.C. and M.C.; formal analysis, A.S.; investigation, A.S.; resources, A.S.; data curation, A.S.; writing—original draft preparation, A.S.; writing—review and editing, L.K., D.C. and M.C.; visualization, A.S.; supervision, M.C.; project administration, M.C.; funding acquisition, M.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Croatian Science Foundation under the project number HRZZ-IP-2024-05-2808, by the bilateral Croatian–Chinese projects, by the European union-NextGenerationEU project VISTAHealth, and by the European Regional Development Fund under grant agreement PK.1.1.10.0007 (DATACROSS). The work of doctoral students Antonio Stanešić and Luka Klaić has been fully supported by the “Young researchers’ career development project—training of doctoral students” under the project numbers HRZZ-DOK-2021-02-9585 and HRZZ-DOK-2025-02-5173, respectively.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of the University of Zagreb Faculty of Electrical Engineering and Computing (protocol code 251-67/307-23/196, class 023-01/23-01/1, on date 24 August 2023).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The datasets presented in this article are not readily available due to legal and privacy concerns. Requests to access the datasets should be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
6-DoFsix degrees of freedom
AAFanti-aliasing filter
ADCanalog-to-digital converter
AFEanalog front-end
Asymmenvelope asymmetry signal
BPband-pass signal
BPFband-pass filter
BSSblind source separation
cDRLcapacitive driven right leg
cECGcapacitive electrocardiogram
CIconfidence interval
COMcommunication (port)
dAsymmderivative of envelope asymmetry signal
dBPderivative of band-pass signal
DCdirect current
dEnvderivative of envelope signal
DSPdigital signal processing
ECGelectrocardiogram, electrocardiography
EEMDensemble empirical mode decomposition
EMDempirical mode decomposition
EMGelectromyogram, electromyography
Envenvelope signal
Env A/Benvironment A/B
ETIelectrode–tissue impedance
FNfalse negatives
FPfalse positives
HFhigh frequency
HPFhigh-pass filter
HRVheart rate variability
ICAindependent component analysis
IIRinfinite impulse response
IMUinertial measurement unit
LFlow frequency
LPFlow-pass filter
MACmultiply–accumulate
MAEmean absolute error
NLMSnormalized least mean squares
PCAprincipal component analysis
PCBprinted circuit board
PLIpower-line interference
PPVpositive predictive value
PSDpower spectral density
RFIradio frequency interference
RMSroot mean square
RMSEroot mean square error
Ssubject (1, 2, …)
Sesensitivity
SNRsignal-to-noise ratio
SPP(Bluetooth) serial port profile
STVshort-time variance
TPtrue positives
UARTuniversal asynchronous receiver-transmitter

Appendix A. Algorithm Pseudocode

Reference Signal Generation
Input: Secondary electrode signalInput: x_secondary [1..N], fs
Output: Reference vectorOutput: x(n) = [x1(n); x2(n); …; x6(n)]
Baseline removalx_noise ← x_secondary − movmedian(x_secondary, fs)
High-pass filteringx_noise ← HPF(x_noise, fc = 0.5 Hz)
Baseline-type references
 Band-pass filterx1 ← BPF(x_noise, 0.5 Hz, 10 Hz)
 Normalizex1 ← x1/std(x1)
 Derivativex2 ← d/dt(x1)
 Normalizex2 ← x2/std(x2)
Envelope-type references
 Envelope extractionx3 ← LPF(|x_noise|, fc = 4 Hz)
 Remove mean, normalizex3 ← (x3 − mean(x3))/std(x3)
 Derivativex4 ← d/dt(x3)
 Normalizex4 ← x4/std(x4)
Asymmetry-type references
 Separate half-cyclesx+ ← max(x_noise, 0)
x ← |min(x_noise, 0)|
 Extract envelopesenv+ ← LPF(x+, fc = 4 Hz)
env ← LPF(x, fc = 4 Hz)
 Asymmetry signalx5 ← env+ − env
 Remove mean, normalizex5 ← (x5 − mean(x5))/std(x5)
 Derivativex6 ← d/dt(x5)
 Normalizex6 ← x6/std(x6)
Motion Detection
Input: Primary signalInput: d(n), n = 1..N
Output: Motion maskOutput: mask(n)
Parameters:θ_LF_enter, θ_LF_exit, θ_HF_enter, θ_HF_exit
T_min_motion, T_min_rest
Compute LF energy (<2 Hz)
 Low-pass filteringd_LF ← movmedian(d, fs/2)
 Energy estimationE_LF ← movvar(d_LF, 1000)
 NormalizationE_LF ← E_LF/percentile(E_LF, 95)
Compute HF energy (>25 Hz)
 High-pass filteringd_HF ← HPF(d, fc = 25 Hz)
 Energy estimationE_HF ← movvar(d_HF, 2000)
 NormalizationE_HF ← E_HF/percentile(E_HF, 50)
Hysteresis–LF channel
 InitializeinMotion_LF ← false
for n = 1 to N do
  Exit conditionif inMotion_LF and E_LF(n) < θ_LF_exit then
  inMotion_LF ← false
  Enter conditionelse if not inMotion_LF and E_LF(n) > θ_LF_enter then
  inMotion_LF ← true
end if
  Store state mask_LF(n) ← inMotion_LF
end for
Hysteresis–HF channel
 InitializeinMotion_HF ← false
for n = 1 to N do
  Exit conditionif inMotion_HF and E_HF(n) < θ_HF_exit then
  inMotion_HF ← false
  Enter conditionelse if not inMotion_HF and E_HF(n) > θ_HF_enter then
  inMotion_HF ← true
end if
  Store state mask_HF(n) ← inMotion_HF
end for
Combine channelsmask ← mask_LF or mask_HF
Minimum duration enforcement
 Remove short motionfor each motion segment do
if duration < T_min_motion then
  mask(segment) ← false
end if
end for
 Fill short gapsfor each rest gap do
if duration < T_min_rest then
  mask(gap) ← true
end if
end for
Multi-Reference NLMS Adaptive Filtering
Input: Primary signal, referencesInput: d(n), x(n), mask(n), n = 1..N
Output: Artifact estimateOutput: ŷ(n)
Parameters:M, μ, ε, γ
Initializew(0) ← 06M × 1
Find motion onsetsonsets ← {n: mask(n−1) = 0 and mask(n) = 1}
Main loopfor n = M to N do
 Reset at motion onsetif n ∈ onsets then
  w(n) ← 06M × 1
end if
 Build reference vector x(n) ← [x1(n:n−M + 1); x2(n:n−M + 1); …
  (6M × 1)     x3(n:n−M + 1); x4(n:n−M + 1);
     x5(n:n−M + 1); x6(n:n−M + 1)]
 Artifact estimate ŷ(n) ← wᵀ(n) · x(n)
 Error for adaptation e_raw(n) ← d(n) − ŷ(n)
 NLMS weight update w(n + 1) ← (1−γ)·w(n) + μ·e_raw(n)·x(n)
  (leaky NLMS)           /(|x(n)|2 + ε)
end for
QRS-Preserving Correction Application
Input: Primary signal, estimate, maskInput: d(n), ŷ(n), mask(n)
Output: Cleaned cECGOutput: e(n)
Parameters:α, fc
Scale estimateŷ_scaled(n) ← α · ŷ(n)
 (overcorrection prevention)
Lowpass filterŷ_filt(n) ← LPF(ŷ_scaled, fc)
 (QRS preservation)
Hard gatingfor n = 1 to N do
 (correction only in motion)if mask(n) = true then
  correction(n) ← ŷ_filt(n)
else
  correction(n) ← 0
end if
end for
Compute cleaned outpute(n) ← d(n) − correction(n)

Appendix B. Gamification Interface

Figure A1. Configuration screen of the gamification interface showing configurable experimental parameters. The interface allows selection of the IMU serial port and definition of motion protocol stages, each specified by oscillation frequency (Hz), duration (s), and target amplitude (in pixels, px).
Figure A1. Configuration screen of the gamification interface showing configurable experimental parameters. The interface allows selection of the IMU serial port and definition of motion protocol stages, each specified by oscillation frequency (Hz), duration (s), and target amplitude (in pixels, px).
Sensors 26 03643 g0a1
Figure A2. “Get ready” screen of the gamification interface. The progress bar fills as both conditions are continuously satisfied, ensuring consistent initial posture across all stages and subjects. This enforced rest period also provides a clean baseline segment in the recorded data, facilitating reliable segmentation between motion and rest intervals.
Figure A2. “Get ready” screen of the gamification interface. The progress bar fills as both conditions are continuously satisfied, ensuring consistent initial posture across all stages and subjects. This enforced rest period also provides a clean baseline segment in the recorded data, facilitating reliable segmentation between motion and rest intervals.
Sensors 26 03643 g0a2
Figure A3. Screenshot of the gamification interface for controlled motion generation. The red circle indicates the target position, moving sinusoidally along the vertical axis, while the blue circle represents the subject’s cursor controlled by steering wheel rotation measured via integrated IMU. Real-time feedback displayed includes current stage parameters (frequency f = 0.20 Hz, amplitude A = 260 px, gain = 12 px/deg, pixels per degree), tracking performance metrics (MAE = 164.9 px, RMSE = 183.0 px), IMU data (angle, angular velocity ω, sampling interval dt, gyroscope bias estimate), and connection status (69 Hz update rate). Subjects are instructed to minimize the distance between target and cursor by rotating the steering wheel, producing standardized, repeatable motion patterns at prescribed frequencies across experimental stages.
Figure A3. Screenshot of the gamification interface for controlled motion generation. The red circle indicates the target position, moving sinusoidally along the vertical axis, while the blue circle represents the subject’s cursor controlled by steering wheel rotation measured via integrated IMU. Real-time feedback displayed includes current stage parameters (frequency f = 0.20 Hz, amplitude A = 260 px, gain = 12 px/deg, pixels per degree), tracking performance metrics (MAE = 164.9 px, RMSE = 183.0 px), IMU data (angle, angular velocity ω, sampling interval dt, gyroscope bias estimate), and connection status (69 Hz update rate). Subjects are instructed to minimize the distance between target and cursor by rotating the steering wheel, producing standardized, repeatable motion patterns at prescribed frequencies across experimental stages.
Sensors 26 03643 g0a3

Appendix C. Full Result Table

Table A1. R-peak detection performance evaluated in motion artifact regions only. TP: true positives, FP: false positives, FN: false negatives, Se: sensitivity, PPV: positive predictive value, F1: F1 score. Config: C = coplanar, S = stacked. Env: A = Environment A (high interference), B = Environment B (low interference). ΔF1 represents improvement in F1 score after filtering. Empty cells indicate sessions excluded due to battery-related timing inconsistencies. Sessions marked with * (S5 Coplanar Env A, S6 Coplanar Env A) had gel reference electrode degradation during the third motion stage; recordings were truncated to the valid portion.
Table A1. R-peak detection performance evaluated in motion artifact regions only. TP: true positives, FP: false positives, FN: false negatives, Se: sensitivity, PPV: positive predictive value, F1: F1 score. Config: C = coplanar, S = stacked. Env: A = Environment A (high interference), B = Environment B (low interference). ΔF1 represents improvement in F1 score after filtering. Empty cells indicate sessions excluded due to battery-related timing inconsistencies. Sessions marked with * (S5 Coplanar Env A, S6 Coplanar Env A) had gel reference electrode degradation during the third motion stage; recordings were truncated to the valid portion.
Subject/Config/EnvRaw Signal (Motion Only)Filtered Signal (Motion Only)ΔF1
TPFPFNSePPVF1TPFPFNSePPVF1
S1CA108930.9730.9230.947108430.9730.9640.9690.021
S1CB88720.9780.9260.95188320.9780.9670.9720.021
S1SA951350.9500.8800.91394160.9400.9890.9640.051
S1SB951340.9600.8800.918941050.9490.9040.9260.008
S2CA753580.9040.6820.777781550.9400.8390.8860.109
S2CB7461110.8710.5480.6737440110.8710.6490.7440.071
S2SA63110230.7330.3640.4866053260.6980.5310.6030.117
S2SB7266140.8370.5220.643814750.9420.6330.7570.114
S3CA6735170.7980.6570.7206926150.8210.7260.7710.051
S3CB6958150.8210.5430.6547230120.8570.7060.7740.120
S3SA6789280.7050.4290.5347475210.7790.4970.6070.073
S3SB6287320.6600.4160.5107461200.7870.5480.6460.136
S4CA86530.9660.9450.95688110.9890.9890.9890.033
S4CB591150.9220.8430.88155390.8590.9480.9020.021
S4SA93720.9790.9300.95492330.9680.9680.9680.015
S4SB683980.8950.6360.743691570.9080.8210.8630.119
* S5CA641490.8770.8210.848651580.8900.8120.8500.002
S5CB9356260.7820.6240.6949421250.7900.8170.8030.109
S5SA-------------
S5SB-------------
* S6CA31101250.5540.2350.3303086260.5360.2590.3490.019
S6CB41133350.5390.2360.32842112340.5530.2730.3650.037
S6SA4793290.6180.3360.4353951370.5130.4330.4700.035
S6SB46129400.5350.2630.3524384430.5000.3390.4040.051
S7CA61103180.7720.3720.5026091190.7590.3970.5220.020
S7CB-------------
S7SA7283270.7270.4650.5677564240.7580.540.630.063
S7SB-------------
Table A2. RMS amplitude in motion artifact regions before (RMSraw) and after (RMSfilt) adaptive filtering, with percentage reduction (ΔRMS%). RMS values are in arbitrary units consistent with the ADC output.
Table A2. RMS amplitude in motion artifact regions before (RMSraw) and after (RMSfilt) adaptive filtering, with percentage reduction (ΔRMS%). RMS values are in arbitrary units consistent with the ADC output.
Coplanar, Env ACoplanar, Env BStacked, Env AStacked, Env B
RMSrawRMSfiltRMS%RMSrawRMSfiltRMS%RMSrawRMSfiltRMS%RMSrawRMSfiltRMS%
Subject 119.8411.6758.822.809.8256.922.757.8765.426.9818.5068.6
Subject 245.5113.2071.4189.9071.9762.1180.8253.5670.467.6721.7867.8
Subject 330.4319.1162.831.3812.3560.754.2715.8470.844.6114.7566.9
Subject 415.359.0740.931.0511.0264.515.849.4540.337.2425.3268.0
Subject 517.1010.2939.844.3925.1543.3------
Subject 6351.9793.6673.4265.35135.4249.059.6516.1772.9111.5827.2775.6
Subject 736.2410.4371.2---15.807.1454.8---
Table A3. R-peak detection performance evaluated across the entire recording (rest and motion regions combined). Column definitions as in Table A1. ΔF1 values are smaller than in Table A1 because rest regions, where the algorithm does not apply correction, dilute the motion-region improvement.
Table A3. R-peak detection performance evaluated across the entire recording (rest and motion regions combined). Column definitions as in Table A1. ΔF1 values are smaller than in Table A1 because rest regions, where the algorithm does not apply correction, dilute the motion-region improvement.
Subject/Config/EnvRaw Signal (Whole Signal)Filtered Signal (Whole Signal)ΔF1
TPFPFNSePPVF1TPFPFNSePPVF1
S1CA187960.9690.9540.961187460.9690.9790.9740.013
S1CB159820.9880.9520.97159320.9880.9810.9850.015
S1SA1371360.9580.9130.935136170.9510.9930.9710.036
S1SB1451340.9730.9180.9451441050.9660.9350.950.006
S2CA1233580.9390.7780.8511261550.9620.8940.9260.075
S2CB13161110.9230.6820.78413140110.9230.7660.8370.053
S2SA118111250.8250.5150.63410953340.7620.6730.7150.080
S2SB12366140.8980.6510.7551324750.9640.7370.8350.081
S3CA13335180.8810.7920.83413526160.8940.8390.8650.032
S3CB13158150.8970.6930.78213430120.9180.8170.8650.082
S3SA13690290.8240.6020.69614376220.8670.6530.7450.049
S3SB12587330.7910.5900.67613861200.8730.6930.7730.097
S4CA156530.9810.9690.975158110.9940.9940.9940.019
S4CB1401160.9590.9270.9431353110.9250.9780.9510.008
S4SA156840.9750.9510.963154460.9630.9750.9690.006
S4SB1153980.9350.7470.8301161570.9430.8850.9130.083
S5CA12115100.9240.8900.9061231680.9390.8850.9110.005
S5CB17257330.8390.7510.79317523300.8540.8840.8680.076
S5SA-------------
S5SB-------------
S6CA76106270.7380.4180.5337690270.7380.4580.5650.032
S6CB104138370.7380.4300.543107113340.7590.4860.5930.050
S6SA10197310.7650.5100.6129152410.6890.6360.6620.050
S6SB100138530.6540.4200.5129890550.6410.5210.5750.063
S7CA134112210.8650.5450.66813497210.8650.5800.6940.026
S7CB-------------
S7SA13487320.8070.6060.69313867280.8310.6730.7440.051
S7SB-------------

References

  1. Seo, W.; Kim, N.; Kim, S.; Lee, C.; Park, S.M. Deep ECG-Respiration Network (DeepER Net) for Recognizing Mental Stress. Sensors 2019, 19, 3021. [Google Scholar] [CrossRef] [PubMed]
  2. Chiang, H. Sen ECG-Based Mental Stress Assessment Using Fuzzy Computing and Associative Petri Net. J. Med. Biol. Eng. 2015, 35, 833–844. [Google Scholar] [CrossRef]
  3. Huang, S.; Li, J.; Zhang, P.; Zhang, W. Detection of Mental Fatigue State with Wearable ECG Devices. Int. J. Med. Inform. 2018, 119, 39–46. [Google Scholar] [CrossRef]
  4. Wang, L.; Li, J.; Wang, Y. Modeling and Recognition of Driving Fatigue State Based on R-R Intervals of ECG Data. IEEE Access 2019, 7, 175584–175593. [Google Scholar] [CrossRef]
  5. Kim, H.G.; Cheon, E.J.; Bai, D.S.; Lee, Y.H.; Koo, B.H. Stress and Heart Rate Variability: A Meta-Analysis and Review of the Literature. Psychiatry Investig. 2018, 15, 235. [Google Scholar] [CrossRef]
  6. Thayer, J.F.; Åhs, F.; Fredrikson, M.; Sollers, J.J.; Wager, T.D. A Meta-Analysis of Heart Rate Variability and Neuroimaging Studies: Implications for Heart Rate Variability as a Marker of Stress and Health. Neurosci. Biobehav. Rev. 2012, 36, 747–756. [Google Scholar] [CrossRef]
  7. Shaffer, F.; Ginsberg, J.P. An Overview of Heart Rate Variability Metrics and Norms. Front. Public Health 2017, 5, 258. [Google Scholar] [CrossRef]
  8. Lim, Y.G.; Kim, K.K.; Park, K.S. ECG Recording on a Bed during Sleep without Direct Skin-Contact. IEEE Trans. Biomed. Eng. 2007, 54, 718–725. [Google Scholar] [CrossRef]
  9. Jung, S.J.; Shin, H.S.; Chung, W.Y. Highly Sensitive Driver Health Condition Monitoring System Using Nonintrusive Active Electrodes. Sens. Actuators B Chem. 2012, 171–172, 691–698. [Google Scholar] [CrossRef]
  10. Bhardwaj, R.; Balasubramanian, V. Viability of Cardiac Parameters Measured Unobtrusively Using Capacitive Coupled Electrocardiography (CECG) to Estimate Driver Performance. IEEE Sens. J. 2019, 19, 4321–4330. [Google Scholar] [CrossRef]
  11. Klaić, L.; Cindrić, D.; Stanešić, A.; Cifrek, M. A Systematic Review of Design of Electrodes and Interfaces for Non-Contact and Capacitive Biomedical Measurements: Terminology, Electrical Model, and System Analysis. Sensors 2026, 26, 1374. [Google Scholar] [CrossRef]
  12. Stanešić, A.; Klaić, L.; Cindrić, D.; Cifrek, M. Temporal Stability of Signal Quality in Non-Contact Biopotential Electrodes. Sensors 2025, 25, 3077. [Google Scholar] [CrossRef]
  13. Cindrić, D.; Klaić, L.; Stanešić, A.; Cifrek, M. Non-Contact Biopotential Amplifier with Capacitive Driven Right Leg Circuit. In Proceedings of the Mediterranean Conference on Medical and Biological Engineering and Computing (MEDICON) and International Conference on Medical and Biological Engineering (CMBEBIH), Sarajevo, Bosnia and Herzegovina, 14–16 September 2023; Springer: Berlin/Heidelberg, Germany, 2024; pp. 180–188. [Google Scholar]
  14. Stanešić, A.; Klaić, L.; Cindrić, D.; Cifrek, M. Analog Frontend for Capacitive Electrodes in Biomedical Applications. In Proceedings of the 2025 48th International Convention on Information, Communication and Electronic Technology (MIPRO), Opatija, Croatia, 2–6 June 2025; IEEE: New York, NY, USA, 2025. [Google Scholar]
  15. Cindric, D.; Stanesic, A.; Cifrek, M. Analog Frontend for ECG/EMG Capacitive Electrodes. In Proceedings of the 2021 44th International Convention on Information, Communication and Electronic Technology, MIPRO 2021, Opatija, Croatia, 27 September–1 October 2021; IEEE: New York, NY, USA, 2021. [Google Scholar]
  16. Klaic, L.; Stanesic, A.; Cifrek, M. Numerical Modelling of Multi-Layered Capacitive Electrodes for Biomedical Signals Measurement. In Proceedings of the 2022 45th Jubilee International Convention on Information, Communication and Electronic Technology (MIPRO), Opatija, Croatia, 23–27 May 2022; IEEE: New York, NY, USA, 2022; pp. 339–343. [Google Scholar]
  17. Klaic, L.; Stanesic, A.; Cifrek, M. Numerical Modelling of Capacitive Electrodes for Biomedical Signals Measurement. In Proceedings of the 2021 44th International Convention on Information, Communication and Electronic Technology (MIPRO), Opatija, Croatia, 27 September–1 October 2021; IEEE: New York, NY, USA, 2021; pp. 367–370. [Google Scholar]
  18. Khalili, M.; GholamHosseini, H.; Lowe, A.; Kuo, M.M.Y. Motion Artifacts in Capacitive ECG Monitoring Systems: A Review of Existing Models and Reduction Techniques. Med. Biol. Eng. Comput. 2024, 62, 3599–3622. [Google Scholar] [CrossRef] [PubMed]
  19. Portelli, A.J.; Nasuto, S.J. Design and Development of Non-Contact Bio-Potential Electrodes for Pervasive Health Monitoring Applications. Biosensors 2017, 7, 2. [Google Scholar] [CrossRef]
  20. Haberman, M.A.; Spinelli, E.M.; García, P.A.; Guerrero, F.N. Capacitive Driven-Right-Leg Circuit Design. Int. J. Biomed. Eng. Technol. 2015, 17, 115. [Google Scholar] [CrossRef]
  21. Liu, S.; Liu, X.; Jiang, Y.; Wang, X.; Huang, P.; Wang, H.; Zhu, M.; Tan, J.; Li, P.; Lin, C.; et al. Flexible Non-Contact Electrodes for Bioelectrical Signal Monitoring. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society, EMBS, Honolulu, HI, USA, 18–21 July 2018; IEEE: New York, NY, USA, 2018; Volume 2018. [Google Scholar]
  22. Lee, J.S.; Heo, J.; Lee, W.K.; Lim, Y.G.; Kim, Y.H.; Park, K.S. Flexible Capacitive Electrodes for Minimizing Motion Artifacts in Ambulatory Electrocardiograms. Sensors 2014, 14, 14732–14743. [Google Scholar] [CrossRef]
  23. Liu, S.; Wang, X.; Zhu, M.; Jiang, Y.; Wang, D.; Wang, X.; Yang, W.; Chen, S.; Li, G. Flexible Non-Contact Electrodes for Minimizing Artifacts in Electrocardiograms Measurement during Motion. In Proceedings of the 2019 Intelligent Rehabilitation and Human-machine Engineering Conference (IRHE-2019), Qinhuangdao, China, 18–21 November 2019; IET Conference Publications; IET: Stevenage, UK, 2019; Volume 2019. [Google Scholar]
  24. Xu, X.; Liang, Y.; He, P.; Yang, J. Adaptive Motion Artifact Reduction Based on Empirical Wavelet Transform and Wavelet Thresholding for the Non-Contact ECG Monitoring Systems. Sensors 2019, 19, 2916. [Google Scholar] [CrossRef]
  25. Nagai, S.; Anzai, D.; Wang, J. Motion Artefact Removals for Wearable ECG Using Stationary Wavelet Transform. Healthc. Technol. Lett. 2017, 4, 138–141. [Google Scholar] [CrossRef] [PubMed]
  26. Chang, K.M. Ensemble Empirical Mode Decomposition for High Frequency ECG Noise Reduction. Biomed. Tech. 2010, 55, 193–201. [Google Scholar] [CrossRef]
  27. Boda, S.; Mahadevappa, M.; Dutta, P.K. A Hybrid Method for Removal of Power Line Interference and Baseline Wander in ECG Signals Using EMD and EWT. Biomed. Signal Process. Control 2021, 67, 102466. [Google Scholar] [CrossRef]
  28. Hussein, A.F.; Mohammed, W.R.; Musa Jaber, M.; Ibrahim Khalaf, O. An Adaptive ECG Noise Removal Process Based on Empirical Mode Decomposition (EMD). Contrast Media Mol. Imaging 2022, 2022, 3346055. [Google Scholar] [CrossRef] [PubMed]
  29. Kabir, M.A.; Shahnaz, C. Denoising of ECG Signals Based on Noise Reduction Algorithms in EMD and Wavelet Domains. Biomed. Signal Process. Control 2012, 7, 481–489. [Google Scholar] [CrossRef]
  30. Beach, C.; Li, M.; Balaban, E.; Casson, A.J. Motion Artefact Removal in Electroencephalography and Electrocardiography by Using Multichannel Inertial Measurement Units and Adaptive Filtering. Healthc. Technol. Lett. 2021, 8, 128–138. [Google Scholar] [CrossRef]
  31. Buxi, D.; Kim, S.; Van Helleputte, N.; Altini, M.; Wijsman, J.; Yazicioglu, R.F.; Penders, J.; Van Hoof, C. Correlation between Electrode-Tissue Impedance and Motion Artifact in Biopotential Recordings. IEEE Sens. J. 2012, 12, 3373–3383. [Google Scholar] [CrossRef]
  32. Kim, H.; Kim, S.; Van Helleputte, N.; Artes, A.; Konijnenburg, M.; Huisken, J.; Van Hoof, C.; Yazicioglu, R.F. A Configurable and Low-Power Mixed Signal SoC for Portable ECG Monitoring Applications. IEEE Trans. Biomed. Circuits Syst. 2014, 8, 257–267. [Google Scholar] [CrossRef]
  33. Yang, B.; Dong, Y. Capacitive Coupled Non-Contact Electrodes and ECG Signal Acquisition. Yi Qi Yi Biao Xue Bao/Chin. J. Sci. Instrum. 2015, 36, 1072–1078. [Google Scholar]
  34. Wedekind, D.; Malberg, H.; Zaunseder, S. Cascaded Output Selection for Processing of Capacitive Electrocardiograms by Means of Independent Component Analysis. In Proceedings of the 2013 Workshop on Sensor Data Fusion: Trends, Solutions, Applications, SDF, Bonn, Germany, 9–11 October 2013; IEEE: New York, NY, USA, 2013. [Google Scholar]
  35. Wedekind, D.; Kleyko, D.; Osipov, E.; Malberg, H.; Zaunseder, S.; Wiklund, U. Robust Methods for Automated Selection of Cardiac Signals after Blind Source Separation. IEEE Trans. Biomed. Eng. 2018, 65, 2248–2258. [Google Scholar] [CrossRef]
  36. Eilebrecht, B.; Wartzek, T.; Willkomm, J.; Schommartz, A.; Walter, M.; Leonhardt, S. Motion Artifact Removal from Capacitive ECG Measurements by Means of Adaptive Filtering. In Proceedings of the 5th European Conference of the International Federation for Medical and Biological Engineering, Budapest, Hungary, 14–18 September 2011; IFMBE Proceedings; Springer: Berlin/Heidelberg, Germany, 2011; Volume 37. [Google Scholar]
  37. Raya, M.A.D.; Sison, L.G. Adaptive Noise Cancelling of Motion Artifact in Stress ECG Signals Using Accelerometer. In Proceedings of the Second Joint 24th Annual Conference and the Annual Fall Meeting of the Biomedical Engineering Society—Engineering in Medicine and Biology, Houston, TX, USA, 23–26 October 2002; IEEE: New York, NY, USA, 2002; Volume 2. [Google Scholar]
  38. Serteyn, A.; Vullings, R.; Meftah, M.; Bergmans, J.W.M. Motion Artifacts in Capacitive Ecg Measurements: Reducing the Combined Effect of DC Voltages and Capacitance Changes Using an Injection Signal. IEEE Trans. Biomed. Eng. 2015, 62, 264–273. [Google Scholar] [CrossRef] [PubMed]
  39. Torfs, T.; Chen, Y.H.; Kim, H.; Yazicioglu, R.F. Noncontact ECG Recording System with Real Time Capacitance Measurement for Motion Artifact Reduction. IEEE Trans. Biomed. Circuits Syst. 2014, 8, 617–625. [Google Scholar] [CrossRef]
  40. Xu, L.; Rabotti, C.; Zhang, Y.; Ouzounov, S.; Harpe, P.J.A.; Mischi, M. Motion-Artifact Reduction in Capacitive Heart-Rate Measurements by Adaptive Filtering. IEEE Trans. Instrum. Meas. 2019, 68, 4085–4093. [Google Scholar] [CrossRef]
  41. Ding, J.; Tang, Y.; Chang, R.; Li, Y.; Zhang, L.; Yan, F. Reduction in the Motion Artifacts in Noncontact ECG Measurements Using a Novel Designed Electrode Structure. Sensors 2023, 23, 956. [Google Scholar] [CrossRef] [PubMed]
  42. Choi, M.; Jeong, J.J.; Kim, S.H.; Kim, S.W. Reduction of Motion Artifacts and Improvement of R Peak Detecting Accuracy Using Adjacent Non-Intrusive ECG Sensors. Sensors 2016, 16, 715. [Google Scholar] [CrossRef] [PubMed]
  43. Seo, M.; Choi, M.; Lee, J.S.; Kim, S.W. Adaptive Noise Reduction Algorithm to Improve r Peak Detection in ECG Measured by Capacitive ECG Sensors. Sensors 2018, 18, 2086. [Google Scholar] [CrossRef]
  44. Chen, C.C.; Chen, C.W.; Hsieh, C.W. Noise-Resistant Cecg Using Novel Capacitive Electrodes. Sensors 2020, 20, 2577. [Google Scholar] [CrossRef]
  45. Jackson, J.D. Electrodynamics, Classical. In Digital Encyclopedia of Applied Physics; Wiley: Hoboken, NJ, USA, 2003. [Google Scholar]
  46. Renesas. ISL28533, ISL28534, ISL28535, ISL28633, ISL28634, ISL28635 Datasheet, FN8364. Available online: https://www.renesas.com/en/document/dst/isl28533-isl28534-isl28535-isl28633-isl28634-isl28635-datasheet?r=493636 (accessed on 31 March 2025).
  47. Cypress Semiconductor Corporation. PSoC® 5LP: CY8C58LP Family Datasheet 001-84932 Rev. *O. 2024. Available online: https://www.infineon.com/assets/row/public/documents/30/49/infineon-psoc-5lp-cy8c58lp-datasheet-datasheet-en.pdf?fileId=8ac78c8c7d0d8da4017d0ec547013ab9 (accessed on 15 March 2026).
  48. Ebrahimzadeh, E.; Pooyan, M.; Jahani, S.; Bijar, A.; Setaredan, S.K. ECG Signals Noise Removal: Selection and Optimization of the Best Adaptive Filtering Algorithm Based on Various Algorithms Comparison. Biomed. Eng. 2015, 27, 1550038. [Google Scholar] [CrossRef]
  49. Saxena, S.; Jais, R.; Hota, M.K. Removal of Powerline Interference from ECG Signal Using FIR, IIR, DWT and NLMS Adaptive Filter. In Proceedings of the 2019 IEEE International Conference on Communication and Signal Processing, ICCSP 2019, Chennai, India, 4–6 April 2019; IEEE: New York, NY, USA, 2019. [Google Scholar]
  50. Pan, J.; Tompkins, W.J. A Real-Time QRS Detection Algorithm. IEEE Trans. Biomed. Eng. 1985, BME-32, 230–236. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the experimental measurement system comprising two galvanically isolated, battery-powered acquisition units. Non-contact electrodes are positioned in the coplanar configuration, as discussed in the following subsection.
Figure 1. Block diagram of the experimental measurement system comprising two galvanically isolated, battery-powered acquisition units. Non-contact electrodes are positioned in the coplanar configuration, as discussed in the following subsection.
Sensors 26 03643 g001
Figure 2. 3D model of non-contact electrodes used in the research, front (left) and back (right) view. More details are available in our prior work [12,14].
Figure 2. 3D model of non-contact electrodes used in the research, front (left) and back (right) view. More details are available in our prior work [12,14].
Sensors 26 03643 g002
Figure 3. Illustration of the evaluated electrode configurations. (Upper left)—Top View of coplanar configuration; (Upper right)—Front view of coplanar configuration; (Lower left)—Top view of stacked configuration; (Lower right)—Front view of stacked configuration.
Figure 3. Illustration of the evaluated electrode configurations. (Upper left)—Top View of coplanar configuration; (Upper right)—Front view of coplanar configuration; (Lower left)—Top view of stacked configuration; (Lower right)—Front view of stacked configuration.
Sensors 26 03643 g003
Figure 4. Complete set of reference signals derived from secondary pair of noise electrodes for multi-reference adaptive filtering (Subject 2, coplanar configuration, Environment A). (a) Raw signal dominated by 50 Hz mains coupling with visible motion-induced amplitude modulation. (b,c) Band-pass-derived references: The 0.5–10 Hz band-passed signal (BP) captures low-frequency baseline shifts, while its derivative (dBP) emphasizes rapid baseline transients. (d,e) Envelope-derived references: The mean envelope magnitude (Env) tracks amplitude modulation of the mains interference, and its derivative (dEnv) captures modulation dynamics. (f,g) Asymmetry-derived references: The envelope asymmetry signal (Asymm) reflects non-linear coupling differences between positive and negative interference half-cycles, with its derivative (dAsymm) highlighting non-linear transient components. All reference signals are normalized and zero-meaned for input to the NLMS adaptive filter.
Figure 4. Complete set of reference signals derived from secondary pair of noise electrodes for multi-reference adaptive filtering (Subject 2, coplanar configuration, Environment A). (a) Raw signal dominated by 50 Hz mains coupling with visible motion-induced amplitude modulation. (b,c) Band-pass-derived references: The 0.5–10 Hz band-passed signal (BP) captures low-frequency baseline shifts, while its derivative (dBP) emphasizes rapid baseline transients. (d,e) Envelope-derived references: The mean envelope magnitude (Env) tracks amplitude modulation of the mains interference, and its derivative (dEnv) captures modulation dynamics. (f,g) Asymmetry-derived references: The envelope asymmetry signal (Asymm) reflects non-linear coupling differences between positive and negative interference half-cycles, with its derivative (dAsymm) highlighting non-linear transient components. All reference signals are normalized and zero-meaned for input to the NLMS adaptive filter.
Sensors 26 03643 g004
Figure 5. Derivation of envelope-based reference signals from secondary pair of electrodes (Subject 2, coplanar configuration, Environment A). (a) Raw signal from a non-contact electrode showing dominant 50 Hz mains coupling, with upper (red) and lower (blue) envelopes extracted via peak detection. (b) Magnitudes of positive and negative half-cycle envelopes, revealing distinct amplitude modulation patterns induced by motion affecting electrode–skin coupling. (c) Envelope asymmetry signal computed as the difference between upper and lower envelope magnitudes, capturing motion-induced variations in the capacitive coupling that manifest differently for positive and negative interference half-cycles.
Figure 5. Derivation of envelope-based reference signals from secondary pair of electrodes (Subject 2, coplanar configuration, Environment A). (a) Raw signal from a non-contact electrode showing dominant 50 Hz mains coupling, with upper (red) and lower (blue) envelopes extracted via peak detection. (b) Magnitudes of positive and negative half-cycle envelopes, revealing distinct amplitude modulation patterns induced by motion affecting electrode–skin coupling. (c) Envelope asymmetry signal computed as the difference between upper and lower envelope magnitudes, capturing motion-induced variations in the capacitive coupling that manifest differently for positive and negative interference half-cycles.
Sensors 26 03643 g005
Figure 6. Power spectral density (PSD) of the six reference signals derived from the secondary pair of electrodes (Subject 2, coplanar configuration, Environment A), peak-normalized to facilitate spectral shape comparison (dB re peak: dB relative to peak). The shaded region indicates the QRS complex band (5–15 Hz); the 12 Hz correction signal low-pass filter cutoff (vertical red dashed line) is chosen to enable artifact cancelation while preserving R-peak morphology.
Figure 6. Power spectral density (PSD) of the six reference signals derived from the secondary pair of electrodes (Subject 2, coplanar configuration, Environment A), peak-normalized to facilitate spectral shape comparison (dB re peak: dB relative to peak). The shaded region indicates the QRS complex band (5–15 Hz); the 12 Hz correction signal low-pass filter cutoff (vertical red dashed line) is chosen to enable artifact cancelation while preserving R-peak morphology.
Sensors 26 03643 g006
Figure 7. Signal processing pipeline for deriving six reference signals from the floating noise electrode pair. All references are direct-current-removed (DC-removed) and σ-normalized before concatenation into a 6 × M tap input vector for the NLMS adaptive filter, where M denotes filter order.
Figure 7. Signal processing pipeline for deriving six reference signals from the floating noise electrode pair. All references are direct-current-removed (DC-removed) and σ-normalized before concatenation into a 6 × M tap input vector for the NLMS adaptive filter, where M denotes filter order.
Sensors 26 03643 g007
Figure 8. Block diagram of the multi-reference NLMS adaptive filtering system. The primary signal d[n], containing both ECG and artifacts, is preprocessed while the concatenated reference vector x[n] comprising six derived references (BP, dBP, Env, dEnv, Asymm, dAsymm) with M = 384 taps each feeds the adaptive filter (L = 6M = 2304 total taps). The filter output ŷ(n) is scaled by α = 0.9 to prevent overcorrection, low-pass filtered at 12 Hz for QRS preservation, and gated by the motion detection mask before subtraction from the primary signal. Motion detection operates on d[n] using dual-band monitoring (LF < 2 Hz, HF > 25 Hz) with hysteresis thresholds and minimum duration enforcement. Filter weights are reset at motion onset and updated via leaky NLMS (γ = 0.001) using the raw error signal computed before scaling, filtering, and gating, ensuring adaptation based on true residual error during motion segments only.
Figure 8. Block diagram of the multi-reference NLMS adaptive filtering system. The primary signal d[n], containing both ECG and artifacts, is preprocessed while the concatenated reference vector x[n] comprising six derived references (BP, dBP, Env, dEnv, Asymm, dAsymm) with M = 384 taps each feeds the adaptive filter (L = 6M = 2304 total taps). The filter output ŷ(n) is scaled by α = 0.9 to prevent overcorrection, low-pass filtered at 12 Hz for QRS preservation, and gated by the motion detection mask before subtraction from the primary signal. Motion detection operates on d[n] using dual-band monitoring (LF < 2 Hz, HF > 25 Hz) with hysteresis thresholds and minimum duration enforcement. Filter weights are reset at motion onset and updated via leaky NLMS (γ = 0.001) using the raw error signal computed before scaling, filtering, and gating, ensuring adaptation based on true residual error during motion segments only.
Sensors 26 03643 g008
Figure 9. Example of data interpretation from Stage 1 of the gamification protocol for standardized motion artifact generation using IMU-based real-time feedback. (Top row): Raw accelerometer and gyroscope data from the apparatus-mounted IMU during controlled axial rotation, showing dominant motion in the z-axis (rotation about the vertical axis). (Middle row): Integrated rotation angle derived from gyroscope data, demonstrating consistent ±20° oscillation amplitude, alongside comparison of processed angular velocity with raw gyroscope output. (Bottom row): Target tracking performance from the PyGame (version 2.6.1; Pygame Project) visual interface, where subjects follow a sinusoidally moving target (blue) by rotating the apparatus; tracking error (right) shows a mean deviation of 42.7 pixels, indicating adequate adherence to the prescribed motion pattern.
Figure 9. Example of data interpretation from Stage 1 of the gamification protocol for standardized motion artifact generation using IMU-based real-time feedback. (Top row): Raw accelerometer and gyroscope data from the apparatus-mounted IMU during controlled axial rotation, showing dominant motion in the z-axis (rotation about the vertical axis). (Middle row): Integrated rotation angle derived from gyroscope data, demonstrating consistent ±20° oscillation amplitude, alongside comparison of processed angular velocity with raw gyroscope output. (Bottom row): Target tracking performance from the PyGame (version 2.6.1; Pygame Project) visual interface, where subjects follow a sinusoidally moving target (blue) by rotating the apparatus; tracking error (right) shows a mean deviation of 42.7 pixels, indicating adequate adherence to the prescribed motion pattern.
Sensors 26 03643 g009
Figure 10. Raw signals from two pairs of non-contact electrodes (Subject 1, coplanar configuration, Environment A). (a) Primary signal (from the signal pair of non-contact electrodes) containing the target cECG, contaminated with motion artifacts (10–30 s for the “slow” motion, Stage 1, 55–75 s for the “medium” motion speed, Stage 2, and 105–125 s for the “fast” motion speed, Stage 3). (b) Secondary signal (noise reference from the noise pair of non-contact electrodes), dominated by mains coupling with minimal cardiac contribution due to its floating configuration.
Figure 10. Raw signals from two pairs of non-contact electrodes (Subject 1, coplanar configuration, Environment A). (a) Primary signal (from the signal pair of non-contact electrodes) containing the target cECG, contaminated with motion artifacts (10–30 s for the “slow” motion, Stage 1, 55–75 s for the “medium” motion speed, Stage 2, and 105–125 s for the “fast” motion speed, Stage 3). (b) Secondary signal (noise reference from the noise pair of non-contact electrodes), dominated by mains coupling with minimal cardiac contribution due to its floating configuration.
Sensors 26 03643 g010
Figure 11. Target tracking performance and corresponding angular velocity across three motion stages of the gamification protocol (S1, coplanar, Env A). (Top row): Screen position of the visual target (blue) and subject’s IMU-controlled cursor (red), showing increasing oscillation frequency from Stage 1 (0.2 Hz) through Stage 2 (0.4 Hz) to Stage 3 (0.8 Hz). (Bottom row): Measured angular velocity from the gyroscope, demonstrating proportionally increasing peak velocities required to track the faster-moving targets (leading to greater motion artifacts induced in both the primary and secondary signal).
Figure 11. Target tracking performance and corresponding angular velocity across three motion stages of the gamification protocol (S1, coplanar, Env A). (Top row): Screen position of the visual target (blue) and subject’s IMU-controlled cursor (red), showing increasing oscillation frequency from Stage 1 (0.2 Hz) through Stage 2 (0.4 Hz) to Stage 3 (0.8 Hz). (Bottom row): Measured angular velocity from the gyroscope, demonstrating proportionally increasing peak velocities required to track the faster-moving targets (leading to greater motion artifacts induced in both the primary and secondary signal).
Sensors 26 03643 g011
Figure 12. Complete set of reference signals derived from a floating pair of noise electrodes (S1, coplanar, Env A). (a) Raw signal. (b,c) Band-pass-derived references. (d,e) Envelope-derived references. (f,g) Asymmetry-derived references. All reference signals are normalized and zero-meaned for input to the NLMS adaptive filter.
Figure 12. Complete set of reference signals derived from a floating pair of noise electrodes (S1, coplanar, Env A). (a) Raw signal. (b,c) Band-pass-derived references. (d,e) Envelope-derived references. (f,g) Asymmetry-derived references. All reference signals are normalized and zero-meaned for input to the NLMS adaptive filter.
Sensors 26 03643 g012
Figure 13. Automatic motion detection pipeline for selective adaptive filter activation (S1, coplanar, Env A). (a) Preprocessed cECG signal with visible motion artifacts during movement periods. (b) Normalized low-frequency (LF) energy (<2 Hz) computed over sliding windows, capturing baseline wander and slow drift components characteristic of motion; hysteresis thresholds (enter: 1.5, exit: 1.0) prevent rapid state switching. (c) Normalized high-frequency energy (>25 Hz) tracking broadband noise increases during movement, with separate threshold levels (enter: 1.0, exit: 0.7). (d) Combined binary motion detection mask derived from either energy metric exceeding its threshold.
Figure 13. Automatic motion detection pipeline for selective adaptive filter activation (S1, coplanar, Env A). (a) Preprocessed cECG signal with visible motion artifacts during movement periods. (b) Normalized low-frequency (LF) energy (<2 Hz) computed over sliding windows, capturing baseline wander and slow drift components characteristic of motion; hysteresis thresholds (enter: 1.5, exit: 1.0) prevent rapid state switching. (c) Normalized high-frequency energy (>25 Hz) tracking broadband noise increases during movement, with separate threshold levels (enter: 1.0, exit: 0.7). (d) Combined binary motion detection mask derived from either energy metric exceeding its threshold.
Sensors 26 03643 g013
Figure 14. NLMS adaptive filtering results for motion artifact removal (S1, coplanar, Env A; filter order M = 384, step size μ = 0.15). (a) Preprocessed cECG showing motion artifacts during controlled movement periods. (b) Correction signal generated by the multi-reference NLMS filter, selectively applied only during detected motion segments and low-pass filtered at 12 Hz to preserve ECG frequency content (particularly R peaks); the filter adapts its output magnitude to match artifact severity across different motion frequencies. (c) Cleaned ECG output after subtraction of the correction signal, demonstrating substantial artifact reduction while maintaining QRS complex morphology.
Figure 14. NLMS adaptive filtering results for motion artifact removal (S1, coplanar, Env A; filter order M = 384, step size μ = 0.15). (a) Preprocessed cECG showing motion artifacts during controlled movement periods. (b) Correction signal generated by the multi-reference NLMS filter, selectively applied only during detected motion segments and low-pass filtered at 12 Hz to preserve ECG frequency content (particularly R peaks); the filter adapts its output magnitude to match artifact severity across different motion frequencies. (c) Cleaned ECG output after subtraction of the correction signal, demonstrating substantial artifact reduction while maintaining QRS complex morphology.
Sensors 26 03643 g014
Figure 15. Before/after comparison of adaptive filtering performance (S1, coplanar, Env A). (a) Full recording showing raw cECG (blue) overlaid with the cleaned signal (red); yellow shading indicates motion artifact regions across three movement stages, with an overall RMS reduction of 57.2%. (b) Zoomed view of the high-frequency motion segment (100–130 s), demonstrating effective artifact suppression even during rapid oscillations, while preserving visible QRS complexes. (c) Zoomed view of a rest segment (51–55 s), confirming that adaptive filtering preserves ECG morphology when no correction is required. The raw and cleaned signals remain virtually identical, indicating no signal distortion during stationary periods.
Figure 15. Before/after comparison of adaptive filtering performance (S1, coplanar, Env A). (a) Full recording showing raw cECG (blue) overlaid with the cleaned signal (red); yellow shading indicates motion artifact regions across three movement stages, with an overall RMS reduction of 57.2%. (b) Zoomed view of the high-frequency motion segment (100–130 s), demonstrating effective artifact suppression even during rapid oscillations, while preserving visible QRS complexes. (c) Zoomed view of a rest segment (51–55 s), confirming that adaptive filtering preserves ECG morphology when no correction is required. The raw and cleaned signals remain virtually identical, indicating no signal distortion during stationary periods.
Sensors 26 03643 g015
Figure 16. Spectral analysis of primary and secondary signals (S1, coplanar, Env A). (a) Comparison of power spectral density between primary (cECG) and secondary (noise) electrodes. (b) Primary electrode spectrum before and after NLMS adaptive filtering.
Figure 16. Spectral analysis of primary and secondary signals (S1, coplanar, Env A). (a) Comparison of power spectral density between primary (cECG) and secondary (noise) electrodes. (b) Primary electrode spectrum before and after NLMS adaptive filtering.
Sensors 26 03643 g016
Figure 17. R-peak detection performance comparison between raw and adaptively filtered cECG (S1, coplanar, Env A). (Top): Gold standard reference from gel surface-contact electrodes with 193 manually verified R-peaks. (Middle): Raw cECG with detected peaks using Pan–Tompkins [50] algorithm (red markers) showing an overall F1 score of 0.961, degrading to 0.935 during motion segments (red shading). (Bottom): NLMS filtered cECG with detected peaks using Pan–Tompkins algorithm (green markers) demonstrating improved detection with overall F1 score of 0.974 and motion-segment (green shading) F1 of 0.964. The adaptive filtering notably improves detection reliability during motion.
Figure 17. R-peak detection performance comparison between raw and adaptively filtered cECG (S1, coplanar, Env A). (Top): Gold standard reference from gel surface-contact electrodes with 193 manually verified R-peaks. (Middle): Raw cECG with detected peaks using Pan–Tompkins [50] algorithm (red markers) showing an overall F1 score of 0.961, degrading to 0.935 during motion segments (red shading). (Bottom): NLMS filtered cECG with detected peaks using Pan–Tompkins algorithm (green markers) demonstrating improved detection with overall F1 score of 0.974 and motion-segment (green shading) F1 of 0.964. The adaptive filtering notably improves detection reliability during motion.
Sensors 26 03643 g017
Figure 18. Zoomed-in view (100–115 s) of the high-frequency motion segment from Figure 17 to better illustrate peak alignment (filtered and raw compared to gold standard) and detection errors during motion.
Figure 18. Zoomed-in view (100–115 s) of the high-frequency motion segment from Figure 17 to better illustrate peak alignment (filtered and raw compared to gold standard) and detection errors during motion.
Sensors 26 03643 g018
Figure 19. Summary of filtering performance across all recording sessions. (a) F1 score before (open circles) and after (filled circles) adaptive filtering, with sessions grouped by subject (colors) and ordered by subject–configuration–environment. All 24 sessions showed improvement. (b) F1 score improvement (ΔF1mot) by experimental condition. (c) RMS amplitude reduction (ΔRMS%) by experimental condition. Box plots show median and interquartile range; individual sessions are overlaid as points.
Figure 19. Summary of filtering performance across all recording sessions. (a) F1 score before (open circles) and after (filled circles) adaptive filtering, with sessions grouped by subject (colors) and ordered by subject–configuration–environment. All 24 sessions showed improvement. (b) F1 score improvement (ΔF1mot) by experimental condition. (c) RMS amplitude reduction (ΔRMS%) by experimental condition. Box plots show median and interquartile range; individual sessions are overlaid as points.
Sensors 26 03643 g019
Table 1. NLMS algorithm parameters used in this study.
Table 1. NLMS algorithm parameters used in this study.
SymbolValueDescription
Filter orderM384Samples of reference history per reference
Step sizeμ0.15NLMS adaptation rate
Regularizationε0.1Prevents division by zero
Leakage factorγ0.001Weight decay rate
Partial correction factorα0.9Correction scaling factor
Correction low-pass corner frequencyfc12 HzQRS preservation cutoff
Table 2. Demographic characteristics of the subjects, including age, sex (F—female, M—male), and body mass index (BMI).
Table 2. Demographic characteristics of the subjects, including age, sex (F—female, M—male), and body mass index (BMI).
AgeSexBMI [kg/m2]
Subject 130M23.9
Subject 267M31.2
Subject 322F20.0
Subject 458F23.2
Subject 556F24.0
Subject 656M28.7
Subject 721F22.7
Table 3. Adaptive filtering performance across all subjects and sessions. ΔF1mot indicates the change in R-peak detection F1 score during motion segments (filtered minus raw), with positive values representing improved detection accuracy. ∆RMS% denotes the percentage reduction in root mean square amplitude during motion periods, quantifying artifact suppression effectiveness. Results are presented for coplanar and stacked electrode configurations tested in two environments with differing 50 Hz interference levels (Environment A: high interference; Environment B: low interference). Hyphen (-) indicates sessions excluded due to data acquisition issues: S5 and S7 experienced battery-related timing inconsistencies causing irregular sample intervals. Asterisk (*) denotes truncated measurements due to gel electrode degradation during motion stage 3.
Table 3. Adaptive filtering performance across all subjects and sessions. ΔF1mot indicates the change in R-peak detection F1 score during motion segments (filtered minus raw), with positive values representing improved detection accuracy. ∆RMS% denotes the percentage reduction in root mean square amplitude during motion periods, quantifying artifact suppression effectiveness. Results are presented for coplanar and stacked electrode configurations tested in two environments with differing 50 Hz interference levels (Environment A: high interference; Environment B: low interference). Hyphen (-) indicates sessions excluded due to data acquisition issues: S5 and S7 experienced battery-related timing inconsistencies causing irregular sample intervals. Asterisk (*) denotes truncated measurements due to gel electrode degradation during motion stage 3.
Coplanar, Env ACoplanar, Env BStacked, Env AStacked, Env B
F1motRMS%F1motRMS%F1motRMS%F1motRMS%
Subject 10.02158.80.02156.90.05165.40.00868.6
Subject 20.10971.40.07162.10.11770.40.11467.8
Subject 30.05162.80.12060.70.07370.80.13666.9
Subject 40.03340.90.02164.50.01540.30.11968.0
Subject 50.002 *39.80.10943.3----
Subject 60.019 *73.40.03749.00.03572.90.05175.6
Subject 70.02071.2--0.06354.8--
Table 4. Qualitative comparison of reference-assisted motion artifact removal approaches for cECG. ✓ = present/favorable; ✗ = absent/unfavorable; ∼ = partial/conditional; refs = references.
Table 4. Qualitative comparison of reference-assisted motion artifact removal approaches for cECG. ✓ = present/favorable; ✗ = absent/unfavorable; ∼ = partial/conditional; refs = references.
PropertyDecomposition-Based (EMD/BSS)IMU-Referenced Adaptive FilteringETI-Referenced Adaptive FilteringAdjacent-Electrode-ReferencedProposed
Floating Electrode
Additional hardware requiredNoneIMU on body or electrodeImpedance injection and measurement circuitryAdditional cECG electrode pairFloating electrode pair + matched AFE
Causal/real-time compatibleDepends on implementation
Computational complexityHighLow–moderateLow–moderateLowLow
Free from cardiac content in reference signalN/A (no external reference)∼ (may contain residual ECG)
Sensitive to subject-induced motion artifacts∼ (strongest for local electrode motion)
Sensitive to environmentally induced artifacts (external electric-field perturbations)∼ (depends on decomposition quality)∼ (residual cECG limits
sensitivity)
Dependent on mains (50/60 Hz) for reference generation∼ (envelope refs require PLI; BP refs do not)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Stanešić, A.; Klaić, L.; Cindrić, D.; Cifrek, M. Improving Signal Quality in Non-Contact Electrocardiography: Novel Strategy for Motion Artifact Reduction. Sensors 2026, 26, 3643. https://doi.org/10.3390/s26123643

AMA Style

Stanešić A, Klaić L, Cindrić D, Cifrek M. Improving Signal Quality in Non-Contact Electrocardiography: Novel Strategy for Motion Artifact Reduction. Sensors. 2026; 26(12):3643. https://doi.org/10.3390/s26123643

Chicago/Turabian Style

Stanešić, Antonio, Luka Klaić, Dino Cindrić, and Mario Cifrek. 2026. "Improving Signal Quality in Non-Contact Electrocardiography: Novel Strategy for Motion Artifact Reduction" Sensors 26, no. 12: 3643. https://doi.org/10.3390/s26123643

APA Style

Stanešić, A., Klaić, L., Cindrić, D., & Cifrek, M. (2026). Improving Signal Quality in Non-Contact Electrocardiography: Novel Strategy for Motion Artifact Reduction. Sensors, 26(12), 3643. https://doi.org/10.3390/s26123643

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