On a dusty red planet almost 290 million km away... NASA's Ingenuity Mars Helicopter flies
- Reference: 1618833558
- News link: https://www.theregister.co.uk/2021/04/19/perseverance_computing_feature/
- Source link:
Amid cheers, engineers confirmed the diminutive helicopter had spun up its rotors, taken off, landed and spun everything down, leaving the stage set for further tests. An image from the helicopter's onboard navigation camera showing its shadow on the surface of Mars was swiftly followed by another sequence from the Perseverance rover showing the helicopter hovering.
[1]
[2]
Ingenuity's shadow, screengrab from live feed (click to enlarge) Pic: NASA/ESA
[3]
Ingenuity from Perseverance, screengrab from live feed (click to enlarge) Pic: NASA/ESA
[4]
As one of the newest bits of kit on the rover, Ingenuity was initially strapped onto the vehicle's belly. The small, never-before-tested, foldable helicopter flies by flapping its two rotor blades and is powered by solar panels and batteries. Its on-board hardware, however, is more cellphone-like than helicopter-like; it runs Linux on a Qualcomm Snapdragon 801 chip, a processor traditionally found in smartphones like Samsung’s Galaxy S5.
Using hardware off-the-shelf has some advantages and disadvantages, Tim Canham, a senior software engineer at NASA’s JPL lab, explained to El Reg over the phone. “It tends to be more powerful because it’s more recent and it’s cheaper too compared to older components that have been specially designed to operate in space. But it also means that it’s not as reliable and less robust from a radiation and thermal perspective. The silicon on the Snapdragon 801 is tuned for use on Earth, not Mars.”
Since it's the first flying gizmo to ever set foot on another planet, it’s more of an experiment to test the technology. Ingenuity will only operate over 30 days so its hardware chips can afford to be less rugged than the rad-hardened components on Perseverance. The goal is to successfully fly it along a series of pre-planned paths, where it takes off and lands in the same spot and has a maximum flight time of just 90 seconds.“
The Snapdragon 801 chip is a 2.26GHz quad-core CPU with 2GB RAM and 32GB flash memory. Canham said he’s a fan of Linux, but that wasn’t why NASA picked it over other types of operating systems traditionally used like VxWorks. “The main driver is because the Snapdragon 801 board came already with Linux. We like [Linux] don’t get me wrong, but it’s because the chip came prepackaged.”
NASA’s Mars 2020 mission is the first one to use an open source OS like Linux in space. “People use Linux for all sorts of reasons, not only is it in things like server farms but it’s also at the hobbyist level like in Raspberry Pi too. This flight project is very new for NASA, we’re very careful about what kind of software is allowed on a vehicle, so I do see this as a win for Linux. We’re finally getting payloads using Linux in these deep space missions, where it hasn’t been used before,” he added.
In the future, we could use these helicopters to locate rovers or even astronauts. It’s the first time something like this has ever been done
“It’s important because everyone has access to it. There’s already a big community of developers maintaining it, and lots of people are fixing bugs. We get the advantage of being able to refine our programs. And I think there’s a good chance it’ll become more widely used once we start using more recent processors in space.”
It’s tricky flying on another planet with different atmospheric and gravitational conditions. The Martian atmosphere is about 100 times less dense than Earth’s, there’s less air resistance making it difficult to control the ‘copter’s movements.
Today's flight
The [5]flight took place a week later than originally planned. Some command sequences were tweaked before the drone, which had been dropped from the underside of the Perseverance rover a good few weeks previously, could spin up its rotors and took to the Martian air.
The initial flight was a short hop ahead of a month of lengthier tests.
Frustratingly for boffins at NASA's Jet Propulsion Laboratory, there was a substantial delay between when the commands were sent to activate the autonomous drone and the results from the test being received by the Deep Space Network. The first attempt actually took place at 0731 UTC, but data took a few hours to be relayed to Earth.
The flight was not a sure thing. MiMi Aung, Ingenuity Mars Helicopter Project Manager, [6]said that the addition of some extra commands to the sequence sent to Ingenuity should dodge the "watchdog" timer issue that caused problems last week and "is likely to allow us to transition to flight mode and prepare for lift-off about 85 per cent of the time."
The solution had already been successfully tested in a high-speed spin test of the rotors at the end of last week on Mars.
Another failure would have seen those commands sent again rather than an immediate dive into the existing flight control software, which carries its own risks. Anyone who has had to tinker with years-old stable software would attest to this on Earth, let alone on Mars. It would, however, make for a good [7]Who, Me?
The command fiddling, however, did the trick and, for the first time, a helicopter has flown above the surface of Mars. Congratulations to all those involved.
Ingenuity uses a mixture of hardware to control its flight motion, according to a paper [8][PDF] . First, its sensors feed information from its cameras, altimeter and inclinometer to an ProASIC3 chip, an FPGA that supports ARM - Cortex-M1 soft processor architecture. That data is passed to a microcontroller model TMS570LC43x from Texas instruments to perform the necessary functions to fly, it runs at 300 MHz, 512 K RAM, and 4 MB flash memory on Arm Cortex-R5F architecture. There are two microcontrollers onboard, one is used as back-up in case the other one fails mid-flight.
Ingenuity’s flight code is public and has been [9]uploaded to GitHub . Known as F’ (F prime), the software written in C++ has been used to fly other sorts of devices like NASA’s CubeSats. The telemetry data describing the helicopter’s location is beamed to the Snapdragon 801, where it can be communicated to a base station on Perseverance over radio and relayed back to Earth.
The communication between the helicopter and base station isn’t very fast, data can only be transferred at a maximum rate of 200 kilobits per second. “That’s bits not bytes,” Canham said. The flight commands are compressed into binary files that are only four or five kilobits, and it’ll only take a second or two to transmit them. Downloads of detailed flight data and images, however, can take hours.
What's next?
NASA is planning to operate Ingenuity over three-day cycles, where it will perform a flight one day and spend the next two days sending back data to the base station before it starts over again. “We have three canonical flights that we will perform, but for the other two flights we’re still planning them so stay tuned.”
Although Ingenuity is only being tested on short, simple routes, the space agency has high hopes for how the technology could advance and help us explore space in the future. More powerful successors to Perseverance could one day assist robotic rovers, carry light payloads, help scout new terrain, and direct vehicles to locations with particularly interesting rocks or features to analyse. They can also probe areas that are difficult to reach and have a more expansive view of the land than robots on the ground.
[10]
Cadham said the rover will stay close, about 100 meters, from the drone as it flies. “It’s like a Wright Brothers' moment in many ways. It’ll be the first flight powered vehicle to ever fly on a planet other than Earth. In the future, we could use these helicopters to locate rovers or even astronauts. It’s the first time something like this has ever been done.” ®
Get our [11]Tech Resources
[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/science&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YH2pG5VLCN6pn0Ytbmu6OwAAAFM&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[2] https://regmedia.co.uk/2021/04/19/ingenuity_shadow.jpg
[3] https://regmedia.co.uk/2021/04/19/ingenuity_from_perseverance.jpg
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/science&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YH2pG5VLCN6pn0Ytbmu6OwAAAFM&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[5] https://www.theregister.com/2021/04/13/ingenuity_mars_software_upgrade_needed/
[6] https://mars.nasa.gov/technology/helicopter/status/293/why-we-choose-to-try-our-first-helicopter-flight-on-monday/
[7] https://www.theregister.com/Tag/who-me
[8] https://trs.jpl.nasa.gov/bitstream/handle/2014/46229/CL%2317-6243.pdf
[9] https://github.com/nasa/fprime
[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/science&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YH2pG5VLCN6pn0Ytbmu6OwAAAFM&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[11] https://whitepapers.theregister.com/
Re: Well done!
I understand that once the Ingenuity testing program is over, Perseverance will return to its primary mission. Unfortunately I don't think it will survive very long after being powered down.
Re: Well done!
It may well be able to survive for a while (until the batteries get tired enough that they can't hold enough charge to keep it warm overnight and/or until enough crud accumulates on the solar panel), but unless it is close to Perseverance it's an orphan, and no-one will hear it die.
Re: Well done!
Pretty sure the NSA has installed code on the copter to track the location of the rover, just in case the rover gets ideas beyond its station.
Re: Well done!
I'd echo the comments above wholeheartedly.
Well done to all involved and I have my fingers crossed it is able to greatly extend its design parameters.
Re: Well done!
I would also like to echo the congratulations. Remember, it only took 40 years to go from the Wright brothers to jet engines, so who knows what will be flying across Mars (and the other planets) in 40 years time.
Re: Well done!
Double Squee! I dont know quite why but this gives me a buzz I haven't had since the first moon landing.. I do hope they dont get bored with it and drop it after 30 days. It got to be one of the best ways of exploring the area around the rover and may indeed stop the dog treading in some shit and losing a claw.
Re: Well done!
Ingenuity is a tech demo aimed at proving that it is possible to build a drone that can fly on Mars. Basically it has proved that now, so NASA could move on. As it happens they want to try some additional flights with longer flight distances, perhaps as far as a couple of hundred metres, but sadly are not planning to use Ingenuity beyond the 30 day limit. It only carries a couple of fixed-direction cameras; no other science payload at all, so it has limited utility.
Saying that, if it is still health after 30 days and the batteries have enough capacity, it would not surprise me if someone in NASA decided to use it as some form of scout, at least until it finally failed.
Re: Well done!
Hopefully if it does last in a flyable condition after 30 days they will see just how much longer that hardware configuration can survive the extremes of heat and cold and radiation. The article says they used off-the-shelf components not hardened for use in such a harsh environment, so finding out how long they last could be useful.
Of course if it could be a danger to Persey then they will have to shut it down.
Re: Well done!
I think (although I'd like to be wrong) that they pretty much can't. It needs to stay near Perseverance, and keeping it near it means flying frequently, and that eats bandwidth, which is a scarce resource. But I'd like to be wrong, as I said.
Watched it as the feed came in from the NASA site. Pretty amazing stuff when you think about it. Loved seeing all the views of the shell console stuff (nerdy I know), but seeing the telemetry data on the graph and the first image(s) was awesome. The reaction from the boffins was nice too. So glad it made its baby hop successfully.
3 hours for information to come back? They must have trained on a remote VMWare console if my experience is anything to go by!
Beer for Boffins as always -->
we’re very careful about what kind of software is allowed on a vehicle
Yup, can't have aliens turning up to wipe out humanity using Linux in their spaceship. I mean, how would it be possible to defeat them by uploading a virus if they're using something decent?
Mine's the one with a Windows 3.10 disc set in the pocket...
Re: we’re very careful about what kind of software is allowed on a vehicle
Don't worry we used Aricebo to beam SAP into space.
Reports are that the Borg cube is now offline awaiting an upgrade
That was merciful
If they'd wanted to kill them they'd have sent them Vista.
Pretty sure Linux in space isn't new...
Isn't there is a Pi on the ISS, and I'm pretty sure that's in space.
One could reasonably argue that on mars isn't in space as well...
Beer's all round - other beverages available on request.
Re: Pretty sure Linux in space isn't new...
He does say "deep space" which I think was an acknowledgement of the fact Linux has some space pedigree already.
It's always beer o'clock somewhere in space!
Re: Pretty sure Linux in space isn't new...
Pretty sure if you put your head out the ISS it would be deep space enough!
Re: Pretty sure Linux in space isn't new...
Both deep space and space are mentioned...
but the article (rather than quotes within) says:
"NASA’s Mars 2020 mission is the first one to use an open source OS like Linux in space."
Or at least it did when I first read it, and when I just checked.
Re: Pretty sure Linux in space isn't new...
Many of the ISS Thinkpads are running Debian.
Re: Pretty sure Linux in space isn't new...
What they mean, I'm sure, is Linux in the control system for a spacecraft/lander/helicopter : it doesn't count, I think, if you have Linux running on some system which is not in the loop of running the vehicle.
[quote]More powerful successors to Perseverance could one day assist robotic rovers...[/quote]
s/Perseverance/Ingenuity/;
In other news
"A drone sighted on Mars puts all Heathrow flights on halt"
So, after years of trying
We've finally delivered a UFO to Mars to confuse the locals!
Excellent! Many of these will be required -->
Your package was delivered by auto-copter
Since you were not available to accept the package at the time of delivery we left it over there, just behind the large dusty yellowish rock, but before the top most ridge line. Thank you for using MACD (Mars Auto-Copter Delivery).
Penguins on the red planet
When he started developing linux, I bet Linus never envisioned seeing a flying penguin on Mars.
Doing well so far. I've seen all to many model helicopters end up doing the dead chicken dance at the slightest excuse.
If I recall the definition correctly: Helicopter: Thousands of parts all trying to kill you.
Re: Penguins on the red planet
Plus: "If something hasn't broken on your helicopter, it's about to"
I'm not sure what the best moment was
But when the person stood up and tore up a bit of paper, which turned out to be the 'contingency speech' might be the best. (Although not actually: I'm not ashamed to say that seeing the B/W picture from the down-looking camera made me cry.)
Follow-Me mode
I wonder if you could make it follow Perseverance as it roves?
Can Perseverance pick it back up again? If not I suspect it is a bit doomed at the next storm.
Never the less, an amazing achievement.
Long Live Ingenuity!
Ingenuity will only operate over 30 days...
Didn't they say something like that about Spirit and Opportunity too?
Here's hoping for more than a few flights and a decent lifespan for the thing.
Top boffinry all around though, nice one!
Well done!
Excellent news. The whole team deserves a pint and hearty congratulations.
I see that it will stay within 100m of Perseverance to ensure communications. Lets hope it lasts as far beyond its design life as the other superbly engineered rovers.
Congratulations all round.