Introduction

Untethered miniature robots actuated by external fields can achieve smaller sizes compared to those equipped with onboard components, enabling them to access narrow regions within the human body for minimally invasive medical tasks. At present, researchers have proposed various external field-actuated strategies, including magnetic fields1,2, optical fields3,4, electric fields5,6, acoustic fields7,8, etc. Among them, magnetic fields are safe for biological tissues, exhibit good tissue penetration, and enable real-time steering control9. Therefore, magnetic field actuation has gradually become a great strategy for externally actuated miniature robots in biomedical applications10,11.

In microscale environments, reciprocal swimmers like scallops cannot generate effective propulsion due to the constraints imposed by low Reynolds number dynamics12. Inspired by nature, Purcell demonstrated that prokaryotic organisms, such as E. coli13, can achieve effective propulsion in a Reynolds number environment by rotating their helical flagella. In14, three effective magnetic propulsion mechanisms operating in low Reynolds number environments, including magnetic field gradient pulling, helical swimming, and traveling wave swimming, are systematically evaluated. Among these, magnetic miniature robots with helical swimming demonstrated the highest propulsion efficiency and are identified as the most suitable choice for in vivo applications. Moreover, magnetic helical miniature robots offer advantages like low magnetic field intensity requirements and high directional controllability, making them a prominent branch in the field of magnetic miniature robots.

At present, various control strategies, including traditional control methods15,16,17 and learning-based methods18,19,20,21, have been applied to magnetic helical miniature robots. Also, novel structures22,23 and fabrication techniques24,25 for magnetic helical miniature robots have been continuously proposed. In terms of applications, magnetic helical miniature robots have been utilized as carriers in biomedical scenarios such as drug delivery26,27, cell delivery28,29, embolization therapy30,31, vascular clearance32,33, etc. However, current research still faces several limitations. For example, while magnetic helical miniature robots can maintain good directional controllability in uniform open spaces, their helical swimming is significantly disturbed near boundaries due to variations in shear friction forces. Furthermore, the stable swimming ability of magnetic helical miniature robots is restricted to liquid environments, as they are unable to achieve reliable motion in non-liquid scenarios. Therefore, if magnetic helical miniature robots can achieve multimodal locomotion by combining highly controllable directional swimming with precise surface walking capabilities, their functionality and range of potential applications could be greatly expanded.

Existing multimodal magnetic miniature robots often rely on soft material to achieve adaptive locomotion34,35,36,37,38,39,40,41,42. In34, Hu et al. proposed a soft-bodied magnetic film robot capable of elastically responding to different magnetic field modes to achieve multimodal locomotion. Subsequently, this type of soft-bodied magnetic film robot has been further optimized35,36,37,38 and expanded for biomedical applications39. In ref. 42, Huang et al. combined soft magnetic films to propose a quadruped magnetic miniature robot capable of achieving multiple controllable locomotion modes under an external magnetic field. However, soft materials are often limited by their relatively low fabrication precision and susceptibility to environmental factors, such as temperature and pH levels. Additionally, these soft multimodal robots lack precise directional controllability, which makes accurate navigation difficult to achieve. Therefore, designing a multimodal magnetic miniature robot whose locomotion mechanism does not rely on soft material can significantly enhance its environmental adaptability and navigation capabilities. In recent years, some bipedal magnetic miniature robots capable of surface walking have demonstrated excellent directional controllability43,44,45.

Inspired by previous research foundations, this work introduces a Multimodal Magnetic Miniature Robot (MMMR) that integrates helical swimming and bipedal walking, with its design and multimodal locomotion concept illustrated in Fig. 1. The MMMR has a radius of only 1 mm, which is smaller than most tubular structures in the human body, such as the urethra, intestine, and esophagus. Additionally, the MMMR is designed with an internal cavity, allowing for magnet embedding and drug loading. Consequently, the MMMR has the potential for adaptive navigation within internal organs, such as the stomach and fluid-filled organs like the bladder. Helical swimming is actuated by a rotating magnetic field, while bipedal walking is actuated by a fixed or variable oscillating magnetic field. MMMR expands the range of feasible locomotion scenarios beyond a single mode, enabling it to swim in liquids of varying depths, walk on submerged liquids or liquid-free surfaces, all with high directional controllability. Additionally, the structure-based locomotion mechanism ensures that MMMR is independent of material properties, allowing for flexible material selection and scalability in size.

Fig. 1: Design and multimodal locomotion schematic of the Multimodal Magnetic Miniature Robot (MMMR).
figure 1

The magnetization direction is perpendicular to the biped feet. A Multimodal locomotion in the stomach and bladder. B Liquid-in helical swimming under a rotating magnetic field. C Liquid-in bipedal walking under a variable oscillating magnetic field. D Liquid-free bipedal walking under a fixed oscillating magnetic field.

The proposed MMMR is comprehensively investigated. First, for the helical swimming, its locomotion mechanism is analyzed, and structural parameters are designed based on simulations. Then, the locomotion performance is experimentally evaluated, and a closed-loop automated control strategy is implemented to maintain height control during swimming in liquids and to provide directional control during swimming near liquid surfaces. Next, for the bipedal walking, force and locomotion mechanisms are analyzed, and adaptive magnetic field strategies are proposed for two walking scenarios: on liquid-in and liquid-free surfaces. Directional controllability is validated for both helical swimming and bipedal walking, with additional demonstrations showing the ability of MMMR to walk on slopes up to 30 and maintain stable locomotion performance regardless of internal loading. Finally, multimodal locomotion validation is conducted in an artificial bladder.

Results

Locomotion mechanism

In a spatially uniform magnetic field B, the magnetic torque acting on a magnet can be expressed as T = V(M × B), where V is the volume of the magnet and M is its magnetization. With the effect of the magnetic torque, the magnet aligns with the direction of the magnetic field. A magnet embedded in the MMMR induces a radial magnetization direction, which is perpendicular to the bipedal plane. As shown in Fig. 2A, when a rotating magnetic field (i.e., a uniform magnetic field rotating over time) is applied, the MMMR rotates about its axis due to the magnetic torque and reaches a torque equilibrium. Due to the helical structure of the MMMR, its rotation in liquid continuously pushes the liquid at the solid-liquid interface axially, enabling helical swimming in the liquid. In a low-Reynolds-number fluid environment, where inertial forces are nearly negligible12, helical swimming can be described using a simple linear propulsion matrix46:

$$\left[\begin{array}{l}F\\ T\end{array}\right]=\left[\begin{array}{ll}a&b\\ c&d\end{array}\right]\left[\begin{array}{l}v\\ \omega \end{array}\right]$$
(1)

where the propulsion coefficients a, b, c and d in the matrix represent drag factors related to the geometric parameters of the helical structure. Since the MMMR is solely subjected to magnetic torque, its helical swimming satisfies:

$$\left\{\begin{array}{l}F=av+b\omega =0\\ T=cv+d\omega =VMB\sin \varphi \end{array}\right.$$
(2)

where φ is the angle by which the magnetization of the MMMR lags behind the rotating magnetic field (see Fig. 2A). From Equation (2), the propulsion speed v of helical swimming is linearly correlated with the rotational speed ω. Moreover, as the rotational speed increases, the lag angle φ also increases, reaching a maximum of 90 degrees, where the magnetic torque is at its peak. Beyond this point, further increases in rotational speed result in insufficient magnetic torque to overcome the drag torque, causing the MMMR to lose synchrony in its helical swimming. The frequency at which the magnetic torque reaches its maximum is referred to as the step-out frequency47.

Fig. 2: Locomotion mechanism of MMMR.
figure 2

A Helical swimming under a rotating magnetic field. φ is the angle by which the magnetization of the MMMR lags behind rotating magnetic field. B Static analysis in bipedal walking mode. Fv represents the volumetric forces acting on the MMMR like gravitational and buoyant forces, T is the magnetic torque. C Bipedal walking gait under an oscillating magnetic field.

The bipedal walking of the MMMR is achieved under an oscillating magnetic field (i.e., a uniform magnetic field oscillating over time). A static analysis is first conducted, as shown in Fig. 2B, where the two feet of the MMMR are supported by the ground. By controlling the angle of the magnetic field, a pitch angle is generated between the magnetization direction of the MMMR and the ground. Assuming the magnetic field oscillates counterclockwise, the torque equations of the MMMR can be expressed as follows:

$$\left\{\begin{array}{l}{F}_{{{\rm{sr}}}}+{F}_{{{\rm{sl}}}}={F}_{v}\\ {F}_{{{\rm{sl}}}}r-{F}_{{{\rm{sr}}}}r=T\sin p\end{array}\right.$$
(3)

where Fv represents the volumetric forces acting on the MMMR, like gravitational and buoyant forces, T is the magnetic torque and p is the pitch angle of the oscillating magnetic field. The distance between the two feet is 2r, where Fsr and Fsl are the support forces applied to the right and left feet, respectively. Based on these equations, the support forces for the two feet can be solved as:

$$\left\{\begin{array}{l}{F}_{{{\rm{sr}}}}=\frac{{F}_{v}}{2}-\frac{T\sin p}{2r}\\ {F}_{{{\rm{sl}}}}=\frac{{F}_{v}}{2}+\frac{T\sin p}{2r}\end{array}\right.$$
(4)

When the external magnetic field oscillates counterclockwise, the support force on the right foot decreases as the magnetic torque increases, while the support force on the left foot correspondingly increases. Once the support force on the right foot reaches zero, the MMMR pivots on the left foot and steps forward with the right foot, as shown in Fig. 2C. The oscillating magnetic field then swings back clockwise, reversing the force distribution between the left and right feet. At this stage, the MMMR pivots on the right foot and steps forward with the left foot. Thus, under an oscillating magnetic field, the MMMR alternates between the left and right feet as pivot points, enabling bipedal walking. From Eq. (4), it can be seen that the key factor causing the difference in supporting forces between the left and right feet is the pitch angle. The larger the pitch angle, the greater the difference in supporting forces. However, the pitch angle also causes the rotating foot to lift off the ground. During liquid-free walking, the rotating foot quickly lands on the ground, serving as the supporting foot for the next step, as shown in Fig. 1D. However, during liquid-in walking, due to the effects of liquid resistance and buoyancy, the rotating foot cannot land quickly. If the supporting feet cannot alternate, the MMMR will fail to achieve effective walking. To address this issue, a variable pitch oscillating magnetic field is employed to achieve liquid-in walking, as shown in Fig. 1C. In this case, the MMMR leans its body forward during steps forward, forcing the rotating foot to land in time. After landing, the foot returns to a tilted-back posture to proceed with the next step.

Structural parameters design based on simulation

The helical swimming behavior of the MMMR in a liquid is primarily determined by its helical structural parameters. For a typical spring-like magnetic helix, previous studies have derived the propulsion coefficients a, b, c, d in Eq. (1) using resistive force theory (RFT) models46. Various resistance coefficients, such as those proposed by Gray48, Cox49, and Lighthill50, are commonly used in RFT. However, the helical structure of the MMMR significantly deviates from that of typical magnetic helices, making existing RFT models unsuitable for accurately describing its swimming behavior. Consequently, numerical simulations are employed to analyze the helical swimming dynamics of the MMMR.

A previous study51 proposed a dynamic transient simulation model to investigate the helical swimming of magnetic helices. However, dynamic simulations require substantial computational resources and are prone to convergence issues caused by deteriorating mesh quality during the simulation. For instance, in51, a single simulation could take up to 15 hours, resulting in extremely low computational efficiency. In this work, a numerical simulation method based on the frozen rotor and frozen translating object is developed. This method assumes steady-state flow, eliminating the need for the dynamic rotation and translation of the studied object. Instead, the object is fixed while rotational and translational states are assigned to the surrounding fluid, effectively simulating the relative motion between the object and the fluid. As a result, the helical swimming of the MMMR can be analyzed using steady-state simulations, reducing the computation time to just a few minutes.

The workflow of the numerical simulation method for MMMR helical swimming is illustrated in Fig. 3A. In this method, the frozen translating object assigns a specific flow velocity v to the fluid surrounding the MMMR (see Fig. 3B), while the frozen rotator assigns a specific rotational frequency f to the fluid (see Fig. 3C). Before performing formal simulations, a convergence analysis is conducted to evaluate potential boundary effects and mesh density, as detailed in Supplementary Appendix A. After calculation, the total hydrodynamic force and torque acting on the MMMR under these two conditions can be obtained, denoted as FT, TT, FR and TR. Subsequently, the corresponding propulsion coefficients can be determined based on Equation (1) as a = FT/v, b = TT/v, c = FR/(2πf) and d = TR/(2πf). Then, a simulation is performed using a typical spring-like magnetic helix, and the results are compared with three RFT models48,49,50, as shown in Fig. S1. The comparative analysis, elaborated in Supplementary Appendix B, validates the reliability of the proposed simulation method.

Fig. 3: Numerical simulation for MMMR helical swimming.
figure 3

A Flowchart of the proposed numerical simulation method, where a, b, c, and d are parameters of the linear propulsion matrix (1). B Fluid flow induced by the frozen translating object when v = 5mm/s. C Rotational flow induced by the frozen rotator when f = 10Hz.

In the helical swimming of MMMR, the swimming velocity at the same rotational frequency can characterize its propulsion efficiency. By obtaining the propulsion coefficient through simulations, the relationship between rotational frequency and swimming velocity can be determined using Equation (2). First, an initial simulation object is defined, as shown in Fig. 4A: a helical body of MMMR with a radius R = 1 mm, length H = 3 mm, and inner cylinder radius Rc = 0.7 mm. These parameters are predetermined primarily based on the application scenario and the size of the embedded magnet. Then, as shown in Fig. 4A, simulations are conducted for four different helical thicknesses h. The results indicate that as h increases, the propulsion efficiency of the MMMR helical body gradually decreases. Structural analysis reveals that an increase in h reduces the volume of fluid displaced during swimming, thereby lowering propulsion efficiency. Comparatively, when h/R = 0.3, there is no significant decrease in propulsion efficiency. However, further decreasing h/R results in excessively thin helices that are prone to breakage during fabrication. Therefore, the final parameter is set to h/R = 0.3. Fig. 4B compares the simulation results for four different helix turn numbers n. Since the helix must maintain symmetry, the number of turns needs to be an integer multiple of 0.5. The simulation results show that an excessive number of helical turns significantly reduces propulsion efficiency. This occurs because the presence of the helical thickness h causes the volume of fluid displaced during swimming to decrease as the number of turns increases. Additionally, the difference in propulsion efficiency between n = 0.5 and n = 1 is minimal. Ultimately, the number of turns is set to n = 1, as too few turns can lead to instability during low-frequency rotations, making the helix more prone to wobbling. In Fig. 4C, an elliptical tip is added to the MMMR helical body, primarily to lower the overall center of gravity (CG) of the helix and enhance its stability during bipedal walking. As shown in Fig. 2, the MMMR requires a pitch angle during bipedal walking. If the CG is too high, it becomes prone to tipping over. Simulations compared four different elliptical tip lengths b, and the results indicate that gradually increasing the length of the elliptical tip has no significant impact on the propulsion efficiency of helical swimming. Therefore, b/R = 3 is chosen, which lowers the CG relative to the length H by 21.3% without significantly reducing propulsion efficiency. In Fig. 4D, simulations are performed after incorporating bipedal feet into the helical body. The results indicate that the addition of bipedal feet has no significant effect on the propulsion efficiency. Additionally, the propulsion efficiency is assessed in fluids with different viscosities, and the simulation results demonstrated consistency across all cases. This is consistent with the predictions of RFT theory, which posits that the propulsion efficiency of helical swimming is determined solely by the structural design and remains unaffected by fluid viscosity47.

Fig. 4: Structural parameters design of MMMR based on simulations.
figure 4

A Effect of helical thickness h on propulsion efficiency in simulation. B Effect of helix turn numbers n on propulsion efficiency in simulation. C Effect of elliptical tip length b on propulsion efficiency in simulation. D Effect of bipedal feet and liquid viscosity on propulsion efficiency in simulation.

Helical swimming evaluation

As shown in Fig. S4, the MMMR is fabricated after optimizing its parameters through simulations, with an overall size of ϕ 2 mm × 3.2 mm. The helical swimming of the MMMR is then evaluated experimentally. The magnetic actuation system employed a 3-axis Helmholtz coil setup, capable of generating highly uniform magnetic fields within the central region. The position and orientation of the MMMR are tracked using a top-view camera (xy-plane) and a side-view camera (xz-plane), as illustrated in Fig. S4C. To simulate a low Reynolds number environment, glycerin with a viscosity of approximately 1000 cP is used as the swimming medium.

To evaluate the propulsion performance under conditions dominated by hydrodynamic forces rather than gravitational effects, the swimming velocity of the MMMR in the liquid xy-plane is analyzed. As shown in Fig. 5A, the experimental results reveal a highly linear relationship between the propulsion velocity of the MMMR and the magnetic field rotation frequency f. The linear trend observed in the experiments aligns closely with the simulation results and is further illustrated in Movie S1. However, a key difference between the experimental results and the simulation lies in the constraints imposed by the magnetic torque. In simulations, it is assumed that the applied rotational frequency can increase indefinitely without mechanical limitations. In practice, the rotational frequency of the MMMR is limited by the maximum magnetic torque the system can generate. According to Eq. (2), the step-out frequency is theoretically proportional to the strength of the applied magnetic field. This relationship is experimentally validated, as the results show that increasing the magnetic field strength extends the frequency range within which the MMMR maintains synchronous rotation.

Fig. 5: Helical swimming evaluation experiments of MMMR.
figure 5

A Helical swimming velocity of MMMR under different magnetic field strengths. B Schematic of closed-loop automatic control during helical swimming. C Trajectory captured by the side camera and pitch adjustment to maintain the desired helical swimming height when liquid-in swimming. D Trajectory captured by the top camera and yaw adjustment to maintain the desired helical swimming direction (x-axis) when near-surface swimming.

Since the MMMR rotates synchronously with the magnetic field, the helical swimming direction can be adjusted by changing the rotation axis of the magnetic field. As shown in Fig. 5B, the rotation axis of the magnetic field is described by the pitch and yaw angles. During liquid-in swimming, the MMMR continuously sinks in the z-direction due to gravity. To ensure stable swimming in the open liquid region, a closed-loop automatic control system based on Proportional-integral-derivative (PID) is introduced. In this strategy, the control variable is the pitch angle of the magnetic field, which utilizes a portion of the propulsion force to counteract the gravitational effect. Using gains Kp = 2 × 10−3, Ki = 5 × 10−4, and Kd = 2 × 10−3, the response settles within ± 5% in approximately 10s, with a peak overshoot of about 20% (see Fig. 5C and Movie S2). Tuning is performed in a simple manner: Kp is increased first for a fast approach to the setpoint, followed by a small Ki to remove steady-state error and a Kd term to damp oscillations. With PID control, the pitch converges and remains stable, enabling maintenance of a constant height; without PID, sinking to the bottom occurs.

During helical swimming in liquid, the direction is adjusted by controlling the yaw angle of the magnetic field. In shallow liquids, boundary effects cause the swimming direction to deviate from the commanded yaw. To address this, the same closed-loop strategy is applied to regulate the yaw angle during near-surface swimming using Kp = 2 × 10−3, Ki = 5 × 10−4, and Kd = 2 × 10−3. As shown in Fig. 5D, even when the MMMR comes into contact with the liquid surface, the PID controller adjusts the yaw angle, enabling the MMMR to recover its intended helical swimming direction along the x-axis. The response settles in roughly 7.5s with about 5% overshoot. In contrast, without PID control, the MMMR is significantly affected by boundary effects, leading to severe deviations from its intended trajectory. Similarly, Fig. S5 demonstrates that the system allows the yaw angle to converge, enabling the MMMR to restore its helical swimming along the y-axis. The near-surface helical swimming of the MMMR under closed-loop automation is further demonstrated in Movie S3.

Bipedal walking evaluation

In a liquid-free environment, as shown in Fig. 1D and 6A, the MMMR achieves effective locomotion by alternately supporting itself on one foot while rotating the other under a fixed pitch oscillating magnetic field. Fig. 6B illustrates the relationship between the walking velocity of the MMMR and the oscillation frequency at a pitch angle of 20 under various oscillation angles. The results reveal that walking velocity increases with larger oscillation angles at the same frequency, as greater oscillation angles enable the MMMR to take longer strides. Fig. 6C presents the variation in walking velocity with frequency at a fixed oscillation angle of 60 and three different pitch angles. The experimental findings show that, at the same frequency, walking velocity increases as the pitch angle rises from 10 to 20, but decreases when the pitch angle is further increased to 30. According to Eq. (4), a pitch angle that is too small results in insufficient differences in the supporting forces between the two legs, hindering the alternating motion required for walking. Conversely, an excessively large pitch angle causes the MMMR to tilt backward, reducing its stride length for the same oscillation angle. These results suggest that a pitch angle of 20 is optimal for achieving efficient locomotion. Furthermore, the walking velocity in a liquid-free environment is generally proportional to the oscillation frequency, as demonstrated in Movie S4.

Fig. 6: Liquid-free bipedal walking evaluation experiment of MMMR.
figure 6

A Liquid-free bipedal walking posture captured by side camera under a variable pitch oscillating magnetic field. B Effect of oscillation angles on walking velocity at a 20 pitch angle. C Effect of pitch angles on walking velocity at a 90 oscillation angle. D Comparison of walking velocity between fixed-pitch (Bow angle of 0) and variable-pitch oscillating magnetic fields (Bow angle of 40).

When walking in liquid, the behavior of the MMMR differs significantly from that in a liquid-free environment. Due to the combined effects of fluid friction and buoyancy, the MMMR is unable to smoothly alternate its legs as supporting limbs. Specifically, when the magnetic field alternates direction, the rotating leg fails to descend in time to become a supporting leg, causing the MMMR to rotate in place. This results in a very low walking velocity, as demonstrated in Supplementary Movie S5. As shown in Fig. 7B, increasing the oscillation frequency does not improve the walking velocity. On the contrary, as the oscillation angle of the magnetic field increases, the lifted leg rises higher with each step, making it even harder to descend and further reducing walking velocity. Similarly, as illustrated in Fig. 7C, increasing the magnetic field’s pitch angle causes the lifted leg to rise even higher, further hindering its ability to return to the ground and reducing walking velocity. Consequently, the walking velocity in a liquid environment is much lower than that in a liquid-free environment.

Fig. 7: Liquid-in bipedal walking evaluation experiment of MMMR.
figure 7

A Liquid-in bipedal walking posture captured by a side camera under a variable pitch oscillating magnetic field. B Effect of oscillation angles on walking velocity at a 20 pitch angle. C Effect of pitch angles on walking velocity at a 90 oscillation angle. D Comparison of walking velocity between fixed-pitch (Bow angle of 0) and variable-pitch (Bow angle of 40) oscillating magnetic fields.

To address this issue, a variable-pitch oscillating magnetic field is proposed. In previous walking evaluation experiments, the pitch angle of the magnetic field is kept constant. As shown in Fig. 1C and 7A, the variable-pitch oscillating magnetic field enables the MMMR to tilt its body forward while stepping, forcing its foot to quickly return to the surface. Before the next step, the pitch angle reverts to a backward tilt, allowing the MMMR to smoothly alternate its supporting foot. The range of pitch angle variation is defined as the bow angle. As shown in Fig. 7D, compared to a fixed pitch angle of 20 (bow = 0), the MMMR achieves nearly a fourfold increase in walking velocity at the bottom of a liquid when the bow angle is 40 (i.e., the pitch angle varies from −20 to 20). Movie S5 visually demonstrates the comparison between these two conditions. However, in a liquid-free environment, where buoyancy and fluid resistance are absent, the alternation of the two legs is extremely smooth. Applying a variable-pitch oscillating magnetic field in such an environment leads to excessive foot contact with the surface, which hinders walking, as shown in Fig. 6D. Therefore, in a liquid-free environment, the MMMR achieves better performance with a fixed-pitch oscillating magnetic field. In contrast, within a liquid environment, the MMMR achieves optimal walking performance with a variable-pitch oscillating magnetic field.

Multimodal locomotion demonstration

The helical swimming and bipedal walking of the MMMR demonstrate strong directional controllability. As shown in Fig. 8A, the MMMR performs liquid-in swimming, following an S-shaped path guided by the yaw angle of the rotating magnetic field. Similarly, as illustrated in Fig. 8B, the MMMR performs liquid-free walking, also following an S-shaped path under the control of the yaw angle of the oscillating magnetic field. Movie S6 presents the corresponding videos, providing an intuitive demonstration of the directional controllability of MMMR.

Fig. 8: Multimodal locomotion demonstration of MMMR in amphibious environments.
figure 8

A S-shaped helical swimming trajectory in liquid under rotating magnetic field control. B S-shaped biped walking trajectory under oscillating magnetic field control. C Liquid-free walking on slopes. D Liquid-in walking on slopes. E Multimodal navigation of MMMR within an artificial bladder.

The walking mode of the MMMR is also capable of adapting to environments with certain slopes. As shown in Fig. 8C, D, and Movie S7, the MMMR is capable of walking on slopes with a maximum steepness of up to 30, regardless of whether it is in liquid-free or liquid-in walking modes. However, as the slope angle increases beyond 30, the pitch angle of the MMMR becomes excessively close to the slope surface. This results in a loss of stability, as the MMMR body struggles to maintain its upright orientation, eventually causing it to overturn.

The impact of loading on the multimodal locomotion of the MMMR is also investigated. Propulsion in helical swimming is torque-driven and determined by geometry, so speed scales with rotational rate and is largely independent of internal fill at low Reynolds number. In bipedal walking under an oscillating field, a payload mainly increases the net volumetric force but does not change magnetic torque, foot spacing, or field programming; the differential torque term still unloads one foot to enable stepping, and our variable-pitch strategy secures timely foot landing in liquid. To further verify the minimal effect of loading to the multiple motion of MMMR, a comparative analysis is performed between two MMMRs: one with its internal space loaded with silica gel and the other without any loading. As shown in Fig. S6 and Movie S8, under identical conditions, their locomotion velocities in liquid-in swimming, liquid-free walking, and liquid-in walking remain nearly identical. The ability to maintain stable performance regardless of loading further confirms its potential for targeted drug delivery in complex environments.

The bladder is a vital organ in the human urinary system that functions as a reservoir for urine, temporarily storing it before excretion through the urethra. The multimodal swimming and walking capabilities of the MMMR enable it to navigate controllably within the bladder. As illustrated in Fig. 8E, a real-size semi-sectioned model of a male bladder demonstrates this process. The MMMR is designed to enter through the urethra, swim to the bottom of the bladder, and then walk to the target location. Afterward, the MMMR switches back to swimming mode to return to the urethra. Fig. 8E and Movie S9 validate the multimodal functionality of the MMMR within an artificial bladder. The MMMR demonstrates seamless transitions between motion modes and successfully completes the processes of targeted navigation and retrieval.

Discussion

This work proposes a novel Multimodal Magnetic Miniature Robot (MMMR) for adaptive navigation in amphibious environments, offering advantages such as high locomotion efficiency, low magnetic field intensity requirements, and precise directional controllability. Specifically, the MMMR demonstrates exceptional propulsion efficiency in its helical swimming mode14, while its bipedal walking mode achieves superior locomotion speeds compared to most other walking mechanisms43. Moreover, the torque-driven locomotion mechanism enables the MMMR to operate with a relatively low magnetic field strength, with approximately 8 mT being sufficient to achieve controllable speeds across all motion modes. Furthermore, the MMMR exhibits excellent kinematic stability and precise controllability, with its structural parameters determining directional performance and velocity, regardless of some external factors such as liquid viscosity or loading. The walking mode of the MMMR can operate stably on slopes with inclinations up to 30. However, on steeper inclines its walking performance becomes limited.

The structural parameters of the helical body of the MMMR are determined through simulations. A simulation method employing a frozen rotor and frozen translating object is utilized to simplify the simulation process, achieving a computational efficiency improvement of several orders of magnitude compared to dynamic transient simulations. The simulation method is first validated using a typical spring-like helix with theoretical formulas, followed by convergence analysis before being applied to the MMMR. The simulations determined optimal parameters, including helical thickness, turn numbers, and elliptical tip length. Furthermore, it is verified that the effects of liquid viscosity and the bipedal structure on helical swimming are negligible.

The helical swimming and bipedal walking of the MMMR are experimentally evaluated. Helical swimming is actuated by a rotating magnetic field, with the swimming speed proportional to the rotation frequency. A closed-loop automated control strategy is integrated into the helical swimming mode. By adjusting the pitch angle, gravity is compensated to maintain a constant swimming height, while adjustments to the yaw angle compensate for the boundary effects caused by friction near surfaces, enhancing the adaptability of the MMMR to various swimming environments. Bipedal walking is actuated by an oscillating magnetic field. By adjusting the pitch angle, a difference in supporting forces between the two feet is created, enabling the alternation of a supporting foot and a rotating foot, thus achieving bipedal walking. For liquid-free walking, the walking speed is proportional to the oscillation frequency, and increasing the oscillation angle improves walking velocity. However, the pitch angle must strike a balance between the supporting force difference of the feet and the foot-lifting height. A pitch angle of 20 is determined to provide an optimal walking mode. For liquid-in walking, the combined effects of fluid resistance and buoyancy prevent the feet from promptly landing after lifting, making it difficult to alternate the supporting foot. To address this, a variable-pitch mode of the oscillating magnetic field is proposed, allowing the MMMR to tilt its body forward during walking, forcing the feet to land. This approach enabled effective bipedal walking even under liquid conditions. The directional controllability of the MMMR is validated by guiding it to walk along an S-shaped curve. The walking mode of the MMMR also adapts to inclined environments, successfully walking on slopes with a maximum steepness of up to 30 in both liquid-free and liquid-in conditions. Additionally, a comparison between loaded and unloaded MMMRs shows that their locomotion velocities in liquid-in swimming, liquid-free walking, and liquid-in walking remain nearly identical, demonstrating excellent multimodal locomotion stability. Multimodal validation is conducted within an artificial bladder. The MMMR successfully completed the process of swimming into the bladder through the urethra, walking to a target location, and swimming back to the entry point for retrieval.

In the future, the strong directional controllability and versatile multimodal capabilities of the MMMR could be harnessed for a wide range of biomedical applications. One promising application involves leveraging the cylindrical body of the MMMR as a carrier for therapeutic agents, such as s or nanoparticles. By integrating advanced technologies like ultrasound-triggered release or photothermal therapy, the MMMR could enable precise and site-specific drug delivery. Furthermore, the MMMR is expected to operate in a wider range of organs, such as the brain and stomach, where bodily fluids and delicate surface tissues are present, and local terrain can include slopes. To better meet these in vivo demands, we will improve climbing on slopes by increasing friction between the feet and the substrate using high-friction elastomers or gecko-inspired fibrillar pads, and by optimizing the sole design to enlarge the real contact area and resist downhill slip. In parallel, we will enhance intelligent navigation through advances in artificial intelligence and sensor integration, enabling the MMMR to perceive, plan, and traverse complex anatomical environments more safely and reliably. By equipping the MMMR with real-time environmental sensing and decision-making algorithms, it could autonomously select the most appropriate locomotion mode and path based on factors such as fluid viscosity, tissue stiffness, and target localization.

Methods

Simulation setting

The numerical simulations are performed using COMSOL Multiphysics 6.2. As illustrated in Fig. S1A, the computational model consists of three distinct domains: (i) the external fluid domain, (ii) the fluid envelope surrounding the helix, and (iii) the solid domain representing the helix itself. These domains are defined to accurately capture the interactions between the solid structure and the surrounding fluid during locomotion. The fluid domains are modeled under the creeping flow regime, which assumes low Reynolds numbers and neglects inertial effects. The helix boundary is assigned a no-slip condition, ensuring that the fluid velocity at the helix surface matches the velocity of the solid boundary, a critical assumption for realistic modeling.

For the frozen rotor model, the fluid envelope surrounding the helix is defined as a rotating domain with its rotation axis aligned with the helix axis. The rotational frequency f could be specified as a parameter, and a steady-state study with the frozen rotor is employed to calculate. In this model, the rotation of the fluid envelope relative to the helix simulates the effect of helical swimming in fluids. For the frozen translating object model, the helix boundary is prescribed as a moving wall with a user-defined translational velocity v. This configuration enabled the simulation of translational motion of the helix through the fluid. A standard steady-state study is used to compute the flow field under this condition. In the result node, the axial fluid force and torque can be calculated using the following equations:

$${F}_{z}={\iint }_{\!\!S}{\sigma }_{z}\,{{\rm{d}}}A$$
(5)
$${T}_{z}={\iint }_{\!\!S}(x{\sigma }_{y}-y{\sigma }_{x})\,{{\rm{d}}}A$$
(6)

where σ represents the fluid traction stress tensor computed by the simulation, S denotes the surface of the helix, and dA is the differential surface element on S.

Materials and fabrication

The MMMR is fabricated using DLP-based photopolymerization 3D printing technology with an ELEGOO Mars 4 DLP printer. The material used is 8K rigid photopolymer resin, also from ELEGOO. To achieve magnetic actuation, the MMMR is embedded with N52-grade neodymium-iron-boron (NdFeB) magnets, known for their high energy density and strong magnetic properties. The artificial bladder model is manufactured using the same equipment, utilizing transparent photopolymer resin provided by Da Jian. The use of transparent resin facilitated visual observation and locomotion analysis of MMMR within the confined environment.

Hardware setting of magnetic magnetic-actuated system

The magnetic actuation system is based on a 3-axis Helmholtz coil configuration, designed to generate uniform magnetic fields for precise control of the MMMR. The x-axis coils have a radius and spacing of 172mm, the y-axis coils 130mm, and the z-axis coils 80mm. A current of 15.67 A generates a magnetic field of approximately 10mT in the x-axis coils, 12.94 A generates 10mT in the y-axis coils, and 8.14 A generates 10mT in the z-axis coils. The system provides a workspace of approximately 40 mm × 40 mm × 40 mm within the coils. The current drivers for the x-axis and y-axis coils are servo drivers (Advanced Motion Controls, model A50A100). For the z-axis coil, the system utilizes the A25A100 model, which is specifically chosen for its compatibility with the lower current requirements of the smaller z-axis coil. The current signals driving the coil system are generated by a signal acquisition card (Advantech, model PCI-1720U). This card enables precise and synchronized current control for all three axes. For visual monitoring and feedback, the system incorporates an industrial camera (Daheng Imaging, model ME2L-161-61U3C-L), which provides high-resolution real-time imaging. The camera is paired with a telecentric lens (Daheng Optics, model GCO-232106), which eliminates perspective distortions and ensures consistent measurement accuracy across the entire workspace.