Efficient Optimization of a Permanent Magnet Array for a Stable 2D Trap
Ann-Sophia Müller, Moonkwang Jeong, Jiyuan Tian, Meng Zhang, Tian Qiu
TL;DR
The paper tackles the problem of stably confining a millirobot in a 2D plane using a permanent-magnet array positioned on one side at distances relevant to biomedical contexts. It introduces a GPU-accelerated, first-order optimization framework based on the Adam algorithm to design magnet angles that produce a target in-plane force field, without resorting to neural networks or second-order Hessians. The approach achieves stable 2D trapping at a distance of 89 mm with a two-magnet setup and demonstrates rapid optimization for up to 100 magnets, along with experimental validation showing precise millirobot trajectory control. This work provides a scalable, efficient pathway for designing permanent-magnet configurations to generate desired force-vector fields for wireless millirobot manipulation, with potential extensions to more complex fields and trajectories.
Abstract
Untethered magnetic manipulation of biomedical millirobots has a high potential for minimally invasive surgical applications. However, it is still challenging to exert high actuation forces on the small robots over a large distance. Permanent magnets offer stronger magnetic torques and forces than electromagnetic coils, however, feedback control is more difficult. As proven by Earnshaw's theorem, it is not possible to achieve a stable magnetic trap in 3D by static permanent magnets. Here, we report a stable 2D magnetic force trap by an array of permanent magnets to control a millirobot. The trap is located in an open space with a tunable distance to the magnet array in the range of 20 - 120mm, which is relevant to human anatomical scales. The design is achieved by a novel GPU-accelerated optimization algorithm that uses mean squared error (MSE) and Adam optimizer to efficiently compute the optimal angles for any number of magnets in the array. The algorithm is verified using numerical simulation and physical experiments with an array of two magnets. A millirobot is successfully trapped and controlled to follow a complex trajectory. The algorithm demonstrates high scalability by optimizing the angles for 100 magnets in under three seconds. Moreover, the optimization workflow can be adapted to optimize a permanent magnet array to achieve the desired force vector fields.
