Next Article in Journal
Sensor-Derived Parameters from Standardized Walking Tasks Can Support the Identification of Patients with Parkinson’s Disease at Risk of Gait Deterioration
Previous Article in Journal
Precise Delivery of Nitric Oxide Controlled by Bioorthogonal Endocellulase Ameliorates Hindlimb Ischemia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Chaotic Dynamics Analysis of Magnetocardiography Signals for Early Detection of Myocardial Ischemia

1
Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, Beijing 100191, China
2
Zhejiang Provincial Key Laboratory of Ultra-Weak Magnetic-Field Space and Applied Technology, Hangzhou Innovation Institute, Beihang University, Hangzhou 310051, China
3
Hefei National Laboratory, Hefei 230088, China
4
Department of Emergency Medicine, Qilu Hospital of Shandong University, Jinan 250012, China
5
Shandong Key Laboratory for Magnetic Field-Free Medicine & Functional Imaging, National Medicine-Engineering Interdisciplinary Industry-Education Integration Innovation Platform, Qilu Hospital of Shandong University, Jinan 250012, China
6
Shandong Provincial Clinical Research Center for Emergency and Critical Care Medicine, Institute of Emergency and Critical Care Medicine of Shandong University, Chest Pain Center, Qilu Hospital of Shandong University, Jinan 250012, China
7
Hangzhou Institute of National Extremely-Weak Magnetic Field Infrastructure, Hangzhou 310028, China
8
State Key Laboratory of Traditional Chinese Medicine Syndrome, National Institute of Extremely-Weak Magnetic Field Infrastructure, Hangzhou 310028, China
*
Authors to whom correspondence should be addressed.
Bioengineering 2026, 13(2), 129; https://doi.org/10.3390/bioengineering13020129
Submission received: 11 December 2025 / Revised: 6 January 2026 / Accepted: 14 January 2026 / Published: 23 January 2026
(This article belongs to the Section Biosignal Processing)

Abstract

The heart exhibits inherently nonlinear and chaotic electrical dynamics, making the early detection of myocardial ischemia (MI) challenging using traditional electrocardiography (ECG) or standard magnetocardiography (MCG). In this study, we propose an engineering-oriented framework that integrates classical nonlinear dynamics with machine-learning-based analysis, termed the Magnetocardiography Chaotic Dynamics Map (MCDM), to reconstruct nonlinear phase-space trajectories from 36-channel MCG recordings and capture differences in reconstructed nonlinear dynamics associated with ischemic conditions. Morphological and quantitative analyses of the MCDM patterns reveal marked differences between healthy and ischemic subjects. Using a machine-learning classifier trained on HOG and LBP descriptors, the proposed MCDM-based model achieved an accuracy of 92.19%, a sensitivity of 88.75%, a specificity of 95.63%, an F1-score of 91.91%, and an AUC of 89.80%, demonstrating effective discriminative capability for early ischemia screening. Owing to its computational simplicity and noninvasive nature, the proposed MCDM framework represents a promising tool for scalable screening of ischemic heart disease.

Graphical Abstract

1. Introduction

Myocardial ischemia (MI) is a pathological cardiac condition caused by insufficient blood supply from the coronary arteries. Persistent myocardial ischemia may result in severe cardiac injury, leading to myocardial infarction and even sudden cardiac death [1]. Therefore, early and accurate diagnosis of myocardial ischemia is crucial for patient treatment and prognosis. It is important to note that there is no absolute, universally accepted gold standard for diagnosing myocardial ischemia in routine clinical practice. Common clinical tests (e.g., resting or stress ECG, biomarkers, and imaging examinations) each reflect different aspects of ischemia and therefore cannot be regarded as a single definitive reference in all scenarios. Following a practical and widely used strategy adopted in prior nonlinear-dynamics-based ischemia studies, we use the final hospital diagnosis as the reference standard in this work [2]. Specifically, the final clinical diagnosis was determined by physicians through a comprehensive review of available clinical evidence, including clinical history, ECG, MPI, CTA, CAG, and other relevant examinations. Our clinical framing follows a pragmatic perspective and is also informed by the CDG study, which provides important methodological guidance for ischemia detection in real-world diagnostic workflows [2]. Recently, nonlinear dynamic analysis of cardiac signals has gained attention, as the heart is considered a complex dynamic system characterised by significant chaos and nonlinear properties [3,4]. Nonlinear dynamic analysis can effectively capture the complex features of cardiac signals, showing substantial potential for the early diagnosis of myocardial ischemia [5]. Building upon this perspective, researchers have explored various nonlinear metrics to complement traditional diagnostic approaches. However, despite their widespread clinical use, conventional techniques such as electrocardiography (ECG) and myocardial perfusion imaging (MPI) still exhibit inherent limitations in sensitivity and specificity for early ischemia detection. ECG provides high temporal resolution but often fails to capture subtle ischemic alterations, resulting in relatively low sensitivity. Although MPI demonstrates higher sensitivity and specificity, its reliance on radioactive tracers, long acquisition time, and inability to characterize the underlying electrophysiological dynamics constrain its application for real-time or early-stage assessment. In contrast, MCG—as an emerging noninvasive modality—offers richer and more sensitive electrophysiological information on cardiac activity, thereby showing greater potential for the early detection of myocardial ischemia [6,7].
Recent advances in nonlinear dynamic analysis of myocardial ischemia signals have shown remarkable progress. Wang et al. introduced the Cardiodynamicsgram method based on deterministic learning, which extracts three-dimensional dynamic information from the ST–T segments of standard 12-lead ECG, achieving a sensitivity of 90.3% and specificity of 87.8% [2]. This seminal work provides important clinical and methodological guidance for framing ischemia detection under a practical reference standard and motivates our chaos-inspired MCG representation design. Yaga et al. developed an unshielded MCG system using room-temperature magnetoresistive sensors, demonstrating reliable acquisition of high-quality cardiac magnetic field signals under clinical conditions [8]. Saleh and Brachmann further combined MCG with two-dimensional speckle-tracking strain imaging for coronary artery disease detection, attaining a sensitivity of 88.5% [9]. In parallel, nonlinear dynamic metrics such as Lyapunov exponents [10], fractal dimensions [3], phase-space reconstruction [11], sample entropy [12], and multiscale entropy [4] have been employed to quantify the chaotic behavior of cardiac systems. These approaches have revealed the multilevel complexity of cardiac electrophysiology and demonstrated strong discriminative capability between ischemic and healthy states. However, most existing studies focus on a single modality or a limited feature domain, either electrocardiographic or magnetocardiographic data or only one class of nonlinear parameters. Recent studies have also explored data-driven and deep learning-based feature representation for magnetocardiography signals, including self-supervised frameworks for enhanced MCG feature extraction [13]. Consequently, an integrated, multimodal, and multiscale analytical framework that unifies these complementary perspectives remains largely unexplored.
In this work, we present a novel noninvasive framework for early myocardial ischemia detection based on MCG. By leveraging nonlinear-dynamics-based representation learning (MCDM) and feature-extraction techniques, our approach substantially enhances the diagnostic accuracy and specificity of MCG beyond current standards (Traditional MCG analysis methods usually achieve approximately 83% sensitivity and 77% specificity [14], whereas recent MIG-enhanced MCG approaches have reported improved results (93.5% sensitivity and 85.3% specificity)). We validate the concept through a series of preliminary experiments, demonstrating robust performance (i.e., accuracy of 92.19%, sensitivity of 88.75%, specificity of 95.63%, F1-score of 91.91%) and offering new insights into the electrophysiological alterations that characterize ischemic myocardium.
Rather than introducing new chaos-theoretic measures, this work focuses on representation construction and practical integration of established nonlinear dynamics into a machine-learning pipeline for ischemia screening.
The remainder of this manuscript is structured as follows. Section 2 (Materials and Methods) details the acquisition and preprocessing of MCG signals, the development of our nonlinear dynamical model, and the feature-extraction and classification pipeline. Section 3 (Results) reports the diagnostic performance metrics obtained in our proof-of-concept study. Section 4 (Discussion) examines the implications of our findings, addresses methodological considerations and potential limitations, and explores clinical relevance. Finally, Section 5 (Conclusions) summarizes the key contributions of this work and outlines directions for future investigation.
An overview of the proposed pipeline is presented in Figure 1.

2. Materials and Methods

2.1. Materials

A total of 400 validation cases were recruited for this study and divided into two groups: (i) 200 healthy volunteers from Qilu Hospital; and (ii) 200 patients with myocardial ischemia from Qilu Hospital. Both healthy volunteers and patients with myocardial ischemia were labeled based on the final diagnosis made by the hospital physicians, which was determined by analyzing all available clinical data, including clinical history, electrocardiogram (ECG), myocardial perfusion imaging (MPI), computed tomography angiography (CTA), coronary angiography (CAG), and other relevant examination results.

2.2. Methods

If a time series is generated by a deterministic nonlinear dynamical system, the process of reconstructing and characterizing the original system from the time series is referred to as phase space reconstruction. Phase space reconstruction is most commonly performed using Takens’ Delay Embedding Theorem, also known as Takens’ Theorem [15]. In simple terms, the system consists of n variables, where the evolution of each component is determined by the interactions with other components. Therefore, the information of all n variables is implicitly contained in the development of any one component. Of course, this explanation is not entirely precise, as systems may be unpredictable or the variables might not be coupled. To reconstruct an equivalent state space, it is sufficient to examine a single component and use measurements of this component at specific time delay points as new dimensions, which preserves many properties of the original system [16]. Typically, time series are studied in the time domain, but for chaotic time series, whether it is the calculation of chaotic invariants, the establishment of chaotic models, or prediction, all these processes are performed in the so-called phase space. Therefore, phase space reconstruction is a crucial step in the processing of chaotic time series. Discrete chaotic phenomena often manifest as nonlinear time series, and these time series encapsulate rich dynamical information about the system. Extracting this information and applying it practically is an important aspect of chaotic theory applications. Analyzing nonlinear dynamical systems using time series, based on chaos theory, is a significant task [17]. The heart, as a typical nonlinear dynamical system, is constantly influenced by various environmental regulatory factors and undergoes physiological and biochemical changes to adapt to life activities [18,19,20]. This study uses a 36-channel MCG system to collect heart magnetic data, followed by noise reduction processing. To ensure reliable phase-space reconstruction, all magnetocardiographic signals were preprocessed using established denoising and artefact-suppression procedures [21]. The time series of the MCG signal is then subjected to phase space reconstruction, resulting in a chaotic time series { x i } i = 1 N :
X i = x i , x i + τ , , x i + ( m 1 ) τ
where x i is the i-th sample of the MCG time series; X i is the reconstructed state vector; m is the embedding dimension; and τ is the time delay. The time delay τ is determined by the first zero crossing of the autocorrelation function of the time series. The embedding dimension m is determined by the false nearest neighbor method. The reconstructed phase space is then used to construct the MCDM. The delay time and embedding dimension are estimated separately for each subject-specific MCG signal and may therefore vary across subjects. For i = 1 , 2 , 3 , , N , the modeling of the chaotic dynamics map is performed, and the reconstructed heart magnetic chaotic attractor is then validated through surrogate data testing methods. Phase space reconstruction involves two critical parameters: the embedding dimension and the delay time. In Takens’ embedding theorem, both the embedding dimension and delay time are theoretically proven to exist, but specific expressions are not provided. Moreover, in practical applications, time series are typically noisy and finite. As such, the embedding dimension and delay time must be chosen according to the specific characteristics of the data.
Regarding the selection of embedding dimension and delay time, two main viewpoints exist: The first viewpoint considers delay time and embedding dimension as unrelated parameters. Under this approach, the delay time is determined first, and then an appropriate embedding dimension is chosen based on that. Common methods for estimating delay time include autocorrelation, average displacement, reciprocal autocorrelation, and mutual information. The key idea is to ensure that the original time series, after applying time delays, can be used as independent coordinates. Methods for finding the embedding dimension primarily include geometric invariants, the False Nearest Neighbor (FNN) method [22], and its improvements, such as the Cao method [23].
The second viewpoint posits that delay time and embedding dimension are related. In 1996, Kugiumtzis [24] proposed the time window length as an important parameter that takes both into account. In 1999, Kim et al. introduced the C-C [25] method, which uses correlation integrals to estimate both the delay time and time window simultaneously.
In this study, the autocorrelation method [26] will be employed to estimate the optimal delay time, while the Grassberger–Procaccia (G–P) [27] algorithm will be utilised to determine the correlation dimension. The FNN [22] method will be applied to calculate the appropriate embedding dimension for phase-space reconstruction of cardiac magnetic data. Furthermore, the Wolf algorithm [28] will be used to compute the Lyapunov exponent of the MCG signals. A positive Lyapunov exponent value greater than zero will indicate the presence of chaotic dynamics in the cardiac system.
After constructing the two-dimensional MCDM representations, data augmentation was applied to expand the dataset and enhance model generalization. While classical chaos metrics provide scalar summaries of system dynamics, the proposed two-dimensional MCDM preserves geometric and topological characteristics of reconstructed trajectories, enabling spatial pattern analysis that is not readily accessible through single-valued indices. As a result, a balanced dataset consisting of 800 MCDMs from healthy subjects and 800 MCDMs from patients with myocardial ischemia was generated for subsequent binary classification using machine learning algorithms. To avoid overfitting and improve robustness, several augmentation techniques were employed, including random rotation ( ± 10 ), translation in both horizontal and vertical directions, Gaussian noise perturbation, and contrast–brightness adjustment. Each augmentation operation was applied uniformly across all samples to ensure balanced expansion among different transformation types. These operations effectively preserved the intrinsic spatiotemporal characteristics of the original MCDM while introducing realistic variations, thereby improving the model’s ability to discriminate between healthy and ischemic cardiac conditions [29,30].
The comparison between the traditional electrocardiogram, the one-dimensional magnetocardiogram, the two-dimensional isomagnetic map, and the MCDM is shown in Figure 2.
This study collected 36 channels of MCG data using an MCG acquisition system developed independently by Beihang University. Noise reduction processing was performed to obtain 36 one-dimensional MCG signals corresponding to a single cardiac cycle, as illustrated in Figure 3. The 36 channels were subsequently superimposed, averaged, and smoothed to generate a representative MCG waveform, as shown in Figure 4, which was treated as a one-dimensional time series for further analysis. To suppress various sources of interference, several preprocessing filters were applied. A band-pass filter (0.5–150 Hz) was used to remove baseline drift and high-frequency noise. In addition, a 50 Hz notch filter was employed to attenuate power-line interference. To further enhance signal quality, a high-pass filter at 0.5 Hz and a low-pass filter at 150 Hz were applied, along with a median filter (window size = 5), to eliminate transient spikes and motion artifacts. These operations effectively preserved the physiological frequency band of cardiac magnetic activity while minimizing non-cardiac interference.

2.2.1. Autocorrelation Method for Estimating Delay Time

It is simple to compute and does not require sophisticated or computationally expensive methods. It works well when there is a clear decay in correlation, which is typical for many real-world time series. Compute the autocorrelation function of the time series { x 1 , x 2 , , x n } :
R j τ = 1 N x ( i ) x ( i + j τ )
When the autocorrelation function value decreases to ( 1 e 1 ) of the initial value, the corresponding τ is taken as the time delay parameter. As shown in Figure 5 (Blue curve: R ( τ ) = 1 N i = 1 N τ x i x i + τ , the autocorrelation as a function of delay τ . Orange line: the threshold ( 1 e 1 ) R ( 0 ) , where R ( 0 ) is the zero-lag autocorrelation. Intersection point: the first τ at which R ( τ ) falls below the threshold, taken as the time delay for phase-space reconstruction).

2.2.2. Correlation Dimension of Phase Space Reconstruction

Given a time series { x 1 , x 2 , , x n } , a series of vectors in a high-dimensional phase space can be obtained by performing phase space reconstruction:
X i ( τ , m ) = X i , X i + τ , , X i + ( m 1 ) τ
The correlation dimension of the reconstructed phase space is as follows:
D 2 = lim r 0 ln C r ln r
C r = 1 N 2 H r X j X k
In the above equations, j k . The time delay is denoted by τ = k Δ t , where k is an integer and Δ t is the sampling interval. The embedding dimension is m. Here, i = 1 , 2 , , N , where N = n ( m 1 ) τ is the number of reconstructed vectors. The variable r represents the radius of the m-dimensional hypersphere, and H ( · ) denotes the Heaviside function. The scaling behavior of the correlation integral with respect to r is illustrated in Figure 6.

2.2.3. Calculating the Embedding Dimension Using False Nearest Neighbors

For each vector X i ( m ) = X i , X i + τ , , X i + ( m 1 ) τ in the m-dimensional phase space, where i = 1 , 2 , , N and N is the total number of reconstructed vectors, find its nearest neighbor X j ( m ) (with j i ), and compute the Euclidean distance between them:
D i j ( m ) = X i ( m ) X j ( m ) 2
R m ( i ) = X i ( m ) X j ( m )
Their distance in the (m+1)-dimensional space is calculated as follows:
R m + 1 ( i ) = X i ( m + 1 ) X j ( m + 1 ) .
If R m + 1 ( i ) R m ( i ) , then it is a false nearest neighbor. Define the ratio as follows:
R ( i ) = R m + 1 ( i ) 2 R m ( i ) 2 R m ( i ) 2 .
If R ( i ) > R 0 , then X j is considered a false nearest neighbor of X i . The threshold R 0 is typically set to a value greater than 10. The proportion of false nearest neighbors at a given embedding dimension m is then computed. This process is repeated by incrementally increasing m until the percentage of false nearest neighbors becomes sufficiently small or ceases to decrease. The corresponding value of m at this point is regarded as the optimal embedding dimension. As shown in Figure 7.

2.2.4. Calculate the Lyapunov Exponent

The Lyapunov exponent is used to describe the characteristics of a system’s motion. The sign and magnitude of its value along a certain direction indicate the rate at which nearby trajectories in the attractor either diverge or converge over time. When the Lyapunov exponent is less than zero, it means that the volume of the attractor’s trajectory contracts, the system’s motion tends to stabilize, and the system is insensitive to initial conditions. When the Lyapunov exponent is greater than zero, it indicates that the attractor’s trajectory expands, and two initially close trajectories will gradually separate, with their differences growing over time, eventually leading the system into chaotic behavior. When the Lyapunov exponent equals zero, the system is in a critically stable state. If the system is in a chaotic state, there will necessarily be a Lyapunov exponent greater than zero. A positive λ indicates sensitive dependence on initial conditions—a hallmark of chaotic dynamics. Therefore, determining the size and sign of the Lyapunov exponent serves as a criterion for determining whether the system has entered chaos. As shown in Figure 8. Consider a dynamical system:
d x d t = f ( x ) , x R
Through the point x 0 , a trajectory x ( t ) is formed in the phase space. If the initial value x 0 is perturbed by a deviation Δ x 0 , another trajectory is formed starting from x 0 + Δ x 0 , and they form a tangent space vector Δ x 0 Δ x 0 , t . Define the deviation vector w ( x 0 , t ) = Δ ( x 0 , t ) , which satisfies the following:
d w d t = M ( x ( t ) ) w , M = f x
If the initial separation between two nearby trajectories is given by Δ x 0 ( 0 ) , then the separation at time t is denoted as Δ x 0 ( t ) . Define the growth rate of this separation (see Figure 9) as
λ = lim t 1 t ln Δ x 0 ( t ) Δ x 0 ( 0 ) .
Here, λ ( x 0 , w ) denotes the n-dimensional Lyapunov exponent, which characterizes the average exponential rate of divergence or convergence of nearby trajectories in the reconstructed phase space as the time interval tends to zero. If Δ x 0 ( t ) is an n-dimensional deviation vector at time t, and its initial length is Δ x 0 ( 0 ) , then the components of Δ x 0 ( t ) along the principal directions yield n Lyapunov exponents. The set { λ 1 , λ 2 , , λ n } is typically ordered as λ 1 λ 2 λ n .
A positive largest Lyapunov exponent ( λ 1 > 0 ) indicates sensitive dependence on initial conditions, a key signature of chaotic dynamics.
Signal Preprocessing and Noise Control
All magnetocardiographic signals were preprocessed using a standardised pipeline developed and maintained by a dedicated signal-processing team. This pipeline includes baseline correction, denoising, and artifact suppression to reduce environmental interference and improve signal quality prior to phase-space reconstruction and MCDM generation. The present study focuses on nonlinear representation and classification; dedicated robustness evaluation under sensor displacement, channel dropout/interruption, or extreme noise conditions was not conducted and is beyond the scope of this work.

2.2.5. Machine Learning-Based Classification Method

We constructed a binary classification pipeline for MCDM data, combining handcrafted features with a Random Forest classifier [31].
Training and test sets were separated at the subject level to ensure that MCDM samples derived from the same patient did not appear in both sets, thereby avoiding data leakage. Data augmentation was applied exclusively to the training set and served as a regularisation strategy rather than introducing new physiological information.
Two types of features were used, namely:
  • Histogram of Oriented Gradients (HOG): Captures edge and gradient structure. Gradients were calculated and binned into orientation histograms with fixed cell and block sizes, following the method of Dalal and Triggs [32].
  • Local Binary Pattern (LBP): Encodes texture by thresholding neighborhood pixels [33]. The LBP code for a central pixel g c with neighbors g p is defined as follows:
    LBP P , R = p = 0 P 1 s ( g p g c ) · 2 p , s ( x ) = 1 , if x 0 0 , otherwise
The symbols used in the LBP formulation are summarized in Table 1. The final feature vector x was the concatenation of HOG and LBP features.
A Random Forest classifier [31] was trained using n trees and optimised via grid search. Prediction for an input x is given by majority vote (the meaning of each symbol is shown in Table 2):
y ^ = mode { T k ( x ) } k = 1 n .
We computed four performance metrics [34]:
Accuracy = T P + T N T P + T N + F P + F N Sensitivity = T P T P + F N Specificity = T N T N + F P F1-score = 2 T P 2 T P + F P + F N
where T P , T N , F P , and F N are the confusion matrix components (The meaning of each symbol is shown in Table 3).

3. Results

3.1. Feature Reconstruction and Chaotic Dynamics Visualization

To investigate the dynamical differences between healthy and ischemic cardiac magnetic activity, magnetocardiographic signals were reconstructed into chaotic attractors using the proposed MCDM framework. Figure 10 illustrates representative two-dimensional projections of the reconstructed phase-space attractors from both healthy and ischemic subjects. Healthy subjects exhibit compact, symmetric attractor structures with smooth trajectories, indicating stable cardiac dynamics, whereas ischemic subjects show irregular, dispersed, and asymmetric attractors, suggesting disrupted nonlinear coupling in cardiac electrophysiology. In this context, state-space formulations have also been adopted in non-invasive electroanatomical mapping to estimate myocardial current density, further supporting the relevance of dynamical-system representations in cardiac electrophysiology [35].
To quantify these nonlinear differences, several chaos-based indicators, including Lyapunov exponent and correlation dimension, were computed. Patients with ischemia generally exhibited higher maximum Lyapunov exponents and correlation dimensions, indicating increased instability and complexity in their cardiac magnetic fields. This finding supports that the reconstructed attractor topology in the MCDM captures pathophysiological alterations associated with ischemia.

3.2. Quantitative Evaluation of Classification Performance

The proposed MCDM–RF model was quantitatively evaluated using a held-out test set, while the remaining samples were used for training. Specifically, the dataset was split at the subject level into training and test sets with a fixed ratio (80%/20%) using stratified sampling to preserve class balance. Multiple baseline classifiers—SVM (RBF kernel), k-nearest neighbors (k = 5), and Random Forest with conventional HOG + LBP features—were implemented for comparison. As shown in Table 4, the proposed MCDM–RF achieved the highest diagnostic performance, outperforming all baseline models in accuracy, sensitivity, specificity, and F1-score. Although the same HOG and LBP descriptors are employed, the baseline Random Forest operates on conventional MCG-derived representations, whereas the proposed MCDM–RF uses nonlinear dynamics-based MCDM images as input, leading to different input representations and corresponding feature distributions.
Figure 11 visualizes the classification outcomes, including a grouped bar chart of major evaluation metrics, a receiver operating characteristic (ROC) curve, and a confusion matrix. The MCDM–RF model shows strong class separability and balanced performance across metrics.
Figure 12 further compares the performance of SVM, Random Forest, k-NN, and the proposed MCDM–RF using grouped bar charts and heatmaps, suggesting that the proposed MCDM-based representation is associated with improved performance on the current dataset.
To enhance model generalization, data augmentation was applied (rotation, translation, Gaussian noise, brightness–contrast adjustment). Figure 13 shows examples of augmented MCDM images that preserve the global chaotic structure while introducing physiologically plausible variation.
Feature importance analysis revealed that orientation- and texture-based descriptors contributed most to classification. As shown in Figure 14, LBP-related microtexture variations played a decisive role in differentiating ischemic from healthy subjects, indicating that certain texture- and orientation-related descriptors contribute strongly to classification on the current dataset.

3.3. Comparison with Existing ECG-/MCG-Based Methods

To further evaluate the clinical relevance and generalizability of the proposed framework, we compared its diagnostic performance with that of representative ECG- and MCG-based studies from the recent literature. As shown in Table 5, while several state-of-the-art ECG and traditional MCG methods report accuracy in the range of 80–91%, their sensitivity remains limited. The proposed MCDM–RF model achieves higher sensitivity and comparable or superior accuracy, confirming its effectiveness in capturing early nonlinear signatures of ischemia.

4. Discussion

The quantitative evaluation presented in Section 3 demonstrated that the proposed MCDM–RF pipeline can improve classification performance on the studied magnetocardiographic (MCG) dataset. Accordingly, the contribution of this study should be viewed as an engineering integration and representation framework, rather than a fundamental theoretical advance in nonlinear dynamical systems. Data augmentation was applied exclusively to the training set as a regularization strategy to improve robustness and does not introduce new physiological information. These findings confirm that incorporating nonlinear dynamical mapping and texture-based feature fusion can enhance ischemia detection capability.
Recent AI-ECG models have achieved high diagnostic accuracy for acute myocardial ischemia or occlusion. Herman et al. (2024) reached 90.9% accuracy and 80.6% sensitivity using a large-scale 12-lead ECG model, while Al-Zaiti et al. (2023) reported approximately 85% sensitivity in a multicentre ECG-ML cohort [36,37]. These comparisons are provided as contextual benchmarks rather than direct head-to-head evaluations. The proposed framework is intended to be complementary to existing ECG- and MCG-based approaches, rather than a competitive replacement for large-scale deep-learning systems. These approaches demonstrate the strength of deep learning on widely available ECG signals but rely heavily on massive annotated datasets and still provide indirect information about cardiac magnetic fields. These studies are cited here as contextual benchmarks rather than direct head-to-head comparisons with the proposed method.
In the magnetocardiography domain, Zhang et al. (2024) developed machine learning models validated by SPECT imaging, achieving high sensitivity (87.0–91.3%) but reporting limited specificity (10.0–50.0%), which poses challenges for screening false positives [38]. Although these studies highlight the diagnostic potential of MCG, their reliance on conventional time- or frequency-domain features limits sensitivity to early, subtle abnormalities.
The proposed MCDM–RF framework differs fundamentally from these prior methods. Instead of characterizing amplitude or spectral morphology, it reconstructs MCG signals into a chaotic phase-space map that reflects the underlying nonlinear dynamics of cardiac electrophysiology. Rather than introducing new chaos-theoretic measures, this framework focuses on constructing a structured representation of reconstructed dynamics suitable for downstream pattern-based analysis. The MCDM representation is intended to complement traditional chaos metrics, not to replace them. This process exposes subtle dynamical disruptions that precede overt ECG or magnetic amplitude changes, offering improved sensitivity to early ischemic alterations. The integration of histogram-of-oriented-gradient (HOG) and local-binary-pattern (LBP) descriptors enables the model to quantify both global spatial orientation and local texture irregularities in the chaotic attractor, providing a richer representation of cardiac complexity.
It should be noted that HOG and LBP are generic computer-vision descriptors and do not directly correspond to specific electrophysiological variables. In this study, these features act as surrogate descriptors of spatial organisation, gradient continuity, and local irregularity within reconstructed attractor geometries. Similar to recent physics-informed biomedical monitoring studies that combine finite element modelling with AI to link signal patterns to underlying physical mechanisms [40], our current approach remains data-driven, while the integration of physics-based constraints represents an important future direction for enhancing interpretability and translational relevance [40].
Compared with conventional MCG classifiers, the proposed model achieved a sensitivity increase of nearly 18% and an accuracy gain of about 6%. The Random Forest classifier with manually engineered features was selected to prioritize interpretability, computational efficiency, and suitability for limited clinical datasets. From a computational perspective, phase-space reconstruction and image-based feature extraction scale approximately linearly with signal length, while Random Forest inference is computationally lightweight, making the overall pipeline compatible with near-real-time deployment under modern computational resources. Deep learning baselines directly trained on MCDM images were not included in this study to reduce overfitting risk under the current dataset scale and to maintain interpretability; such comparisons will be pursued in future work with larger multi-centre cohorts. Hybrid FEM–AI strategies have demonstrated advantages in robustness and physical interpretability in related biomedical monitoring tasks [41]; integrating such physics-based reasoning with the proposed MCDM framework [40] is a natural extension of this work. These literature results are provided as contextual benchmarks rather than direct head-to-head comparisons, given differences in datasets, reference standards, and experimental settings. Because the MCDM–RF uses an interpretable ensemble classifier rather than a deep neural network, its feature-importance distribution (Figure 14) can be directly inspected, supporting transparency and potential clinical trust.
Clinically, this framework provides several advantages. In this study, early ischemia refers to ischemic conditions identified prior to overt myocardial infarction, based on comprehensive clinical diagnosis rather than prospective early detection. We acknowledge that the reference standard reflects established clinical diagnosis integrating multiple modalities, and does not represent a purely prospective early-detection setting. First, it is completely non-invasive and radiation-free, offering a safer and more accessible alternative to imaging-based techniques such as CT-FFR or SPECT. Second, it may facilitate ischemia screening by leveraging differences in reconstructed nonlinear dynamics in cardiac magnetic signals that may be subtle in conventional morphology-based assessments. In this study, model optimisation was performed with explicit emphasis on sensitivity in order to minimise false-negative predictions, reflecting the clinical priority of avoiding missed myocardial ischemia. Although no explicit cost-sensitive learning or asymmetric loss functions were implemented in the current framework, sensitivity-oriented performance evaluation was adopted as a pragmatic strategy under limited data conditions. We acknowledge that incorporating cost-sensitive learning, threshold tuning for clinically preferred operating points, or asymmetric optimization objectives could further enhance tolerance to false negatives and represent an important direction for future work. Third, data augmentation was used as a training-time regularization strategy to improve robustness within the current dataset; external validation across centers and acquisition conditions remains necessary. Consequently, the MCDM–RF method may serve as a valuable adjunct to ECG for rapid, cost-effective, and early ischemia screening in both clinical and pre-clinical settings. It is emphasised that data augmentation was applied exclusively to the training data and not to the test set, thereby avoiding information leakage. The purpose of augmentation is regularization rather than the introduction of new physiological information. Several figures in this study are intended primarily for qualitative visualization of reconstructed dynamics and classification behavior, rather than for formal statistical inference. Formal statistical analysis of individual chaos metrics is beyond the scope of the present work due to its exploratory nature and limited cohort size, and will be addressed in future studies.
We acknowledge that averaging the 36-channel recordings into a single 1D waveform may discard spatial information related to sensor geometry and regional field patterns. Extending MCDM to channel-resolved or spatially structured representations is therefore an important direction for future work.
Future work will focus on expanding multicentre validation with larger datasets, optimizing hyperparameters for real-time deployment, and developing multimodal diagnostic pipelines that integrate ECG and MCG information within a unified nonlinear dynamic framework. Beyond MCG, the proposed representation-learning paradigm may be extended to other biomedical modalities characterised by nonlinear or chaotic behaviour. This integration could further improve diagnostic confidence and help bridge the gap between early functional assessment and anatomical imaging of coronary artery disease.

5. Conclusions

This study proposed a novel Magnetocardiographic Chaotic Dynamics Mapping (MCDM) framework for the early detection of myocardial ischemia. By reconstructing magnetocardiographic signals into a nonlinear chaotic phase space and combining histogram-of-oriented-gradients (HOGs) and local-binary-patterns (LBPs) feature descriptors, the proposed MCDM–RF model effectively captures both global and local spatial-temporal variations in cardiac magnetic fields.
In the magnetocardiography domain, Zhang et al. (2024) obtained 90.4% accuracy and 70.6% sensitivity when detecting perfusion defects validated by SPECT imaging [38], and He et al. (2025) reported 78.5% accuracy and 72.1% sensitivity for coronary artery disease detection using CAG and FFR as references [39]. Although these studies highlight the diagnostic potential of MCG, their reliance on conventional time- or frequency-domain features limits sensitivity to early, subtle abnormalities.
Clinically, the MCDM–RF framework provides a non-invasive, radiation-free, and cost-effective tool for early ischemia screening, particularly as a noninvasive adjunct for ischemia screening under the retrospective hospital-diagnosis reference standard adopted in this study. The model’s interpretability and performance on the current held-out test set suggest feasibility, while external validation is required before real-world deployment claims can be made.
Future research will focus on multicentre validation with larger cohorts, cross-device calibration, and integration of ECG and MCG signals into a unified nonlinear diagnostic model, paving the way for more accurate and interpretable cardiovascular disease detection. Beyond MCG, the proposed representation-learning paradigm may be extended to other biomedical modalities characterised by nonlinear or chaotic behaviour. For example, infrared thermographic signals analysed using deep learning have shown similar spatial–temporal complexity in biomedical quality assessment [42]. While signal characteristics and physical constraints differ across modalities, these studies highlight methodological parallels that support the broader applicability of chaos-inspired representations [42].

Author Contributions

Conceptualization, K.L. and M.X.; methodology, K.L., D.X., and M.X.; software, K.L. and Y.L.; validation, K.L., D.X., and M.X.; formal analysis, K.L.; investigation, K.L.; resources, K.L., J.P., R.S., Y.Z., Y.C., D.X., and M.X.; data curation, K.L.; writing—original draft preparation, K.L.; writing—review and editing, K.L.; visualization, K.L.; supervision, K.L., X.Z., D.X., and M.X. 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 (Project No. 2022YFC2407000); the National Natural Science Foundation of China (Grant Nos. 62101017, U23A20485, 42388101, 62501040, 52275078, and 62501039); the Innovation Program for Quantum Science and Technology (Grant No. 2021ZD0300500); the Special Fund for Basic Scientific Research Business Expenses of Central Universities; the 2022 Industrial Technology Basic Public Service Platform Project (Grant No. 2022-189-181); the Key R&D Program of Shandong Province (Grant No. 2022ZLGX03); the China National Postdoctoral Program for Innovative Talents (Grant No. BX20240465); and the Zhejiang Provincial Natural Science Foundation Exploration Project (Grant No. LMS25H180004).

Institutional Review Board Statement

This study is approved by the Ethics Committee of Shan Dong University Qilu Hospital (approval number: KYLL-202204-017) and is conducted in accordance with the Declaration of Helsinki. Informed consent is obtained from all participants before data collection.

Informed Consent Statement

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

Data Availability Statement

The MCG data of the subjects used in this study cannot be shared due to privacy.

Acknowledgments

We sincerely thank all the individuals and institutions that contributed to this research. We are particularly grateful to Qilu Hospital for their invaluable data support and clinical guidance, which were essential to the success of this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Heusch, G. Myocardial ischaemia-reperfusion injury and cardioprotection in perspective. Nat. Rev. Cardiol. 2020, 17, 773–789. [Google Scholar] [CrossRef] [Scilit]
  2. Wang, C.; Dong, X.; Ou, S.; Wang, W.; Hu, J.; Yang, F. A New Method for Early Detection of Myocardial Ischemia: Cardiodynamicsgram (CDG). Sci. China Inf. Sci. 2016, 59, 012104. [Google Scholar] [CrossRef] [Scilit]
  3. Acharya, U.R.; Faust, O.; Kadri, N.A.; Suri, J.S.; Yu, W. Automated identification of normal and diabetes heart rate signals using nonlinear measures. Comput. Biol. Med. 2013, 43, 1523–1529. [Google Scholar] [CrossRef] [Scilit]
  4. Costa, M.; Goldberger, A.L.; Peng, C.K. Multiscale entropy analysis of complex physiologic time series. Phys. Rev. Lett. 2002, 89, 068102. [Google Scholar] [CrossRef] [Scilit]
  5. Shi, B.; Zhang, Y.; Yuan, C.; Wang, S.; Li, P. Entropy Analysis of Short-Term Heartbeat Interval Time Series during Regular Walking. Entropy 2017, 19, 568. [Google Scholar] [CrossRef] [Scilit]
  6. Fenici, R.; Brisinda, D.; Meloni, A.M. Clinical application of magnetocardiography. Expert Rev. Mol. Diagn. 2005, 5, 291–313. [Google Scholar] [CrossRef] [Scilit]
  7. Kwong, J.S.; Leithäuser, B.; Park, J.W.; Lee, Y.H. 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] [Scilit] [PubMed]
  8. Yaga, L.; Amemiya, M.; Natsume, Y.; Shibuya, T.; Sasano, T. Recording of Cardiac Excitation Using a Novel Magnetocardiography System with Magnetoresistive Sensors Outside a Magnetic Shielded Room. Sensors 2025, 25, 4642. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Saleh, A.; Brachmann, J. Utility of magnetocardiography and stress speckle tracking in detection of coronary artery disease. Diagnostics 2024, 14, 1893. [Google Scholar] [CrossRef] [Scilit]
  10. Wang, Z.; Ning, X.; Zhang, Y.; Du, G. Nonlinear dynamic characteristics analysis of synchronous 12-lead ECG signals. IEEE Eng. Med. Biol. Mag. 2000, 19, 110–115. [Google Scholar] [CrossRef] [Scilit]
  11. Pincus, S.M. Approximate entropy as a measure of system complexity. Proc. Natl. Acad. Sci. USA 1991, 88, 2297–2301. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Richman, J.S.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol.-Heart Circ. Physiol. 2000, 278, H2039–H2049. [Google Scholar]
  13. Wang, R.; Pang, J.; Xu, D.; Han, X.; Yang, Y.; Liu, Z.; Wang, Y.; Xiang, M.; Ning, X. CrossLGNet: Enhanced Feature Extraction for Magnetocardiography via Local Prediction and Global Comparison Self-Supervised Learning. Expert Syst. Appl. 2026, 297, 129500. [Google Scholar] [CrossRef] [Scilit]
  14. Agarwal, R.; Saini, A.; Alyousef, T.; Umscheid, C.A. Magnetocardiography for the diagnosis of coronary artery disease: A systematic review and meta-analysis. Ann. Noninvasive Electrocardiol. 2012, 17, 291–298. [Google Scholar] [CrossRef] [Scilit]
  15. Takens, F. Detecting strange attractors in turbulence. In Dynamical Systems and Turbulence, Warwick 1980; Rand, D.A., Young, L.S., Eds.; Springer: Berlin/Heidelberg, Germany, 1981; pp. 366–381. [Google Scholar]
  16. Goldberger, A.L.; Rigney, D.R.; Mietus, J.; Antman, E.M.; Greenwald, S. Nonlinear dynamics in sudden cardiac death syndrome: Heart rate oscillations and bifurcations. Experientia 1988, 44, 983–987. [Google Scholar] [CrossRef] [Scilit]
  17. Li, B.B.; Yuan, Z.F. Non-linear and chaos characteristics of heart sound time series. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2008, 222, 265–272. [Google Scholar] [CrossRef] [Scilit]
  18. Jiang, Z.; Choi, S. A cardiac sound characteristic waveform method for in-home heart disorder monitoring with electric stethoscope. Expert Syst. Appl. 2006, 31, 286–298. [Google Scholar] [CrossRef] [Scilit]
  19. Li, C.; Ding, G.H.; Wu, G.Q.; Poon, C.S. Band-phase-randomised surrogate data reveal high-frequency chaos in heart rate variability. In Proceedings of the 2010 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Buenos Aires, Argentina, 1–4 September 2010; pp. 2806–2809. [Google Scholar]
  20. Dower, G.E. The ECGD: A derivation of the ECG from VCG leads. J. Electrocardiol. 1984, 17, 189–191. [Google Scholar] [CrossRef] [Scilit]
  21. Jia, Y.; Pei, H.; Liang, J.; Zhou, Y.; Yang, Y.; Cui, Y.; Xiang, M. Preprocessing and Denoising Techniques for Electrocardiography and Magnetocardiography: A Review. Bioengineering 2024, 11, 1109. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Kennel, M.B.; Brown, R.; Abarbanel, H.D.I. Determining embedding dimension for phase-space reconstruction using a geometrical construction. Phys. Rev. A 1992, 45, 3403–3411. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Cao, L. Practical method for determining the minimum embedding dimension of a scalar time series. Phys. D Nonlinear Phenom. 1997, 110, 43–50. [Google Scholar]
  24. Kugiumtzis, D. State space reconstruction parameters in the analysis of chaotic time series—The role of the time window length. Phys. D Nonlinear Phenom. 1996, 95, 13–28. [Google Scholar]
  25. Kim, H.S.; Eykholt, R.; Salas, J.D. Nonlinear dynamics, delay times, and embedding windows. Phys. D Nonlinear Phenom. 1999, 127, 48–60. [Google Scholar]
  26. Fraser, A.M.; Swinney, H.L. Independent coordinates for strange attractors from mutual information. Phys. Rev. A 1986, 33, 1134–1140. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Grassberger, P.; Procaccia, I. Characterization of strange attractors. Phys. Rev. Lett. 1983, 50, 346–349. [Google Scholar] [CrossRef] [Scilit]
  28. Wolf, A.; Swift, J.B.; Swinney, H.L.; Vastano, J.A. Determining Lyapunov exponents from a time series. Phys. D Nonlinear Phenom. 1985, 16, 285–317. [Google Scholar]
  29. Shorten, C.; Khoshgoftaar, T.M. A survey on image data augmentation for deep learning. J. Big Data 2019, 6, 60. [Google Scholar] [CrossRef] [Scilit]
  30. Wang, S.; Perez, L. Effectiveness of data augmentation in machine learning-based classification of biomedical signals. arXiv 2017, arXiv:1712.04621. [Google Scholar]
  31. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar]
  32. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), San Diego, CA, USA, 20–26 June 2005; pp. 886–893. [Google Scholar]
  33. Ojala, T.; Pietikäinen, M.; Mäenpää, T. Multiresolution gray-scale and rotation invariant texture classification with local binary patterns. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 24, 971–987. [Google Scholar] [CrossRef] [Scilit]
  34. Powers, D.M.W. Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. J. Mach. Learn. Technol. 2011, 2, 37–63. [Google Scholar]
  35. Engelhardt, E.; Elzenheimer, E.; Hoffmann, J.; Meledeth, C.; Frey, N.; Schmidt, G. Non-Invasive Electroanatomical Mapping: A State-Space Approach for Myocardial Current Density Estimation. Bioengineering 2023, 10, 1432. [Google Scholar] [CrossRef] [Scilit]
  36. Herman, R.; Meyers, H.P.; Smith, S.W.; Bertolone, D.T.; Leone, A.; Bermpeis, K.; Viscusi, M.M.; Belmonte, M.; Demolder, A.; Boza, V.; et al. International evaluation of an artificial intelligence-powered electrocardiogram model detecting acute coronary occlusion myocardial infarction. Eur. Heart J. Digit. Health 2024, 5, 123–133. [Google Scholar] [CrossRef] [Scilit]
  37. Al-Zaiti, S.; Martin-Gill, C.; Zégre-Hemsey, J.; Bouzid, Z.; Faram, Z.; Alrawashdeh, M.; Gregg, R.; Helman, S.; Riek, N.; Kraevsky-Phillips, K.; et al. Machine learning for ECG diagnosis and risk stratification of occlusion myocardial infarction. Nat. Med. 2023, 29, 1804–1813. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  38. Zhang, H.; Ma, Z.; Mi, H.; Jiao, J.; Dong, W.; Yang, S.; Liu, L.; Zhou, S.; Feng, L.; Zhao, X.; et al. Diagnostic Value of Magnetocardiography to Detect Abnormal Myocardial Perfusion: A Pilot Study. Rev. Cardiovasc. Med. 2024, 25, 379. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. He, W.F.; Zeng, L.H.; Xie, N.S.; Liu, H.X.; Cui, W.M.; Wang, Y.; Zhang, Z.J.; Ye, G.L.; Qin, Z.Y.; Guo, Z.Q.; et al. Effectiveness of magnetocardiography as a non-invasive tool for functional assessment of myocardial ischemia in patients with stable coronary artery disease. Front. Med. Technol. 2025, 7, 1611046. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Laganà, F.; Pellicanò, D.; Arruzzo, M.; Pratticò, D.; Pullano, S.A.; Fiorillo, A.S. FEM-Based Modelling and AI-Enhanced Monitoring System for Upper Limb Rehabilitation. Electronics 2025, 14, 2268. [Google Scholar] [CrossRef] [Scilit]
  41. Laganà, F.; Pratticò, D.; Angiulli, G.; Oliva, G.; Pullano, S.A.; Versaci, M.; Foresta, F.L. Development of an Integrated System of sEMG Signal Acquisition, Processing, and Analysis with AI Techniques. Signals 2024, 5, 476–493. [Google Scholar] [CrossRef] [Scilit]
  42. Pratticò, D.; Laganà, F. Infrared Thermographic Signal Analysis of Bioactive Edible Oils Using CNNs for Quality Assessment. Signals 2025, 6, 38. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The overall classification pipeline from magnetocardiography signal acquisition to clinical diagnosis.
Figure 1. The overall classification pipeline from magnetocardiography signal acquisition to clinical diagnosis.
Bioengineering 13 00129 g001
Figure 2. Comparison of electrocardiogram and magnetocardiography-based representations: (a) traditional electrocardiogram (ECG); (b) one-dimensional magnetocardiogram (1D MCG); (c) two-dimensional isomagnetic map; (d) magnetocardiography chaotic dynamics map (MCDM). Colors are used for visualization purposes only and do not represent quantitative or physiological differences.
Figure 2. Comparison of electrocardiogram and magnetocardiography-based representations: (a) traditional electrocardiogram (ECG); (b) one-dimensional magnetocardiogram (1D MCG); (c) two-dimensional isomagnetic map; (d) magnetocardiography chaotic dynamics map (MCDM). Colors are used for visualization purposes only and do not represent quantitative or physiological differences.
Bioengineering 13 00129 g002
Figure 3. 36-channel 1D MCG.
Figure 3. 36-channel 1D MCG.
Bioengineering 13 00129 g003
Figure 4. The MCG after superposition and averaging of 36 channels in one cardiac cycle.
Figure 4. The MCG after superposition and averaging of 36 channels in one cardiac cycle.
Bioengineering 13 00129 g004
Figure 5. Estimation of the delay time using the autocorrelation function. The blue curve represents the autocorrelation function R ( τ ) = 1 N i = 1 N τ x i x i + τ as a function of delay τ , and the orange line denotes the threshold ( 1 e 1 ) R ( 0 ) , where R ( 0 ) is the zero-lag autocorrelation. The delay time is selected as the first τ at which R ( τ ) drops below the threshold, reducing redundancy between delayed coordinates for phase-space reconstruction.
Figure 5. Estimation of the delay time using the autocorrelation function. The blue curve represents the autocorrelation function R ( τ ) = 1 N i = 1 N τ x i x i + τ as a function of delay τ , and the orange line denotes the threshold ( 1 e 1 ) R ( 0 ) , where R ( 0 ) is the zero-lag autocorrelation. The delay time is selected as the first τ at which R ( τ ) drops below the threshold, reducing redundancy between delayed coordinates for phase-space reconstruction.
Bioengineering 13 00129 g005
Figure 6. Estimation of the correlation dimension using the Grassberger–Procaccia (G–P) algorithm. The colored curves represent the correlation integrals C ( r ) computed for different embedding dimensions, while the approximately linear region on the log–log plot indicates the scaling region. The slope of this scaling region is used to estimate the correlation dimension of the reconstructed phase space.
Figure 6. Estimation of the correlation dimension using the Grassberger–Procaccia (G–P) algorithm. The colored curves represent the correlation integrals C ( r ) computed for different embedding dimensions, while the approximately linear region on the log–log plot indicates the scaling region. The slope of this scaling region is used to estimate the correlation dimension of the reconstructed phase space.
Bioengineering 13 00129 g006
Figure 7. Selection of the embedding dimension using the false nearest neighbor (FNN) method. The embedding dimension is chosen when the percentage of false nearest neighbors decreases to a stable low level, indicating sufficient unfolding of the attractor in phase space.
Figure 7. Selection of the embedding dimension using the false nearest neighbor (FNN) method. The embedding dimension is chosen when the percentage of false nearest neighbors decreases to a stable low level, indicating sufficient unfolding of the attractor in phase space.
Bioengineering 13 00129 g007
Figure 8. Schematic diagram of the divergence of nearby trajectories in phase space. The initial distance Δ x 0 ( 0 ) grows exponentially over time to Δ x 0 ( t ) , characterised by the Lyapunov exponent λ .
Figure 8. Schematic diagram of the divergence of nearby trajectories in phase space. The initial distance Δ x 0 ( 0 ) grows exponentially over time to Δ x 0 ( t ) , characterised by the Lyapunov exponent λ .
Bioengineering 13 00129 g008
Figure 9. Visualization of the evolution of separation vector Δ x 0 ( t ) in phase space, and corresponding Lyapunov exponents λ i sorted in descending order.
Figure 9. Visualization of the evolution of separation vector Δ x 0 ( t ) in phase space, and corresponding Lyapunov exponents λ i sorted in descending order.
Bioengineering 13 00129 g009
Figure 10. Comparison of MCDM between two healthy subjects and two patients with myocardial ischemia: (a,b) healthy subjects (H0129, H0061); (c,d) ischemic patients (I0029, I0883). Different colors represent distinct cardiac-cycle segments: red = pre-P segment, green = P-wave segment, blue = post-P to pre-QRS segment, black = QRS segment, pink = ST segment, yellow = T-wave segment, and cyan = post-T segment.
Figure 10. Comparison of MCDM between two healthy subjects and two patients with myocardial ischemia: (a,b) healthy subjects (H0129, H0061); (c,d) ischemic patients (I0029, I0883). Different colors represent distinct cardiac-cycle segments: red = pre-P segment, green = P-wave segment, blue = post-P to pre-QRS segment, black = QRS segment, pink = ST segment, yellow = T-wave segment, and cyan = post-T segment.
Bioengineering 13 00129 g010
Figure 11. Results of binary classification of MCDM images using machine learning: (a) bar chart of performance metrics; (b) ROC curve; (c) confusion matrix.
Figure 11. Results of binary classification of MCDM images using machine learning: (a) bar chart of performance metrics; (b) ROC curve; (c) confusion matrix.
Bioengineering 13 00129 g011
Figure 12. Classification performance on 320 MCG samples: (a) grouped bar chart of accuracy, sensitivity, specificity, and F1-score; (b) corresponding heatmap of performance metrics.
Figure 12. Classification performance on 320 MCG samples: (a) grouped bar chart of accuracy, sensitivity, specificity, and F1-score; (b) corresponding heatmap of performance metrics.
Bioengineering 13 00129 g012
Figure 13. Examples of data augmentation applied to MCDM images, including the original image, rotation (+10°), translation, Gaussian noise, and contrast adjustment.
Figure 13. Examples of data augmentation applied to MCDM images, including the original image, rotation (+10°), translation, Gaussian noise, and contrast adjustment.
Bioengineering 13 00129 g013
Figure 14. Feature importance ranking for HOG and LBP descriptors within the Random Forest classifier. The most discriminative features correspond to edge orientation and local texture variations in the MCDM.
Figure 14. Feature importance ranking for HOG and LBP descriptors within the Random Forest classifier. The most discriminative features correspond to edge orientation and local texture variations in the MCDM.
Bioengineering 13 00129 g014
Table 1. Definitions of symbols in the LBP formula.
Table 1. Definitions of symbols in the LBP formula.
SymbolDescription
PNumber of sampling points in the local neighborhood (e.g., P = 8 )
RRadius of the neighborhood (distance from center pixel to samples, e.g.,  R = 1 )
g c Gray value of the center pixel
g p Gray value of the p-th neighboring pixel
s ( x ) Threshold function: s ( x ) = 1 if x 0 , otherwise s ( x ) = 0
2 p Weight for bit position p, used to encode the binary pattern into decimal
LBP P , R Resulting LBP code (integer in range 0– 2 P 1 )
Table 2. Definitions of symbols in the Random Forest prediction formula.
Table 2. Definitions of symbols in the Random Forest prediction formula.
SymbolDescription
x Input feature vector (concatenation of HOG and LBP features)
T k ( x ) Prediction output of the k-th decision tree for input x (class label)
nTotal number of trees in the forest
{ T k ( x ) } k = 1 n Set of predictions from all n trees
mode ( · ) Majority vote function, selecting the most frequent class
y ^ Final predicted label by the random forest
Table 3. Definitions of symbols in the performance evaluation formulas.
Table 3. Definitions of symbols in the performance evaluation formulas.
SymbolDescription
T P True Positives: number of positive samples correctly classified
T N True Negatives: number of negative samples correctly classified
F P False Positives: number of negative samples incorrectly classified as positive
F N False Negatives: number of positive samples incorrectly classified as negative
Accuracy T P + T N T P + T N + F P + F N : overall correctness
Sensitivity (Recall) T P T P + F N : proportion of actual positives correctly identified
Specificity T N T N + F P : proportion of actual negatives correctly identified
F1-score 2 T P 2 T P + F P + F N : harmonic mean of precision and recall
Table 4. Comparison of the classification performance of different classifiers on MCG data.
Table 4. Comparison of the classification performance of different classifiers on MCG data.
MethodAccuracy (%)Sensitivity (%)Specificity (%)F1-Score (%)
SVM (RBF kernel)85.0080.0090.0084.21
Random Forest (HOG + LBP)88.0085.0091.0087.32
k-Nearest Neighbors ( k = 5 , HOG + LBP)82.5078.7586.2581.89
Proposed MCDM–RF (HOG + LBP)92.1988.7595.6391.91
Bold values indicate the best performance among the compared methods.
Table 5. Performance comparison of recent ECG-/MCG-based methods and the proposed MCDM–RF framework for myocardial ischemia or occlusion detection.
Table 5. Performance comparison of recent ECG-/MCG-based methods and the proposed MCDM–RF framework for myocardial ischemia or occlusion detection.
MethodAccuracy (%)Sensitivity (%)Specificity (%)Notes
AI–ECG (Herman et al., 2024)90.980.693.712-lead ECG, OMI detection [36]
ML–ECG (Al-Zaiti et al., 2023)85.088.0Large cohort ECG, OMI [37]
MCG + ML (Zhang et al., 2024)87.050.0High sensitivity but low specificity [38]
Resting MCG (He et al., 2025)82.169.687.9Stable CAD vs. CTFFR [39]
Proposed MCDM–RF92.1988.7595.63320 MCG samples, this work
Bold values indicate the best performance among the compared methods. “—” indicates that the corresponding metric was not explicitly reported in the original reference.
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

Li, K.; Zhou, X.; Liu, Y.; Pang, J.; Shang, R.; Zhang, Y.; Cui, Y.; Xu, D.; Xiang, M. Chaotic Dynamics Analysis of Magnetocardiography Signals for Early Detection of Myocardial Ischemia. Bioengineering 2026, 13, 129. https://doi.org/10.3390/bioengineering13020129

AMA Style

Li K, Zhou X, Liu Y, Pang J, Shang R, Zhang Y, Cui Y, Xu D, Xiang M. Chaotic Dynamics Analysis of Magnetocardiography Signals for Early Detection of Myocardial Ischemia. Bioengineering. 2026; 13(2):129. https://doi.org/10.3390/bioengineering13020129

Chicago/Turabian Style

Li, Keyi, Xiangyang Zhou, Yuchen Liu, Jiaojiao Pang, Rui Shang, Yadan Zhang, Yangyang Cui, Dong Xu, and Min Xiang. 2026. "Chaotic Dynamics Analysis of Magnetocardiography Signals for Early Detection of Myocardial Ischemia" Bioengineering 13, no. 2: 129. https://doi.org/10.3390/bioengineering13020129

APA Style

Li, K., Zhou, X., Liu, Y., Pang, J., Shang, R., Zhang, Y., Cui, Y., Xu, D., & Xiang, M. (2026). Chaotic Dynamics Analysis of Magnetocardiography Signals for Early Detection of Myocardial Ischemia. Bioengineering, 13(2), 129. https://doi.org/10.3390/bioengineering13020129

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