The December 2022 issue of IEEE Spectrum is here!

Close bar

This Robot Wants to Beat You at Air Hockey

It adapts to your playing style, and wants to get on your nerves

2 min read
This Robot Wants to Beat You at Air Hockey

When it comes to playing games against robots, the future doesn't look too bright for us humans. Machines will likely beat us, or are already beating us, at soccer, ping pong, chess, Go, baseball, basketball, rock-paper-scissorsiPhone games, and, of course, Jeopardy. Now add air hockey to the list.

Japanese researchers at Chiba University's Namiki Lab have developed an air-hockey robot that is skillful enough to compete against human players. It's not the first air-hockey robot developed, but the team led by Professor Akio Namiki has upped the ante: their robot changes its strategy based on its human opponent's playing style.

The system consists of an air-hockey table, a Barrett four-axis robotic arm, two high-speed cameras, and an external PC. It builds on the lab's work with high-speed tracking. Previously, the researchers (in collaboration with University of Tokyo's Ishikawa Oku Lab) paired a ultrafast vision system with a dexterous robot hand to juggle balls and fold towels, but here it tracks the puck and opponent's paddle. The position data from the camera images is then processed by the external PC, which determines the robot's next move. The robot is tracking the game at an insanely fast rate of 500 frames per second. Which means that, from the robot's point of view, its human opponent is moving at a laughably slow pace. It's like the robot is playing the game in a Matrix-style bullet-time frame.

To keep the game entertaining for human players, the researchers programmed the robot with a three-layer control system. The first layer is responsible for basic motion control at the hardware level. A second layer decides its short-term strategy—whether it should hit the puck, defend the goal, or stay still—to choose which motion can effectively counter the incoming trajectory of the puck. The third layer determines the machine's long-term strategy, and this is where things get interesting.

Basically, the robot observes the speed and position of the player's paddle in relation to the puck. This data can be described by what is known as a Motion Pattern Histogram (MPH). The robot uses this data to estimate whether its opponent is playing aggressively or defensively. Over the course of a game, the robot can detect these MPHs in real-time and compare them with reference patterns to help it figure out what you're doing.

If the robot is not adaptable to its opponent's style, the game can get boring. Say you are being offensive and the robot is being defensive; in this case, the game could become repetitive: you attack, the robot defends, you attack, the robot defends, and so forth. Conversely, if you're playing defensively and the robot offensively, the same problem arises. "To avoid this, the robot should be offensive when the opponent is offensive and should be defensive when the opponent is defensive," the roboticists write in a research paper.

So in a sense, by detecting and matching a given playing style, the robot isn't just physically playing the game against you: it's adding a psychological component to the match. A series of experiments showed that the robot was successful in detecting playing behaviors, and forcing them to change their strategies. As a result, players reported that this made the game more exciting, even if they're playing against a robot that is likely going to defeat them.

The Chiba researchers—Professor Namiki, Sakyo Matsushita, Takahiro Ozeki, and Kenzo Nonami—presented their paper, "Hierarchical Processing Architecture for an Air-Hockey Robot System," at the IEEE International Conference on Robotics and Automation (ICRA) last month.

[ Namiki Laboratory ]

The Conversation (0)

The Bionic-Hand Arms Race

The prosthetics industry is too focused on high-tech limbs that are complicated, costly, and often impractical

12 min read
A photograph of a young woman with brown eyes and neck length hair dyed rose gold sits at a white table. In one hand she holds a carbon fiber robotic arm and hand. Her other arm ends near her elbow. Her short sleeve shirt has a pattern on it of illustrated hands.

The author, Britt Young, holding her Ottobock bebionic bionic arm.

Gabriela Hasbun. Makeup: Maria Nguyen for MAC cosmetics; Hair: Joan Laqui for Living Proof

In Jules Verne’s 1865 novel From the Earth to the Moon, members of the fictitious Baltimore Gun Club, all disabled Civil War veterans, restlessly search for a new enemy to conquer. They had spent the war innovating new, deadlier weaponry. By the war’s end, with “not quite one arm between four persons, and exactly two legs between six,” these self-taught amputee-weaponsmiths decide to repurpose their skills toward a new projectile: a rocket ship.

The story of the Baltimore Gun Club propelling themselves to the moon is about the extraordinary masculine power of the veteran, who doesn’t simply “overcome” his disability; he derives power and ambition from it. Their “crutches, wooden legs, artificial arms, steel hooks, caoutchouc [rubber] jaws, silver craniums [and] platinum noses” don’t play leading roles in their personalities—they are merely tools on their bodies. These piecemeal men are unlikely crusaders of invention with an even more unlikely mission. And yet who better to design the next great leap in technology than men remade by technology themselves?

Keep Reading ↓Show less