Early thrombus detection in ECMO with optimized impedance measurements: A simulative study
Published Online: Jul 01, 2025
Page range: 80 - 88
Received: Feb 20, 2025
DOI: https://doi.org/10.2478/joeb-2025-0011
Keywords
© 2025 Filip Slapal et al., published by Sciendo
This work is licensed under the Creative Commons Attribution 4.0 International License.
Extracorporeal membrane oxygenation (ECMO) is a life-sustaining intervention used to support patients with severe cardiac or respiratory failure who require temporary extracorporeal gas exchange. This advanced life support technique is often employed when conventional treatment methods, such as mechanical ventilation or pharmacological therapies, are insufficient to provide adequate oxygenation and carbon dioxide removal. ECMO serves as a critical bridge to recovery, transplantation, or decision-making regarding long-term therapeutic strategies [1].
ECMO has a wide range of applications across various patient populations, including neonates, children, and adults. In neonatal intensive care, ECMO is utilized for conditions such as persistent pulmonary hypertension of the newborn, meconium aspiration syndrome, congenital diaphragmatic hernia, and severe respiratory distress that is unresponsive to conventional treatments. In pediatric and adult patients, indications for ECMO include severe cases of acute respiratory distress syndrome (ARDS), refractory hypoxemia, and respiratory failure due to viral or bacterial pneumonia, including infections such as influenza and COVID-19.
A fundamental constituent of the extracorporeal circuit is the oxygenator, which plays a pivotal role in the process. Current typical designs incorporate an assembly of hollow fibers, constructed from gas-permeable material, arranged in bundles. These fibers facilitate the critical exchange of oxygen and carbon dioxide, thereby enabling effective gas transfer within the circuit.
Despite its remarkable benefits, ECMO is associated with various challenges and complications, including haemorrhage, thrombosis and infection [2]. With up to 53% of the cases, thrombosis is a relatively common occurrence during ECMO treatment [3], which can manifest in several parts of the ECMO circuit or the patient’s circulation.
Unfortunately, the details of oxygenator thrombus formation are not well understood. However, it has been documented that fibrous or cellular debris deposited on membrane fibers may not only result in decreased gas exchange capabilities, but also increase blood flow resistance and the risk of hemolysis, further activation of coagulation, or, if dislodged, thromboembolic complications [4].
Various parameters are being monitored in clinics in order to detect clots during ECMO treatment. Three main methods are regularly used for assessing the fitness of the oxygenator [5]:
Visual inspection of the externally visible parts of the oxygenator and tubing is the simplest method. However, it does not reveal thrombi hidden within the oxygenator. Measurement of partial oxygen (O2) and carbon dioxide (CO2) pressures in the oxygenator outlet are directly influenced by thrombus formation on the membrane surface and thus reveal possible thrombi on the membrane surface. Measurement of a pressure drop on the oxygenator between one pressure sensor placed upstream and a second sensor downstream of the oxygenator can point to thrombi presence through an increased flow resistance.
In summary, the aforementioned methodologies tend to increase the workload of personnel and may only result in a simplified global analysis of thrombi presence, missing earlier or hidden stages of thrombi formation.
In order to prevent acute ECMO complications related to thrombus formation, which may necessitate immediate oxygenator replacement, an automated and dependable method for early blood clot detection would be highly advantageous. One potential approach to this could be distinguishing blood from blood clots based on their bioimpedance. We note that the difference in bioimpedance between blood and thrombus has been demonstrated in several studies in the past. Already in 1930, Gelfan and Quigley [6] showed that thrombus impedance starts to rise sharply approximately ten minutes after the start of coagulation. Noshiro et al. [7] observed in 2007 a conductivity difference around 4 mS·cm−1 = 0.4 S·m−1 between normal and coagulated blood in a frequency range from 100 kHz to 800 kHz. This difference decreases with increasing frequencies above 800 kHz.
Although this principle of blood clot detection has been utilised by several researchers, for example in 2015 by Sapkota et al. [8], in 2021 by Chen et al. [9] or in 2023 by Türkmen et al. [5], there are some factors complicating its use. Blood impedance is dependent not only on the blood coagulation state, but also on the hematocrit value, flow, erythrocyte orientation or temperature. The impedance of the blood clot alone is also influenced by clot composition adding more variables to consider for method development [5, 10, 11].
The goal of this article is to design an autonomous and reliable method of thrombus detection based on multielectrode bioimpedance measurements with detection electrodes placed on the oxygenator surface in a way not to interfere with oxygenator normal function. We developed a simulation framework for bioimpedance measurements with an electrode array based on a simplified finite element method (FEM) model of a real oxygenator. By coupling neural networks (NNs) to this environment, we then optimized the electrode positions and measurement patterns for maximal sensitivity, and trained a classifier for thrombi detection.
The MATLAB-based open-source framework EIDORS (Polydorides, 2002) was utilised for all simulations due to its user-friendly finite element modelling interface for the analysis of multi-electrode impedance measurement systems.
A simplified model of the oxygenator from Maquet Cardiopulmonary GmbH (Rastatt, Germany), the ’HLS Module Advanced’ (see Figure 1), was chosen for this study. Its discretised finite FEM model containing tetrahedral elements was created for the simulations. It shares the same inner-volume dimensions with the oxygenator. Additionally, a grid of available electrode positions was prepared to facilitate contact with blood. A symmetrical grid was placed only at top and bottom planes because the construction of the actual oxygenator does not allow for other placement. The actual electrode positions were then chosen from these available options. A separation grid was created in the middle of the model to emulate a compartment divider present in the oxygenator. In the actual module, the separation grid is a polycarbonate lattice running orthogonally through the fiber bundle, ensuring proper fiber alignment and uniform blood flow distribution. For the FEM model, we approximated the manufacturer’s geometry as faithfully as possible using meshed cylindrical rods, and reflected its essentially non-conductive nature by setting the electrical conductivity of the grid to 1 × 10−6 S·m−1, as per Table (1). For simulation feasibility, individual oxygenator fibers were not modeled. The maximal mesh-size was set to 2 mm as a compromise of good simulation accuracy and feasible memory requirements. The final generated mesh (depicted in Figure 2) includes 373,202 elements and 70,914 nodes.

’HLS Module Advanced’ oxygenator by Maquet Cardiopulmonary GmbH (Rastatt, Germany).
Overview of the FEM model component properties.
Part | Conductivity | Characteristics |
---|---|---|
BG | 6.62 × 10−1 S·m−1 | 9 × 9 × 5 cm |
Clot | 6.62 × 10−2 S·m−1 | Spherical targets |
SG | 1 ×10−6 S·m−1 | Rod diameter 0.4 cm |

The generated FEM model of the oxygenator with a sample electrode array (depicted in green) and separation grid (depicted in blue). Red is used to number visualized electrodes.
The conductivity of blood in this work was set at 6.62 × 10−1 S·m−1 according to the IT’IS Foundation database [12]. The conductivity of targets emulating clots was chosen to be approximately one-tenth of blood conductivity (6.62 × 10−2 S·m−1) according to [7]. It is hypothesised that the discrepancy in conductivity between blood and thrombi is likely to exceed the mean conductivity difference in vivo, thereby representing the optimal scenario for thrombus detection.
Individual component properties are specified in Table 1 with BG corresponding to background and SG to separation grid.
The potentials on the oxygenator boundaries are calculated by solving a so-called ’forward problem (FP)’ based on the known electric current and known conductivity distribution inside the oxygenator. The FEM volume discretization under the assumption of linear propagation of the current between the FEM elements yields the linear equation (1) for calculating the potentials
Based on the FP, we can compute a Jacobian sensitivity matrix (
Regions well covered by each voltage measurement are easily identifiable based on the sensitivity matrix. By maximizing sensitivity in specific regions of interest we can tune measurement parameters such as electrode placement [13, 14].
All considered arrangements of electrodes have the same number of electrodes at the top and bottom plane of the model, because there is no evidence suggesting one side of the oxygenator should be disproportionately populated with electrodes. Eight electrodes are therefore generated on the top and eight electrodes at the bottom. Generated electrode centers lie on radials evenly dividing the top and bottom planes (radials are

A sample generated electrode array with highlighted radials.
The homogeneous case of the simulations considers only blood and the separation grid in the oxygenator volume. For inhomogeneous simulations, spherical targets are generated. A probability function of thrombi occurrence was derived based on a simplified model of a flow distribution, which assumes a greater flow in the center of the oxygenator and a low flow near the edges and corners of the oxygenator. Recent
down-weighting voxels in the high-velocity centre and accentuating those near the walls and corners.
Four-point bioimpedance measurements were chosen to mitigate noise and other effects of nonideal real life conditions. Preliminary simulations revealed that changes in electrode positions and the injection-measurement (I-M) pattern can lead to better signal acquisition. Therefore, an optimization of electrode positions and I-M patterns was performed. This complex problem was decoupled into two separate optimization problems to thoroughly inspect each and simplify the overall optimization.
A new I-M pattern was developed to fit the spatial geometry of the oxygenator, with an electrode array placed along the edges of the oxygenator. This was done under the assumption that the optimal electrode configurations will not differ too much from this setup. The array consists of sensible pairs of electrodes chosen in such a way, that their signals include both intraplane and inter-plane excitations and measurements. Selected electrode pairs were used for both injecting and measuring. Only independent measurements in the sense of reciprocity were taken into account. This eliminates the measurement pairs with swapped current injecting and voltage measuring electrode pairs, which do not provide any new information. Examples of the utilized electrode pairs for inter-plane and intra-plane sensing are depicted in Figure 4. Overall, 1560 different measurements were designed. Not all the combinations of injecting and measuring electrode pairs are yielding sensitive measurements and therefore only the most sensitive measurements were selected.

Examples of electrode pairs for inter-plane and intra-plane sensing.
Three methods based on Jacobian analysis were considered for measurement selection. Two of them - the L1- and L2-norms - assess individual measurement sensitivity. These selection methods stem from the idea that the greater the magnitude of the
In this equation,
The third method is based on an approach developed by Onsager et al. in 2021 [14] and aims at finding the most sensitive I-M pattern omitting similar measurements. Similar measurements are characterized by their corresponding sensitivity vectors being almost parallel (i.e. they cover the same elements). Independent measurements are, on the other hand, characterized by their corresponding sensitivity vectors being almost orthogonal (they cover different elements). The best I-M patterns chosen based on this selection method include long and mutually orthogonal sensitivity vectors. To reflect this, the sensitivity parallelotope volume formed by the constituent sensitivity vectors was chosen as a metric. A determinant-based computation described in equation (6) was performed
where matrix
Electrode positions were optimized with respect to designed configuration figures of merit with a neural surrogate based on Smyl and Liu (2020) [16] which was taught to understand the relationship between selected features representing measurement quality and electrode positions.
Training data for the neural network (NN) was generated using simulations and subsequent feature extraction. Firstly, 8000 random electrode arrays in different spatial arrangements were generated. Variations in the symmetry of electrode placement in one plane and both planes resulted in 2918 unique electrode arrays used for the NN training. An electrode array was considered unique only in case of at least 2 electrodes differing in position from all other electrode arrays.
Only 208 measurements from the designed I-M pattern were kept to correspond with the most common number of measurements used in EIDORS studies. Measurements were selected according to the Table 2.
Overview of measurement-selection methods and counts.
Maximization | Number of measurements |
---|---|
Parallelotope volume | 144 |
L1-norm | 32 |
L2-norm | 32 |
Twelve sets of six targets each were generated. All six targets within one array were drawn from the thrombus likelihood distribution described in Section ’Target generation’. Targets were generated with percentiles chosen equidistantly spread from 5 to 98 and covering all oxygenator areas. All sets of targets used for training are depicted in Figure 5.

Targets for NN training data generation in red and separation grid in blue.
Two main feature groups were designed as inputs for the NN. The
Input data were randomly divided into three parts to form training (80 %), validation (10 %) and test datasets (10 %). A stochastic gradient descent with momentum and a gradually decreasing learning rate of an initial value of 1 × 10−3 was selected as a solver. The regularization of NN parameters was included as well as a regularization factor of 1 × 10−6. Validation checks were performed regularly to prevent overfitting to the training dataset. Overall, 200 training epochs were completed.
The structure of the NN was adapted from Smyl and Liu [16] with the output being adjusted to accommodate an extra dimension to work in 3D. It consists of two fully-connected (FC) hidden layers followed by a leaky rectified linear unit (ReLU) activation function layers. The number of neurons in layer 1 (
where
The input of the NN is composed of neurons accepting selected figures of merit, while the output consists of a regression layer. This layer compares a flattened vector of the 3D coordinates of electrode positions corresponding to the respective input feature values to electrode positions computed by the NN based on input values. For the 16 electrodes in three dimensions used in this work, a regression layer with 48 neurons was needed. The entire network scheme is described in Table 3.
Overview of layers for an electrode position optimization NN.
# | Layer type | Layer information |
1 | input layer | 3-element vector |
2 | FC layer | 254 neurons |
3 | ReLU layer | activation layer |
4 | FC layer | 203 neurons |
5 | ReLU layer | activation layer |
6 | FC layer | 48 neurons |
7 | regression layer | determine positions |
The most fundamental question of whether any thrombi are deposited in the oxygenator was approached by a classification NN. Training data were generated using simulations with the optimal electrode array with the respective optimized I-M pattern. A target grid with 3,971 targets, each 1 cm in diameter, was used for inhomogeneous simulations. Only one target was used for each inhomogeneous simulation to test the basic scenario with one deposited thrombus. Target conductivity was randomly varied around the standard value
The NN has an input layer accepting measured voltages in the form of a 208-element vector. It further consists of two FC inner layers paired with a ReLU activation function. The output of the NN is composed of a FC layer with two neurons and a softmax layer. This arrangement enables classification into two groups – thrombi present or thrombi missing. The entire network scheme is described in Table 4.
Overview of layers for a thrombus detection NN.
# | Layer type | Layer information |
---|---|---|
1 | input layer | 208-element vector |
2 | FC layer | 200 neurons |
3 | ReLU layer | activation layer |
4 | FC layer | 100 neurons |
5 | ReLU layer | activation layer |
6 | FC layer | 2 neurons |
7 | softmax layer | to probabilities |
8 | classification layer | more probable class |
The conducted research is not related to either human or animal use.
The internal flow field model indicates the highest likelihood of thrombus occurrence in the corners of the oxygenator, where flow stagnates the most. A cumulative distribution function (CDF) was created for the possibility of a pseudo-random selection of thrombi locations based on a given CDF percentile. The likelihood distribution is symmetrical with respect to the center of the oxygenator with ellipsoidal isolines, therefore more voxels with the same respective thrombi likelihood exist for one concrete CDF value. The thrombi location selection is therefore complemented by a random choice from these options. An example of a generated set of thrombi is depicted in Figure 6.

3D thrombus occurrence likelihood distribution with a sample set of generated thrombi.
Pearson correlation was performed over all designed figures of merit to pinpoint redundant and useful sources of information. It also revealed several unexpected findings, such as a significant divergence between some figures of merit based on ∆V
Figures of merit chosen for position optimization NN training.
Feature | Explanation |
---|---|
∆V |
The NN training was successful, with both validation and training losses steadily declining as depicted in Figure 7. In order to obtain the optimized electrode positions, scaled input feature values theoretically corresponding to an optimal electrode array were used as an input vector to the NN. Afterwards, a forward pass was carried out and optimal electrode array coordinates were read from NN output. Optimal feature values were chosen as [1, 1, 1] to maximize homogeneity. The output coordinates from the NN output were assigned to nearest plausible positions.

Time course of loss for electrode array optimization NN training.
The electrodes are homogeneously placed. However, they do not cover well the areas with the highest probability of thrombus occurrence near edges and corners. As mentioned before, it is a reasonable constraint to assume electrode positioning might be done symmetrically, as the internal structure of the oxygenator also is. Integrating this sort of prior into the training process of the neural network is beyond the scope of this work, and could lead to confounding factors in our results. Therefore, we manually adjusted for this heuristic based on the algorithm output as can be seen in Figure 8. The respective I-M pattern contains 56 different injecting pairs and a total of 208 measurements. Half of the chosen measurements stem from sensitivity vector parallelotope maximization, which brings the best possible homogeneous coverage of all finite elements. The other half comes from the maximization of L1- and L2-norms of the sensitivity vectors. Summarizing information about used pairs is depicted in Figure 9. The biggest proportion of measurements is conducted with both injecting and measuring pairs in the same plane. These measurements are highly sensitive mostly to the thrombi adherent to the walls of the oxygenator. Overall, selected measurements bring amplification of useful signal and mitigate noise influence.

Electrode array for optimal feature values (left) and adjusted electrode array (right).

Information about spatial arrangement of used pairs of the adjusted electrode array.
The classifier training was successful, as evidenced by the consistent increase in both validation and training accuracy in Figure 10. The accuracy on training and testing dataset proved to be similar as well, further proving no overfitting happened with respect to the dataset. A sensitivity over 92 %, a precision over 97 % and a F1-score over 94 % was achieved for test data. The confusion matrix in Figure 11 shows 1.3 % of false positive cases, where thrombus was detected in the oxygenator when it was not present. This scenario would require additional checks by staff, but would not put the patient’s life at risk. It is important to minimise the number of false positives in practical application, which were observed in 1.3 % of cases.

Time course of accuracy for thrombus detection NN training.

Confusion matrix for the thrombus-detection NN. Class #1 corresponds to thrombi not present and class #2 corresponds to thrombi present.
This study demonstrates,
The study acknowledges that relying exclusively on FEM simulations represents a limitation, as the absence of experimental validation can raise questions about clinical applicability. Nevertheless, several factors specific to the oxygenator context strengthen the robustness of the simulations: a static and closed measurement volume; distinct electrical properties of blood, thrombi, and structural materials; slow thrombus formation dynamics; the availability of a clear baseline measurement after device priming. These characteristics substantially mitigate typical confounding factors encountered in more complex bioimpedance scenarios, allowing controlled exploration of methodological strengths and limitations prior to costly experimental setups.
Moreover, the utilization of simulated data, despite being deterministic in nature, provides significant practical benefits. Gathering extensive labeled experimental data from actual clotting events would necessitate hundreds of trials, a process currently impractical due to logistical and ethical constraints. By augmenting simulations with realistic physiological variability, such as randomized electrode positions, stochastic thrombus placements, conductivity variability, and added measurement noise, we established a diverse training dataset. This strategy aligns with established practices in similarly critical domains [17, 18] where synthetic-to-real transfer learning is commonly employed to bootstrap model development and direct experimental investigations.
The next step involves conducting an experimental validation campaign using a blood-perfused oxygenator mock loop. Experimental data obtained from this setup will validate and quantify the accuracy of our simulation models, refine classifiers through domain adaptation, and guide subsequent methodological enhancements. Further studies will explore more realistic thrombus morphologies informed by fluid dynamics, enhance classifier granularity to localize and size thrombi accurately, and investigate the transferability of the optimization methods to broader clinical and perfusion monitoring applications.
In summary, this study serves as a foundational step towards eventual clinical adoption (rather than an endpoint in itself) through a simulation-based approach within a broader translational strategy encompassing ECMO oxygenator as well as analogous multi-channel bioimpedance applications.