The Legacy of Theseus: From Telephone Relays to Global Robotics

The origins of the Micromouse competition date back far longer than many modern AI enthusiasts might realize. In 1952, the mathematician Claude Shannon constructed an electronic mouse named Theseus. This machine was a marvel of its time, utilizing telephone relay switches to 'remember' its way through a maze. While the intelligence was technically housed within the maze itself rather than the mouse, it served as a fundamental inspiration for the field of machine learning and artificial intelligence. This historical milestone laid the groundwork for what would eventually become the oldest robotics competition in existence.
In 1977, the Institute of Electrical and Electronics Engineers (IEEE) announced the Amazing Micro-Mouse Maze Contest. Initially, the concept was misunderstood as a simple battery-powered toy race, but it quickly evolved into a rigorous engineering challenge. The first official finals in 1979 showcased 15 successful entrants from a pool of over 6,000, signaling the birth of a global phenomenon. Today, the competition has expanded to include major events like All-Japan Micromouse, Taiwan, and APEC in the USA, where the top engineers in the world push the limits of autonomous navigation.
Key insight: Micromouse is not just a race; it is a holistic test of mechanical engineering, electronics, and software optimization within a strictly constrained physical environment.
| Era | Primary Technology | Navigation Strategy |
|---|---|---|
| 1950s | Telephone Relays / Magnets | Trial and Error |
| 1970s | Basic Microprocessors | Wall Following |
| 1990s | IR Sensors / Stepper Motors | Depth First Search (DFS) |
| 2020s | DC Motors / Gyros / Vacuums | Flood Fill / Path Smoothing |
Mastering the Maze: Algorithms and the Flood Fill Revolution

To solve a maze autonomously, a Micromouse must be fully independent, relying on no external GPS or remote control. The robot is typically allowed five runs within a 7-to-10-minute window. The first run is traditionally a search phase where the mouse carefully maps the layout. The remaining runs are high-speed sprints. While early competitors used simple 'wall-following' techniques, modern maze designs incorporate freestanding walls that render such basic strategies obsolete, forcing robots to utilize more sophisticated mapping algorithms.
One of the most efficient techniques used today is the Flood Fill algorithm. In this method, the mouse views the maze as a grid of numbers representing the distance to the goal. It initially assumes an 'optimistic' map with no walls, attempting the shortest possible route. When it encounters a wall, it updates the numerical values of the surrounding cells and recalculates the path of least resistance. This process mimics water flooding a maze, where the robot always flows toward the 'lowest' numerical point (the goal).
Memo: The Flood Fill algorithm is highly efficient because it allows the mouse to search only relevant sections of the maze, often discovering the shortest path during the return trip to the start square.
However, finding the physically shortest path is no longer enough to win at the highest levels. In the 2017 All-Japan Micromouse competition, the mouse Red Comet, built by Masakazu Utsunomiya, won by choosing a path that was five and a half meters longer than the shortest route. The robot's algorithm calculated that a longer path with fewer turns would allow for higher sustained speeds, proving that the fastest path is often mathematically distinct from the shortest one.
- 1Search: Explore unknown cells to identify wall locations.
- 2Optimization: Calculate the ideal path based on motor capabilities and turn complexity.
- 3Execution: Sprint using PID control to maintain precision at high velocities.
The First Paradigm Shift: The Introduction of Diagonal Movement
For decades, Micromice moved in a strictly grid-like fashion, making 90-degree turns and moving only in straight lines. This limitation was shattered by an innovation often called a 'Fosbury Flop' in the community: the introduction of diagonal movement. The robot Mighty Mouse 3 was one of the first to implement an algorithm that allowed it to cut across intersections diagonally, transforming jagged turns into single, fluid straightaways.

