A table tennis-playing robot can keep up a rally against humans, but like many amateur players, it struggles when attempting fancier shots.
, and at the University of Tübingen in Germany began by designing a computer simulation in which a virtual robot arm equipped with a table tennis racket attempted to return ping pong balls across a virtual table tennis table.
Advertisement
The researchers ran this simulation so that a machine learning algorithm could learn how the velocity and orientation of the racket affects the path theĀ ball takes.
Once this algorithm, which learns by trial and error, could reliably return the ball, the researchers set it up to control the movement of a real robot arm positioned next to a real table (pictured).
The system used two cameras to track the location of the real ball every 7 milliseconds, and the algorithm processed the signals and decided where to move the robotic arm to hit andĀ return the ball.
The signals that the algorithm sent allowed the robot arm to accurately play shots to within an average of 24.9 centimetres of the intended location. This accuracy level was slightly worse than when the algorithm was working with a simulationĀ ā a common occurrence, says Tebbe, as computer simulations canāt accurately represent everything in real life.

The entire processĀ ā including training in the virtual simulation and in the real worldĀ ā took just 1.5 hours, demonstrating how rapidly algorithms can learn to perform in a new situation.
However, although the robot performed well against human players, it was tripped up by fast shots ā and, surprisingly, by slow ones. āIf a ball is slow, the robot needs to generate more speed,ā says Tebbe. Struggling to do that, the ball often slumped off the racket.
āBy training the system for aĀ relatively short period of time the robot is able to cope well with differences in serve, and capable of returning using a random policy,ā says Jonathan Aitken at the University of Sheffield in the UK, who wasnāt involved in the study.
Aitken was surprised the algorithm flunked returning slow shots. He also finds it interesting that it sometimes struggled with making shots because of the mechanical limitations of the robot system,Ā rather than because ofĀ shortcomings with the algorithm.
The robot arm has other limitations. For instance, it struggles to play backspin shots, says Zell, because the robot arm is unable to hold the racket at the required angle needed to perform such shots. But despite these issues, he believes the robot is a good player.
āItās not worse than a regular human player,ā he says. āItās already on par with me.ā
Reference: