EndoControlMag: Magnetic Endoscopic Control Frameworks
- EndoControlMag is a family of control-centric endoscopic platforms that integrate magnetic actuation, state estimation, and optimization tailored for diverse applications.
- Key implementations include FEA-informed capsule pitch regulation, NMPC with EKF fusion, and Zernike-polynomial magnetic field modeling, demonstrating measurable performance gains over traditional methods.
- The systems robustly address sensing limitations and safety constraints by incorporating observer designs and constrained optimization, paving the way for reliable clinical interventions.
Searching arXiv for papers mentioning EndoControlMag and closely related magnetic capsule/endoscopic control systems. EndoControlMag is a recurrent designation in the recent literature for integrated endoscopic control frameworks that combine magnetic actuation, estimation, and optimization; depending on the source, it denotes systems for ingestible capsule pitch regulation, fluoroscopy-guided untethered robot manipulation, soft continuum robot steering, trajectory optimization with external permanent magnets, endoscopic laser scanning, and vascular motion magnification (Wang et al., 11 Feb 2026, Chen et al., 17 Feb 2026, Wu et al., 2024, Isitman et al., 2024, Wanga et al., 21 Jul 2025). This suggests that the term is best understood as a family of control-oriented endoscopic platforms rather than a single standardized architecture.
1. Terminological scope and recurring usage
In the cited works, EndoControlMag appears in at least seven distinct technical contexts, spanning both mechatronic systems and image-domain processing. Most uses concern magnetic manipulation of untethered or soft medical robots, but one use concerns training-free vascular motion magnification in surgical video, and an earlier use concerns a magnetically actuated endoscopic laser scanner (Wanga et al., 21 Jul 2025, Acemoglu et al., 2017).
| Variant | Domain | Core formulation |
|---|---|---|
| Pitch-control capsule robot | Gastric capsule actuation | Four-coil array, FEA lookup, nonlinear MPC, EKF (Wang et al., 11 Feb 2026) |
| Fluoroscopy-guided untethered robot control | X-ray-constrained magnetic manipulation | Zernike field model, NMPC, Kalman filter (Chen et al., 17 Feb 2026) |
| Soft continuum robot steering | Endovascular MSCR deflection | Jacobian-based QSC with LESO (Wu et al., 2024) |
| Reciprocally rotating capsule locomotion | Tubular WCE trajectory following | PD, adaptive control, MPC, RMMPC (Xu et al., 2021) |
| EPM–IPM trajectory optimization | GI-motivated magnetic manipulation | Constrained iLQR with augmented Lagrangian (Isitman et al., 2024) |
| Vascular motion magnification | Endoscopic video analysis | PRR and HTM with RAFT and MFT (Wanga et al., 21 Jul 2025) |
| Magnetically actuated laser scanner | Endoscopic microsurgery | Four coils, cantilevered fiber, feedforward scanning (Acemoglu et al., 2017) |
A common misconception is that EndoControlMag denotes a single benchmark platform or a single hardware stack. The literature does not support that interpretation. Instead, the name is reused for multiple architectures whose common denominator is control-centric endoscopic intervention, frequently with magnetic actuation, model-based prediction, and explicit handling of sensing limitations.
2. FEA-informed capsule pitch regulation
One prominent EndoControlMag instance is the integrated mechatronic and control system for pitch control of a magnetically actuated capsule robot in the gastrointestinal tract (Wang et al., 11 Feb 2026). Its electromagnetic architecture uses four identical coil-core assemblies arranged around a square workspace of side . Each coil has turns of copper wire on a bobbin with ID, OD, and axial length, plus a soft-iron conical pole piece with base diameter , tip diameter , and height . Two actuation modes are used in practice: diagonal actuation for pitch torque and vertical “Helmholtz-like” actuation for reinitializing to upright.
The magnetic field is characterized through a 3D FEM model in ANSYS Maxwell. In the coil region, the governing magnetostatic equations are
or equivalently
0
Per-ampere magnetic forces 1 and torques 2 on each embedded permanent magnet are computed at discrete pitch angles 3, and the lookup table is stored as
4
The capsule is modeled as a rigid cylinder of mass 5, rolling without slip about a single contact point on a compliant stomach phantom with Shore 6. Two coaxial grade N52 Neodymium magnets are embedded symmetrically. The total magnetic torque about the contact is
7
and the rigid-body pitch dynamics are
8
The NI-9505 current driver is modeled as a first-order system,
9
Control is formulated as constrained nonlinear MPC on the discrete-time state 0, where 1. The finite-horizon QP penalizes pitch tracking error, angular velocity, current magnitude, and input increments while enforcing 2 and slew-rate limits. State estimation uses an EKF with state 3, fusing gyroscope, accelerometer, and camera measurements. The gyroscope model is 4, the accelerometer model is
5
and the camera provides 6 at 7. The fused 8 feeds the MPC at approximately 9–0.
Experimental validation on a 3D-printed silicone stomach-inspired surface considered 1 and 2 maneuvers. Settling time was defined as entry into and continued residence within 3 of 4. On-off control required more than 5 and showed large oscillations. MPC at 6 vision achieved approximately 7 settling with minimal oscillation. MPC with EKF under 8 vision achieved approximately 9 settling with stable convergence, whereas MPC with 0 vision alone was unstable. Overall, MPC reduced settling time by 1–2 relative to on-off control. These results establish FEA-informed actuation mapping, nonlinear MPC, and multisensory fusion as a control stack for pitch regulation, controlled docking, and future multi-degree-of-freedom locomotion.
3. Fluoroscopy-constrained magnetic manipulation under low-rate X-ray feedback
A second 2026 EndoControlMag formulation targets fluoroscopy-guided magnetic manipulation under low-rate, noisy feedback (Chen et al., 17 Feb 2026). Its hardware comprises four symmetrically arranged stacks of three concentric coils mounted on the lateral faces of a cubic workspace of edge length 3. Each stack contains small, medium, and large coils, each independently driven up to 4. Two untethered cylindrical robots are considered: a 5 magnet-only agent with net dipole moment 6, and a 7 drug-delivery capsule with a 8 fluid reservoir and 9.
Its defining feature is an analytically differentiable magnetic field model based on truncated Zernike polynomial expansions rather than large lookup tables. The scalar potential on a scaled disk is written as
0
with 1, ensuring 2. In practice,
3
Coefficients are identified by least-squares fitting to COMSOL simulations. Model order is selected by mean absolute error and 4; medium and large coils use 5, the small coil uses 6, yielding errors below 7 over most of the domain and 8.
The planar robot state is
9
with dynamics
0
where
1
Discretization uses 2, and the NMPC horizon is 3. Constraints include current bounds 4, smooth actuation via 5, and workspace safety 6. At each 7 step, CasADi/IPOPT solves the optimization.
State estimation employs a discrete-time Kalman filter that fuses model predictions with degraded fluoroscopic measurements 8, where the measurements are downsampled to 9 and corrupted by zero-mean Gaussian noise with 0. This arrangement is intended to mimic clinical C-arm feedback.
Five experiments quantify performance. Along an S-shaped trajectory in a 1 region, RMS prediction error between NMPC-predicted and actual pose was 2 and 3. Under pure optical tracking downsampled from 4 to 5, the method maintained submillimetric accuracy below 6 RMS when feedback was noise-free, outperforming PID and two-layer MPC baselines. With Gaussian noise up to 7 at 8, only the Kalman-augmented NMPC remained robust, with errors increasing by less than 9, whereas baselines degraded by 0–1. Under combined 2 and 3 feedback, RMS position error was 4, while all baselines exceeded 5. In the spine phantom drug-delivery task, RMS position error was 6, orientation error was 7, no boundary violations occurred, and all safety constraints were upheld. The architecture is therefore explicitly tailored to the clinically important regime in which control bandwidth exceeds imaging bandwidth.
4. Continuum steering and tubular capsule locomotion
EndoControlMag also designates a compact closed-loop magnetic steering system for medical soft continuum robots (Wu et al., 2024). The actuation hardware is a single rotatable cylindrical NdFeB permanent magnet with 8, 9, and 0, mounted on a robot arm. The robot is a hard-magnetic elastica of length 1, radius 2, Young’s modulus 3, and magnetization magnitude 4. A vision-based sensor measures distal tip rotation 5 at 6.
The control formulation begins from the boundary-value problem
7
leading to the tip-angle map 8 and differential kinematics
9
The scalar Jacobian admits the separated-inputs form
00
To avoid singularities, the controller uses a damped Jacobian 01 with threshold 02, and it enforces 03. The quasi-static control scheme augments the Jacobian inversion with a Linear Extended State Observer,
04
and the compensated feedback law
05
Experimentally, for a 06 step, PD control produced approximately 07 overshoot, 08 settling time, and 09 steady-state error; QSC achieved overshoot below 10, 11 settling time, and 12 error. Under 13, 14 sinusoidal tracking, PD RMSE was 15 and QSC RMSE was 16. With external wind disturbance, PD steady-state error was 17 and QSC error was 18.
A separate usage addresses reciprocally rotating wireless capsule endoscopy in tubular environments (Xu et al., 2021). The state is 19, with translational dynamics
20
The environment term incorporates velocity-dependent friction
21
and a peristalsis multiplier 22 over MMC phases. Four controllers are developed: PD, adaptive control, MPC, and robust multi-stage MPC. In simulation on a 23 small-intestine-shaped spline, mean position tracking error over five trials under four environment settings was 24 for PD, 25 for adaptive control, 26 for MPC, and 27 for RMMPC. In phantom and ex-vivo pig colon experiments at 28, all four methods kept position error below 29 in straight and slope tubes, but in curved phantoms and pig colon MPC and RMMPC achieved better position accuracy of approximately 30–31 while maintaining 32. In ex-vivo colon, RMMPC achieved 33 position error and 34 orientation error.
Taken together, these two lines of work show two different EndoControlMag control philosophies: quasi-static Jacobian inversion with disturbance observation for continuum deflection, and robust predictive control for lumen-scale capsule trajectory following under uncertain peristalsis.
5. Constrained trajectory optimization with external permanent magnets
Another EndoControlMag formulation is a trajectory planning and control framework that couples detailed dipole dynamics with constrained iterative LQR for magnetic manipulation motivated by capsule endoscopy (Isitman et al., 2024). Both the external permanent magnet (EPM) and internal permanent magnet (IPM) are modeled as point dipoles with moments 35 and 36. For relative position 37, the magnetic field is
38
and the force and torque are
39
The discrete-time state is
40
and the input is the 41-joint robot velocity vector 42. The stage cost includes quadratic tracking terms and a manipulability penalty 43, while inequalities enforce joint limits, joint-velocity limits, IPM velocity caps, an EPM height bound, and obstacle avoidance through
44
Optimization is performed through an augmented Lagrangian and backward-forward iLQR updates about a nominal trajectory.
The experimental setup uses a 45 water-filled tank, a NdFeB cylinder of diameter 46 and height 47 with 48 mounted on a 7-DoF Franka Panda, and a 49 cube IPM with 50 inside a 51D-printed capsule of mass 52. Sensing uses two orthogonal Intel RealSense D435 cameras at 53, YOLO detection, stereo triangulation, and an EKF for 54. In simulation, open-loop runs drifted after 55, whereas closed-loop iLQR kept deviations below 56. In 13 real-world repetitions with a virtual obstacle, mean final positioning error was 57 with standard deviation 58, mean final velocity was approximately 59 per axis, and all constraints were satisfied. Within the EndoControlMag lineage, this is the clearest formulation in which robot manipulability, anatomical avoidance, and magnetic dynamics are co-optimized in a single trajectory-generation layer.
6. Imaging and laser-scanning interpretations
The name EndoControlMag is not restricted to robot motion control. In endoscopic video analysis, it denotes a training-free, Lagrangian-based vascular motion magnification framework with mask-conditioned magnification (Wanga et al., 21 Jul 2025). Given a video sequence 60, dense optical flow 61 is estimated using RAFT, and magnified frames are synthesized by
62
To limit drift, Periodic Reference Resetting partitions the video into overlapping clips of length 63. Hierarchical Tissue-aware Magnification constructs an inner vessel-core mask and an outer transition mask, then applies either motion-based softening,
64
or distance-based decay,
65
The system uses RAFT, MFT, 66, and the EndoVMM24 dataset of 24 clips across LC, RARP, LRYGB, and LDG. On the Easy Set, it achieves SSIM approximately 67, PSNR approximately 68, MUSIQ approximately 69, and reduces 70 by about 71 and 72 by about 73 relative to FlowMag. On the Hard Set, SSIM gains are 74–75 and PSNR gains are 76–77. A surgeon study reported 78 on the Easy Set and 79 or 80 on the Hard Set, depending on softening mode. The method is limited by off-the-shelf RAFT and MFT, can lose lock under at least 81 vessel coverage for more than 82 or motion blur above 83, and runs at approximately 84 on an RTX A6000.
An earlier, physically distinct EndoControlMag is the magnetically actuated laser scanner described by Acemoglu et al. (Acemoglu et al., 2017). It uses four identical iron-core electromagnetic coils with 85 turns arranged as orthogonal coil pairs on a 86-diameter cylindrical base, together with an axially magnetized ring magnet mounted on a cantilevered multimode fiber. The actuation principle relies on the dipole torque
87
while force is neglected. For small deflections,
88
with working distance 89. The system achieves an approximately 90 laser-spot workspace under 91, a current-to-displacement slope of approximately 92 with 93, repeatability of 94, teleoperation accuracy of 95, and stable scanning up to 96. Its plant is approximated by
97
and the prototype uses pure feedforward control rather than spot-position feedback.
7. Cross-cutting design patterns and open directions
Across these uses, EndoControlMag consistently denotes systems in which a physically structured model is paired with an optimization or observer layer. The actuation model may be FEA-based lookup mapping (Wang et al., 11 Feb 2026), Zernike-polynomial field regression (Chen et al., 17 Feb 2026), dipole-field mechanics (Isitman et al., 2024), or Jacobian-based kinematics for a hard-magnetic elastica (Wu et al., 2024). The controller may be MPC, NMPC, RMMPC, constrained iLQR, or QSC with LESO; the estimator may be an EKF, a Kalman filter, or an extended-state observer. Even the video-domain formulation follows the same logic: explicit motion modeling, structured constraints on drift, and spatially varying gain modulation (Wanga et al., 21 Jul 2025).
This pattern suggests that EndoControlMag functions less as a single apparatus than as a control-design motif for endoscopic tasks under sensing and actuation constraints. Sparse or degraded observations recur throughout: 98 camera updates for capsule pitch control, 99 noisy fluoroscopic feedback, ex-vivo uncertainty from peristalsis, or optical-flow drift in surgical video (Wang et al., 11 Feb 2026, Chen et al., 17 Feb 2026, Xu et al., 2021, Wanga et al., 21 Jul 2025). In each case, the principal technical response is to incorporate the sensing limitation directly into the control or estimation architecture rather than treat it as an afterthought.
Future directions reported in the literature follow the same trajectory: scaling magnetic workspaces, extending Zernike models to full 3D volumetric fields, moving toward six-DOF NMPC, integrating roll, yaw, and translation with pitch regulation, enriching dynamic models with compliant tissue contacts or cerebrospinal-fluid flow, adding vision-based spot-position feedback to laser scanning, and pursuing clinical or in-vivo validation (Wang et al., 11 Feb 2026, Chen et al., 17 Feb 2026, Acemoglu et al., 2017). A plausible implication is that the different EndoControlMag instantiations, despite their heterogeneity, collectively map a research program centered on constrained endoscopic autonomy under limited observability.