Liquid metal solves maze
Andrew Adamatzky, Alessandro Chiolerio, Konrad Szaci{\l}owski

TL;DR
This paper demonstrates that a gallium droplet can autonomously solve a physical maze by navigating along electrical current lines, leveraging its physical properties and conductivity, suggesting potential for liquid state computational devices.
Contribution
Introduces a novel liquid metal-based maze solving method that utilizes electrical conductivity and surface tension, advancing liquid metal applications in computation.
Findings
Gallium droplet successfully solves maze using electrical current guidance.
The droplet remains stable and navigates corners due to high surface tension and conformability.
The method offers a long-lasting, non-toxic liquid metal computational approach.
Abstract
A room temperature liquid metal features a melting point around room temperature. We use liquid metal gallium due to its non-toxicity. A physical maze is a connected set of Euclidean domains separated by impassable walls. We demonstrate that a maze filled with sodium hydroxide solution is solved by a gallium droplet when direct current is applied between start and destination loci. During the maze solving the droplet stays compact due to its large surface tension, navigates along lines of the highest electrical current density due its high electrical conductivity, and goes around corners of the maze's corridors due to its high conformability. The droplet maze solver has a long life-time due to the negligible vapour tension of liquid gallium and its corrosion resistance and its operation enables computational schemes based on liquid state devices.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInnovative Microfluidic and Catalytic Techniques Innovation · Advanced Memory and Neural Computing · Slime Mold and Myxomycetes Research
Liquid metal solves maze
Andrew Adamatzky
Unconventional Computing Laboratory, Department of Computer Science and Creative Technologies, University of the West of England, Bristol BS16 1QY UK
Alessandro Chiolerio
Center for Sustainable Future Technologies, Istituto Italiano di Tecnologia, Via Livorno 60, 10144 Torino, Italy
Konrad Szaciłowski
Academic Centre for Materials and Nanotechnology, AGH University of Science and Technology, Mickiewicza 30, 30-059 Kraków, Poland
Abstract
A room temperature liquid metal features a melting point around room temperature. We use liquid metal gallium due to its non-toxicity. A physical maze is a connected set of Euclidean domains separated by impassable walls. We demonstrate that a maze filled with sodium hydroxide solution is solved by a gallium droplet when direct current is applied between start and destination loci. During the maze solving the droplet stays compact due to its large surface tension, navigates along lines of the highest electrical current density due its high electrical conductivity, and goes around corners of the maze’s corridors due to its high conformability. The droplet maze solver has a long life-time due to the negligible vapour tension of liquid gallium and its corrosion resistance and its operation enables computational schemes based on liquid state devices.
Keywords: liquid metal, gallium, unconventional computation, liquid cybernetic systems
1 Introduction
Dynamic behaviour of liquid meta droplets has been known for a substantial amount of time. The first reports by Alessandro Volta and independently William Henry were published in 1800 [23]. These initial reports concern phenomena related to the so-called "mercury beating heart", a fascinating experiment, in which a drop of metal pulsates changing its shape due to a sequence of oxidation and reduction processes taking part at its surface, which in turn result in changes of surface tension at water/metal interface. The full and comprehensive description of these processes was given recently by Najdolski et al [25], however some mechanistic investigations have been reported much earlier [21]. Very recently electrochemical oscillators based on gallium droplets have been described in detail, including various oscillations modes [40]. In 2019 Liu, Sheng and He proposed the concept of ‘liquid metal soft machines’: implementation of actuation with liquid metal gallium and its alloys [22]. Their extensive studies on shape changing [41], electromagnetic propulsion [38] and self-propulsion [42] demonstrated that gallium and similar alloys could be fruitful materials for the implementation of future liquid robots [13] and liquid computers [4]. Such cybernetic systems could be used to explore complex geometrically constrained spaces, where not other machines can enter. This new paradigm, of liquid state robots, could show particular advantages over specific application domains such as space, extreme environment exploration (where pressure, radiation, temperature are high enough to impair conventional solutions functionality), and as pointed out ultimately, also in high performance computation and data storage [12]. Energetic systems able to store, transfer, harvest energy in the liquid state have also been conceived [14]. Mobility, as fundamental aspect of autonomy, after computation and homeostasis [35], has been shown to provide an alternative way to transport information in liquid cellular automata [36]. To evaluate a potential of the ‘gallium robots’ for programmable navigation in the constrained space we decided to test them on the task of a maze solving.
To solve a maze means to find a route from the source site to the destination site in a geometrically constrained space. There are two scenarios of the maze problem: (1) the solver does not know the whole structure of the maze and (2) the solver knows the structure of the maze. Shannon’s maze solving mechanical mouse Theseus [31] and Wallace’s maze solving computer [37] were used in the first scenario in the early 1950s. The second scenario maze solving employs the famous Lee algorithm[20, 29] as follows. We start at the destination site. We label neighbours of the site with ‘1’. Then we label their neighbours with ‘2’. Being at the site labelled we label its non-yet-labelled neighbours with . Sites occupied by obstacles, or the maze walls, are not labelled. When all accessible sites are labelled the exploration task is completed. To extract the path from any given site of the maze till the destination site we start at the source site and then descend along the gradient of labels following the lowest numbers. In robotics the Lee algorithm was transformed into a potential method pioneered in [27] and further developed in [39, 18]. The destination is assigned an infinite potential. Gradient is calculated locally. Streamlines from the source site to the destination site are calculated locally at each site by selecting locally the maximum gradient [15].
The Lee maze solving algorithm is physically embedded in the mechanics of the experimental maze solvers proposed so far, see overview in [3]. Examples of the experimental maze solvers are as follows. The shortest obstacle avoided path can be approximated by an electrical current and visualised with a glow-discharge [28, 16], thermal camera [8], or as trace of self-assembled conductive particles [24]. When a source of electricity is not available the shortest path can be found via Marangoni flow and then visualised with dyes [17] or droplets [19, 11]. The path from the source to the destination can be explicitly presented by orientation of crystal needles during crystallisation in a supersaturated solution of sodium acetate trihydrate and water [1]. The path can be also approximated by gradients of a diffusion of chemo-attractants and then traced by living creatures interacting with such molecules, e.g. slime mould [2] or epithelial cells [30]. Finally the path can be calculated by analysing geometry of excitation waves in a thin layer of Belousov-Zhabotinsky medium [7, 6]. Therefore is was so tempting to built an autonomous robotic entity capable of decision-making and information processing. The current study explores the possibility of creation of an autonomous self-propagating and environment-responsible liquid machine.
2 Methods
Gallium (Sigma Aldrich, UK), its temperature is kept at 36oC using a glass hot tray (RCHP-500G, Royal Catering, UK), two types of mazes were used (Fig. 1): () PLA 3D printed maze 120 mm diameter with 6 mm wide and 10 mm deep channels. () nylon 70‘mm diameter with 4 mm wide and 3 mm deep channels (Tesco’s Toy Mazes, Tesco). The mazes were filled with 0.5 molar solution of NaOH (Sigma Aldrich, UK). Reasons for choosing these two mazes were (1) to check whether the approach is scalable and (2) to consider the case when Gallium droplet is fully immersed in the solution () and the case when it is half-immersed in the solution (). The DC potential (30 V, 5 A) between starting point and destination sites was provided by Tenma 72-10495 Bench Top Power Supply via Platinum electrodes. The videos were recorded with Moto G6 and thermal images were done with FLIR ETS320. The Finite Element Method simulation was performed using Comsol COMSOL 5.3a, Licence No.13075366, d0946613b03f.
3 Results
As soon as DC current is applied between positive electrode (located at the start site in the central chamber of the maze) and negative electrode (located at the destination site in the outside channel), Fig. 2 the droplet jumps away from by c. 3 mm but then remains motionless for few second (Fig. 2a).
With continued application of DC some gas bubbles start forming at the site of the droplet close to , due to water electrolysis. In 7 s the droplet reaches turn 1 of the maze (Fig. 2b). While passing turn 1 the droplet got motionless for a few seconds at the wall connecting turns 1 and 2 (Fig. 2c) but then quickly dashes along corridor between 2 and 3 (Fig. 2d). Corners 3 and 4 almost do not affect the droplets motion (Fig. 2e) as it runs toward the turn 5. The droplet is delayed at the turn 5 by approximately 1 s (Fig. 2f) and at the turn 6 by approximately 4 s (Fig. 2g) till reaching the destination site in 27 s (Fig. 2h).
Tracing of the Ga droplet shown in Fig. 2i the positions of the droplet every 1 sec are marked. Their distribution, supported by the plot of the velocity (Fig. 3a) covered by Ga each second of the experiment, indicate that the droplet is substantially delayed, or even often stays still while gathering a momentum, when turning the corners. The delay length though does not seem to be affected by the angle of the turn.
Navigation of a gallium droplet in maze is illustrated in Fig. 4. It takes approximately 82 s for the droplet to reach a vicinity of the electrode . Nearly half of this time is spent by the droplet near the starting electrode (Fig. 4a) gradually accelerating. By approximately 43 s the droplet reaches the waypoint 2 (Fig. 4b). It then dashes by waypoints 3 (Fig. 4c), and 4 (Fig. 4d). The droplet reaches waypoint 5 by approximately 45 s (Fig. 4e). It takes the droplet approximately 1 sec to circumnavigate around the end of the wall, marked 5 in Fig. 4f. The passage from the waypoint 5 to the waypoint 6 poses a substantial difficulty for the droplet due to strong electrolyte convection flow resulting from vigorous evolution of gas bubbles at the electrode . Yet by 82nd s since the beginning of the experiment the droplet approaches the electrode (Fig. 4g). Distribution of the droplet positions on the trace (Fig. 4h) and the velocity plot (Fig. 3b) show that the slowest parts of trajectory are at the beginning of the journey, when the droplet gathers a momentum to overcome its static position and, and at the end of the journey, when the droplet struggles to overcome waves of bubbling from the target electrode. In all other parts the velocity is relatively stable, subject to minor perturbations. The surface of the maze is much smoother than that of the maze therefore the droplet spends less time (that the droplet in ) turning around corners. The irregularities in the speed of motion of the gallium droplet may originate from irregularities of the oxide layer formed at the surface of gallium and consequently in small changes in the intensity of Marangoni flow which is directly responsible for droplet motion. The Marangoni flow results from local differences in surface tension of the droplet, as the case with some other types of travelling droplets [34, 10, 26]. This also explains the induction period — the droplet needs to accumulate sufficient amount of oxide (on the anodic side of the droplet) to start its motion.
In some experiments the droplet did not reach the target electrode due to its inability to choose between two branched pathways with nearly equal intensity of the current. One of such experiments is illustrated in Fig. 5. The droplet reaches site . The length of pathways and is nearly equal: 38 mm and 42 mm in the maze . Intensity of the current along a pathway is proportional to the length of the pathway. Therefore, on both sides of the droplet the intensity was similar. Thus, droplet was unable to choose which way to proceed (bifurcation point).
4 Discussion
Why do gallium droplets move along the shortest path? This is because the intensity of electrical current is the strongest along the shortest path, as evidenced in Fig. 6, which is consistent with Kirchhoff’s current law and Ohmic law, if we assume, for the sake of simplicity, that all the corridors in the maze have almost the same width. Then, the highest intensity current will be observed on a path with lowest resistivity (which corresponds to the shortest path if we assume identical specific resistivity of the liquid throughout the maze). Approximation of the shortest collision-free path using electrical current was first demonstrated in a network of resistors in 1991 [32, 33]: a space is represented as a resistor network, obstacles are insulators. Later visualisation of the path-solving with electrical current without physical discretisation of space was demonstrated in [8, 9]. The Finite Element Method (FEM) simulation performed in Comsol Multiphysics 5.3 environment over a 2D domain shows the distribution of current density in the maze , where two electrodes have been set in a way similar to the experiments (outer circle, red spot at +180o; inner circle, red spot at -90o) and a voltage drop of 5V forced between them, while medium conductivity has been adjusted to NaOH solution as per experiments. The mesh has been built in order to avoid numerical deviations close to the edges, despite computational complexity.
This choice is fundamental in highlighting the role of wall conductivity, as shown in Fig. 7, a strategy that could be pursued to mitigate the high latency of Ga droplet during vertex bypasses. The top row (panels (a), totally insulating walls and (b), insulating walls with Au conductive layer on each sharp edge) shows in colour scale the quantity integrated over a rigid disk of size half the channel width, comparable to the size of Ga droplet. Therefore this quantity gives a measure of the complexity of the potential field that acts on the droplet as accelerating force. Integrating over smaller sizes does not change the geometry of this planar force field, but it affects its strenght in reason of a direct proportionality. One conclusion is that much smaller droplets will be subject to lower accelerating forces and a proper trade-off with viscous forces could result in faster motion. The bottom row (panels (c), totally insulating walls and (d), insulating walls with Au conductive layer on each sharp edge) shows as a distribution of red arrows, clearly indicating the maze solving trajectory, and the quantity as black level curves. Differences between the insulated maze case and the maze where sharp edges have been deposited with a gold electrically conductive shell suggest us that such a functionalisation, either of the edges or of the whole wall structure is effective in reducing the strength of potential localised at the edges, thus avoiding droplet latency/pinning.
Further studies of the programmable navigation of liquid metal droplets will aim to answer the following questions. Given fixed electrical potential and current supplied what is a maximum distance between electrodes the droplet can propagate? Given a gallium droplet of a fixed size what is a narrowest gap the droplet can squeeze into? Will several gallium droplets co-interact, due to them affecting local conductivity of the medium, while navigating towards the exit of the maze?
5 Acknowledgement
AA acknowledges support of EPSRC with grant EP/P016677/1. Authors thank Dr. Tom Draper for kindly assisting with preparation of the NaOH solution. KS acknowledges support from National Science Centre (Poland) for financial support within the contract No. UMO-2015/18/A/ST4/00058.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Andrew Adamatzky. Hot ice computer. Physics Letters A , 374(2):264–271, 2009.
- 2[2] Andrew Adamatzky. Slime mold solves maze in one pass, assisted by gradient of chemo-attractants. IEEE transactions on nanobioscience , 11(2):131–134, 2012.
- 3[3] Andrew Adamatzky. Physical maze solvers. all twelve prototypes implement 1961 lee algorithm. In Emergent Computation , pages 489–504. Springer, 2017.
- 4[4] Andrew Adamatzky. A brief history of liquid computers. Philosophical Transactions of the Royal Society B , 374(1774):20180372, 2019.
- 5[5] Andrew Adamatzky, Alessandro Chiolerio, and Konrad Szaciłowski. Supplementary materials. Liquid metal solves maze. http://doi.org/10.5281/zenodo.3344993, 2019.
- 6[6] Andrew Adamatzky and Benjamin de Lacy Costello. Collision-free path planning in the belousov-zhabotinsky medium assisted by a cellular automaton. Naturwissenschaften , 89(10):474–478, 2002.
- 7[7] K Agladze, N Magome, R Aliev, T Yamaguchi, and K Yoshikawa. Finding the optimal path with the aid of chemical wave. Physica D: Nonlinear Phenomena , 106(3-4):247–254, 1997.
- 8[8] Simon Ayrinhac. Electric current solves mazes. Physics Education , 49(4):443, 2014.
