Slashdot Mirror


Mars Rover Curiosity: Less Brainpower Than Apple's iPhone 5

Nerval's Lobster writes "To give the Mars Rover Curiosity the brains she needs to operate took 5 million lines of code. And while the Mars Science Laboratory team froze the code a year before the roaming laboratory landed on August 5, they kept sending software updates to the spacecraft during its 253-day, 352 million-mile flight. In its belly, Curiosity has two computers, a primary and a backup. Fun fact: Apple's iPhone 5 has more processing power than this one-eyed explorer. 'You're carrying more processing power in your pocket than Curiosity,' Ben Cichy, chief flight software engineer, told an audience at this year's MacWorld."

25 of 256 comments (clear)

  1. Just goes to show. . . by MagusSlurpy · · Score: 5, Insightful

    . . . how wasteful most commercial software packages are.

    --
    My sister opened a computer store in Hawaii. She sells C shells by the seashore.
    1. Re:Just goes to show. . . by Anonymous Coward · · Score: 4, Insightful

      Yeah, good comparison.

      Hundreds of millions of dollars spent on code for a very specific purpose compared to anything else.

    2. Re:Just goes to show. . . by smittyoneeach · · Score: 4, Insightful

      Or how bloody-minded comparisons tell you little. The reason you need horsepower on the board is not because computations are bearish. Rather, all the human interface code.
      I worked on government systems two decades ago that had four-decade old technology and worked great. Why? All the user interface agony was offloaded to dedicated consoles.
      Case in point: which is harder to code against: a command line interface, or a full-on GUI?

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    3. Re:Just goes to show. . . by Jane+Q.+Public · · Score: 4, Insightful

      ". . . how wasteful most commercial software packages are."

      That's certainly true. And the huge volume of our data, too, but mostly software. I have programs on my computer that are easily 20 times the size of entire hard drive of one of our office computers back in 1994... and that hard drive contained a complete install of Microsoft Office as well as Lotus 1-2-3 for those who didn't like Excel. With lots of room to spare. As a long-time programmer, I celebrate the increases in capability we have seen over the years, but I decry the bloated inefficiency of much of our modern software. I would go so far as to say I am dismayed by it sometimes.

    4. Re:Just goes to show. . . by smash · · Score: 4, Informative

      Nah, it just goes to show how far behind the performance card the radiation hardened, military/aerospace grade equipment is.

      Plus, you really don't want to be bleeding edge on this sort of stuff. Discovering a mission ending critical CPU bug when you're astronomical scale distance away = bad.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    5. Re:Just goes to show. . . by Charliemopps · · Score: 5, Insightful

      Well, if you're doing it in a modern software package like C# for example, there's little to no difference at all. I could write a stopwatch app... and the gui would have a single button and a display. The console version of which would be a lot harder to write. It all depends on what you're doing. Most GUIs make it easy to write for them, and offload a lot of their load onto the GPU.

      By the way, Curiosity's UI is still on earth... and on dozens of different computers at Nasa. It's kind of silly to say curiosity is only powered by this tiny processor.... that processor is just accepting and implementing commands. All the data crunching is happening back here on earth by massive banks of computers.

      P.S. Apple probably paid them to say this.

    6. Re:Just goes to show. . . by X0563511 · · Score: 5, Insightful

      ... and where do you think the code to display that button came from? Not from C#, but from the .NET or Mono environment... which is... more code!

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    7. Re:Just goes to show. . . by tbird81 · · Score: 5, Funny

      After a mistake like that, you've got to hand in your geek curve.

  2. So... by sootman · · Score: 4, Funny

    ... not enough power to run Angry Birds then?

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:So... by sco08y · · Score: 5, Funny

      Not even enough power for Mildly Peeved Birds, Canadian edition.

  3. iPhone 5 is faster.. for a few minutes maybe. by ZorinLynx · · Score: 5, Insightful

    Sure, the iPhone 5 may have more processing power... But I bet if you put that thing in space, the first cosmic ray that comes along will happily crash the OS. Game over.

    Hardware in spaecraft has to be hardened big time against radiation. Off the shelf junk will NOT work. Just sayin'.

    1. Re:iPhone 5 is faster.. for a few minutes maybe. by jfdavis668 · · Score: 5, Funny

      That is why the Spirit rover got stuck, it was using Apple Maps.

    2. Re:iPhone 5 is faster.. for a few minutes maybe. by Anonymous Coward · · Score: 4, Informative

      Cosmic rays go straight through the earths atmosphere.

      They absolutely do not, as the article you cite makes clear in its second sentence. Sheesh.

    3. Re:iPhone 5 is faster.. for a few minutes maybe. by WWJohnBrowningDo · · Score: 5, Informative
      Did you even read the article you linked?

      Cosmic rays go straight through the earths atmosphere.

      No, it doesn't. If that were true we'd be all dead. Comic radiation in interplanetary space is 400 to 900 mSv annually, which is 1000 to 2200 times stronger than dosage at sea level on Earth (0.4 mSv). Earth's atmosphere blocks most radiation below 1 GeV.

      Off the shelf computer hardware does indeed work just fine in space. You can watch people on the ISS using normal laptops and cameras all the time.

      That's because ISS is in LEO and thus is still protected by the thermosphere and Earth's magnetic field. On a trip to Mars neither of those protections would be available.

    4. Re:iPhone 5 is faster.. for a few minutes maybe. by TubeSteak · · Score: 5, Informative

      This is the computer chip in the Mars Rover: https://en.wikipedia.org/wiki/RAD750
      Specifically, they're using two *133Mhz chips rated for 1 Megarad.
      1 Megarad is about double the hardening they actually required,
      but I'm guessing they overspecced so that the Mars Science Laboratory will outlast its planned mission length.

      Anyways, if you're in low earth orbit (like the space station) you can get away with radiation tolerant electronics.
      But out in cold hard space, without the earth's atmosphere, you need radiation hardened electronics.
      *Not 200Mhz as so many articles are quoting

      Most satellites and space based processors are no more successful at
      hardening than your garden variety laptops. They just program them better and watch for memory errors.

      What? If it was that simple, we'd be using modern processes, instead of technology that debuted in 1997.
      Instead, it's quite the opposite, where a modern 24nm process is impossible to harden to the same strength as an old 150nm process.

      --
      [Fuck Beta]
      o0t!
  4. That shouldn't impress anyone. by gTsiros · · Score: 4, Insightful

    Voyager 1/2 could run about 100K instructions per second, maybe less.

    It's about the objective, not raw processing power.

    And this is a fine opportunity! to pour some of my bile about the miserly state in which modern software is.

    --
    Looking for people to chat about multicopters, coding, music. skype: gtsiros
  5. Re:Misleading by Orion · · Score: 5, Informative

    Line Replaceable Unit, meaning it's an unit that can be swapped out quickly.

    Somehow I don't think that term really applies here...

  6. heh yea but by Osgeld · · Score: 5, Funny

    Curiosity's computer(s) can handle extreme cold and radiation of space while keeping radio communication for millions of miles, An iPhone is prone to overheat during normal use and has had trouble sending a radio signal though your hand.

  7. So? by JasoninKS · · Score: 5, Funny

    I'll give Curiosity the gold medal any day.

    Lets compare, shall we?

    iPhone - sometimes flaky signal. Curiosity - working from millions of miles away. WIN Curiosity.
    iPhone - works on Earth within range of cell towers. Curiosity - working on frakking Mars. WIN Curiosity.
    iPhone - 1 day power life. Curiosity - radioactive power pack. WIN Curiosity.
    iPhone - plays games, makes calls, takes pictures of girls making duck faces. Curiosity - scientifically explores and photographs another planet. WIN Curiosity.
    iPhone - will shatter if you handle it wrong. Curiosity - dropped onto another world and still going. As designed. WIN Curiosity.

    Curiosity, doing way the hell more, with way the hell less.

  8. Not needing a foolproof UI is most of it by spiritplumber · · Score: 4, Insightful

    I've written an universal autopilot in 2007 that fits in 32K of eeprom. I say that not to brag, but to mean that these things are not unusual. Software on PLCs and so on is often very small -- it also has to be very good at not crashing. Fortunately that's all it has to be: nobody cares if the scroll bar doesn't glow when it's hit the end and so on, it just has to keep the power plant working :)

    --
    Liberty - Security - Laziness - Pick any two.
  9. Re:Why do they always have to refer to the iPhone? by XxtraLarGe · · Score: 5, Insightful
    Maybe it's because of the fact that the speaker was addressing a crowd at Macworld...

    'You're carrying more processing power in your pocket than Curiosity,' Ben Cichy, chief flight software engineer, told an audience at this year's MacWorld.

    --
    Taking guns away from the 99% gives the 1% 100% of the power.
  10. space qual/rad tolerant by Anonymous Coward · · Score: 5, Informative

    You're conflating serveral things..
    Space Qualification doesn't have a lot to do with rad hardening. It's more about manufacturing processes, reliability, and testing to work over wide temps. That off the shelf computer probably won't work at -40C or +75C, while the processors in most spacecraft do. ISS or shuttle isn't a good example: it's basically an office environment: it even has *air*.

    Rad hardening is something else. And the space processors *ARE* more successful at hardening than garden variety CPUs. Take a look at the LEON3FT SPARC core, for instance (Available commercially as the Atmel AT697 or the Aeroflex UT699, or you can burn it into an Actel RTAX2000, if you like). It has register paths that have error correction, etc. The demonstrated performance in a radiation environment *is* better than the non FT version.

    There's single event upsets (SEU) aka "bit flips" which EDAC or parity works nicely for. Your laptop flipping a bit might not be a big deal.. most consumer software has enough bugs and things that you just restart and move on. If the processor controlling the rocket motors during entry descent and landing screws up it's a $2.5B hole in the ground. So internal registers in the space CPUs tend to be triple redundant or other upset mitigations.

    But that's really not the big issues. There are things like Latch-Up.. that particle going through causes a latchup, and the resulting high current at a small location melts the chip. Oops, dead. There are latchup immune designs and processes, and there are latchup monitor/reset circuits, but it's not universal.
    There's single event gate rupture (SEGR) which is where a MOSFET gate gets punctured because the normal charge on it is close to the failure level in normal operation, and the particle deposits just enough more to push it over the edge. Would you notice this on a modern CPU? Maybe it's in the microcode for calculating square root or something and you wouldn't for a long long time.
    We use a lot of FPGAs in spacecraft these days.. If it's a xilinx, that particle can flip a configuration bit, and now you've just programmed your FPGA to have two outputs connected to the same "wire" and they have opposite values. Oops some dead gates now, or if it's bad enough dead chip.

    ISS is a benign radiation environment.. about a Rad(Si) per year or so. There are *humans* on ISS, after all. After all 600 Rad will kill someone in days, 100 Rad will make them pretty sick. A typical design dose for a Mars mission might be 20kRad. For going to Jupiter, maybe a MegaRad?

    But even in that benign radiation environment, a lot of COTS equipment will fail, and there's no way to predict, short of test. So they take all those COTS widgets and run them in a proton beam and figure out what the mean time til failure is. If it's long enough, you send it up to ISS and have at it. There's an awful lot of stuff that has "expected life on ISS" of something like 90-180 days. Google for the papers or look at the website http://www.klabs.org where a lot of this stuff is collected. 180 days on ISS is plenty if you're sending new stuff up on a regular basis. Even at $100k/kilo, that's pretty inexpensive to just send a new iPad up every few months if one dies.

    If you're sending a billion bucks to Mars for 10 years, I think you might want something a bit better.

  11. Re:what about the cost? by Molochi · · Score: 4, Funny

    Well you have to factor in the shipping cost...

    --
    "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
  12. Re:Just goes to show. . .People are stupid by AmiMoJo · · Score: 5, Informative

    The reason is that integer performance isn't worth wasting the silicone on in a mobile processor. It is already well beyond "good enough". What does count is power consumption, where ARM is still in another league to x86, and in floating point operations. ARM has NEON SIMD instructions for that and they are pretty good for audio/video processing and games. In addition a lot of stuff is handed off to the GPU now anyway (transform and lighting, video decoding) which is always going to be far more efficient.

    There is a reason there are not many x86 mobile devices. Atom is more expensive and hard to get good battery life from. Raw performance is good but having four low power cores and a good GPU is better for providing a smooth user experience and mobile games.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  13. Indeed, why not compare batteries as well? by SmallFurryCreature · · Score: 4, Funny

    Mars rover: lasts for years. iPhone barely makes it through the day.

    Or how about speed? Mars rover several meters a day. iPhone, just sits there.

    User upgrades in the field? Mars rover: zero. iPhone: zero.

    Yeah yeah, you have more computing power in your pocket then in NASA machine. That was a fun stat for voyager news briefings. A decade ago. It is not funny anymore, it is just sad and a sign the reporter in question has no idea about tech. This stuff is for morning tv.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.