Main

The jaw jump and leg jump multi-locomotion mechanisms that have evolved in trap-jaw ants are vital for traversing obstacles that are orders of magnitude larger than their millimetre-sized bodies, avoiding predators and covering large areas in search of food19 (Extended Data Fig. 1). Engineering the ability to negotiate diverse terrain types at the meso-scale with design scalability remains a major challenge for the hardware design of locomotion mechanisms20. Some locomotion strategies, like jumping, necessitate considerable mechanical power21 to achieve high take-off velocity, whereas walking requires relatively low power, and combining them into a compact robotic body with a minimal but tunable actuation power mechanism suitable for mass manufacturing is difficult. Existing small-scale multi-locomotion robots13,14,15,16,17 possess individual mechanisms for each locomotion gait, with the associated increase in the number of gear trains, joints and links, which makes manufacturing difficult, and some require external electromagnetic actuation22,23. Neither of these approaches offers a compact, scalable and autonomous multi-locomotion robot platform with capabilities similar to those that exist in the natural world.

We report the development of a multi-locomotion origami millirobot called Tribot (Fig. 1a), that addresses the multi-terrain mobility and scalability challenges of small-scale robots using a single, but versatile, locomotion mechanism. Tribot is a three-legged robot with dimensions of 30 mm (width), 58 mm (length) and 58 mm (height) with a Y-shaped flexure hinge (Y-hinge) at the centre, which can open and instantly close its legs by selective activation of three linear spring-type shape-memory alloy (SMA) actuators that function as ‘muscles’. Similar to the mandibles of the trap-jaw ant, the Y-hinge forms the basis of the snap-through mechanism that enables Tribot to leap and clear obstacles (Fig. 1b). When the Y-hinge is opened on any of the three sides by a pair of extensor SMA spring actuators to an angle slightly above 180° and then compressed uniaxially by a flexor SMA spring actuator, it experiences instability and ‘snaps through’ to the side of the applied compressive force with a variable speed proportional to the applied force (Fig. 1c). If the snap occurs at the hinge bottom, Tribot leaps vertically upwards in a height jump, similar to a jaw jump; if the snap is at any of the two hinge sides, the robot leaps horizontally in a distance jump (a leg-jump motion), which is beneficial for striding across gaps. Tribot can also combine both movements in a somersault jump for clearing barrier obstacles (Fig. 1d). In this case, the bottom SMA spring actuator activates shortly before triggering the side spring actuator that snaps the mechanism, so the robot leaps both vertically and horizontally in the air, flipping before landing. To use the same mechanism to enable the robot to walk with periodic short steps over textured terrains, we developed a ‘flic-flac’ locomotion strategy (also known as a forward-flip or handspring) similar to that used by the Moroccan spider Cebrennus rechenbergi24. Here, the actuator activation sequence is the same as for the somersault jump, except that the compression of the trigger actuator occurs at a low power so that the robot slightly hops and flips onto the next two legs. This manoeuvre can be produced multiple times, beginning from any of the robot’s edges. To achieve transport with fine steps on flat terrain, we incorporated a crawling strategy similar to that used by inchworms. We used the continuous bending ability of the Y-hinge at three sides combined with stick-slip rubber pads attached to the latches on two sides of the robot’s legs, that grip and release the ground contact. We embedded two torsional-sheet SMA actuators25 with micro-heater layers into the latch folds, which change the angle of latches to produce controllable crawling in both the backward and forward directions.

Fig. 1: Design and fabrication of the trap-jaw-ant-inspired Tribot multi-locomotion millirobot.
figure 1

a, The untethered millirobot Tribot with a Y-hinge controlled by SMA actuators. b, The trap-jaw ant uses the snap of its mandible and its hind legs for jumping. c, The Y-hinge that connects the three legs ‘snaps through’ when compressed uniaxially with high force, and bends at low forces and angles less than 180°. d, Selective snapping and bending of the Y-hinge generates five locomotion gaits: height (jaw) jumping, distance (leg) jumping, somersault jumping, flic-flac walking and inchworm crawling. The activation pattern is shown by the red-highlighted springs. e, The multilayer two-dimesional rapid fabrication and folding assembly process of Tribot.

To achieve scalability of the millirobot for collective applications, we combine the automated printed circuit board (PCB) assembly process and the flexibility of smart composite microstructure design26 to facilitate the integration of the mechanical, material and electronic layers of the robot. This is achieved by processing the layers in two dimensions, laminating them layer by layer and assembling them into three dimensions by folding27,28 (Fig. 1e). The PCB layer serves as structural backing and for robot autonomy by embedding off-the-shelf electronic components (including a microcontroller, distance and communication sensors and rechargeable batteries), and a Kapton polyimide layer forms the flexure hinges. The integrated design of the actuators, mechanisms and surface-mounted electronics enables miniaturization of the robot; however, for the current version of Tribot, the major factor determining its size is the capacity of the off-the-shelf battery (3.7 V, 40 mA h), which occupies almost half of the robot’s PCB surface area and 40% of its body mass (Extended Data Table 1).

To validate the efficacy and repeatability of Tribot’s locomotion gaits, we conducted twelve original locomotion experiments: eleven independent gait tasks across the five gaits: height jumping, distance jumping, somersault jumping, walking and crawling, for various terrain, power and load conditions, each repeated six times, and one continuous ‘parkour’ (obstacle course) scenario employing multiple gaits, with smooth and rough terrain and an obstacle (Fig. 2, Extended Data Table 2). We studied the robot’s motion by recording each experiment on camera at a high frame rate of 250 frames per second (fps) for jumping and in real time (25 fps) for the walking and crawling gaits, and tracking the central Y-hinge using video analysis software. We assessed the robot’s vertical leaping capacity by studying height jumps on a flat surface, from its edges with and without the latches with rubber pads (Fig. 2a, Supplementary Video 1). For a trigger Joule heating power of 3.7 W to the flexor SMA spring actuator, Tribot jumps to a height of 140.6 mm on average (almost 2.5 times the robot’s height) from the edge without latches, owing to the minimal friction during take-off, and to a height of 72.5 mm from the edge with latches (Fig. 3a). We studied the robot’s horizontal distance jump for a trigger power of 3.7 W (Fig. 2b) and 2.7 W, and with an added payload of 5 g (more than 50% the robot’s body mass) at a trigger power of 3.7 W; the average jumping distance was 230 mm (almost four times its body length), 140 mm and 110 mm for these tests, respectively. The somersault jump gait was tested with a trigger power of 3.7 W; the average height and distance travelled were 88 mm and 100 mm, respectively, with an average two-thirds body rotation around its central axis in the air. To test the effectiveness of the walking gait on flat and rough surfaces and of climbing up a flat slope of 10°, we instructed Tribot via remote control to perform three flic-flac manoeuvres on each terrain, such that it arrived back on its initial edge. To prevent the robot from deviating sideways, we placed it inside a transparent acrylic glass channel slightly wider than its body, with and without raisin-sized stones on the floor (Fig. 2d, Supplementary Video 2). Tribot completes an average repeatable step of 48.8 mm on the flat surface with a small 1.7 W trigger power, but the steps on the textured surface were not repeatable and considerably smaller, at 31.1 mm (Fig. 3b). This is probably due to minimal leg–ground contact with the textured surface, especially on the edges without latches, which causes the legs to slip with each rotation. The average step on the slope was 28.8 mm and required about 30% more power to perform a full flip. We validated the robot’s crawling locomotion on a flat surface and on a 10° slope (Fig. 2e, Supplementary Video 3). The robot was programmed to execute six consecutive crawling steps; the mean step size was 4.85 mm on the flat surface and just 2.61 mm on the slope, owing to slippage (Fig. 3c).

Fig. 2: Individual multi-locomotion experiments and their combination in the parkour scenario.
figure 2

a, Tribot in height-jump gait on the non-latched side, from take-off to an average peak height of 140 mm. b, Tribot in distance-jump gait, from its initial stance to its landing position; 230 mm was the mean jump distance for a power input of 3.7 W. c, Tribot performing a somersault jump manoeuvre, during which it rotates in the air before landing; 88 mm was the mean jump height, and 100 mm the mean horizontal jump distance. d, Tribot performing a single flic-flac walking manoeuvre on rough terrain with raisin-sized stones. e, The robot performing an inchworm crawling step using stick-slip motion on a smooth flat surface. f, Demonstration of the adaptability of Tribot’s gait in a parkour setup comprising flat terrain, rough terrain and an obstacle. Tribot crawls through the flat section, walks on the rough terrain and somersaults over the obstacle.

Fig. 3: Locomotion performance of Tribot in different conditions and its COT compared to robots and insects.
figure 3

a, Tribot’s motion projectiles for height, distance and somersault jumping for various SMA flexor spring Joule heating power inputs, P, and payloads, L, extracted from videos recorded at 250 fps. b, Tribot’s walking displacement per walking step on flat smooth terrain, flat rough terrain and a 10° smooth slope. The robot flips three times, returning to its initial orientation. c, Tribot’s inchworm crawling displacement on a flat smooth surface and a smooth 10° slope, measured for six consecutive crawling step cycles. For ac, the dashed lines and shaded regions indicate the mean and 1σ, respectively, and each experiment is repeated six times. d, The mechanical power output and cost of transport for the five gaits. e, Tribot is smaller, lighter and has  considerably lower COT for distance jumps than existing small-scale robots13,14,15,16,17; its characteristics are comparable to those of insects5,29,30.

We assessed the generated mechanical power and energy cost of transport (COT) for all five gaits and compared Tribot’s distance-jumping COT to those of existing small-scale multi-locomotion robots and insects (Fig. 3e, Extended Data Table 3). Tribot is the smallest and lightest among the engineered systems surveyed and has substantially lower COT for distance jumps, comparable to that of trap-jaw ants5, the desert locust29 and jumping spiders30.

To demonstrate Tribot’s multi-locomotion abilities on diverse terrain types and against an obstacle, we set up a parkour experiment (Fig. 2f). Owing to the difficulty in predicting the locomotion manoeuvre outcomes on rough terrain, we controlled the walking and jumping phases remotely, whereas the crawling locomotion was pre-programmed. In this test, Tribot crawled through the smooth section until it reached the rough terrain, where it switched to its walking gait. After four flips, Tribot arrived at the obstacle and jumped over it (Fig. 2f, Supplementary Video 4). We observed discrepancy in the walking phase due to poor leg–ground contact that caused slippage, and the robot once landed on the wrong edge. However, because walking is possible on any edge, the robot was able to continue the manoeuvre, demonstrating its versatility.

To display task efficacy in a scalable collective of multi-locomotion millirobots, we set up two experiments, a division-of-labour scenario and a tandem-running scenario (Fig. 4, Supplementary Video 5), both executed autonomously. The first task was to move to a set position a prismatic object (a rectangular block) that was light enough for two robots to push but too heavy for one to move alone (Fig. 4a). Such a simple task, however, required five millirobots: two workers to push the object towards a monitor, who measured the relative closeness of the object using its proximity sensor and then informed the leader, who in turn coordinated the workers to continue or stop pushing. As the location of the prism interrupted the local communication between the leader and the monitor, the scheme required a messenger, who exchanged information between the leader and monitor via a path that avoided the prism. The data from the proximity sensor of the monitor robot show that the object travelled from a distance of 80 mm from the monitor robot to the programmed distance of 50 mm (Extended Data Fig. 3a). This experiment demonstrates the importance of millirobot scalability for effectively allocating tasks, manipulating objects and resolving communication issues with  increased robot population.

Fig. 4: Collective labour experiments.
figure 4

a, Division-of-labour experiment. A rectagular prism was pushed to a desired position, using coordination between a leader, two workers, a monitor and a messenger robot. The leader orders two worker robots to push the object while the monitor measures the relative position of the object. As the object interrupts the two-way link between the leader and the monitor, the messenger maintains the communication link. b, Tandem-running experiment. Both robots crawl in a line (1) until the leader detects the gap obstacle (2) and transmits the information to the follower (3). Unlike the leader, the follower does not search for obstacles, and therefore saves energy. The follower measures the distance relative to the leader once (4) and calculates the total number of steps, n, to crawl to the obstacle (5), while the leader jumps over the obstacle (6). The worker crawls n steps (7) before safely jumping across the gap (8) (Supplementary Video 5).

To highlight the importance of robot multi-locomotion in collective tasks, we set up a tandem-running experiment with obstacle avoidance that fully demonstrates this functionality in Tribot. In the experiment, two robots, a leader and a follower (Fig. 4b), operate autonomously. The robots crawl in a line, with a fixed step size. The leader, while crawling, continuously scans for obstacles using its proximity sensor whereas the follower only checks messages from the leader, without energy expenditure for scanning. Both robots crawl until the leader detects an obstacle, upon which it conveys this information to the follower (Extended Data Fig. 3b). We chose a wide (40 mm) and deep (20 mm) gap as the obstacle, which may be crossed only by jumping. We demonstrate that the leader, when stopped at the gap edge and tilted forward, notifies the follower of the obstacle. Upon receiving the message, the follower measures its distance relative to the leader only once and calculates the total number of steps to crawl by dividing that distance by the step size. Once the message is transmitted, the leader jumps over the gap, and the follower subsequently crawls and jumps, following its calculations, without falling in. This demonstration shows not only the expanded capabilities of multi-locomotion millirobot collectives, but also the benefits of collectivity in negotiating obstacles, such as allocating demanding tasks to a leader. Such millirobot tandem-running experiments can be used to further enhance the abilities of collectives of robots to navigate various terrain types and obstacles to effectively plan locomotion through teaching and learning.

We have presented an insect-scale origami robot with a minimal and scalable design that realizes multi-locomotion. The implementations that we present here are expected to facilitate future research into the effect of multi-locomotion ability on the collective behaviours, colony size and task distribution of social insects, that in turn will stimulate the development of algorithms for large-scale collectives of robots with expanded capabilities. The use of a customizable and mass-producible hardware platform forwards investigation into a variety of insect-inspired bio- and neuro-mechanics for millirobots. Although the current version of this hardware has limited manoeuvrability and sensing and computational capacity, it demonstrates applicability to real-world problems, such as emergency mitigation, environmental monitoring and exploration. We now aim to investigate comprehensive design methods28 and automated fabrication processes to enable on-demand, ‘push-button-manufactured’ robots and mechanisms accessible to diverse research communities.

Methods

Design of robot locomotion mechanisms

The snap-through and bending properties of the central flexible Y-hinge and the appropriate arrangement of the robot legs and latches by selective activation of the SMA actuators generate the height, distance and somersault jumping, walking or crawling gaits (Fig. 1d). These can be programmed on the onboard microcontroller or controlled remotely via a keyboard on a portable computer by setting the actuator activation sequence, duration and power through a custom graphical user interface. For height, distance and somersault jumping and for walking, the activation pattern (shown in Fig. 1d by the red-highlighted springs) transits the robot from an initial rest state to its stance and then to its take-off phases, but there are no presets for the flight and landing phases. The robot follows a ballistic projectile motion for all four manoeuvres after take-off, with different launch angle, velocity and body rotation during flight. We model the Y-hinge as a pin joint connecting three independently rotating legs (Extended Data Fig. 2). For distance jumping, somersault jumping and walking, the snap-through motion at the Y-hinge side closes two side legs, pushing the third rear leg against the ground at an angle α, and the ground reaction force lifts the robot in the air. For height jumping, the snap-through of the Y-hinge bottom rapidly closes the two bottom legs against the ground, which in turn produce a ground reaction force that launches the robot vertically upwards. The kinematics of the robot flight between take-off and landing (first touchdown) in xy Cartesian coordinates are governed by a ballistic projectile motion given by

$$y={y}_{0}+x{\rm{t}}{\rm{a}}{\rm{n}}\alpha -\frac{g{x}^{2}}{2{v}_{0}^{2}{{\rm{c}}{\rm{o}}{\rm{s}}}^{2}\alpha }$$
(1)

where y0 is the initial height of the robot, measured between the centre of the Y-hinge and the ground at the instant of take-off, α and v0 are the launch angle and velocity, respectively, and g is the gravitational acceleration. Because of the high uncertainty in predicting the surface area of the robot for each gait, especially owing to free-body rotation during somersault jumping and walking, we omit air-drag effects. The maximum horizontal travel distance, d, and vertical height, h, are then calculated by

$$h=\frac{{v}_{0}^{2}{{\rm{s}}{\rm{i}}{\rm{n}}}^{2}\alpha }{2g},\,d=\frac{{v}_{0}^{2}{\rm{s}}{\rm{i}}{\rm{n}}2\alpha }{g}$$
(2)

The jumping displacement of the robot is maximized by increasing v0 and attaining α = π/2 for height jumps and α = π/4 for distance and somersault jumping and walking. Although Tribot does not rotate considerably when performing height and distance jumps (at least during ascent), it performs, on average, a two-thirds body rotatation for somersault jumping and a one-third body rotation for walking.

For crawling locomotion, the robot is in contact with the ground on its latched edges; the activation sequence using the linear and torsional actuators produces a periodic stick-slip motion (Fig. 1d, Extended Data Fig. 2c). In this sequence, the SMA torsional actuators raise the rubber pads to slip and drop them to stick, varying the contact friction. The crawling step is then calculated by

$$C=4l({\rm{s}}{\rm{i}}{\rm{n}}{\theta }_{{\rm{o}}}-{\rm{s}}{\rm{i}}{\rm{n}}{\theta }_{{\rm{c}}})$$
(3)

where C is the crawling step size for a single stick-slip manoeuvre, l is the half-length of the leg, and θo and θc are the opening and closing angles between the bottom two legs (2 and 3), respectively, with \({\theta }_{{\rm{o}}}={\theta }_{{\rm{c}}}+{\theta }_{2}\) and \({\theta }_{2}={\theta }_{3}\).

To establish a generalized robot multi-locomotion dynamic model and to determine its velocity for each gait, we adopt a Euler–Lagrange method. Employing a Newtonian (F = ma) approach is difficult for modelling not only multi-locomotion and multi-degree-of-freedom mechanisms, but also single-locomotion mechanisms. The energy-based approach of the Euler–Lagrange method provides insight into the locomotion mechanism performance in terms of stored energy and produced motion, and therefore enables design optimization of the system components that are responsible for motion. The total kinetic (EK) and potential (EP) energies of the robot are given by

$${E}_{{\rm{K}}}=\frac{1}{2}\sum _{i=1}^{3}{m}_{i}{v}_{i}^{2}+\frac{1}{2}\sum _{i=1}^{3}{J}_{i}{\omega }_{i}^{2}$$
(4)
$${E}_{{\rm{P}}}=\sum _{i=1}^{3}{m}_{i}g{h}_{i}+\frac{1}{2}\sum _{i=1}^{3}{k}_{i}{s}_{i}^{2}$$
(5)

where mi, Ji, vi, ωi and hi are the mass, moment of inertia, Cartesian and angular velocities and height of the ith link (leg), respectively (Extended Data Fig. 2). ki and si are the stiffness coefficient and the deflection of the ith SMA spring actuator, respectively. The Lagrangian function is then L = EK − EP. Because the high-speed (snap-through) rotation of links 1 and 2 and the low-speed (bending) rotation of links 2 and 3 produce all five gaits, the equations of motion, \(\ddot{\theta }=\left[\begin{array}{c}{\ddot{\theta }}_{i}\\ {\ddot{\theta }}_{i+1}\end{array}\right]\), where i = 1 for the jumping and walking gaits and i = 2 for crawling, can be computed by solving

$$\frac{{\rm{d}}}{{\rm{d}}t}(\frac{{\rm{\partial }}{\mathscr{L}}}{{\rm{\partial }}\dot{\theta }})-\frac{{\rm{\partial }}{\mathscr{L}}}{{\rm{\partial }}\theta }=0$$
(6)

The masses and moments of inertia in equations (4), (5) for all three links are equal and constant, and so it is the spring actuator stiffness coefficients ki that define the stored energy and thus determine the velocity of the links when they are released at the moment of snap-through. For our robot, the stiffness balance is set as k1 + k2 > k3 followed by k3 > k1 + k2 to generate the snap-through for the jumping and walking gaits, and k1 > k2 + k3 followed by k2 + k3 > k1 for crawling (Extended Data Fig. 2). The parameters of the actuators are tailored at design, but are also controllable during operation by changing the input Joule heating power, which varies the martensitic and austentitic temperature of the SMA, and hence also the stiffness27 (see section ‘Actuation design’).

As the structure of Tribot necessitates a different configuration and orientation for each locomotion, we define a local coordinate frame (x′–y′) and global coordinate frame (xy), which are related through a 2 × 2 rotation matrix and the angle α (Extended Data Fig. 2). As the position of the robot’s centre of mass varies substantially between the stance and take-off states, we fix the origins for both coordinate systems at the centre of the Y-hinge. Then, the positions (pi) translational velocities (vi) and acceleration of links 1 and 2 are calculated by

$${{\boldsymbol{p}}}_{i}=[\begin{array}{c}{x}_{i}\\ {y}_{i}\end{array}]=[\begin{array}{c}l(\sin ({\theta }_{i}+\alpha )-{\rm{s}}{\rm{i}}{\rm{n}}\alpha )\\ -l(\cos ({\theta }_{i}+\alpha )-{\rm{c}}{\rm{o}}{\rm{s}}\alpha )\end{array}],\,\,i=1,2$$
(7)
$${v}_{i}=\sqrt{{\dot{x}}_{i}^{2}+{\dot{y}}_{i}^{2}}=l{\dot{\theta }}_{i},\;i={\rm{1,}}\;{\rm{2}}$$
(8)
$${a}_{i}=l{\ddot{\theta }}_{i},\;i={\rm{1,}}\;{\rm{2}}$$
(9)

where \({\dot{\theta }}_{i}\) and \({\ddot{\theta }}_{i}\) are equivalent to angular velocity ωi and acceleration \({\dot{\omega }}_{i}\), respectively. For height and distance jumping, θ1 ≈ θ2, and for somersault jumping and walking, θ1 > θ2, owing to the brief activation of the bottom spring actuator before the snap-through, which limits the angular rotation of link 2. The overall robot velocity is then a sum of individual link velocities

$${m}_{{\rm{T}}}v=\sum _{i=1}^{2}{m}_{i}{v}_{i}$$
(10)

Here, mT and v = v0 are the mass and velocity of Tribot. The total actuation power P required to accelerate Tribot to a distance ∆p between the stance and take-off can be calculated using

$$P=\frac{{E}_{{\rm{K}}}}{\Delta p}v=\frac{{m}_{{\rm{T}}}}{2}\frac{{v}^{3}}{\Delta p}$$
(11)

where EK is the robot’s kinetic energy. We can also calculate the COT for each locomotion by

$${\rm{COT}}=\frac{{E}_{{\rm{K}}}}{{m}_{{\rm{T}}}r}=\frac{{v}^{2}}{2r}$$
(12)

COT is measured in J kg−1 m−1 and r is the total travel distance between take-off and landing positions, corresponding to h for the height jump, to d for distance jumping, somersaulting and walking, and to the step size C for crawling locomotion. Tribot can jump a horizontal distance of 230 mm on average with a take-off velocity of 1.44 m s−1, resulting in a low COT.

Actuation design

The previously mentioned locomotion mechanisms are produced by compressing and storing energy in the three SMA spring actuators that are Joule heated by passing a direct current, and in the two SMA torsional sheet actuators, motion is activated by the thermal conduction of the heat that is generated by the micro-heaters. To enable both fully automatic and remotely controlled activation of the actuators, with tunable power, we use a pulse-width-modulation method. We adjust the average electrical power Pavg to each actuator by controlling the switching duty cycle, 0 ≤ duty ≤ 1, of five metal–oxide–semiconductor field-effect transistors in the software as Pavg = duty × Ps. The supply power Ps is governed by Kirchhoff’s rule so that \({P}_{{\rm{s}}}=\frac{{V}_{{\rm{s}}}^{2}}{{R}_{{\rm{SMA}}}}\), where Vs is the battery supply voltage and RSMA is the electrical resistance of either the SMA spring or the copper micro-heater layer of the SMA torsional sheet. In reality, the electrical resistance of the SMA slightly increases with temperature; however, for the plots in Fig. 3a, we fix it to 2.2 Ω, which is measured at room temperature (that is, when it is martensite). Also, the SMA actuators stiffen proportionally to the applied heat between the martensitic (colder) and austenitic (hotter) temperatures. For the spring actuators, shear stress dominates owing to coil twisting, and its force-to-deflection relation for the martensitic and austenitic phases can be approximated by a linear relation without considering the detwinning effect

$$F=\frac{G\left(T\right){q}^{4}}{8{D}^{3}N}\delta $$
(13)

Here, G(T)q4/(8D3N) = k is the SMA spring stiffness coefficient, \(\delta =\frac{\pi ND}{{\rm{c}}{\rm{o}}{\rm{s}}{\phi }_{{\rm{i}}}}({\rm{s}}{\rm{i}}{\rm{n}}{\phi }_{{\rm{f}}}-{\rm{s}}{\rm{i}}{\rm{n}}{\phi }_{{\rm{i}}})\) is the spring deflection, q is the diameter of the wire, D is the coil diameter, N is the number of turns, φi and φf are the coil initial (compressed) and final (extended) pitch angles, and the shear modulus G is a function of the temperature T and varies between the martensitic minimum, GM, and the austenitic maximum, GA. The compression force increases substantially with increasing q; however, higher currents are then required to heat the wire owing to the reduced resistance. This is an important trade-off in designing the actuators to generate sufficient force at low power for untethered applications. To ensure that Tribot can operate without an external power supply, we designed the spring actuators with q = 0.25 mm, D = 0.9 mm, N = 32 or 33, GA ≈ 18 GPa and GM ≈ 7 GPa.

Unlike the linear spring actuator, the torsional actuator generates a bending moment; therefore, normal stress dominates its behaviour. Assuming pure bending of a thin sheet, the torque-to-angular-deflection relation can be approximated by

$$\tau =\frac{Y\left(T\right)I}{u}\theta $$
(14)

Here, τ is the torque, Y is the temperature-dependent elastic modulus, which is in the range YM ≤ Y ≤ YA (between the martensitic and austenitic elastic moduli), \(I=\frac{w{t}^{3}}{12}\) is the second moment of inertia of a rectangular sheet with cross section w × t, u is the length of the curved section of the actuator and θ is the sheet bending angle. For our torsional actuators24, t = 0.1 mm, w = 8 mm, u = 6.5 mm, YA ≈ 34 GPa and YM ≈ 19 GPa. The external heater layer has a resistance of 7 Ω, is thin (<0.05 mm) and consumes power as low as 0.5 W.

Experimental design

To measure the robot’s height-, distance- and somersault-jumping trajectories and its walking and crawling steps, we set up eleven different experimental scenarios (Fig. 2, Extended Data Table 2). Each locomotion experiment is video-recorded and analysed using an open-source scientific video-tracking software called Tracker (https://physlets.org/tracker/). As the robot’s leg snap-through motion occurs within 100 ms, we used a high-frame-rate camera (Sony Cyber-shot DSC-RX100 IV) with a recording speed of 250 fps to capture the robot’s displacement in the x–y plane. The camera was configured to a real-time (25 fps) recording speed for the walking, crawling and multi-locomotion parkour experiments. We used a ruler (SI units) to calibrate the captured videos in the x or y axis, which were then analysed in Tracker. For all locomotion manoeuvres, we tracked the robot’s central Y-hinge in x–y Cartesian coordinates from the instant of take-off to the instant of landing (first touchdown). We performed eleven independent experiments among all five gaits, each repeated six times. At the start of each run, Tribot was brought to an initial stance position. As each experiment measures twelve datasets (six each of x and y positions), with the data points not aligned in either of the axes, we interpolated each dataset using the Matlab pchip shape-preserving piecewise cubic interpolator function to align them in the x coordinate and then compute the mean for each experiment. We also calculated the average standard deviations in the y axis by taking the square root of the mean of variances (Extended Data Table 2). The standard deviation is plotted as a shaded region in each of the locomotion plots (Fig. 3a–c), using the Matlab fill function.

In the height-jump experiments (Figs. 2a, 3a), the robot is tested on two different edges: the sides with latches in contact with the ground and two sides with no latches (Supplementary Fig. 1b, Supplementary Video 1). The robot is controlled remotely for both experiments using a keyboard with a pre-set actuator activation power, displayed on a custom graphical user interface. For the loaded distance-jump experiment, we mounted a 5-g M8 stainless steel hexagonal nut at the robot’s rear leg (Supplementary Video 1). To evaluate the robot’s walking step size (Figs. 2d, 3b), we placed it into a 32-mm-wide channel made of transparent acrylic material to confine its lateral deviation while it flipped (Supplementary Video 2). For testing on a rough surface, we filled the channel floor with raisin-sized grains (FEPA F4 standard grain); they were removed for the smooth surface test. To evaluate the robot walking on a slope, we placed the channel on a smooth, inclined medium-density fibreboard with a slope of 10°.

To test the efficacy of the robot’s crawling gait on different surfaces and on a slope, we programmed the robot to crawl with multiple steps on its edge with latches (Figs. 2e, 3c). We tested three terrain conditions: on sandpaper with roughness P100 (FEPA standard) and on medium-density fibreboard with a smooth finish, positioned horizontally (slope = 0°) and then inclined to 10°. Tribot crawls by periodically applying friction on the ground surface with rubber pads and sliding with the contact surface of the SMA torsional sheet actuator exposed after movement of the latch above the ground (a stick-slip movement), and so the surface interaction is essential in defining the crawling performance. We did not observe any horizontal propagation in the sandpaper test, owing to the increased friction between the torsional sheet actuator surface and the sandpaper, but the robot could crawl on the fibreboard with repeatable steps and even could crawl up a slope—although owing to sliding, it crawled with smaller steps on the slope than on a flat surface.

We computed the COT for each of Tribot’s locomotion gaits (equation (12), Extended Data Table 3) and compared the distance-jumping COT to that of other multi-locomotion robots and insects, using take-off velocity, travel distance and mass data reported in the literature or extrapolated using equation (2). This comparison allowed effective benchmarking of engineered and biological systems in terms of locomotion efficiency and performance.

Robot fabrication

Robot hardware design for mass production should ideally be low-cost and customizable, for example using PCBs, which can be used to assemble diverse layouts of electronic components with versatile functionality in a matter of seconds. However, unlike PCBs, the mechanical design of several custom mechanisms and structural components dominates conventional robot construction, requiring meticulous assembly. Tribot’s fabrication process allows robot multiplicity with minimal assembly effort (Fig. 1f). The robot’s structure consists of two layers: a 300-µm-thick double-sided FR-4 PCB for structural backing and electronics and a 50-µm-thick Kapton polyimide film (DuPont) for the hinges, a material that is flexible and durable. The PCB workshop of the Swiss Federal Institute of Technology Lausanne mass-produced the PCB layer and the Kapton was cut on a laser micro-machining station (LAB 3550, Inno6). The two layers were bonded together using an adhesive film (Poli-Melt 701, Poli-Tape) and heat-pressed (Carver 3853CE, Carver) for 2 min at 160 °C with 90 N pressure. Then, to attach the electronic components, we applied a solder paste (SMD291AX, Chip Quick) onto the 100-µm-thick Kapton stencil placed on top of the PCB using a spatula, filling the component footprints. The stencil was gently removed, and the surface-mounted device components—including two infrared proximity sensors (VCNL4010, Vishay), two infrared transceivers (TFBS4711-TT1, Vishay) for communication, a microcontroller (ATTINY4313-MU, Atmel) and connectors and switches, among 50 other electronic components—were manually pick-placed onto the footprints. We then placed the PCB sheet for 3 min on a hot plate at 200 °C for solder reflow. Then, three 3.7 V, 40 mA h rechargeable lithium ion polymer batteries (DTP301120, Datapower) were soldered onto the terminals, and the two SMA torsional actuators with attached micro-heaters, plus four 3-mm rectangular pads moulded from silicone rubber (Elastocil M4601, Wacker Chemie AG), were glued onto the two latches. After cutting off the support bridges across the PCB hinge gaps (Fig. 1f), the multilayer sheet was folded to pop up into the robot’s three-legged three-dimensional structure. Finally, we soldered a few wires to electrically connect one leg to the other, install the SMA spring actuators and test the assembled robot.

Our design uses off-the-shelf components and the total cost of each robot is under US$60. It takes approximately three hours for one skilled person to fabricate and manually assemble a robot. However, we could substantially reduce this time using an automated mass-production PCB assembly process. Our method facilitates processing of a wide range of materials with extremely fine features and greatly reduces the assembly effort, enabling low-cost and on-demand mass manufacturing of millirobots.

Communication range

Communication sensors allow multiple Tribot units to exchange information, interact and cooperate to execute collective tasks. Determining the sensor range helps to define the orientation and position of the next unit for a sustainable two-way (transmit–receive) communication link. The two infrared transceivers placed on either side of the robot’s upper leg (the leg with no latch) produce a communication range of two symmetric sectors with a 60° angular opening, up to the maximum range of 1 m. For two robots to establish a two-way communication link, the maximum separation between them should not exceed 1 m and they should both be within the sector with orientation that meets the conditions

$${\beta }_{1}-\frac{{\rm{\pi }}}{6}+n{\rm{\pi }}\le \gamma \le {\beta }_{1}+\frac{{\rm{\pi }}}{6}+n,\;n=...-{\rm{1,}}\;{\rm{0,}}\;{\rm{1}}...$$
(15)
$$\gamma -\frac{{\rm{\pi }}}{6}+m{\rm{\pi }}\le {\beta }_{2}\le \gamma +\frac{{\rm{\pi }}}{6}+m{\rm{\pi }},\;m=...-{\rm{1,}}\;{\rm{0,}}\;{\rm{1}}...$$
(16)

where β1 and β2 are the orientations of the first and the second robots on the ground x–z Cartesian coordinate plane, respectively, and γ is the relative angle between the two robots.