logo
How college students built the fastest Rubik's Cube-solving robot yet

How college students built the fastest Rubik's Cube-solving robot yet

The Verge01-06-2025
A team of Purdue University students recently set a new Guinness World Record with their custom robot that solved a Rubik's Cube in just 0.103 seconds. That was about a third of the time it took the previous record-setting bot. But the new record wasn't achieved by simply building a robot that moves faster. The students used a combination of high-speed but low-res camera systems, a cube customized for improved strength, and a special solving technique popular among human speed cubers.
The Rubik's Cube-solving robot arms race kicked off in 2014, when a robot called Cubestormer 3 built with Lego Mindstorms parts and a Samsung Galaxy S4 solved the iconic puzzle in 3.253 seconds — faster than any human or robot could at the time. (The current world record for a human solving a Rubik's Cube belongs to Xuanyi Geng, who did it in just 3.05 seconds.) Over the course of a decade, engineers managed to reduce that record to just hundreds of milliseconds.
Last May, engineers at Mitsubishi Electric in Japan claimed the world record with a robot that solved a cube in 0.305 seconds. The record stood for almost a year before the team from Purdue's Elmore Family School of Electrical and Computer Engineering — Junpei Ota, Aden Hurd, Matthew Patrohay, and Alex Berta — shattered it. Their robot has come to be known as Purdubik's Cube. Bringing the robot record down to less than half a second required moving away from Lego and, instead, using optimized components like industrial motors. Getting it down to just 0.103 seconds, however, required the team from Purdue to find multiple new ways to shave off milliseconds.
'Each robot that previous world record-holders has done has kind of focused on one new thing,' Patrohay tells The Verge. When MIT grad students broke the record in 2018, they opted for industrial hardware that outperformed what previous record-holders had used. Mitsubishi Electric chose electric motors that were better suited for the specific task of spinning each side of the cube, instead of just hardware that moved faster.
However, the first thing the Purdue students improved was actually the speed that their robot could visualize the scrambled cube. Human speed cubing competitors are allowed to study a Rubik's Cube before their timer starts, but the robot record includes the time it takes it to determine the location of all the colored squares. The students used a pair of high-speed machine vision cameras from Flir, with a resolution of just 720x540 pixels, pointed at opposing corners of the cube. Each camera can see three sides simultaneously during exposures that lasted as little as 10 microseconds.
Although it may seem instantaneous, it takes time for a camera to process the data coming from a sensor and turn it into a digital picture. The Purdubik's Cube uses a custom image detection system that skips image processing altogether. It also only focuses on a very small area of what each camera's sensor sees — a cropped region that's just 128x124 pixels in size — to reduce the amount of data being moved around.
Raw data from the sensors is sent straight to a high-speed color detection system that uses the RGB measurements from even smaller sample areas on each square to determine their color faster than other approaches — even AI.
'It's sometimes slightly less reliable,' Patrohay admits, 'but even if it's 90 percent consistent, that's good enough as long as it's fast. We really want that speed.'
Despite a lot of the hardware on Purdue's robot being custom-made, the team chose to go with existing software when it came to figuring out the fastest way to solve a scrambled cube. They used Elias Frantar's Rob-Twophase, which is a cube-solving algorithm that takes into account the unique capabilities of robots, like being able to spin two sides of a cube simultaneously.
The team also took advantage of a Rubik's Cube-solving technique called corner cutting where you can start to turn one side of the cube before you've finished turning another side that's perpendicular to it. The advantage to this technique is that you're not waiting for one side to completely finish its rotation before starting another. For a brief moment, there's overlap between the movements of the two sides that can result in a significant amount of time saved when you're chasing a world record.
The challenge with corner cutting is that if you use too much force (like a robot is capable of) and don't time things perfectly, you can physically break or even completely destroy a Rubik's Cube. In addition to perfecting the timing of the robot's movements and the acceleration of its motors, the students had to customize the cube itself.
Guinness World Records follows the guidelines of the World Cube Association, which has a long list of regulations that need to be followed before a record will be recognized. It allows competitors to modify their cube, so long as it twists and turns like a standard Rubik's Cube and has nine colored squares on each of its six sides, with each side a different color. Materials other than plastic can be used, but the color parts all need to have the same texture.
To improve its durability, the Purdue team upgraded the internal structure of their cubes with a custom 3D-printed version made from stronger SLS nylon plastic. The WCA also allows the use of lubricants to help make cubes spin more freely, but here it's used for a different reason.
'The cube we use for the record is tensioned incredibly tight, like almost hilariously tight,' says Patrohay. 'The one that we modified is very difficult to turn. Not impossible, but you can't turn it with your fingers. You have to really get your wrist into it.' When solving the cube at high speeds, the lubricant helps to smooth out its movements while the increased tension reduces overturns and improves control so time-saving tricks like corner cutting can be used.
Faster servo motors do help to reduce solving times, but it's not as simple as maxing out their speed and hoping for the best. The Purdubik's Cube uses six motors attached to metal shafts that slot into the center of each side of the cube. After testing several different approaches the team settled on a trapezoidal motion profile where the servos accelerate at speeds of up to 12,000,000 degrees/s2, but decelerate much slower, closer to 3,000,000 degrees/s2, so the robot can more accurately position each side as it comes to a stop.
Could the Purdubik's Cube break the record again? Patrohay believes it's possible, but it would need a stronger cube made out of something other than plastic. 'If you were to make a completely application-specific Rubik's Cube out of some sort of carbon fiber composite, then I could imagine you being able to survive at higher speeds, and just being able to survive at higher speeds would then allow you to bring the time down.'
Orange background

Try Our AI Features

Explore what Daily8 AI can do for you:

Comments

No comments yet...

Related Articles

GitLab To Announce Second Quarter Fiscal 2026 Financial Results
GitLab To Announce Second Quarter Fiscal 2026 Financial Results

Yahoo

time24 minutes ago

  • Yahoo

GitLab To Announce Second Quarter Fiscal 2026 Financial Results

SAN FRANCISCO, August 20, 2025--(BUSINESS WIRE)--All Remote - GitLab Inc., (NASDAQ: GTLB), the most comprehensive, intelligent DevSecOps platform, today announced that it will report its financial results for the second quarter of fiscal year 2026, which ended July 31, 2025, after U.S. markets close on Wednesday, September 3, 2025. Management will host a conference call and webcast on the same day to discuss the company's financial results at 4:30 p.m. ET / 1:30 p.m. PT. GitLab Second Quarter Fiscal 2026 Financial Results Conference Call and Webcast When: Wednesday, September 3, 2025 Time: 4:30 p.m. ET / 1:30 p.m. PT Earnings Call Registration Replay: A webcast replay of the conference call will be available on the investor relations website for one year. GitLab uses its Investor Relations website and its X feed (@gitlab), among other channels, as a means of disclosing material nonpublic information and for complying with its disclosure obligations under Regulation FD. About GitLab Inc. GitLab is the most comprehensive, intelligent DevSecOps platform for software innovation. GitLab enables organizations to increase developer productivity, improve operational efficiency, reduce security and compliance risk, and accelerate digital transformation. More than 50 million registered users and more than 50% of the Fortune 100 trust GitLab to ship better, more secure software faster. View source version on Contacts Media Contact:Lisa Boughnerpress@ Investor Contact:Cassidy Fuller-Pattersonir@

Astera Labs Announces Third Quarter 2025 Financial Conference Participation
Astera Labs Announces Third Quarter 2025 Financial Conference Participation

Yahoo

time24 minutes ago

  • Yahoo

Astera Labs Announces Third Quarter 2025 Financial Conference Participation

SAN JOSE, Calif., Aug. 20, 2025 (GLOBE NEWSWIRE) -- Astera Labs, Inc. (Nasdaq: ALAB), a leader in semiconductor-based connectivity solutions for rack-scale AI infrastructure, today announced its participation in financial conferences for the third quarter 2025. Deutsche Bank 2025 Technology Conference on Aug. 28, 2025. Astera Labs' presentation is scheduled for 12:30 pm PT. Citi's 2025 Global TMT Conference on Sept. 4, 2025. Astera Labs' presentation is scheduled for 8:50 am ET. A webcast of each session will be made available on Astera Labs' investor relations website at About Astera Labs Astera Labs (NASDAQ: ALAB) provides rack-scale AI infrastructure through purpose-built connectivity solutions grounded in open standards. By collaborating with hyperscalers and ecosystem partners, Astera Labs enables organizations to unlock the full potential of modern AI. Astera Labs' Intelligent Connectivity Platform integrates CXL®, Ethernet, PCIe®, and UALink™ semiconductor-based technologies with the company's COSMOS software suite to unify diverse components into cohesive, flexible systems that deliver end-to-end scale-up, and scale-out connectivity. Discover more at IR CONTACT: Leslie

DOWNLOAD THE APP

Get Started Now: Download the App

Ready to dive into a world of global content with local flavor? Download Daily8 app today from your preferred app store and start exploring.
app-storeplay-store