Skip to main content

How NASA is using AI on the Perseverance rover to study Mars rocks

Space engineers have been using AI in rovers for some time now — hence why today’s Mars explorers are able to pick a safe landing site and to drive around a region autonomously. But something they haven’t been able to do before now is to do science themselves, as most of that work is done by scientists on Earth who analyze data and point the rover toward targets they want to investigate.

Now, though, NASA’s Perseverance rover is taking the first steps toward autonomous science investigation on Mars. The rover has been testing out an AI capability for the last three years, which allows it to search for and identify particular minerals in Mars rocks. The system works using the rover’s PIXL instrument (Planetary Instrument for X-ray Lithochemistry), a spectrometer that uses light to analyze what rocks are made of. The software, called adaptive sampling, looks though PIXL’s data and identifies minerals to be studied in more detail.

Recommended Videos

“We use PIXL’s AI to home in on key science,” explained PIXL’s principal investigator, Abigail Allwood of NASA’s Jet Propulsion Laboratory, in a statement. “Without it, you’d see a hint of something interesting in the data and then need to rescan the rock to study it more. This lets PIXL reach a conclusion without humans examining the data.”

The system runs on board the rover, with no intervention from Earth required. That means it saves on precious time, not only by choosing targets for the scientists but also because it doesn’t require lengthy communication times.

“The idea behind PIXL’s adaptive sampling is to help scientists find the needle within a haystack of data, freeing up time and energy for them to focus on other things,” said Peter Lawson, one of the developers of the software. “Ultimately, it helps us gather the best science more quickly.”

The AI system works by taking data from PIXL, then repositioning the instrument (which is mounted on Perseverance’s arm) using its camera so it can get in close to take a detailed reading without hitting the rock. You can see the system in action in a (kind of adorable) video of an Earth-based model of PIXL. The system will take a reading from one small patch of rock, and if it finds indications of minerals that are interesting to science, it can automatically collect more data on that area.

“PIXL is kind of a Swiss army knife in that it can be configured depending on what the scientists are looking for at a given time,” said David Thompson, who helped develop the software. “Mars is a great place to test out AI since we have regular communications each day, giving us a chance to make tweaks along the way.”

Georgina Torbet
Georgina has been the space writer at Digital Trends space writer for six years, covering human space exploration, planetary…
Perseverance rover gears up for a big climb to the rim of the Jezero Crater
One of the navigation cameras aboard NASA’s Perseverance Mars rover captured this view looking back at the “Bright Angel” area on July 30, the 1,224th Martian day, or sol, of the mission.

The Perseverance rover on Mars is set to begin its newest challenge: a slog up the rim of the Jezero Crater that will take months to complete. The rover will face steep slopes and difficult terrain, testing its wheels and suspension system, but its efforts should help to uncover rocks from the most ancient part of the Mars crust.

Since the rover landed in the Jezero Crater in 2021, it has been exploring the floor of the crater and the site of an ancient river delta. This area was chosen because it was once home to an ancient lake, so the rock cores that the rover has collected will help to uncover information about the history of water on Mars -- which is vital to determine if the planet could ever have been habitable.

Read more
NASA agreement with oil company BP could see its technology used on moon
An artist’s concept of an Artemis astronaut deploying an instrument on the lunar surface.

While its technology is most often used to drill for oil here on Earth, oil company BP has entered into an agreement with NASA that could see its technology used to drill for resources on the moon.

The agreement was announced this week, and says the company will work with NASA to "support common goals in space exploration and energy production." That involved sharing technology and technical expertise, particularly about how energy production can operate in extreme environments. This could be applicable to future NASA plans for exploration of the moon and Mars, both of which will require significant power generation.

Read more
NASA’s axed moon rover could be resurrected by Intuitive Machines
An illustration of NASA's Volatiles Investigating Polar Exploration Rover (VIPER) on the lunar surface.

Lunar scientists were shocked and dismayed last month when NASA announced that it was canceling work on its moon rover, VIPER. The Volatiles Investigating Polar Exploration Rover was intended to search the moon's south pole for evidence of water there, but NASA said that it had to ax the project due to increasing costs.

This week, an open letter to Congress called the cancellation of the mission "unprecedented and indefensible," and questioned NASA's assertion that the cancellation of the mission would not affect plans to send humans to the moon. Scientists argued that the mission was fundamental to understanding the presence of water on the moon, which is a key resource for human exploration, as well as an issue of scientific interest.

Read more