Next Article in Journal
AI-Assisted Image Recognition of Cervical Spine Vertebrae in Dynamic X-Ray Recordings
Next Article in Special Issue
A Tool for the Assessment of Electromagnetic Compatibility in Active Implantable Devices: The Pacemaker Physical Twin
Previous Article in Journal / Special Issue
Assessment of Interference in CIEDs Exposed to Magnetic Fields at Power Frequencies: Induced Voltage Analysis and Measurement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Controlling Cell Migratory Patterns Under an Electric Field Regulated by a Neural Network-Based Feedback Controller

1
Department of Applied Mathematics, Baskin School of Engineering, University of California Santa Cruz, Santa Cruz, CA 95064, USA
2
Department of Earth and Space Sciences, Columbus State University, Columbus, GA 31907, USA
3
Department of Dermatology, University of California Davis, Sacramento, CA 95816, USA
4
Department of Ophthalmology & Vision Science, University of California Davis, Sacramento, CA 95817, USA
5
Department of Electrical and Computer Engineering, Baskin School of Engineering, University of California Santa Cruz, Santa Cruz, CA 95064, USA
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
These authors also contributed equally to this work.
Bioengineering 2025, 12(7), 678; https://doi.org/10.3390/bioengineering12070678
Submission received: 30 April 2025 / Revised: 14 June 2025 / Accepted: 17 June 2025 / Published: 20 June 2025

Abstract

Electric fields (EFs) are widely employed to promote tissue regeneration and accelerate wound healing. Despite extensive study, the cellular responses elicited by EFs are complex and not well understood. The present work focuses on cell migration—a process essential to organismal development, immune surveillance, and repair—and seeks to achieve its precise, closed-loop regulation. Effective control is impeded by (i) the nonlinear and stochastic nature of migratory dynamics and (ii) safety constraints that restrict the admissible EF magnitude. To address these challenges, we reformulate a neural network (NN) feedback controller previously developed for single-cell membrane-potential regulation and adapt it to guide population-level cell migration. A projection operator is embedded into the NN weight-update law to prevent maladaptive learning that arises when the control signal saturates at its EF limit. Numerical simulations confirm that the modified controller maintains accurate trajectory tracking under saturation and outperforms the original NN design. Finally, we demonstrate a proof-of-concept by implementing the controller in vitro to direct the electrotactic migration of naïve macrophages in 2D culture under a unidirectional EF. For the in vitro experiments, we compare performance to the standard proportional–integral–derivative (PID) controller.

1. Introduction

Regulating cell migration is critical to many biological processes, including development, tissue homeostasis, and disease progression [1]. Impaired migration contributes to pathologies such as cancer and autoimmune disorders [1]. Recent advances indicate that cell movement can be modulated externally through feedback control systems that integrate biological sensors with actuators [2,3]. Bioelectronic devices, which enable real-time modulation of cellular activity, have already shown considerable promise in applications ranging from blood-glucose regulation and stem-cell manipulation to electrical stimulation and targeted drug delivery [4,5,6,7].
Electric fields (EFs) constitute a principal guidance cue for cell migration through galvanotaxis, a mechanism that is especially important during wound healing [8,9]. To exploit this response, “smart” bandages have been engineered to augment the endogenous EF with an externally applied stimulus, thereby accelerating tissue repair [10,11]. Although numerous in vitro studies have characterized how EFs influence migratory behavior [8,12,13], relatively few have addressed active control of that behavior. One notable exception is a platform that steered keratinocyte migration in two-dimensional culture using predefined EF waveforms [14]. Because EFs can also induce undesirable phenotypic changes [15,16], precise regulation is critical to maximize therapeutic benefit while minimizing off-target effects. Closed-loop feedback control offers a compelling strategy to modulate EFs dynamically and achieve targeted migratory outcomes.
Effective feedback control of electrotactic migration requires coordinated sensing and actuation. In our framework, the actuator is the externally applied EF, whose magnitude is modulated in real time by the controller using data from an imaging sensor (Figure 1). Single-cell microscopy supplies continuous positional information to close the loop. A naïve strategy would apply the maximum permissible EF to accelerate migration, but excessive stimulation risks off-target effects. The objective, therefore, is to deliver the smallest EF that reliably drives the desired motility while limiting exposure.
Implementing feedback in living systems is challenging because their dynamics are nonlinear, stochastic, and time-varying [17,18]. Controllers must also remain robust to environmental disturbances and to drift in sensor or actuator performance across experiments. Neural network (NN) controllers can address these issues by adapting online without an explicit mechanistic model [19]. However, NNs are vulnerable to control-signal saturation: when the required EF exceeds safety limits, the output must be clipped, and the resulting weight updates can degrade performance. Traditional anti-windup and sliding-mode strategies partly mitigate saturation [20], but they struggle under the long sampling intervals and delays typical of biological assays.
We propose a neural network (NN) feedback controller expressly engineered to operate under control-signal saturation. A projection operator embedded in the NN weight-update law constrains the commanded EF within the device’s safe operating range, thereby preventing maladaptive learning when saturation occurs. Controller efficacy is first quantified in silico using a stochastic model of electrotactic cell migration. We then demonstrate the practical applicability of our approach in vitro, where we successfully control macrophage migration through EF regulation, utilizing time-lapse microscopy in combination with image processing and cell tracking software.

2. Materials and Methods

In this section, we present in detail the quantitative methods used to analyze data, the experimental methods, and relevant background on the previously used NN controller.

2.1. Image Analysis Tool for Image Processing/Cell Tracking

To analyze single-cell microscopy data, we develop an image analysis tool (refer to Figure 2) that consists of a script written in Python 3 designed to track the cell position over time and compute metrics of interest. The inputs for the image analysis tool consist of images taken using a microscope every 5 min. Then Trackpy [21], which is a particle tracking library in Python that operates for two and higher dimensions, is used for detecting and monitoring the cells within these images over time. Next, the trajectories of the cells are extracted and examined in order to calculate the metrics described in the next section. The calculated metrics are then stored in a comma-separated values (CSV) file format. The CSV file is then accessed by the NN-based algorithm for real-time feedback control.

2.2. Quantification of Cellular Response

First, the speed of the cell is approximated in order to filter out stationary cells or cells with low migration speed (i.e., less than the 25th percentile). The speed at which the cells migrate is determined by the ratio of the total distance traveled to the elapsed time, calculated every five minutes as follows:
Speed of Migration = i n x ^ i 2 + y ^ i 2 i × 5
where x ^ i and y ^ i are the relative positions of cells at each time step.
Next, we compute the directedness of cell movement. Directedness is defined as the cosine of the angle that the cell trajectory makes with the direction of the EF (see Figure 1C,D). If the cell trajectory is perfectly aligned with the EF, then the value is 1, and if it is perfectly aligned but in the opposite direction, the value is 1 . The instantaneous directedness of each cell’s motion is computed every 30 min, which corresponds to analyzing 6 frames ahead, as shown below (see Figure 1C):
c o s θ i = x ^ i + 6 x ^ i ( x ^ i + 6 x ^ i ) 2 + ( y ^ i + 6 y ^ i ) 2 ,
where x ^ i and y ^ i are the relative position values of a cell at time t ^ i .
The third metric we compute is the Recruitment Index (RI), which quantifies the percentage of cells moving towards the anode vs. the cathode for different EF strengths. If all cells migrate toward the anode, the RI will be 100 % , while it will be 100 % if all cells move toward the cathode. The Recruitment Index (RI) is determined by the following formula:
RI = C A C C C T × 100
where
  • C A are those cells with directedness > 0.01 .
  • C C are those cells with directedness < 0.01 .
  • C T is the total cell count (including those with directedness between 0.01 and 0.01 ).
This metric is used in the NN-based feedback algorithm for tracking purposes.

2.3. Preparing Macrophages

For this study, we consider the application to naive macrophages. In accordance with the established protocols detailed by Sun et al. [22], the bone marrow-derived macrophages (BMDMs) were produced and isolated in vitro (refer to Figure 3). All procedures were approved by the Institutional Animal Care and Use Committee of UC Davis (protocol #23542). In brief, bone marrow cells were extracted from the tibia or femur of C57BL/6 mice and cultured in Dulbecco’s Modified Eagle Medium (DMEM, Invitrogen, Carlsbad, CA, USA) enriched with 10% Fetal Bovine Serum (FBS, Invitrogen) and a 1 × Antibiotic-Antimycotic solution (Invitrogen). The culture medium was augmented with 20% l-929 conditioned medium containing M-CSF for 6 days, followed by an additional 24 h incubation without the conditioned medium. Adherent macrophages were gathered by careful scraping with a cell scraper and were then plated in electrotaxis chambers for subsequent experimentation. The viability of the cells was evaluated using trypan blue staining. C57BL/6 mice were sourced from Jackson Laboratories and were housed in a specific pathogen-free environment at the University of California, Davis (UCD), adhering to a strict 12 h light cycle and being fed a standard chow diet.

2.4. Experimental Setup

The schematic of the experimental setup utilized in this study is illustrated in Figure 4. Macrophages were cultured in an electrotaxis chamber based on tissue culture dishes (Corning) to achieve optimal in vitro migration results. As described in previous research [23], the chamber was constructed using glass strips and sealed with high vacuum grease. A DC (i.e., Direct Current) electric field (EF) of up to 4 V/cm across the chamber was applied via Ag/AgCl electrodes to stimulate electrotactic movement of the cells. The actual voltage drop across the chamber was confirmed before and after each experiment.
The power supply system comprises a Keithley current source. This current source directs current through Agar bridges and Steinberg’s solution. This setup results in a uniform electric field being applied to the macrophages within the electric field chamber. The images of the cells were captured every 5 min using a microscope. Finally, the images were then saved on a computer.
This setup was used to monitor the response of cells to a constant electric field and also used in the closed-loop control experiments with the proposed control algorithm to automatically adjust the applied current and, hence, EF.
In the closed-loop experiments, a MATLAB 2019b script, which analyzes the cellular response in real time (see Section 2.2), was run on the same computer; the script feeds this information into the NN-based control algorithm, and computes the next current value to apply to achieve the desired cellular response. The current value is transmitted to the current source via a serial cable linked to the computer.

2.5. Neural Network Controller Overview

Previous studies have demonstrated that adaptive neural network (NN) controllers updated in real time can effectively regulate biological systems even when no mechanistic model is available and system conditions vary [19,24]. Jafari et al. [19] specifically introduced an adaptive feedback controller based on a radial basis function neural network (RBF-NN) to modulate cellular responses on-the-fly. An RBF-NN is a three-layer, feed-forward architecture comprising an input layer, a hidden layer of radial basis units, and a linear output layer. Each hidden-layer neuron employs a Gaussian activation function, providing localized feature representation and facilitating universal function approximation. The Gaussian function takes on the following form:
Φ ( | | z ( t ) c i | | ) = e z ( t ) c i 2 β i 2
The ith neuron consists of the input vector z ( t ) , variance β i , and the center vector c i . The computed output of the RBF-NN is
Ω ( z ( t ) ) = i = 1 M W i ( t ) Φ ( | | z ( t ) c i | | ) ,
where M represents the number of neurons in the hidden layer and W i denotes the corresponding weights.
This neural network’s objective is to learn a feedback control law u for the given system:
x ˙ = f ( x , u ) + δ ( t ) y = x .
The goal is to ensure that the measured output y tracks a specified reference value r. Specifically, the aim is to reduce the error e ( t ) = r ( t ) y ( t ) , where e represents the discrepancy between the reference r and the output y. The function f is defined over a fixed domain where u m i n < u < u m a x and is characterized as a continuously differentiable and strictly monotonic function in terms of u, with the properties f ( x , 0 ) = 0 and f m i n < f ( x , u ) < f m a x , where f m i n < 0 and f m a x > 0 .
To adjust the parameters of the RBF, the gradient of the cost function C ( t ) = 1 2 e ( t ) 2 is utilized. By calculating C W , the weights W i are modified following the update law mentioned in the following [19]:
W ˙ i ( t ) = e ( t ) Φ ( | | z ( t ) c i | | ) ,
where e ( t ) is the system error to be minimized. We have included the Lyapunov stability analysis in Appendix A.
For implementation purposes, we let
W ˙ i W i ( t + T s ) W i ( t ) γ ,
where γ is the learning rate of the weights and T s is the sampling time. Using Equations (7) and (8) gives the following discrete-time update law:
W i ( t + T s ) = W i ( t ) + γ e ( t ) Φ ( | | z ( t ) c i | | ) .
The update law in Equation (7) is susceptible to control-signal saturation: when the commanded input exceeds actuator limits, it is clipped, the tracking error cannot reach zero, and the weights of the neural network continue to diverge, degrading performance. Avoiding these effects typically demands meticulous tuning of initial weights and learning rates. Building on prior work, we therefore integrate a projection operator into the update law, constraining parameter growth and averting maladaptive learning whenever the system dwells at saturation for extended intervals.

3. Results

In this section, we derive and apply the NN controller, updated with a revised law, to our in silico platform introduced in Section 3.1. We also demonstrate an in vitro implementation as a proof-of-concept to validate the practical applicability of the controller to control the migration of naïve macrophages.

3.1. Qualitative Stochastic Model of Cell Directedness

In order to assess the performance of our control law in silico, we introduce and utilize a qualitative stochastic model describing cell motility in response to an electric field. The state modeled here is cell directedness, from which we can calculate the recruitment index (RI). The relationship between cell directedness and EF is already established for various cell types [13].
The in vitro data used to inform the model is generated using the same experimental setup described in the methods section, except with constant EF applied instead of having the feedback control algorithm dynamically change the EF. Figure 5 shows the computed instantaneous directedness (Figure 1C) and recruitment index (RI) for all tracked cells in experiments for constant values of EF. We have one experimental run for each EF value. We tracked the following number of cells for 120 min in each experiment (24 images): 101 cells at 0 V/cm, 89 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm. Preliminary analysis revealed substantial variability in the directedness metric, whereas the recruitment index (RI) shows a markedly tighter correlation with EF magnitude. Consequently, our feedback loop targets RI directly.
To fit the model, we consider the temporal trajectories of the cell migration patterns. Figure 6 shows the computed directedness of naive macrophages over time under a constant EF from single-cell microscopy data. Note that this is not the instantaneous directedness but rather the traditional metric used, illustrated in Figure 1D. This metric is less noisy and easier to use for data fitting purposes.
The model used for in silico studies is the following:
d ( t ) = 1 1 + e ( t τ ) × ν s × [ ( 2 × r a n d 1 ) + EF s + sign ( EF ) × s × | EF | p | EF | p + 1 ]
p = + 1 , if EF = 0 1 | EF | , o t h e r w i s e
d ( t ) = + 1 , if d ( t ) > 1 1 , if d ( t ) < 1 d ( t ) , o t h e r w i s e
Here, d ( t ) is the directedness as a function of time. Let ν { 1 , 1 } represent the direction in which the cell migrates under the influence of an electric field, specifically whether it moves towards or against the anode. The first term in Equation (10) captures the random motion of the cell, while the second term captures a bias induced by an electric field. The strength of the electric field applied to the cell is denoted as EF. The variable s indicates the strength of the cell’s movement towards the cathode under an electric field. A value of two implies that the cell’s directedness is not biased by an electric field.
The random function generator r a n d selects values from 0 to 1 from a uniform distribution and introduces stochasticity into the cell’s movement. A factor of 2 scales the random value so that it spans the range [ 1 , 1], representing all possible directions, with no bias toward one direction. The parameter p is defined as indicated in Equation (11) and acts to saturate the influence of an increasing EF strength. Additionally, τ is a delay parameter incorporated into the model to account for the initial delay in cellular response. Cells require time to respond when they are first exposed to an electric field (EF). The parameter s is set to three, which makes it easier for the cells to move toward the cathode with small electric field (EF) strengths. The delay parameter τ is set to four to align with the transient behavior observed in the naïve macrophage data. As directedness values should range between 1 and 1, Equation (12) ensures that any derived values are constrained within these limits by setting them to the minimum or maximum when necessary. Figure 6 shows the comparison between the model simulations and experimental data.
The number of cells utilized to fit the mathematical model across various electric field (EF) strengths is as follows: 101 cells at 0 V/cm, 87 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm. We only considered cells tracked for all 24 frames. In Figure 6, plot (A) shows the mean directedness computed across all cells as a function of time (simulations and data). Plot (B) shows the mean directedness value and the corresponding standard deviation for each electric field (EF) strength.

3.2. Adapted Neural Network Controller

To address saturation in control systems, we introduce a projection operator into the neural network’s weight updates. This approach helps mitigate the effects of saturation and ensures that control inputs remain within the operational limits of the devices. To avoid having the controller output stray too far from acceptable values, the control update law is modified when the control output exceeds permissible limits. If the control output goes beyond the upper limit (UL) or falls below the lower limit (LL), a projection method is utilized to down-regulate the updates of the neural network weights. The improved updated law is as follows:
W ˙ i = γ a Φ ( | | z c i | | ) e sign ( e ) α a W i W i T Φ ( | | z c i | | ) W i e , if u > U L γ b Φ ( | | z c i | | ) e + sign ( e ) α b W i W i T Φ ( | | z c i | | ) W i e , if u < L L γ Φ ( | | z c i | | ) e , otherwise .
This prevents the control signal from deviating excessively from the limits set by the experimental setup. By doing so, the control value can respond promptly when a change is needed.
Assigning appropriate values to the parameters γ , γ a γ b , α a , and α b will prevent the weights from growing too quickly or push the system back within the specified control bounds. We can see this is the case by simplifying Equation (13), which reduces to
W ˙ i = Φ ( | | z c i | | ) e ( γ a sign ( e ) α a W ) if u > U L Φ ( | | z c i | | ) e ( γ b + sign ( e ) α b W ) if u < L L γ Φ ( | | z c i | | ) e , otherwise .
From Equation (14), we see that values for α a , b W and/or γ a , b are what dictate the growth of the weights along with the sign of the error. The projection operator acts like a feedback control law on the weights to prevent them from moving away from a set value when the controller output exceeds specified bounds. We note the direct relation between the sign of the weights and the induced direction of motion of cells. This relationship is due to the controller output being a linear combination of the weights and the Gaussian function ( Φ ). The Gaussian function ( Φ ) will always output a positive value, meaning the weights dictate the sign and magnitude of the controller output values. A negative controller output drives cells toward one direction, and a positive value drives cells in the opposing direction. Examples of each are shown later in the in silico section.
Using the same steps as in Equations (8) and (9), the discretized update law for the weights are as follows:
W t + 1 = W t + γ a Φ ( x ) e sign ( e ) α a W W T Φ ( x ) W e , if u > U L W t + γ b Φ ( x ) e + sign ( e ) α b W W T Φ ( x ) W e , if u < L L W t + γ Φ ( x ) e , otherwise .

3.3. In Silico Feedback Control Experiments

For the in silico analysis, we include three examples. Each example consists of 100 simulations at each step (i.e., 100 cells), and the results are averaged for the model output. Moreover, we consider operational limits with EF strength bounds ranging from [ 4 , 4 ] V/cm. In Example 1, the reference trajectory for directedness is limited to the range [ 0.65 , 0.65 ] to prevent saturation and to demonstrate that both the new and baseline controllers exhibit similar behavior. In contrast, Examples 2 and 3 have reference trajectories for directedness bounded between [ 0.9 , 0.9 ] to ensure that the control inputs exceed the actuation limits. These two examples specifically illustrate how the revised controller can mitigate saturation effects and keep control inputs within the operational limits of the devices. All design parameters of the RBF-NN used in Examples 1, 2, and 3 are detailed in Table 1.

3.3.1. Example 1

This example demonstrates that for target values that do not require the control input to reach maximum EF values, both controllers behave identically. Figure 7 presents the simulation results comparing the proposed NN algorithm that includes projection on the weight updates (first column) with the standard weight update law (second column). Row (A) displays the model’s output in red alongside the desired reference value in blue. Row (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Row (C) illustrates the relative tracking error in cyan. Figure 7 demonstrates that both algorithms produce similar outputs within the specified bounds and effectively maintain the target directedness (from which we can calculate the RI value) for the population of cells.

3.3.2. Example 2

In Example 2, we demonstrate the revised NN controller’s ability to regulate the control input near the boundaries. To demonstrate this, we select target values for directedness with sufficiently large magnitudes that would normally result in the controller pushing to increase the EF strength beyond the allowed limits. The reference values are set to 0.9 and 0.9 , for the first and second half of the simulation, respectively.
Figure 8 presents the simulation results that compare the proposed NN-based algorithm, which incorporates projections on the weight updates (first column), with the original algorithm (second column). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the proposed algorithm with projections in row (B), demonstrating its ability to push the control output back toward the maximum allowed EF, unlike the standard algorithm, which tends to continually increase. This continuous increase in output by the standard algorithm results in a delay when the reference value changes sign.

3.3.3. Example 3

For Example 3, we increase the values of γ a , b , which increases the buffer region before the projection operator begins to dominate the dynamics of the weight updates. In this case, we should see a less aggressive approach to maintain the applied EF strength near the boundaries. Instead, we observe a slowed growth of the control input as the controller pushes to reach an unattainable target value.
Figure 9 presents the simulation results that compare the proposed NN controller, which incorporates projections on the weight updates (first column), with the original algorithm (second column). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the proposed algorithm with projections, demonstrating its ability to slow down the growth of the control output after exceeding the bounds. This results in a decreased delay when the sign of the target directedness changes.

3.3.4. Summary

The outcomes of the three examples are outlined in Table 2 and Table 3, utilizing various error metrics such as Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). This statistical evaluation illustrates the improved performance of the proposed NN-based algorithm. Importantly, this improved performance is marked by a notable decrease in tracking errors. This further highlights the effectiveness and performance of the proposed NN controller, showcasing tangible improvements in system responsiveness and adaptability.
Furthermore, Table 4 and Table 5 present analysis concerning Fall Time. Fall time refers to the duration required for the pulse to transition from its peak value to its lowest value.

3.4. In Vitro Feedback Control Experiments

To demonstrate the controller’s practical applicability, we implement it in an experiment to control the migration of naïve macrophages. This example presents the experimental result of applying feedback control to the recruitment index of naive macrophages using the proposed NN controller. We compare the results to a second experiment applying a PID controller. We note that in this experimental setup, we cannot directly control EF, but rather we control the applied current. The electric field (EF) is related to other variables such as current density ( J ) and current (i) through the basic principles of electromagnetism. Understanding the relationship among these factors is crucial for the effective design and application of stimulation devices. For more information about these relationships, see Appendix B. The initial objective is to achieve a recruitment index exceeding a reference value of R I = 60 % . Once this target is met, the reference value is changed to R I = 60 % . All the design parameters of the NN controller used in the in vitro experiment are detailed in Table 6.
For the closed-loop experiment with the NN controller, there were 1254 cells tracked and 921 cells used to compute the RI after filtering out immobile cells (>25th percentile). Similarly, for the closed-loop experiment with the PID controller, there were 1174 cells tracked and 829 cells used to compute the RI. There was one experimental run for each, the ML and PID controllers, for a total of two experiments. Directedness is computed for each cell, and then based on that, a single RI value is computed at each time step as described in the methods. Using the RI value provides a way of controlling the collective behavior of a large population of cells despite cell-to-cell variability.
Figure 10 presents the experimental results of feedback control on the recruitment index of naive macrophages using the proposed NN controller. In the plot labeled “System Output” (Figure 10A), the blue line represents the reference value, while the red line shows the measured recruitment index of the cells throughout the experimental run. The plot titled “Control Output (Saturated/Applied)” (Figure 10B) displays the clipped control output applied to the cells. The plot titled “Control Output (Unsaturated)” (Figure 10D) illustrates the control signal generated by the controller before any saturation limits are applied. Finally, the plot titled “Relative Tracking Error” (Figure 10C) depicts the tracking error, represented in cyan.
Figure 11 presents the experimental results of feedback control on the recruitment index of naive macrophages using the PID controller. Similar to the experiment performed using the NN controller, the initial objective was to achieve a recruitment index exceeding the reference value of R I = 60 % . Once this target was met, the reference value was changed to R I = 60 % for the remainder of the experiment. In the plot labeled “System Output” (Figure 11A), the blue line represents the reference value, while the red line shows the measured recruitment index of the cells throughout the experimental run. The plot titled “Control Output (Saturated/Applied)” (Figure 11B) displays the clipped control output applied to the cells. The “Control Output (Unsaturated)” (Figure 11D) illustrates the control signal generated by the PID controller before any saturation limits were applied. Finally, the plot titled “Relative Tracking Error” (Figure 11C) depicts the tracking error, represented in cyan. We note that the PID is not able to successfully track the target value in the second part of the experiment.
One of the challenges of experiments is that due to time and cost, there are limited opportunities to tune parameters, and the algorithm should work out of the box. We note that the value chosen for γ a is not optimal. Nonetheless, the algorithm successfully reduced the control effort when compared to the second experiment, implementing a PID controller. Additionally, in accordance with our in silico study, once the initial goal was achieved, the controller rapidly adjusted its output to track the new reference value successfully.
Table 7 presents the quantitative analysis for the in vitro experiments comparing the NN and PID controllers. It is worth noting that here we are utilizing the normalized version of the error metrics used in the analysis of the in silico results.

4. Discussion

One of the limitations in applying the new NN controller presented stems from the uncertainty regarding the “to be” learned norm of the weights before conducting the experiments. Due to the limited number of experimental runs, there was insufficient data to identify an optimal set of parameters for the controller. As a result, the controller did not always remain close to the stability bounds. However, further experiments and improvements to the update law could help address this issue.
As previously mentioned, prolonged exposure to a strong electric field can cause polarization of macrophages [25,26,27], which may adversely affect wound healing time [28]. For example, a prematurely induced transition from pro-inflammatory to pro-regenerative macrophages may impair healing, while an accelerated recruitment of pro-inflammatory macrophages can accelerate healing [29].This highlights the need to couple this work with methods in optimal control, such as model predictive control (MPC), where one can minimize a cost function that penalizes both control effort and error. Previous work suggests the possibility of using label-free indicators such as morphological features and migratory patterns as a way to classify macrophage subtypes [30,31]. These label-free methods can be used in future work under this same experimental setup to detect possible phenotypic changes and inform adjustments in EF strength and application.
The relevance of this work directly applies to wound healing. Pro-inflammatory macrophages are abundant at the onset of inflammation, aiding in wound cleaning, while anti-inflammatory macrophages appear later, during the transition from inflammation to proliferation, helping with tissue regeneration [32]. Understanding this process allows for modulating an external electric field to enhance the recruitment of the right cell types at the appropriate stages, potentially speeding up the wound healing process. This would require real-time, in vivo monitoring of cell migration, which could be achieved by tracking biomarkers or chemical compounds in the wound bed as proxies for the relative abundance of pro-inflammatory and anti-inflammatory macrophages.
How electric fields influence macrophage behavior beyond the high-level concept of galvanotaxis remains largely unexplored. We have previously demonstrated that even the same macrophage, after phagocytosis of pathogenic bacteria, has its galvanotaxis direction reversed to the opposite direction, perfectly mirroring the well-known antigen behavior of antigen-presenting cells [33]. Cathodal migration likely involves PI3K signaling [34,35] and pSTAT3 pathways [36], as well as the anodal galvanotaxis myosin II contraction [37]. The directional response is consistent with known electrotaxis mechanisms, including polarization of intracellular signaling. Further development of a strategy to guide specific subtypes of macrophages will significantly enhance our ability to modulate biological function electrically. Although these pathways were not directly assessed in this study, PI3K signaling is likely a key mechanism. The technical approach developed here will be a useful tool to elucidate biological mechanisms further [34].
The methods presented here can be expanded to broader applications beyond cell migration. Self-regulation is a crucial feature for the health of many systems, such as in ecological dynamics modeled by predator–prey interactions [38]. In biology, this self-regulation often takes place through feedback control, where the system adjusts in response to changes to maintain stability. For example, during exercise, vasodilation occurs to increase blood flow and oxygen delivery to muscles [39]. In wound healing, distinct cell types are recruited at different stages to aid in the healing process [40]. The application of control in biological systems has already shown promise in precision medicine [41,42]. However, challenges remain in extending this work, particularly in sensing system responses in vivo.

5. Conclusions

The NN controller incorporating a projection operator on the weights demonstrated notable improvements over the original controller in simulations, where it was applied to a model of cell directedness. These simulations illustrated the controller’s ability to address key challenges inherent in biological systems, such as saturation effects and nonlinearities in cellular responses, which are particularly common in bioelectronic control systems. By constraining the weight updates, the projection mechanism helped ensure that the control signals remained within feasible actuation limits, preventing the undesirable saturation of the control inputs. Subsequent in vitro experiments, where the controller was used to direct the migration of naive macrophages, further validated the efficacy of this approach. The controller successfully regulated the collective migration pattern macrophages, confirming that the modification was not only theoretically sound but also practically applicable in a biological setting. This demonstrates the potential of this modified NN controller for controlling cell migration, which has significant implications for therapeutic strategies in tissue regeneration, immune response modulation, and wound healing.
The results of this study suggest that the controller is particularly well-suited for applications where the norm of the weight vector can be predetermined, or where sufficient experimental data can be gathered to approximate this norm. This is important for situations where the control signal must dynamically change between positive and negative values in response to shifting environmental or biological cues. Moreover, the controller’s robustness to uncertainties and its ability to work within practical limits make it a promising tool for more complex, real-world scenarios where biological systems are often subject to significant variability and constraints. The integration of this controller with real-time sensing and adaptive control mechanisms could further enhance its capability to manage cell migration in unpredictable or evolving environments, opening up new possibilities for precision medicine and regenerative therapies.
Future work will focus on refining the controller’s performance in a wider range of biological models, including more complex systems like multicellular interactions and tissue-level migration. We note that this study was limited to macrophages in 2D culture under a unidirectional EF. While this study used naïve macrophages, the system can also be applied to other cell types such as keratinocyte [43] and fibroblast [44], which respond to similar electric field strengths. We note that although the model was fine-tuned using in vitro data, no data was used to inform the parameters of the NN controller. Thus, it is agnostic with respect to the specific cell type. Simple tuning of the adaptation rates on the fly can adjust the controller to work for cells with varying speeds and response times if needed. Finally, as described in above, selective control of subtypes of macrophages will offer more differential control over inflammatory and reparative processes in wound healing or other disease conditions.

Author Contributions

Conceptualization, G.M., M.J., Y.-H.S., M.R., M.Z. and M.G.; methodology, G.M., M.J., M.K., K.Z., Y.-H.S., H.-C.H. and C.O.H.; software, G.M., M.J., M.K. and P.B.; validation, G.M., M.J. and M.G.; formal analysis, G.M., M.J., M.K. and M.R.; investigation, G.M., M.J., M.K., K.Z., P.B., Y.-H.S. and H.-C.H.; resources, M.T., M.R., M.Z. and M.G.; data curation, G.M., M.J., M.K., K.Z. and M.R.; writing—original draft preparation, G.M., M.J., M.K., K.Z. and M.G.; writing—review and editing, G.M., M.J., M.K., K.Z., P.B., Y.-H.S., H.-C.H., C.O.H., M.T., M.R., M.Z. and M.G.; visualization, G.M., M.J., M.K. and M.G.; supervision, M.J., M.T., M.R., M.Z. and M.G.; project administration, M.T., M.R., M.Z. and M.G.; funding acquisition, M.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was sponsored by the Office of Naval Research and the DARPA Biotechnologies Office (DARPA/BTO) and was accomplished under Cooperative agreement no. DC20AC00003. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the Office of Naval Research and the DARPA Biotechnologies Office (DARPA/BTO) or the US Government. The US Government is authorized to reproduce and distribute reprints for government purposes, notwithstanding any copyright notation herein.

Institutional Review Board Statement

All procedures involving animals were carried out in accordance with the standards and regulations set forth by the Institutional Animal Care and Use Committee at University of California, Davis (UCD).

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data/code is available through Github Controlling-Cell-Migratory-bioengineering, (accessed on 10 June 2025).

Acknowledgments

The authors thank all active collaborators who engaged us in conversations on the topic of cell migration and who offered guidance on the experimental setup. We acknowledge Manping Jia for her contributions towards the early stages of this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Lyapunov Analysis

To follow the stability analysis as in [45], we say the error dynamics are as follows:
e ˙ = e + ( W W ) Φ ( t ) W ˙ = e Φ ( t )
where Φ ( t ) is as in Equation (4), which is a bounded function of time t. We say that W gives the optimal weight values to track the reference, which are constant. To show that the error tends to 0, e ( t ) 0 , we define a Lyapunov candidate as
V = e 2 + ( W W ) 2
Taking the derivative with respect to time, we arrive at
V ˙ = 2 e e ˙ + 2 ( W W ) ( W ˙ )   = 2 e ( e + ( W W ) Φ ( t ) ) + 2 ( W W ) ( e Φ ( t ) )   = 2 e e + 2 e ( W W ) Φ ( t ) 2 e ( W W ) Φ ( t )   = 2 e 2 0 .
This means V ( t ) is decreasing as a function of time. Thus, e ( t ) and W ( t ) are uniformly bounded. Since V ( t ) is decreasing and lower-bounded, it must tend towards a limit. Taking the second time derivative, we get
V ¨ = 4 e e ˙   = 4 e ( e + ( W W ) Φ ( t ) ) .
Since Φ ( t ) is bounded since it is a Gaussian function, and e ( t ) and W ( t ) were shown to be bounded, this means V ¨ ( t ) is uniformly bounded and that V ( t ) is uniformly continuous. Thus, by Barbalat’s lemma, V ˙ ( t ) 0 as t . This means the error tends towards zero as t .

Appendix B. Electric Field, Current Density, and Current Relations

Electric fields ( E F ), current density ( J ), and current (i) are fundamental parameters in the context of electrical stimulation for chronic wound healing and pain relief. These variables are intricately linked through fundamental principles of electromagnetism, and understanding their relationship is essential for the proper design and application of stimulation devices.
In clinical studies involving electrical stimulation, the electric field ( E F ) is typically applied via devices delivering direct current (DC), or monophasic or biphasic pulsed current. The voltage range for these devices typically spans from 20 to 500 V, and the current used ranges from 200 to 800 mA [46]. These applied electric fields can stimulate biological processes, particularly in the context of wound healing and pain management. Many biological cells are sensitive to the electric fields applied during such treatments. These cells, including keratinocytes, fibroblasts, and neurons, exhibit behaviors such as migration in response to electric fields—a phenomenon known as electrotaxis or galvanotaxis. In particular, most cells tend to migrate toward the cathode (negative electrode) under the influence of an electric field. This migration is optimal in fields on the order of 100 mV/mm. In the context of wound healing, the electric fields generated in the body are typically in the range of 400 mV/mm (up to 4 V/cm), as reported in studies involving human and mouse skin wounds [47,48]. Such fields are believed to promote cellular migration and tissue regeneration, helping to accelerate healing.
Current density ( J ) is defined as the amount of electric current flowing per unit area. It is directly related to the electric field ( EF ) through the material’s electrical conductivity ( σ ), as given by Ohm’s law [49]:
J = σ · EF
Here, J is the current density (measured in amperes per square meter, A/m2). σ is the electrical conductivity of the medium (measured in Siemens per meter, S/m). EF is the electric field (measured in volts per meter, V/m). Electrical conductivity ( σ ) is the inverse of resistivity ( ρ ), meaning that materials with high conductivity allow current to flow easily, while materials with high resistivity impede current flow. In clinical settings, the medium through which the electric field is applied (e.g., tissue, conductive gel, or saline solution) significantly influences the current density and, consequently, the effectiveness of the treatment.
In many studies, including those involving electrotaxis, the current density is calculated using the known conductivity of the medium and the electric field applied. For example, if the resistance is known, the voltage can be determined, and vice versa, provided the relationship between current, voltage, and resistance is understood. For instance, in our study setup, with a known resistance of 50 Ω -cm and an electric field ranging from −4 to 4 V/cm, we can calculate the current density. If the current density ( J ) is known and the area through which the current passes is specified (e.g., 0.02 cm 2 ), the electric field can be determined using Equation (A5). Figure A1 shows the electric fields ( E F ), current density ( J ), and current (i) relations.
Figure A1. Electric field, current density, and current relations. (A) shows the relation between electric field magnitude and the current value and (B) shows the relation between electric field magnitude and the current density.
Figure A1. Electric field, current density, and current relations. (A) shows the relation between electric field magnitude and the current value and (B) shows the relation between electric field magnitude and the current density.
Bioengineering 12 00678 g0a1
This relationship ensures that the current applied during the experiment remains within the desired parameters, ensuring consistent voltage and current throughout the experiment. Monitoring instruments such as voltmeters and digital multimeters are typically used to verify these conditions in real time, confirming that the voltage and current remain stable throughout the experiment, particularly for longer durations.

Appendix C. Additional In Silico Comparisons with Existing Controllers

For the in silico analysis, we included three additional comparisons with standard methods, such as proportional–integral–derivative (PID) [50,51] controller and sliding-mode controller (SMC) [52,53,54]. In all simulations, the parameter s is set to 3, which makes it easier for the cells to move toward the cathode with less electric field (EF) required. The delay parameter τ is set to 4 to align with the transient behavior observed in the macrophage data. Each example consists of 100 simulations at each step, and the results are averaged for the model output. Moreover, we consider the operational limits of the devices, with EF strength bounds ranging from [ 4 , 4 ] V/cm. In Example 1, the trajectory for directedness is limited to the range [ 0.65 , 0.65 ] to prevent saturation and to demonstrate that both the new and old controllers exhibit similar behavior. In contrast, Examples 2 and 3 have the directedness trajectory bounded between [ 0.9 , 0.9 ] to ensure that the control input exceeds the actuation limits. These two examples specifically illustrate how the revised controller can mitigate saturation effects and keep control inputs within the operational limits of the devices. All design parameters of the RBF-NN used in Examples 1, 2, and 3 are detailed in Table 1.
It is important to point out that to ensure an unbiased evaluation, each controller is calibrated only one time, as the objective is to evaluate the performance of all controllers while keeping their initial configurations. Essentially, there are no additional modifications made to the controllers to adapt to the altered system conditions.

Appendix C.1. Example 1

Figure A2 presents the simulation results of SMC (top row) and PID (second row). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan. Figure A2 demonstrates that both controllers effectively maintain the directedness of the cells for successful trajectory tracking.
Figure A2. The performance of the SMC (first row) and PID (second row) in Example 1 (see Appendix C.1). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Figure A2. The performance of the SMC (first row) and PID (second row) in Example 1 (see Appendix C.1). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Bioengineering 12 00678 g0a2

Appendix C.2. Example 2

Figure A3 presents the simulation results of SMC (top row) and PID (second row). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan. Figure A3 demonstrates that both controllers effectively maintain the directedness of the cells for successful trajectory tracking.
Figure A3. The performance of the SMC (first row) and PID (second row) in Example 2 (see Appendix C.2). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Figure A3. The performance of the SMC (first row) and PID (second row) in Example 2 (see Appendix C.2). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Bioengineering 12 00678 g0a3

Appendix C.3. Example 3

Figure A4 presents the simulation results of SMC (top row) and PID (second row). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan. Figure A4 demonstrates that both controllers effectively maintain the directedness of the cells for successful trajectory tracking.
The outcomes of all these examples are outlined in Table A1, utilizing various error metrics such as Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). This statistical evaluation illustrates the improved performance of the proposed NN-based methodology. Importantly, this improved performance is marked by a notable decrease in tracking errors. This further highlights the effectiveness and performance of the ML-based approach, showcasing tangible improvements in system responsiveness and adaptability.
Figure A4. The performance of the SMC (first row) and PID (second row) in Example 3 (see Appendix C.3). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Figure A4. The performance of the SMC (first row) and PID (second row) in Example 3 (see Appendix C.3). Column (A) displays the model’s output in red alongside the desired reference value in blue. Column (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Column (C) illustrates the relative tracking error in cyan.
Bioengineering 12 00678 g0a4
Table A1. Error metrics for new ML, SMC, and PID controllers. Old values indicate metrics where the proposed method outperforms the prior method.
Table A1. Error metrics for new ML, SMC, and PID controllers. Old values indicate metrics where the proposed method outperforms the prior method.
Example 1Example 2Example 3
ControllerMSERMSEMAPEMSERMSEMAPEMSERMSEMAPE
NN N e w 0.03390.184110.75680.12300.350725.59000.12650.355625.8044
SMC 0.05400.232414.45090.31610.562240.32150.31610.562240.3215
PID 0.06570.256320.60020.23970.489537.92790.23970.489537.9279

References

  1. Vicente-Manzanares, M.; Horwitz, A.R. Cell migration: An overview. Cell Migr. 2011, 769, 1–24. [Google Scholar]
  2. Zlobina, K.; Jafari, M.; Rolandi, M.; Gomez, M. The role of machine learning in advancing precision medicine with feedback control. Cell Rep. Phys. Sci. 2022, 3, 101149. [Google Scholar] [CrossRef]
  3. Selberg, J.; Jafari, M.; Bradley, C.; Gomez, M.; Rolandi, M. Expanding biological control to bioelectronics with machine learning. APL Mater. 2020, 8, 120904. [Google Scholar] [CrossRef]
  4. Owens, R.; Kjall, P.; Richter-Dahlfors, A.; Cicoira, F. Organic bioelectronics-novel applications in biomedicine. Preface. Biochim. Biophys. Acta 2013, 1830, 4283–4285. [Google Scholar] [CrossRef]
  5. Griffin, M.F.; Butler, P.E.; Seifalian, A.M.; Kalaskar, D.M. Control of stem cell fate by engineering their micro and nanoenvironment. World J. Stem Cells 2015, 7, 37. [Google Scholar] [CrossRef]
  6. Simon, D.T.; Gabrielsson, E.O.; Tybrandt, K.; Berggren, M. Organic bioelectronics: Bridging the signaling gap between biology and technology. Chem. Rev. 2016, 116, 13009–13041. [Google Scholar] [CrossRef]
  7. Strakosas, X.; Seitanidou, M.; Tybrandt, K.; Berggren, M.; Simon, D.T. An electronic proton-trapping ion pump for selective drug delivery. Sci. Adv. 2021, 7, eabd8738. [Google Scholar] [CrossRef] [PubMed]
  8. Zhao, M. Electrical fields in wound healing—An overriding signal that directs cell migration. In Seminars in Cell & Developmental Biology; Elsevier: Amsterdam, The Netherlands, 2009; Volume 20, pp. 674–682. [Google Scholar]
  9. Shaner, S.; Savelyeva, A.; Kvartuh, A.; Jedrusik, N.; Matter, L.; Leal, J.; Asplund, M. Bioelectronic microfluidic wound healing: A platform for investigating direct current stimulation of injured cell collectives. Lab Chip 2023, 23, 1531–1546. [Google Scholar] [CrossRef] [PubMed]
  10. Shirzaei Sani, E.; Xu, C.; Wang, C.; Song, Y.; Min, J.; Tu, J.; Solomon, S.A.; Li, J.; Banks, J.L.; Armstrong, D.G.; et al. A stretchable wireless wearable bioelectronic system for multiplexed monitoring and combination treatment of infected chronic wounds. Sci. Adv. 2023, 9, eadf7388. [Google Scholar] [CrossRef]
  11. Jiang, Y.; Trotsyuk, A.A.; Niu, S.; Henn, D.; Chen, K.; Shih, C.C.; Larson, M.R.; Mermin-Bunnell, A.M.; Mittal, S.; Lai, J.C.; et al. Wireless closed-loop smart bandage for chronic wound management and accelerated tissue regeneration. bioRxiv 2022. [Google Scholar] [CrossRef]
  12. Mycielska, M.E.; Djamgoz, M.B. Cellular mechanisms of direct-current electric field effects: Galvanotaxis and metastatic disease. J. Cell Sci. 2004, 117, 1631–1639. [Google Scholar] [CrossRef] [PubMed]
  13. Sargent, B.; Jafari, M.; Marquez, G.; Mehta, A.S.; Sun, Y.H.; Yang, H.y.; Zhu, K.; Isseroff, R.R.; Zhao, M.; Gomez, M. A machine learning based model accurately predicts cellular response to electric fields in multiple cell types. Sci. Rep. 2022, 12, 1–13. [Google Scholar] [CrossRef] [PubMed]
  14. Zajdel, T.J.; Shim, G.; Wang, L.; Rossello-Martinez, A.; Cohen, D.J. SCHEEPDOG: Programming electric cues to dynamically herd large-scale cell migration. Cell Syst. 2020, 10, 506–514. [Google Scholar] [CrossRef]
  15. Hoare, J.I.; Rajnicek, A.M.; McCaig, C.D.; Barker, R.N.; Wilson, H.M. Electric fields are novel determinants of human macrophage functions. J. Leucoc. Biol. 2016, 99, 1141–1151. [Google Scholar] [CrossRef] [PubMed]
  16. Xue, J.D.; Gao, J.; Tang, A.F.; Feng, C. Shaping the immune landscape: Multidimensional environmental stimuli refine macrophage polarization and foster revolutionary approaches in tissue regeneration. Heliyon 2024, 10, e37192. [Google Scholar] [CrossRef]
  17. Lillacci, G.; Khammash, M. Parameter estimation and model selection in computational biology. PLoS Comput. Biol. 2010, 6, e1000696. [Google Scholar] [CrossRef]
  18. Eisner, V.; Picard, M.; Hajnóczky, G. Mitochondrial dynamics in adaptive and maladaptive cellular stress responses. Nat. Cell Biol. 2018, 20, 755–765. [Google Scholar] [CrossRef]
  19. Jafari, M.; Marquez, G.; Selberg, J.; Jia, M.; Dechiraju, H.; Pansodtee, P.; Teodorescu, M.; Rolandi, M.; Gomez, M. Feedback Control of Bioelectronic Devices Using Machine Learning. IEEE Control Syst. Lett. 2020, 5, 1133–1138. [Google Scholar] [CrossRef]
  20. Hosseini Jafari, B.; Zlobina, K.; Marquez, G.; Jafari, M.; Selberg, J.; Jia, M.; Rolandi, M.; Gomez, M. A feedback control architecture for bioelectronic devices with applications to wound healing. J. R. Soc. Interface 2021, 18, 20210497. [Google Scholar] [CrossRef]
  21. Allan, D.B.; Caswell, T.; Keim, N.C.; van der Wel, C.M.; Verweij, R.W. Soft-Matter/Trackpy: Trackpy v0. 5.0. Zenodo Repository 2021. Available online: https://zenodo.org/records/4682814 (accessed on 19 May 2022).
  22. Sun, Y.; Luxardi, G.; Xu, G.; Zhu, K.; Reid, B.; Guo, B.; Lebrilla, C.; Maverakis, E.; Zhao, M. Surface Glycans Regulate Salmonella Infection-Dependent Directional Switch in Macrophage Galvanotaxis Independent of NanH. Infect. Immun. 2022, 90, e00516-21. [Google Scholar] [CrossRef]
  23. Song, B.; Gu, Y.; Pu, J.; Reid, B.; Zhao, Z.; Zhao, M. Application of direct current electric fields to cells and tissues in vitro and modulation of wound electric field in vivo. Nat. Protoc. 2007, 2, 1479–1489. [Google Scholar] [CrossRef] [PubMed]
  24. Marquez, G.; Johnson, B.; Jafari, M.; Gomez, M. Online machine learning based predictor for biological systems. In Proceedings of the 2019 IEEE Symposium Series on Computational Intelligence (SSCI), Xiamen, China, 6–9 December 2019; pp. 120–125. [Google Scholar]
  25. Kang, H.; Kim, S.; Wong, D.S.H.; Jung, H.J.; Lin, S.; Zou, K.; Li, R.; Li, G.; Dravid, V.P.; Bian, L. Remote manipulation of ligand nano-oscillations regulates adhesion and polarization of macrophages in vivo. Nano Lett. 2017, 17, 6415–6427. [Google Scholar] [CrossRef]
  26. Bianconi, S.; Leppik, L.; Oppermann, E.; Marzi, I.; Henrich, D. Direct Current Electrical Stimulation Shifts THP-1-Derived Macrophage Polarization towards Pro-Regenerative M2 Phenotype. Int. J. Mol. Sci. 2024, 25, 7272. [Google Scholar] [CrossRef]
  27. Gu, J.; Wu, C.; He, X.; Chen, X.; Dong, L.; Weng, W.; Cheng, K.; Wang, D.; Chen, Z. Enhanced M2 polarization of oriented macrophages on the P (Vdf-Trfe) film by coupling with electrical stimulation. ACS Biomater. Sci. Eng. 2023, 9, 2615–2624. [Google Scholar] [CrossRef] [PubMed]
  28. Kim, S.Y.; Nair, M.G. Macrophages in wound healing: Activation and plasticity. Immunol. Cell Biol. 2019, 97, 258–267. [Google Scholar] [CrossRef]
  29. Zlobina, K.; Xue, J.; Gomez, M. Effective spatio-temporal regimes for wound treatment by way of macrophage polarization: A mathematical model. Front. Appl. Math. Stat. 2022, 8, 791064. [Google Scholar] [CrossRef]
  30. Kesapragada, M.; Sun, Y.H.; Zhu, K.; Recendez, C.; Fregoso, D.; Yang, H.Y.; Rolandi, M.; Isseroff, R.; Zhao, M.; Gomez, M. A data-driven approach to establishing cell motility patterns as predictors of macrophage subtypes and their relation to cell morphology. PLoS ONE 2024, 19, e0315023. [Google Scholar] [CrossRef]
  31. Kesapragada, M.; Sun, Y.H.; Zlobina, K.; Recendez, C.; Fregoso, D.; Yang, H.Y.; Aslankoohi, E.; Isseroff, R.; Rolandi, M.; Zhao, M.; et al. Deep learning classification for macrophage subtypes through cell migratory pattern analysis. Front. Cell Dev. Biol. 2024, 12, 1259037. [Google Scholar] [CrossRef]
  32. Mao, J.; Chen, L.; Cai, Z.; Qian, S.; Liu, Z.; Zhao, B.; Zhang, Y.; Sun, X.; Cui, W. Advanced biomaterials for regulating polarization of macrophages in wound healing. Adv. Funct. Mater. 2022, 32, 2111003. [Google Scholar] [CrossRef]
  33. Sun, Y.; Reid, B.; Ferreira, F.; Luxardi, G.; Ma, L.; Lokken, K.L.; Zhu, K.; Xu, G.; Sun, Y.; Ryzhuk, V.; et al. Infection-generated electric field in gut epithelium drives bidirectional migration of macrophages. PLoS Biol. 2019, 17, e3000044. [Google Scholar] [CrossRef]
  34. Kulkarni, S.; Tebar, F.; Rentero, C.; Zhao, M.; Saez, P. Competing signaling pathways controls electrotaxis. bioRxiv 2025. [Google Scholar] [CrossRef] [PubMed]
  35. Zhao, M.; Song, B.; Pu, J.; Wada, T.; Reid, B.; Tai, G.; Wang, F.; Guo, A.; Walczysko, P.; Gu, Y.; et al. Electrical signals control wound healing through phosphatidylinositol-3-OH kinase-γ and PTEN. Nature 2006, 442, 457–460. [Google Scholar] [CrossRef] [PubMed]
  36. Li, L.; Zhang, K.; Lu, C.; Sun, Q.; Zhao, S.; Jiao, L.; Han, R.; Lin, C.; Jiang, J.; Zhao, M.; et al. Caveolin-1-mediated STAT3 activation determines electrotaxis of human lung cancer cells. Oncotarget 2017, 8, 95741. [Google Scholar] [CrossRef] [PubMed]
  37. Sun, Y.; Do, H.; Gao, J.; Zhao, R.; Zhao, M.; Mogilner, A. Keratocyte fragments and cells utilize competing pathways to move in opposite directions in an electric field. Curr. Biol. 2013, 23, 569–574. [Google Scholar] [CrossRef]
  38. Barabás, G.; Michalska-Smith, M.J.; Allesina, S. Self-regulation and the stability of large ecological networks. Nat. Ecol. Evol. 2017, 1, 1870–1875. [Google Scholar] [CrossRef]
  39. Korthuis, R.J. Skeletal muscle circulation. In Colloquium Series on Integrated Systems Physiology: From Molecule to Function; Morgan & Claypool Life Sciences: San Rafael, CA, USA, 2011; Volume 3, pp. 1–144. [Google Scholar]
  40. Rodrigues, M.; Kosaric, N.; Bonham, C.A.; Gurtner, G.C. Wound healing: A cellular perspective. Physiol. Rev. 2019, 99, 665–706. [Google Scholar] [CrossRef]
  41. Mostafalu, P.; Tamayol, A.; Rahimi, R.; Ochoa, M.; Khalilpour, A.; Kiaee, G.; Yazdi, I.K.; Bagherifard, S.; Dokmeci, M.R.; Ziaie, B.; et al. Smart bandage for monitoring and treatment of chronic wounds. Small 2018, 14, 1703509. [Google Scholar] [CrossRef]
  42. Jafari, M.; Marquez, G.; Dechiraju, H.; Gomez, M.; Rolandi, M. Merging machine learning and bioelectronics for closed-loop control of biological systems and homeostasis. Cell Rep. Phys. Sci. 2023, 4, 101535. [Google Scholar] [CrossRef]
  43. Zhang, Y.; Xu, G.; Wu, J.; Lee, R.M.; Zhu, Z.; Sun, Y.; Zhu, K.; Losert, W.; Liao, S.; Zhang, G.; et al. Propagation dynamics of electrotactic motility in large epithelial cell sheets. iScience 2022, 25, 105136. [Google Scholar] [CrossRef]
  44. Leal, J.; Shaner, S.; Jedrusik, N.; Savelyeva, A.; Asplund, M. Electrotaxis evokes directional separation of co-cultured keratinocytes and fibroblasts. Sci. Rep. 2023, 13, 11444. [Google Scholar] [CrossRef]
  45. Lavretsky, E.; Wise, K.A. Robust adaptive control. In Robust and Adaptive Control: With Aerospace Applications; Springer: Berlin/Heidelberg, Germany, 2012; pp. 317–353. [Google Scholar]
  46. Taghian, T.; Narmoneva, D.; Kogan, A. Modulation of cell function by electric field: A high-resolution analysis. J. R. Soc. Interface 2015, 12, 20150153. [Google Scholar] [CrossRef] [PubMed]
  47. Nuccitelli, R. A role for endogenous electric fields in wound healing. Curr. Top. Dev. Biol. 2003, 58, 1–26. [Google Scholar] [PubMed]
  48. Nuccitelli, R.; Nuccitelli, P.; Li, C.; Narsing, S.; Pariser, D.M.; Lui, K. The electric field near human skin wounds declines with age and provides a noninvasive indicator of wound healing. Wound Repair Regen. 2011, 19, 645–655. [Google Scholar] [CrossRef]
  49. Halliday, D.; Resnick, R.; Walker, J. Fundamentals of Physics; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  50. Li, Y.; Ang, K.H.; Chong, G.C. PID control system analysis and design. IEEE Control Syst. Mag. 2006, 26, 32–41. [Google Scholar]
  51. Ang, K.H.; Chong, G.; Li, Y. PID control system analysis, design, and technology. IEEE Trans. Control Syst. Technol. 2005, 13, 559–576. [Google Scholar]
  52. Marquez, G.; Dechiraju, H.; Baniya, P.; Li, H.; Tebyani, M.; Pansodtee, P.; Jafari, M.; Barbee, A.; Orozco, J.; Teodorescu, M.; et al. Delivering biochemicals with precision using bioelectronic devices enhanced with feedback control. PLoS ONE 2024, 19, e0298286. [Google Scholar] [CrossRef]
  53. Vaidyanathan, S.; Lien, C.H. Applications of Sliding Mode Control in Science and Engineering; Springer: Berlin/Heidelberg, Germany, 2017; Volume 709. [Google Scholar]
  54. Furuta, K. Sliding mode control of a discrete system. Syst. Control Lett. 1990, 14, 145–152. [Google Scholar] [CrossRef]
Figure 1. (A) Cell migration is induced by the application of an electric field in a process known as galvanotaxis. (B) Feedback control is implemented to automate the regulation of the applied electric field to achieve a desired collective behavior. A neural network controller adjusts the EF strength by way of a current source based on the measured error between the observed response and target behavior of a population of cells. (C) Cell behavior is quantified by computing the instantaneous directedness of each cell at each time step. This, in turn, is used to compute the Recruitment Index (RI), which reflects the proportion of cells moving right vs. left. (D) A commonly used definition of directedness considers cell displacement with respect to its original position, which can be used when there is no polarity switch.
Figure 1. (A) Cell migration is induced by the application of an electric field in a process known as galvanotaxis. (B) Feedback control is implemented to automate the regulation of the applied electric field to achieve a desired collective behavior. A neural network controller adjusts the EF strength by way of a current source based on the measured error between the observed response and target behavior of a population of cells. (C) Cell behavior is quantified by computing the instantaneous directedness of each cell at each time step. This, in turn, is used to compute the Recruitment Index (RI), which reflects the proportion of cells moving right vs. left. (D) A commonly used definition of directedness considers cell displacement with respect to its original position, which can be used when there is no polarity switch.
Bioengineering 12 00678 g001
Figure 2. Depiction of the schematic of the stages of the Image Analysis Tool used in this study. Cell tracking is achieved through image processing to identify each unique cell and track its position over time. From the trajectory of the cell, additional metrics can be computed.
Figure 2. Depiction of the schematic of the stages of the Image Analysis Tool used in this study. Cell tracking is achieved through image processing to identify each unique cell and track its position over time. From the trajectory of the cell, additional metrics can be computed.
Bioengineering 12 00678 g002
Figure 3. Schematic depicting how macrophages were prepared. Bone marrow cells are extracted from the tibia or femur of mice. These cells are then differentiated into naive macrophages.
Figure 3. Schematic depicting how macrophages were prepared. Bone marrow cells are extracted from the tibia or femur of mice. These cells are then differentiated into naive macrophages.
Bioengineering 12 00678 g003
Figure 4. Depiction of the schematic of the experimental setup used in this study. A current source is connected to an electrotaxis chamber housing cell cultures and is set up to apply an EF of up to 4 V/cm. Microscopy images are acquired and processed in real time, and the corresponding computed metrics are fed into the NN controller, which automatically adjusts the applied current within specified bounds.
Figure 4. Depiction of the schematic of the experimental setup used in this study. A current source is connected to an electrotaxis chamber housing cell cultures and is set up to apply an EF of up to 4 V/cm. Microscopy images are acquired and processed in real time, and the corresponding computed metrics are fed into the NN controller, which automatically adjusts the applied current within specified bounds.
Bioengineering 12 00678 g004
Figure 5. (A) A snapshot of the angular displacement of cells at time t = 50 min for two different electric field strengths. (B) A table with the computed mean instantaneous directedness and corresponding standard deviation across cells for each EF strength at t = 50 min. (C) The distribution of the instantaneous directedness of all cells for all times greater than or equal to 50 min after steady state dynamics are achieved. (D) The distribution of the recruitment index for all times greater than or equal to 50 min after steady state dynamics are achieved.
Figure 5. (A) A snapshot of the angular displacement of cells at time t = 50 min for two different electric field strengths. (B) A table with the computed mean instantaneous directedness and corresponding standard deviation across cells for each EF strength at t = 50 min. (C) The distribution of the instantaneous directedness of all cells for all times greater than or equal to 50 min after steady state dynamics are achieved. (D) The distribution of the recruitment index for all times greater than or equal to 50 min after steady state dynamics are achieved.
Bioengineering 12 00678 g005
Figure 6. Model simulations are compared to experimental data. Modeling results consist of the same number of simulations as those for macrophage data (i.e., 101 cells at 0 V/cm, 87 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm). In the data, we consider all cells tracked for 24 frames (i.e., 101 cells at 0 V/cm, 87 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm). (A) The directedness values are plotted across time for comparison. The solid line is the mean directedness for all simulated cells, and the shaded region represents the 95% confidence interval. The dashed line is the mean directedness computed at each time step in the data. (B) The mean directedness and corresponding standard deviation are computed for each EF.
Figure 6. Model simulations are compared to experimental data. Modeling results consist of the same number of simulations as those for macrophage data (i.e., 101 cells at 0 V/cm, 87 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm). In the data, we consider all cells tracked for 24 frames (i.e., 101 cells at 0 V/cm, 87 cells at 0.5 V/cm, 167 cells at 1 V/cm, 90 cells at 2 V/cm, and 68 cells at 4 V/cm). (A) The directedness values are plotted across time for comparison. The solid line is the mean directedness for all simulated cells, and the shaded region represents the 95% confidence interval. The dashed line is the mean directedness computed at each time step in the data. (B) The mean directedness and corresponding standard deviation are computed for each EF.
Bioengineering 12 00678 g006
Figure 7. The performance of the machine learning algorithm utilizing projection (first column) is assessed against that of the original machine learning algorithm (second column) in Example 1 (see Section 3.3.1). Row (A) displays the model’s output in red alongside the desired reference value in blue. Row (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Row (C) illustrates the relative tracking error in cyan.
Figure 7. The performance of the machine learning algorithm utilizing projection (first column) is assessed against that of the original machine learning algorithm (second column) in Example 1 (see Section 3.3.1). Row (A) displays the model’s output in red alongside the desired reference value in blue. Row (B) provides a comparison between the saturated control output and the actual output generated by the controller, with the control output being saturated whenever it exceeds the dashed black lines; the actual control output is shown in magenta. Row (C) illustrates the relative tracking error in cyan.
Bioengineering 12 00678 g007
Figure 8. The performance of the NN controller with projection (first column) is compared to the original NN controller (second column) in Example 2 (see Section 3.3.2). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the left plot in row (B) for the proposed algorithm with projection. We note that the controller successfully keeps the control law near the boundaries.
Figure 8. The performance of the NN controller with projection (first column) is compared to the original NN controller (second column) in Example 2 (see Section 3.3.2). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the left plot in row (B) for the proposed algorithm with projection. We note that the controller successfully keeps the control law near the boundaries.
Bioengineering 12 00678 g008
Figure 9. The performance of the machine learning algorithm utilizing projection (first column) is assessed against that of the original machine learning algorithm (second column) in Example 3 (see Section 3.3.3). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the left plot in row (B).
Figure 9. The performance of the machine learning algorithm utilizing projection (first column) is assessed against that of the original machine learning algorithm (second column) in Example 3 (see Section 3.3.3). In row (A), the model’s output is displayed in red alongside the desired reference value shown in blue. Row (B) compares the saturated control output with the actual output generated by the controller; the control output is considered saturated whenever it exceeds the dashed black lines, while the actual control output is represented in magenta. Row (C) illustrates the relative tracking error in cyan. The plot in panel (D) provides a closer view of the left plot in row (B).
Bioengineering 12 00678 g009
Figure 10. The in vitro results for the proposed NN controller are presented as follows: (A) This panel displays the experimental results for feedback control on the recruitment index of macrophages using the proposed NN controller. Initially, a positive reference value for the recruitment index ( R I = 60 % ), shown in blue, is set. Once this value is exceeded, the reference changes to R I = 60 % for the remainder of the experiment. The red line represents the measured recruitment index value of the cells during the experimental run. (B) The controller output, illustrated in magenta, is clipped as indicated by the dashed black line, and the saturated control signal is transmitted to the device. (C) This panel shows the relative tracking error in cyan. (D) Here, the controller output, also depicted in magenta, represents the unsaturated control signal generated by the algorithm.
Figure 10. The in vitro results for the proposed NN controller are presented as follows: (A) This panel displays the experimental results for feedback control on the recruitment index of macrophages using the proposed NN controller. Initially, a positive reference value for the recruitment index ( R I = 60 % ), shown in blue, is set. Once this value is exceeded, the reference changes to R I = 60 % for the remainder of the experiment. The red line represents the measured recruitment index value of the cells during the experimental run. (B) The controller output, illustrated in magenta, is clipped as indicated by the dashed black line, and the saturated control signal is transmitted to the device. (C) This panel shows the relative tracking error in cyan. (D) Here, the controller output, also depicted in magenta, represents the unsaturated control signal generated by the algorithm.
Bioengineering 12 00678 g010
Figure 11. The in vitro results for the PID controller are presented as follows: (A) This panel displays the experimental results for feedback control on the recruitment index of macrophages using the PID controller. Initially, a positive reference value of 60 % recruitment index ( R I ), shown in blue, is set. Once this value is exceeded, the reference changes to 60 %   R I , with the objective of tracking this new reference value moving forward. The red line represents the measured recruitment index value of the macrophages during the experimental run. (B) The controller output, illustrated in magenta, is clipped as indicated by the dashed black line, and the saturated control signal is transmitted to the device. (C) This panel shows the relative tracking error in cyan. (D) Here, the PID controller output, also depicted in magenta, represents the unsaturated control signal generated by the algorithm.
Figure 11. The in vitro results for the PID controller are presented as follows: (A) This panel displays the experimental results for feedback control on the recruitment index of macrophages using the PID controller. Initially, a positive reference value of 60 % recruitment index ( R I ), shown in blue, is set. Once this value is exceeded, the reference changes to 60 %   R I , with the objective of tracking this new reference value moving forward. The red line represents the measured recruitment index value of the macrophages during the experimental run. (B) The controller output, illustrated in magenta, is clipped as indicated by the dashed black line, and the saturated control signal is transmitted to the device. (C) This panel shows the relative tracking error in cyan. (D) Here, the PID controller output, also depicted in magenta, represents the unsaturated control signal generated by the algorithm.
Bioengineering 12 00678 g011
Table 1. Detailed design parameters of the RBF-NN used in all in silico examples. In all cases, the state feeding into the NN is z ( n ) = [ r ( n ) , y ( n 1 ) , y ( n 2 ) , y ( n 3 ) , y ( n 4 ) , y ( n 5 ) ] T and initial conditions c i ( 0 ) = l ( i ) ones ( N , 1 ) R N , l = r e p m a t ( [ 0 : 0.01 : 2 ] , 6 ) R M and w i ( 0 ) = 0.0001 r a n d ( ) .
Table 1. Detailed design parameters of the RBF-NN used in all in silico examples. In all cases, the state feeding into the NN is z ( n ) = [ r ( n ) , y ( n 1 ) , y ( n 2 ) , y ( n 3 ) , y ( n 4 ) , y ( n 5 ) ] T and initial conditions c i ( 0 ) = l ( i ) ones ( N , 1 ) R N , l = r e p m a t ( [ 0 : 0.01 : 2 ] , 6 ) R M and w i ( 0 ) = 0.0001 r a n d ( ) .
Example 1Example 2Example 3
Sampling Time ( T s ) 1 [ s ] 1 [ s ] 1 [ s ]
γ 0.0005 0.0005 0.0005
β 111
Number of Neurons (M)201201201
Number of Inputs (N)666
γ a 0.0015 0.0015 0.075
γ b 0.006 0.006 0.27
α a 0.1 0.1 0.1
α b 0.4 0.4 0.4
U L + 4 + 4 + 4
L L 4 4 4
Table 2. Error metrics for new and old NN controllers. Bold values indicate metrics where the proposed method outperforms the prior method.
Table 2. Error metrics for new and old NN controllers. Bold values indicate metrics where the proposed method outperforms the prior method.
Example 1Example 2Example 3
ControllerMSERMSEMAPEMSERMSEMAPEMSERMSEMAPE
NN O l d 0.03390.184110.75680.18610.431429.48550.18610.431429.4855
NN N e w 0.03390.184110.75680.12300.350725.59000.12650.355625.8044
Table 3. Percentage increase/decrease in MSE, RMSE, and MAPE using new NN controller. Bold values indicate metrics where the proposed method outperforms the prior method.
Table 3. Percentage increase/decrease in MSE, RMSE, and MAPE using new NN controller. Bold values indicate metrics where the proposed method outperforms the prior method.
Example 1 Improve (%)Example 2 Improve (%)Example 3 Improve (%)
MSERMSEMAPEMSERMSEMAPEMSERMSEMAPE
00033.921418.711313.211532.055517.571612.4847
Table 4. Fall time for new and old NN controllers. Bold values indicate metrics where the proposed method outperforms the prior method.
Table 4. Fall time for new and old NN controllers. Bold values indicate metrics where the proposed method outperforms the prior method.
Example 1Example 2Example 3
ControllerFall Time (min)Fall Time (min)Fall Time (min)
NN O l d 2.836610.336210.3362
NN N e w 2.83668.02398.3560
Table 5. Increase/decrease in fall time using new NN controller. Bold values indicate metrics where the proposed method outperforms the prior method.
Table 5. Increase/decrease in fall time using new NN controller. Bold values indicate metrics where the proposed method outperforms the prior method.
Example 1Example 2Example 3
Improve (%)Improve (s)Improve (%)Improve (min)Improve (%)Improve (min)
0022.37062.312319.15831.9802
Table 6. Detailed design parameters of the RBF-NN used in the in vitro experiment.
Table 6. Detailed design parameters of the RBF-NN used in the in vitro experiment.
In Vitro Experiment
Sampling Time ( T s ) 300 [ s ]
γ 0.00009
β 1
Number of Neurons (M)101
Number of Inputs (N)6
w i ( 0 ) 0.00001 r a n d ( )
c i ( 0 ) l ( i ) ones ( N , 1 ) R N , l = r e p m a t ( [ 5 : 0.1 : 5 ] , 6 ) R M
z ( n ) for ML Controller 1 50 × [ r ( n ) , y ( n 1 ) , r ( n 1 ) , y ( n 2 ) , r ( n 2 ) , y ( n 3 ) ] T
γ a 0.00009
γ b 0.00009
α a 0.4
α b 0.4
U L + 0.00095
L L 0.00095
Table 7. Quantitative analysis for in vitro experiments. Bold values indicate metrics where the proposed method outperforms the prior method.
Table 7. Quantitative analysis for in vitro experiments. Bold values indicate metrics where the proposed method outperforms the prior method.
ControllernMSEnMSE
Improve (%)
nRMSEnRMSE
Improve (%)
nMAPEnMAPE
Improve (%)
Fall Time
(min)
Fall Time
Improve (%)
Fall Time
Improve (min)
PID 1.00541.002781.020218.0971
NN N e w 0.570343.27360.755224.683152.103335.691012.388631.54345.7084
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

Marquez, G.; Jafari, M.; Kesapragada, M.; Zhu, K.; Baniya, P.; Sun, Y.-H.; Hsieh, H.-C.; Hernandez, C.O.; Teodorescu, M.; Rolandi, M.; et al. Controlling Cell Migratory Patterns Under an Electric Field Regulated by a Neural Network-Based Feedback Controller. Bioengineering 2025, 12, 678. https://doi.org/10.3390/bioengineering12070678

AMA Style

Marquez G, Jafari M, Kesapragada M, Zhu K, Baniya P, Sun Y-H, Hsieh H-C, Hernandez CO, Teodorescu M, Rolandi M, et al. Controlling Cell Migratory Patterns Under an Electric Field Regulated by a Neural Network-Based Feedback Controller. Bioengineering. 2025; 12(7):678. https://doi.org/10.3390/bioengineering12070678

Chicago/Turabian Style

Marquez, Giovanny, Mohammad Jafari, Manasa Kesapragada, Kan Zhu, Prabhat Baniya, Yao-Hui Sun, Hao-Chieh Hsieh, Cristian O. Hernandez, Mircea Teodorescu, Marco Rolandi, and et al. 2025. "Controlling Cell Migratory Patterns Under an Electric Field Regulated by a Neural Network-Based Feedback Controller" Bioengineering 12, no. 7: 678. https://doi.org/10.3390/bioengineering12070678

APA Style

Marquez, G., Jafari, M., Kesapragada, M., Zhu, K., Baniya, P., Sun, Y.-H., Hsieh, H.-C., Hernandez, C. O., Teodorescu, M., Rolandi, M., Zhao, M., & Gomez, M. (2025). Controlling Cell Migratory Patterns Under an Electric Field Regulated by a Neural Network-Based Feedback Controller. Bioengineering, 12(7), 678. https://doi.org/10.3390/bioengineering12070678

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