Next Article in Journal
Single-Cell Endoscopy for Multifunctional Live-Cell Molecular Analysis
Previous Article in Journal
High-Resolution Tracking of Aging-Related Small Molecules: Bridging Pollutant Exposure, Brain Aging Mechanisms, and Detection Innovations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Adaptive Independent Component Analysis Method for Multi-Channel Optically Pumped Magnetometers’ Magnetocardiography Signals

1
School of Instrumentation Science and Optoelectronics Engineering, Beihang University, Beijing 100191, China
2
School of Electronics, Peking University, Beijing 100871, China
3
PKU-Nanjing Institute of Translational Medicine, Nanjing Raygen Health, Nanjing 210031, China
4
Beijing Laboratory of Biomedical Imaging, Beijing Municipal Education Commission, Beijing 100085, China
5
National Biomedical Imaging Center, State Key Laboratory of Membrane Biology, Peking-Tsinghua Center for Life Sciences, College of Future Technology, Peking University, Beijing 100871, China
*
Authors to whom correspondence should be addressed.
Biosensors 2025, 15(4), 243; https://doi.org/10.3390/bios15040243
Submission received: 22 February 2025 / Revised: 30 March 2025 / Accepted: 10 April 2025 / Published: 11 April 2025

Abstract

:
With the gradual maturation of optically pumped magnetometer (OPM) technology, the use of OPMs to acquire weak magnetocardiography (MCG) signals has started to gain widespread application. Due to the complexity of magnetic environments, MCG signals are often subject to interference from various unknown sources. Independent component analysis (ICA) is one of the most widely used methods for blind source separation. However, in practical applications, the numbers of retained components and filtering components are often selected manually, relying on subjective experience. This study proposes an adaptive ICA method that estimates the signal-to-noise ratio (SNR) before processing to determine the number of components and selects heartbeat-related components based on their characteristic indicators. The method was validated using phantom experiments and MCG data in a 128-channel OPM-MCG system. In the human subject experiment, the array output SNR reached 31.8 dB, and the processing time was significantly reduced to 1/38 of the original. The proposed method outperformed traditional techniques in terms of its ability to identify artifacts and efficiency in this regard, providing strong support for the broader clinical application of OPM-MCG.

1. Introduction

Magnetocardiography (MCG) is a new medical imaging technique that measures the extremely weak magnetic fields generated by the activation currents along myocardial fibers during heart activity [1,2]. The sensitivity of MCG in detecting ischemic myocardium in both its resting and activated states is superior to that of electrocardiography (ECG) [3,4,5], and as a complementary diagnostic tool to ECG, it has gradually found use in clinical trials.
Some researchers have studied MCG using superconducting quantum interference devices due to the advantages of MCG [6,7]. However, with the advent of the spin-exchange relaxation-free (SERF) OPM technology, which does not rely on low-temperature cooling, significant potential has been demonstrated [8]. OPM sensors have low operational costs (no liquid helium consumption) and offer flexible layout options, providing higher-quality data [9,10,11]. This breakthrough could drive the development of MCG technology and further expand its application scenarios [12].
The detectable amplitude of magnetic heart signals on the body’s surface is in the range of tens of pT, while the Earth itself, as a giant magnet, has a magnetic field amplitude of tens to hundreds of μT, which is approximately seven orders of magnitude larger than the heart’s magnetic field [13]. In urban or indoor environments, the magnetic field characteristics of the surroundings are more complex. The movement of vehicles, subways, indoor elevators, and the use of alternating current electricity from ferromagnetic objects all contribute to fluctuations in the magnetic field [14]. These forms of magnetic noise and interference present significant challenges to the detection and extraction of magnetic heart signals.
Independent component analysis (ICA) is a statistical method used to separate multivariate signals into statistically independent sub-signals, and it has been widely applied in multi-channel MCG signal processing to separate signals from different sources (e.g., magnetic heart signals and various noise sources) [15,16,17,18]. However, the identification of whether the separated independent components are noise or artifacts often relies on empirical judgment, and manual selection is required to eliminate artifact components [19]. This dependence on experience not only makes the data processing difficult to quantify but also increases the time required for signal processing, making the clinical application of magnetocardiography challenging [20,21].
To overcome this challenge in OPM-MCG signal processing, this study proposes an adaptive ICA signal processing scheme that combines the autocorrelation function interval power ratio (IPR) and cross-correlation function extremum (CFE) to select and filter components. The proposed scheme simplifies the OPM-MCG signal processing workflow and reduces reliance on human experience.
To validate the efficacy of the proposed method, a series of phantom simulation experiments and real signal experiments were conducted to evaluate both the effectiveness and processing efficiency of the method. Initially, simulated heartbeat signals were generated and combined with various noise signals (including band-limited white noise and power line interference). The coefficients of the correlation between the original signal and the denoised signal processed by the proposed method were calculated to assess the ability to recover heartbeat signals. Furthermore, the proposed processing flow was applied to denoise the signals for real-subject tests using the OPM-MCG for heartbeat signal acquisition. The resulting multi-channel single-cycle MCG signal butterfly plots were generated and verified, demonstrating the effectiveness of the algorithm in real-world MCG acquisition and processing applications.

2. Materials and Methods

2.1. ICA Dimensionality Reduction

For spatially distributed sensors, the process through which source signals propagate to the sensors can be expressed as follows:
X = A S
where X is the measurement data matrix, consisting of a matrix with N c channels and T discrete measurement data points in OPM-MCG measurements. S represents the source signal matrix, which in the case of magnetic heart measurements includes the heart’s electrophysiological sources (the signals to be extracted) and potential noise sources, with dimensions of N s × T , where N s is the number of source signals. A is the mixing matrix, representing the conduction matrix that transfers signals from the N s source signals to the N c measuring sensors. The mixing matrix produces a reduced-rank mixture of the noise and signal sources.
ICA works by decomposing the measurement data matrix X . This process is expressed as follows:
C = W X ^
where W is the decomposition matrix obtained through principal component analysis (PCA) after whitening and dimensionality reduction. The matrix W is a square matrix whose order depends on the number of rows in the matrix X after PCA whitening. The resulting matrix C represents the statistically independent components. Using PCA to reduce the dimensionality of the data, the number of effective dimensions can be estimated through the cumulative variance contribution rate.
Var contribution = i = 1 k σ i 2 σ total 2
The variance of the ith principal component is represented as σ i 2 , and the σ total 2 is the sum of the variances of all the components. The cumulative variance contribution rate of the first k principal components is the proportion of the total variance.
Due to the uncertainty surrounding the number of measurement equations N c (the number of channels) and the number of sources N s , we cannot guarantee that the decomposition process is either underdetermined or overdetermined. As such, not all the components (i.e., each row in C ) will have clear physical significance. After dimensionality reduction using PCA, the number of retained components can be estimated based on the cumulative variance contribution rate, but the threshold information still requires manual adjustment based on experience. Therefore, before this process, we perform simple preprocessing on the original signal, segmenting the heartbeats based on the R-wave positions for all channels. We then calculate the power near the R-wave and the midpoint between R-waves for each channel as estimates of the signal and noise power, as shown in Figure 1. The estimated SNR can be calculated as the ratio of the sum of the powers for all i channels over j heartbeats, denoted as follows:
SNR = i , j σ peak i , j 2 i , j σ Noise i , j 2
where σ peak i , j 2 represents the power for channel i and heartbeat j near the R-wave, and σ Noise i , j 2 represents the power near the midpoint between R-waves. Based on this SNR, we estimate the number of principal components to retain.

2.2. Autocorrelation Integral Power Ratio (IPR)

The autocorrelation function of the mth independent component (IC) C m from ICA with respect to time lag t is expressed as (derivation provided in Appendix A):
A c ( t ) ( C m ) = 1 T t i = 1 T t ( C m , i C m ¯ ) ( C m , i + t C m ¯ ) σ m 2
where T denotes the total sequence length, and σ m 2 represents the variance of component C m . By analyzing this equation, several components and heartbeat signals can be characterized, as shown in Figure 2.
  • Bandwidth-limited Gaussian white noise (BWN): White noise generally exists in the system’s background noise. The bandwidth limitation of an OPM results in an autocorrelation function with sinc function characteristics, reflecting the time correlation introduced by the limited bandwidth.
  • Power line interference (PLI): these signals exhibit periodic characteristics in their autocorrelation functions.
  • Typical cardiac cycle: these signals have quasi-periodicity; the components should only have significant values when t > T min , where T min is the shortest heartbeat period within the finite measurement time.
Based on these features, the variance of the autocorrelation function within a specified delay range around the heartbeat cycle can be used to calculate the autocorrelation integral power (AIP):
AIP ( m ) τ 1 τ 2 = var Ac ( t ) ( C m ) , t [ τ 1 , τ 2 ]
The AIP of an independent component with a dominant heartbeat signal is significantly different from that of a typical noise component. The IC dominated by the heartbeat signal should have lower AIP values. However, in real data, heartbeat-related signals often appear simultaneously in multiple ICs. The AIP distribution in different autocorrelation function delay intervals can be used to define the autocorrelation integral power ratio (IPR).
IPR ( m ) = AIP ( m ) τ 1 τ 2 AIP ( m ) τ 3 τ 4
The component with the largest IPR value can be selected as the template component for subsequent processing.

2.3. Cross-Correlation Function Interval Extremum

There exist unknown noise components whose autocorrelation function characteristics are not evident. These ICs are difficult to differentiate using the IPR. In such cases, the IC with the maximum IPR value is selected as the template sequence, denoted as follows:
temp = argmin | IPR ( m )
Next, the bilateral cross-correlation function between this template sequence and other sequences R ( t ) ( C temp , C k ) is as follows:
R ( t ) ( C t e m p , C k ) = 1 T t · i = 1 T t ( C t e m p , i C t e m p ¯ ) ( C k , i + t C k ¯ ) σ t e m p · σ k
σ t e m p and σ k are the standard deviation of the two sequences, respectively.
Heartbeat signals exhibit quasi-periodic characteristics, meaning that each cardiac cycle has a similar repeating pattern, although the intervals between cycles are not fixed. Therefore, using periodic features to filter the target signal may not always be accurate. However, by leveraging quasi-periodic features, noise components (which do not exhibit cardiac cycle characteristics) can be filtered effectively.
In practice, ICA often results in heartbeat signals appearing across multiple independent components (ICs). For example, the P-wave, QRS complex, and T-wave may be decomposed into different ICs. Without applying any time delay, the statistical properties of these components demonstrate independence. However, each cardiac cycle always includes the P-QRS-T complex, introducing a time delay, as shown in Figure 3. ICs containing any component of the P-QRS-T complex show a high degree of correlation.
In the delay range of ± τ delay , the extremum of the cross-correlation function is computed as:
CFE ( k ) = max R ( t ) ( C temp , C k ) | t [ τ delay , τ delay ]
The template C temp exhibits the most pronounced cardiac cycle features. The value of τ delay is kept within half of the average cardiac cycle period, T Avg , to ensure that the delay allows the signals within the same cardiac cycle to overlap. Therefore, other ICs with cardiac cycle characteristics are evaluated by computing the CFE for each IC. The ICs dominated by cardiac cycle signals exhibit higher CFEs. ICs are then ranked based on their CFE values, and the top N ICs are retained, where N is determined by the variance contribution ratio estimated using Equation (3).

2.4. Methodology Flow

The processing workflow of the adaptive ICA method is shown in Figure 4:
The raw data are passed through a bandpass filter (0.5 Hz to 100 Hz) to eliminate most of the baseline drift and high-frequency noise outside the sensor’s measurement bandwidth. Additionally, a 50 Hz spectral interpolation method is employed to remove PLI from the environment. The resulting data undergo discrete wavelet decomposition, extracting the wavelet coefficients from the frequency band (5–40 Hz) where the R-wave energy is concentrated, and reconstructing the signal using three layers of wavelet coefficients.
The R-wave localization algorithm is used to identify the location of each R-wave. The signal is then segmented into epochs, and the initial SNR is estimated.
The preprocessed multi-channel data undergo PCA, which is used to estimate the variance contribution threshold of PCA under the given SNR conditions. This information is used to calculate the number of principal components to retain, thereby determining the target dimensionality (N) for reducing the dimensionality of the multi-channel data.
Next, ICA is applied to decompose the original multi-channel data. Based on the IPR, the template IC is selected. The CFE between the template IC and other ICs is calculated, and all the ICs are ranked according to their CFE values. The top N ICs are retained and recombined, completing the adaptive ICA process for OPM-MCG.

3. Experiment

3.1. Phantom Experiment

The setup for the physical simulation experiment system is shown in Figure 5.
The simulated heartbeat signals were generated using the Python 3.9 package neurokit2. The generated heartbeat signals included modulation effects caused by respiration and certain heart rate variability. The heart rate was set to 90 bpm, the data length was 100 s, and the sampling rate was 1 kHz. This signal served as the true heartbeat signal to be recovered.
As shown in Figure 6, the interference signals consisted of PLI signals with varying amplitudes and BWN signals. The frequency of the PLI signal was set to 12 Hz, overlapping with the heartbeat signal’s frequency band. The initial SNR was set to 0 dB, 3 dB, 5 dB, and 7 dB, based on the ratio of the power of the simulated heartbeat signal to the interference signals.
The coils of the magnetic dipoles were fixed in the OPM array, which was distributed across four planes: upper, lower, left, and right. A total of 64 OPM sensors were configured. The experiment was conducted within a magnetic shielding barrel made of four layers of Permalloy, with a single-ended closed cover and an active lid, and the DC residual magnetism inside the barrel was 2 nT. The magnetic field signals output from the OPMs were passed through a magnetometer controller array and sent to a synchronized DAQ system. The analog voltage signals were sampled with a 16-bit AD sampling precision at a rate of 1.2 kS/s. The conversion ratio from the measured magnetic field to the analog voltage signal was set to 2.7 V/nT. The test data were collected and stored through an upper-level computer for subsequent offline processing.
During the experiment, once the sensors were activated, both dipole coils were simultaneously energized, and the magnetic field in the space was superimposed with both the heartbeat and noise signals. The sensor array recorded the mixed magnetic field signals in the space. Using the ICA algorithm, the components containing the heartbeat signals, PLI signals, and white noise were separated. The proposed artifact component identification method was used to automatically screen the IC components. The coefficient of the correlation between the reconstructed components and the original heartbeat signal, as well as the output SNR of the array, were calculated to assess the algorithm’s signal recovery and interference suppression capability.

3.2. MCG Data Acquisition

To verify the applicability of the method proposed in this study and compare its efficiency in signal processing, heartbeat signals from a real human subject were collected and processed.
The subject was a male with normal heart function. During the human experiment, the subject was placed on a test bed inside the magnetic shielding barrel, with sensors embedded around the bed. The shielding barrel isolated the environmental magnetic field to minimize interference with the test. It also provided an environment with a nearly zero magnetic field for the atomic magnetometer. The shielding barrel remained open at one end throughout the test. Each volunteer was informed of the experiment and gave their consent. During each data collection session, the subject was instructed to stay awake and relaxed to avoid heart rate abnormalities caused by tension. The test duration was 90 s.
The collected data were processed using the method proposed in this study, and the processing time was compared with the time taken by seven experienced data processing operators to select artifact IC components manually. The time required to select the ICs was calculated to verify the efficiency improvement of the proposed method for real MCG signals.

4. Results

4.1. Phantom Experiment

Figure 7 shows the ICs extracted from the original 128-channel OPM-MCG data after ICA decomposition, with 3 dB of BWN. The results included 20 independent components. The IPR values and CFE calculation results for all the components are shown in Figure 8. The black component (comp 8) was selected as the template component based on the maximum IPR, with an IPR value of 270, indicating that this component had an AIP 270 times greater than that in the delay interval of interest, making it suitable as a template component for subsequent filtering.
The initial SNR estimate for the array calculated the proportion of signal variance to total variance, which was then used as the threshold for PCA dimensionality reduction. The calculations showed that seven principal components (N = 7) contributed to the estimated SNR corresponding to the required variance contribution rate.
The CFEs of all the ICs (calculated from zero to one) were sorted, and the top N independent components were retained, while the remaining ICs were identified as non-heartbeat-related artifacts. This allowed the automatic filtering of the ICs. The retained components were multiplied by the demixing matrix to reconstruct the multi-channel signal, completing the denoising of the original 128-channel signal.
Using this processing method, signal cleaning was performed on different types of interference signals and input SNRs. The processed results are shown in Figure 9.
Phantom experiments data were processed using adaptive ICA. Figure 9 illustrates the output SNR ( SNR out ) after processing under different types of interference signals and various input SNRs ( SNR in ), as well as the correlation coefficient between the recovered heartbeat and input simulated heartbeat signal.
Figure 9a shows that, when the input signal was the simulated heartbeat signal with added PLI noise, as the input SNR increased (i.e., the power of the added interference signal decreased), the SNR of the output multi-channel signal improved. At an input SNR of 7 dB, the output SNR reached up to 23.5 dB. The SNR improvement ratio ( SNR out SNR in ) decreased gradually, indicating that the proposed method performed better in suppressing noise when the input signal had higher noise levels.
Figure 9b shows the results when the input is the simulated heartbeat signal with added BWN. Compared to the PLI, the algorithm showed better performance in suppressing BWN. The SNR improvement ratio for different input SNRs of BWN interference was relatively consistent.
As the input SNR increased, the coefficient of the correlation between the reconstructed signal and the original input signal also rose. At an input SNR of 7 dB with BWN interference, the coefficient of the correlation between the output signal and the input simulated heartbeat signal reached 0.975.

4.2. Real MCG Data

Figure 10 shows the ICA decomposition results for real MCG signals. Compared to the physical simulation results, the decomposition of actual MCG signals was more complex, with heartbeat-related signals appearing in multiple ICs, and different waves of a heartbeat cycle, such as the P wave, QRS complex, and T wave, being decomposed into different ICs.
Figure 11 shows the IPR and CFE values for each IC. Based on the IPR, comp 3 was selected as the template component. The initial SNR estimate from PCA dimensionality reduction indicated that 14 components (N = 14) needed to be retained. This indicated that the initial SNR of real MCG signals was better than that of the simulated signal.
Figure 12 shows the output SNR for the first 64 channels, with the contribution of the ICA algorithm to the overall SNR improvement. After processing, most of the channels in the real MCG signal showed an output SNR greater than 30 dB. The total array SNR was calculated to be 31.8 dB. Figure 13 shows the butterfly plot of the reconstructed signals for all the channels.
The comparison of the processing time between the proposed method and the manual processing by seven experienced operators is summarized in Table 1. “Excluded components” refer to the components excluded from the decomposed independent components based on the empirical judgment of each experimenter. “Time cost” represents the time required for each experimenter to perform the component selection process. “SNR_IMP” denotes the SNR improvement ( SNR out SNR in ) after excluding the components.
The results show that, even among experienced operators, there were still differences in the results. The average processing time was about 69 s. The proposed adaptive ICA method requires only 1.8 s for IC selection. The SNR_IMP results indicate that our method achieved the highest SNR improvement.

5. Discussion

MCG signals are usually exposed to severe environmental and physiological signal contamination, and blind source separation of the signal using ICA is a common processing method. However, component identification in ICA still relies heavily on human intervention. Different experimenters may have subjective judgments regarding whether a component is an artifact or not, leading to variability in the results and making it difficult to perform quantitative evaluations. Manual involvement in the process also adds complexity and increases the processing time required.
In this study, we introduced the use of the time-domain correlation features of MCG signals, specifically the autocorrelation integral power ratio (IPR) and cross-correlation function extremum (CFE) metrics, to quantitatively evaluate and select ICs. Through phantom simulation experiments, the effectiveness of this method was validated. Additionally, real MCG signals were tested, and the results demonstrated good IC identification performance.
It is worth noting that the proposed adaptive ICA method was validated for applications in multi-channel OPM-MCG; however, this does not imply that the method is exclusively applicable to OPM-MCG. ICA is also commonly used for artifact suppression in SQUID-MCG signals [22,23]. This suggests that, with appropriate adaptations and minor modifications, the proposed method could also be effective in SQUID-MCG.

5.1. Comparison with Previous Work

With the gradual maturation and commercialization of magnetic field sensor technology, particularly OPM-MCG systems, research on MCG has been steadily increasing. Simultaneously, the demand for efficient signal processing workflows has become more urgent. Due to the flexible spatial arrangement of OPM-MCG systems and the complexity of the magnetic field environment, MCG signal processing faces new challenges.
Earlier studies used methods combining empirical mode decomposition (EMD) or its derivative, ensemble EMD (EEMD), with ICA for noise reduction and analysis, which showed some success in improving signal quality [18,24,25]. These methods increased the computational complexity by first expanding the data in a single channel before applying ICA for dimensionality reduction [26], which became more complicated, especially when dealing with multiple channels. More recent MCG studies have increasingly adopted wavelet decomposition combined with ICA due to the need to superimpose heartbeat signals across cycles [27].
This study observed that the least portable part of the ICA calculation process was the manual selection of ICs. Due to the unique quasi-periodic nature of MCG signals, the autocorrelation and cross-correlation functions of the ICs related to the heartbeat showed distinct characteristics. This enabled the ICA algorithm in MCG signal processing to use the IPR and CFE for the more quantitative selection of ICs. Compared to those of previous methods, the accuracy and efficiency of IC selection were significantly improved.

5.2. Performance on Different Input Signals

When comparing the performance on two types of simulated signals, the adaptive ICA method demonstrated superior noise suppression for BWN compared to PLI. This was reflected in the comparison of the SNR improvement ratios and correlation coefficients. As shown in Figure 9a,b, under the same input SNR of 7 dB, the adaptive ICA method produced a final SNR of 33 dB with BWN, with a correlation coefficient close to 0.98. In contrast, when PLI was present, the final SNR reached only 23 dB, with a correlation coefficient of 0.93. This difference likely arises from two factors: (1) the accuracy of the SNR estimation differs for the two types of interference, which affects the PCA dimensionality reduction process for determining the number of retained components; (2) ICA has a lower ability to distinguish sine-like signals such as PLI.
When comparing the simulated and real MCG data, we observed that the number of components retained for real data was significantly larger than that for simulated signals. This is because the simulated heartbeat signals were generated by a coil, and their spatial distribution only involved amplitude differences between channels. In contrast, the magnetic fields generated by actual cardiac electrophysiological activity cannot be fully described by a single magnetic dipole. A real heartbeat signal exhibits amplitude differences and phase shifts among different sensors, requiring more independent components to adequately describe the signal in OPM-MCG data processing.

5.3. Parametric Analysis

Equation (4) represents the process of determining the number of principal components in PCA dimensionality reduction based on the variance contribution rate. This process involves computing the variance of each component obtained through PCA decomposition and ranking them in descending order. The number of retained components is determined when the cumulative variance contribution rate of the first N components exceeds a given threshold. Figure 14 illustrates the variance of PCA components and the cumulative variance contribution rate.
Under high SNR conditions, the selection of retained components is highly sensitive to the chosen threshold. However, in previous approaches, this threshold was often selected empirically, varying across different testing systems and environments. In this study, the SNR of the input signal was pre-evaluated, and the threshold was estimated based on that SNR. This estimation method enhances the objectivity and robustness of the processing procedure.
Equation (7) for IPR estimation, which involved parameters such as τ 1 and τ 2 , was addressed in the preprocessing stage. Specifically, R-peaks were first detected, and the time intervals between consecutive R-peaks were computed as individual heartbeat intervals. The durations of all heartbeat intervals within the testing period were then calculated, where τ 1 and τ 2 represented the shortest and longest intervals, respectively. Within this delay range, the contribution of each heartbeat to AIP computation could be accumulated throughout the testing period.
In the calculation of the CFE, the parameter τ delay corresponded to the average heartbeat interval within the testing period. The cross-correlation maximum was determined within the range of ± τ delay . Since the cross-correlation maxima among different independent components typically occurred within the same heartbeat cycle, the CFE calculation was not highly sensitive to the selection of τ delay .

5.4. Limitations

Although the method proposed in this study was thoroughly validated under the current noise levels in the system, there are some limitations and important considerations regarding its application and underlying principles.
The proposed adaptive ICA processing method exhibits potential applicability in the diagnosis of various clinical cardiac diseases, such as coronary artery disease, arrhythmias, and myocardial ischemia [3,28,29]. However, it is important to note that if a subject presents electrophysiological characteristics associated with non-sinus rhythms, such as ectopic pacemakers, manual intervention may still be required during processing. Future research will further explore data collection and feature extraction for such cardiac conditions, integrating these aspects with existing methods to expand the applicability of the proposed approach.
Additionally, the use of OPMs to measure cardio-magnetic signals in unshielded environments has received increasing attention. In such measurements, the number of available OPM sensors is limited, making the proposed multi-channel processing method unsuitable for these applications.

6. Conclusions

As OPM-MCG technology becomes more widely applied in clinical settings, there is an increasing demand for signal processing methods that can be adapted to a wide range of scenarios. ICA has shown significant denoising effects in MCG signal processing. In this study, based on the ICA algorithm, we proposed an improved adaptive ICA method for multi-channel OPM-MCG signal processing. This method was validated using both simulated signals and real MCG data.
Further research in this area could involve expanding the sample size and incorporating large data models for training. By leveraging more dimensional features, such as spatial data, to distinguish between noise and signal, the artifact identification and noise suppression capabilities could be further enhanced.
This study has made an important step toward solving key issues in OPM-MCG signal processing. The results indicate that the proposed method provides strong support for the broader clinical application and further development of OPM-MCG technology in the field of cardiology.

Author Contributions

S.L.: writing—original draft, methodology, investigation, data curation, conceptualization. J.Q.: writing—editing, data curation. J.H.: software, data validation. Y.J.: investigation, data collection and curation. A.W.: supervision, project administration. T.Z.: funding acquisition, supervision. C.W.: writing—review, supervision, project administration. H.J.: methodology, investigation, conceptualization. L.F.: supervision, resources, funding acquisition. H.C.: writing—review, supervision, resources, project administration, funding acquisition. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Key Research and Development Program of China 2024YFF1501400, 2024YFF1501401 and 2024YFF1501402.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the biological and medical ethics committee of Beihang University (BM20240188).

Informed Consent Statement

Informed consent was obtained from the subject involved in the study. Written informed consent has been obtained from the subject to publish this paper.

Data Availability Statement

Data will be made available on request.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

This Appendix A is a detailed derivation of the autocorrelation function for the Section 2.
For two continuous real signals x ( t ) and y ( t ) , the cross-correlation function with respect to time delay τ is defined as:
R x y ( τ ) = x ( t ) y ( t + τ ) d t
For discrete sampled time sequences x ( n ) and y ( n ) , the cross-correlation function at delay sampling point t is given by:
R x y ( t ) = n = + x ( n ) y ( n + t )
Since practical signals are of finite length, assuming the time sequence length is T, the normalized finite-length discrete cross-correlation function is expressed as:
R x y [ t ] = n = 1 T t ( x [ n ] μ x ) ( y [ n + k ] μ y ) n = 1 T t ( x [ n ] μ x ) 2 · n = 1 T t ( y [ n ] μ y ) 2
where μ x μ y represents the mean of the overlapping segments of the two sequences at delay t:
μ x = 1 T t n = 1 T t x [ n ] , μ y = 1 T t n = 1 T t y [ n ]
and the variance of the overlapping segments is given by:
σ x = 1 T t n = 0 T t ( x [ n ] μ x ) 2 , σ y = 1 T t n = 0 T t ( y [ n ] μ y ) 2
Thus, the normalized cross-correlation function can be simplified as:
R x y [ t ] = 1 T t · n = 1 T t ( x [ n ] μ x ) ( y [ n + k ] μ y ) σ x · σ y
If x ( n ) and y ( n ) are two independent components obtained via independent component analysis (ICA), denoted as C m and C n , respectively, the cross-correlation function is given by:
R ( t ) ( C m , C n ) = 1 T t · i = 1 T t ( C m , i C m ¯ ) ( C n , i + t C n ¯ ) σ m · σ n
where C m ¯ and C n ¯ represent the mean of the overlapping segments of the two components.
In particular, when m = n , the cross-correlation function degenerates into the autocorrelation function of the component at delay t:
A c ( t ) ( C m ) = 1 T t i = 1 T t ( C m , i C m ¯ ) ( C m , i + t C m ¯ ) σ m 2
In another case, when discussing the bilateral cross-correlation function of two sequences, the delay t can take negative values. In this scenario, the cross-correlation function can be expressed as:
R ( t ) ( C m , C n ) = 1 T t · i = 1 T t ( C m , i C m ¯ ) ( C n , i + t C n ¯ ) σ m · σ n

References

  1. Cohen, D. Magnetoencephalography: Detection of the Brain’s Electrical Activity with a Superconducting Magnetometer. Science 1972, 175, 664–666. [Google Scholar] [CrossRef] [PubMed]
  2. Xiao, W.; Sun, C.; Shen, L.; Feng, Y.; Liu, M.; Wu, Y.; Liu, X.; Wu, T.; Peng, X.; Guo, H. A Movable Unshielded Magnetocardiography System. Sci. Adv. 2023, 9, eadg1746. [Google Scholar] [CrossRef] [PubMed]
  3. Kwong, J.S.; Leithäuser, B.; Park, J.W.; Yu, C.M. Diagnostic Value of Magnetocardiography in Coronary Artery Disease and Cardiac Arrhythmias: A Review of Clinical Data. Int. J. Cardiol. 2013, 167, 1835–1842. [Google Scholar] [CrossRef]
  4. Agren, P.; Goranson, H.; Hindmarsh, T.; Knutsson, E.; Mohlkert, D.; Rosenqvist, M.; Bergfeldt, L. Magnetocardiographic Localization of Arrhythmia Substrates: A Methodology Study with Accessory Pathway Ablation as Reference. IEEE Trans. Med. Imaging 1998, 17, 479–484. [Google Scholar] [CrossRef] [PubMed]
  5. Duchateau, J.; Sacher, F.; Pambrun, T.; Derval, N.; Chamorro-Servent, J.; Denis, A.; Ploux, S.; Hocini, M.; Jaïs, P.; Bernus, O.; et al. Performance and Limitations of Noninvasive Cardiac Activation Mapping. Heart Rhythm 2019, 16, 435–442. [Google Scholar] [CrossRef]
  6. Zhao, C.; Jiang, S.; Wu, Y.; Zhu, J.; Zhou, D.; Hailer, B.; Gronemeyer, D.; Van Leeuwen, P. An Integrated Maximum Current Density Approach for Noninvasive Detection of Myocardial Infarction. IEEE J. Biomed. Health Inform. 2018, 22, 495–502. [Google Scholar] [CrossRef]
  7. Kwon, H.; Kim, K.; Lee, Y.H.; Kim, J.M.; Yu, K.K.; Chung, N.; Ko, Y.G. Non-Invasive Magnetocardiography for the Early Diagnosis of Coronary Artery Disease in Patients Presenting With Acute Chest Pain. Circ. J. 2010, 74, 1424–1430. [Google Scholar] [CrossRef]
  8. Strand, S.; Lutter, W.; Strasburger, J.F.; Shah, V.; Baffa, O.; Wakai, R.T. Low-Cost Fetal Magnetocardiography: A Comparison of Superconducting Quantum Interference Device and Optically Pumped Magnetometers. J. Am. Heart Assoc. 2019, 8, e013436. [Google Scholar] [CrossRef]
  9. Rea, M.; Boto, E.; Holmes, N.; Hill, R.; Osborne, J.; Rhodes, N.; Leggett, J.; Rier, L.; Bowtell, R.; Shah, V.; et al. A 90-channel Triaxial Magnetoencephalography System Using Optically Pumped Magnetometers. Ann. N. Y. Acad. Sci. 2022, 1517, 107–124. [Google Scholar] [CrossRef]
  10. Boto, E.; Holmes, N.; Leggett, J.; Roberts, G.; Shah, V.; Meyer, S.S.; Muñoz, L.D.; Mullinger, K.J.; Tierney, T.M.; Bestmann, S.; et al. Moving Magnetoencephalography towards Real-World Applications with a Wearable System. Nature 2018, 555, 657–661. [Google Scholar] [CrossRef]
  11. Brookes, M.J.; Leggett, J.; Rea, M.; Hill, R.M.; Holmes, N.; Boto, E.; Bowtell, R. Magnetoencephalography with Optically Pumped Magnetometers (OPM-MEG): The next Generation of Functional Neuroimaging. Trends Neurosci. 2022, 45, 621–634. [Google Scholar] [CrossRef]
  12. Yang, Y.; Xu, M.; Liang, A.; Yin, Y.; Ma, X.; Gao, Y.; Ning, X. A New Wearable Multichannel Magnetocardiogram System with a SERF Atomic Magnetometer Array. Sci. Rep. 2021, 11, 5564. [Google Scholar] [CrossRef] [PubMed]
  13. Jia, L.; Li, J.; Song, X.; Ning, X.; Yang, J.; Qi, S.; Long, T.; Wu, Z.; Wang, R. Hardware-Based Interference Suppression Techniques for OPM-MEG: A Review. IEEE Sens. J. 2024, 99, 1. [Google Scholar] [CrossRef]
  14. Seymour, R.A.; Alexander, N.; Mellor, S.; O’Neill, G.C.; Tierney, T.M.; Barnes, G.R.; Maguire, E.A. Interference Suppression Techniques for OPM-based MEG: Opportunities and Challenges. NeuroImage 2022, 247, 118834. [Google Scholar] [CrossRef] [PubMed]
  15. Iwai, M.; Kobayashi, K. Dimensional Contraction by Principal Component Analysis as Preprocessing for Independent Component Analysis at MCG. Biomed. Eng. Lett. 2017, 7, 221–227. [Google Scholar] [CrossRef]
  16. DiPietroPaolo, D.; Müller, H.P.; Nolte, G.; Erné, S.N. Noise Reduction in Magnetocardiography by Singular Value Decomposition and Independent Component Analysis. Med. Biol. Eng. Comput. 2006, 44, 489–499. [Google Scholar] [CrossRef]
  17. Yu, S.; Wakai, R.T. Maternal MCG Interference Cancellation Using Splined Independent Component Subtraction. IEEE Trans. Biomed. Eng. 2011, 58, 2835–2843. [Google Scholar] [CrossRef]
  18. Mariyappa, N.; Sengottuvel, S.; Rajesh, P.; Parasakthi, C.; Gireesan, K.; Janawadkar, M.; Radhakrishnan, T.; Sundar, C. Denoising of Multichannel MCG Data by the Combination of EEMD and ICA and Its Effect on the Pseudo Current Density Maps. Biomed. Signal Process. Control 2015, 18, 204–213. [Google Scholar] [CrossRef]
  19. Treacher, A.H.; Garg, P.; Davenport, E.; Godwin, R.; Proskovec, A.; Bezerra, L.G.; Murugesan, G.; Wagner, B.; Whitlow, C.T.; Stitzel, J.D.; et al. MEGnet: Automatic ICA-based Artifact Removal for MEG Using Spatiotemporal Convolutional Neural. NeuroImage 2021, 241, 118402. [Google Scholar] [CrossRef]
  20. Kesavaraja, C.; Sengottuvel, S.; Patel, R.; Mani, A. Machine Learning-Based Automated Method for Effective De-noising of Magnetocardiography Signals Using Independent Component Analysis. Circuits Syst. Signal Process. 2024, 43, 4968–4990. [Google Scholar] [CrossRef]
  21. Iwai, M.; Kobayashi, K.; Yoshizawa, M.; Uchikawa, Y.; Bui, F.M. Automatic Component Selection for Noise Reduction in Magnetocardiograph Based on Independent Component Analysis. J. Magn. Soc. Jpn. 2017, 41, 41–45. [Google Scholar] [CrossRef]
  22. Vigário, R.; Sarela, J.; Jousmiki, V.; Hamalainen, M.; Oja, E. Independent component approach to the analysis of EEG and MEG recordings. IEEE Trans. Biomed. Eng. 2000, 47, 589–593. [Google Scholar] [CrossRef] [PubMed]
  23. Hämäläinen, M.; Hari, R.; Ilmoniemi, R.J.; Knuutila, J.; Lounasmaa, O.V. Magnetoencephalography—Theory, instrumentation, and applications to noninvasive studies of the working human brain. Rev. Mod. Phys. 1993, 65, 413. [Google Scholar] [CrossRef]
  24. Mariyappa, N.; Sengottuvel, S.; Parasakthi, C.; Gireesan, K.; Janawadkar, M.; Radhakrishnan, T.; Sundar, C. Baseline Drift Removal and Denoising of MCG Data Using EEMD: Role of Noise Amplitude and the Thresholding Effect. Med. Eng. Phys. 2014, 36, 1266–1276. [Google Scholar] [CrossRef]
  25. Yang, K.; Xu, T.; Pan, D.; Zhang, Z.; Wang, H.; Kong, X. Multi-Channel MCG Signals Filtering Method Based on Multivariate Variational Mode Decomposition. Biomed. Signal Process. Control 2025, 99, 106806. [Google Scholar] [CrossRef]
  26. Liao, Y.; He, C.; Guo, Q. Denoising of Magnetocardiography Based on Improved Variational Mode Decomposition and Interval Thresholding Method. Symmetry 2018, 10, 269. [Google Scholar] [CrossRef]
  27. Bing, L.; Si, W.; Tan, R.; Han, X.; Liu, F.; Yu, J. Hybrid Fourier-Wavelet Heart Magnetic Field Signal Denoising Based on Sparse Representation. In Proceedings of the 2019 3rd International Conference on Data Science and Business Analytics (ICDSBA), Istanbul, Turkey, 11–12 October 2019; pp. 266–268. [Google Scholar] [CrossRef]
  28. Yang, S.; Feng, L.; Zhang, M.; Zhang, M.; Ma, Z.; Zhang, H.; Zhang, Y.; Liu, L.; Zhou, S.; Zhao, X.; et al. Development and Validation of a Clinical Diagnostic Model for Myocardial Ischaemia in Borderline Coronary Lesions Based on Optical Pumped Magnetometer Magnetocardiography: A Prospective Observational Cohort Study. BMJ Open 2024, 14, e086433. [Google Scholar] [CrossRef]
  29. Tao, R.; Zhang, S.; Huang, X.; Tao, M.; Ma, J.; Ma, S.; Zhang, C.; Zhang, T.; Tang, F.; Lu, J.; et al. Magnetocardiography-Based Ischemic Heart Disease Detection and Localization Using Machine Learning Methods. IEEE Trans. Biomed. Eng. 2019, 66, 1658–1667. [Google Scholar] [CrossRef]
Figure 1. SNR estimation using R-peaks and midpoint between R-peaks.
Figure 1. SNR estimation using R-peaks and midpoint between R-peaks.
Biosensors 15 00243 g001
Figure 2. The autocorrelation function features of some components and the calculation method for the AIP.
Figure 2. The autocorrelation function features of some components and the calculation method for the AIP.
Biosensors 15 00243 g002
Figure 3. Template IC and CFE calculation for other components.
Figure 3. Template IC and CFE calculation for other components.
Biosensors 15 00243 g003
Figure 4. Flowchart of the adaptive ICA method.
Figure 4. Flowchart of the adaptive ICA method.
Biosensors 15 00243 g004
Figure 5. Phantom simulation system setup.
Figure 5. Phantom simulation system setup.
Biosensors 15 00243 g005
Figure 6. Simulated heartbeat signal (green), interference signal waveform (orange), and synthetic signal (purple).
Figure 6. Simulated heartbeat signal (green), interference signal waveform (orange), and synthetic signal (purple).
Biosensors 15 00243 g006
Figure 7. Independent component waveforms and screening results for phantom simulation experiments. The ICs to be excluded are in red, the retained ICs are in blue, and the template IC is in black.
Figure 7. Independent component waveforms and screening results for phantom simulation experiments. The ICs to be excluded are in red, the retained ICs are in blue, and the template IC is in black.
Biosensors 15 00243 g007
Figure 8. IPR and CFE values of the independent components extracted from the simulated signal.
Figure 8. IPR and CFE values of the independent components extracted from the simulated signal.
Biosensors 15 00243 g008
Figure 9. Total output SNR of all channels after processing of the initial simulated signal with different input SNR (left coordinate), correlation coefficient between the recovered heartbeat signal and the input simulated heartbeat signal (right coordinate) (a) Interfering signal is PLI (b) Interfering signal is BWN.
Figure 9. Total output SNR of all channels after processing of the initial simulated signal with different input SNR (left coordinate), correlation coefficient between the recovered heartbeat signal and the input simulated heartbeat signal (right coordinate) (a) Interfering signal is PLI (b) Interfering signal is BWN.
Biosensors 15 00243 g009
Figure 10. Independent components and their identification for real MCG signals processed using the adaptive ICA method.The ICs to be excluded are in red, the retained ICs are in blue, and the template IC is in black.
Figure 10. Independent components and their identification for real MCG signals processed using the adaptive ICA method.The ICs to be excluded are in red, the retained ICs are in blue, and the template IC is in black.
Biosensors 15 00243 g010
Figure 11. IPR and CFE values of independent components extracted from real MCG.
Figure 11. IPR and CFE values of independent components extracted from real MCG.
Biosensors 15 00243 g011
Figure 12. SNR of channels 1 to 64 and the SNR improvement ratio achieved using the adaptive ICA method.Green bar is the SNR before adaptive ICA.
Figure 12. SNR of channels 1 to 64 and the SNR improvement ratio achieved using the adaptive ICA method.Green bar is the SNR before adaptive ICA.
Biosensors 15 00243 g012
Figure 13. Butterfly plot and total array SNR for all channels after signal reconstruction.
Figure 13. Butterfly plot and total array SNR for all channels after signal reconstruction.
Biosensors 15 00243 g013
Figure 14. Variance and cumulative contribution to variance of each principal component from PCA decomposition.
Figure 14. Variance and cumulative contribution to variance of each principal component from PCA decomposition.
Biosensors 15 00243 g014
Table 1. Comparison of processing time and results between the adaptive ICA algorithm and manual processing by experienced operators.
Table 1. Comparison of processing time and results between the adaptive ICA algorithm and manual processing by experienced operators.
Excluded ComponentsTime Cost (s)SNR_IMP (dB)
19, 10, 13, 14, 15, 16582.72
29, 10, 11, 13, 14, 15, 16483.27
39, 10, 11, 13, 15, 161213.24
49, 10, 11, 13, 14, 15, 16333.27
59, 10, 11, 14, 15, 16892.92
69, 10, 14, 15, 16282.70
76, 9, 10, 11, 13, 14, 15, 161073.07
Adaptive ICA9, 10, 11, 13, 14, 15, 161.83.27
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

Liang, S.; Qi, J.; He, J.; Jia, Y.; Wang, A.; Zhao, T.; Wei, C.; Jiao, H.; Feng, L.; Cheng, H. A Novel Adaptive Independent Component Analysis Method for Multi-Channel Optically Pumped Magnetometers’ Magnetocardiography Signals. Biosensors 2025, 15, 243. https://doi.org/10.3390/bios15040243

AMA Style

Liang S, Qi J, He J, Jia Y, Wang A, Zhao T, Wei C, Jiao H, Feng L, Cheng H. A Novel Adaptive Independent Component Analysis Method for Multi-Channel Optically Pumped Magnetometers’ Magnetocardiography Signals. Biosensors. 2025; 15(4):243. https://doi.org/10.3390/bios15040243

Chicago/Turabian Style

Liang, Shuang, Jiahe Qi, Junhuai He, Yikang Jia, Aimin Wang, Ting Zhao, Chaoliang Wei, Hongchen Jiao, Lishuang Feng, and Heping Cheng. 2025. "A Novel Adaptive Independent Component Analysis Method for Multi-Channel Optically Pumped Magnetometers’ Magnetocardiography Signals" Biosensors 15, no. 4: 243. https://doi.org/10.3390/bios15040243

APA Style

Liang, S., Qi, J., He, J., Jia, Y., Wang, A., Zhao, T., Wei, C., Jiao, H., Feng, L., & Cheng, H. (2025). A Novel Adaptive Independent Component Analysis Method for Multi-Channel Optically Pumped Magnetometers’ Magnetocardiography Signals. Biosensors, 15(4), 243. https://doi.org/10.3390/bios15040243

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