Skip to main content

How engineers for NASA’s Ingenuity helicopter do tech support on another planet

Ingenuity Helicopter in 3D: NASA's Ingenuity Mars Helicopter is seen here in 3D using images taken June 6, 2021, by the left and right Mastcam-Z cameras aboard NASA’s Perseverance Mars rover.
Ingenuity Helicopter in 3D: NASA’s Ingenuity Mars Helicopter is seen here in 3D using images taken June 6, 2021, by the left and right Mastcam-Z cameras aboard NASA’s Perseverance Mars rover. NASA/JPL-Caltech/ASU/MSSS

NASA’s Ingenuity helicopter has captured the world’s imagination with its exploration of Mars from the air. It recently completed its eighth successful flight, but as an experimental piece of technology it hasn’t all been smooth sailing for the plucky little helicopter — it has also had to deal with two software issues during its operations. Now, Ingenuity Operations Lead Teddy Tzanetos has shared some insights into how the team fixes software problems on a piece of tech on another planet.

The first issue arose in the preparations for flight four when the rotors failed to spin up correctly. The Ingenuity team report that the helicopter was having a problem transitioning into its “flight-state” mode, which stopped the blades from spinning up to full speed. This turned out to be due to overcautious software, in which the Field Programmable Gate Array (FPGA) component was detecting very slight variations in timing and was therefore preventing the helicopter from flying.

This issue was fixed by creating a temporary workaround to allow the helicopter to keep performing its flights. But there was a possibility that the issue could reoccur and require multiple attempts at flights in the future. Now, the team has updated the Flight Controller software to permanently fix this issue which they tested with a slow-spin test of the blades last week.

The second issue is to do with the camera that the helicopter uses to position itself. The helicopter has both color and black and white cameras which it uses to capture images of the ground below and make rapid adjustments to its movements, up to 500 times per second. To maneuver effectively, the helicopter needs exact timestamps for the images it captures so it can make these adjustments correctly.

The problem that arose during flight six was a glitch in the pipeline for processing images. When using the color camera, this glitch caused one single frame to be dropped. But this meant that timestamps on subsequent images were incorrect, which lead to the helicopter trying to overcorrect its movements and it ended up swinging back and forward.

Fortunately, the helicopter was able to land safely, but the team decided not to use the color camera on subsequent flights seven and eight. They think it is the more intense processing requirements for color images that lead to the glitch, so they have stuck with the less demanding and therefore safer black and white cameras for now.

Fixing this issue will require updating a large portion of the helicopter’s software. The team will create a software addition that detects if a frame has been dropped and which will correct any subsequent timestamps, allowing them to use the color camera once again. They are planning to make this update in the next few days.

Editors' Recommendations

Georgina Torbet
Georgina is the Digital Trends space writer, covering human space exploration, planetary science, and cosmology. She…
NASA regains communications with Mars helicopter Ingenuity
The Ingenuity helicopter is pictured on the surface of Mars.

Just a few days after losing contact with the Mars helicopter Ingenuity, NASA announced that it has regained communications with the plucky little helicopter. In a post on X (formerly Twitter), NASA's Jet Propulsion Laboratory, which designed and operated the helicopter, announced that it is back in touch following an unexpected communications dropout.

The Ingenuity helicopter is pictured on the surface of Mars. NASA

Read more
NASA has lost communication with the Ingenuity Mars helicopter
NASA’s Ingenuity Mars helicopter is seen here in a close-up taken by Mastcam-Z, a pair of zoomable cameras aboard the Perseverance rover. This image was taken on April 5, the 45th Martian day, or sol, of the mission.

The Mars helicopter Ingenuity has had a remarkable lifespan and has proven to be a greater success than anyone imagined. Originally designed to perform just five flights over the surface of Mars, the helicopter has now performed more than 70. However, NASA has now announced that it has lost contact with the helicopter, though it's unclear how serious this problem is.

The helicopter was performing its 72nd flight, which was an adjustment and correction to a previous flight that was cut short. Flight 71 was intended to be a journey of 1,175 feet (358 meters), but when the helicopter made this flight earlier in the month, it traveled just a third of that. The problem was related to its downward-facing camera, which uses surface indications for autonomous navigation. The helicopter was traveling over a particularly featureless expanse of the surface, and the lack of landmarks appeared to cause a problem with its navigation, forcing the flight to end early.

Read more
NASA’s Mars helicopter forced to cut short latest flight
NASA's Ingenuity helicopter.

NASA’s Mars helicopter has now completed an impressive 71 flights on the red planet since its first hover there in April 2021.

While most of the flights have taken place without any difficulties, the latest one was cut short after Ingenuity’s navigation system found it difficult to cope with the “relatively featureless terrain,” which consisted of “sand ripples with few or no rocks,” according to a social media post by NASA’s Jet Propulsion Laboratory, which is overseeing the mission.

Read more