Dragon capsule runs on Linux, C++, Chromium UIs

栏目: IT技术 · 发布时间: 4年前

$\begingroup$

I don't know if this would be public, but what CPU / Microcontrollers are used and what software do they run on the Falcon 9? Do they use an OS or is it just bare metal programming?

I found some model rocket flight computers that are available for purchase and just wanted to know what approach SpaceX took towards this.

spacex falcon-9 software flight-computer

| improve this question | |

asked May 29 '15 at 7:49

Dragon capsule runs on Linux, C++, Chromium UIs

neelsg

neelsg

3,966 3 gold badges 22 silver badges 46 bronze badges

$\endgroup$
  • $\begingroup$ $\endgroup$ – Valentin Heinitz Sep 6 '19 at 8:05

2 Answers

Active Oldest Votes

$\begingroup$

In this AMA by the SpaceX software development team, they wrote:

We've been getting a lot of questions about how C#/MVC/etc have to do with rockets. They don't.

About their development they said:

The Flight Software team is about 35 people. We write all the code for Falcon 9, Grasshopper, and Dragon applications; and do the core platform work, also on those vehicles; we also write simulation software; test the flight code; write the communications and analysis software, deployed in our ground stations. We also work in Mission Control to support active missions.

The Ground Software team is about 9 people. We primarily code in LabVIEW . We develop the GUIs used in Mission and Launch control, for engineers and operators to monitor vehicle telemetry and command the rocket, spacecraft, and pad support equipment. We are pushing high bandwidth data around a highly distributed system and implementing complex user interfaces with strict requirements to ensure operators can control and evaluate spacecraft in a timely manner.

They also said:

Dragon and Falcon 9 use a version of Linux .

They unfortunately replied to this question:

What sort of computing power (CPU, RAM, Storage, etc.) do you have access to on board the rockets and capsules themselves? What's "smarter," the Falcon 9 or the Dragon?

with:

100 Dragon sized Falcons or 1 Regular Sized Dragon

So I'm guessing any further information is strictly classified :)

| improve this answer | |

edited May 29 '15 at 10:41

answered May 29 '15 at 9:47

Dragon capsule runs on Linux, C++, Chromium UIs

Vedant Chandra

Vedant Chandra

5,490 2 gold badges 27 silver badges 57 bronze badges

$\endgroup$
  • 3

    $\begingroup$ Unrelated to your question, but the rockets and capsules are modelled using Siemens PLM software. $\endgroup$ – Vedant Chandra May 29 '15 at 10:02

  • $\begingroup$ $\endgroup$ – a CVn Jun 9 '15 at 7:16

  • $\begingroup$ $\endgroup$ – Jerard Puckett Jan 17 '17 at 1:42

$\begingroup$

SpaceX uses an Actor-Judge system to provide triple redundancy to its rockets and spacecraft. The Falcon 9 has 3 dual core x86 processors running an instance of linux on each core. The flight software is written in C/C++ and runs in the x86 environment. For each calculation/decision, the "flight string" compares the results from both cores. If there is a inconsistency, the string is bad and doesn't send any commands. If both cores return the same response, the string sends the command to the various microcontrollers on the rocket that control things like the engines and grid fins.

The microcontrollers, running on PowerPC processors, received three commands from the three flight strings. They act as a judge to choose the correct course of actions. If all three strings are in agreement the microcontroller executes the command, but if 1 of the 3 is bad, it will go with the strings that have previously been correct. The Falcon 9 can successfully complete its mission with a single flight string.

The triple redundancy gives the system radiation tolerance without the need for expensive rad hardened components. SpaceX tests all flight software on what can be called a table rocket. They lay out all the computers and flight controllers on the Falcon 9 on a table and connect them like they would be on the actual rocket. They then run a complete simulated flight on the components, monitoring performance and potential failures.

SpaceX engineers perform what they call "Cutting the strings" where they randomly shut off a flight computer mid simulation, to see how it responds.

Dragon uses a similar triple redundant system for its flight computers.

Bonus: Dragon V2 control panels are modified 17" Tesla Model S touchscreens and include the same Nvidia Tegra SoCs. They are not part of the flight hardware and are only used to display the GUI. After talking with the Dragon team at GDC2016, it appears Tesla hardware is not used. They do use some interesting software on Dragon 2. They use Chromium and JavaScript for the Dragon 2 flight interface. The actual flight computers still run on C++.

Source: Discussion with various SpaceX engineers at GDC 2015/2016

| improve this answer | |

edited Jul 10 '16 at 0:29

answered Jun 9 '15 at 0:17

Dragon capsule runs on Linux, C++, Chromium UIs

T.J. Tarazevits

T.J. Tarazevits

2,389 11 silver badges 22 bronze badges

$\endgroup$
  • $\begingroup$ $\endgroup$ – kim holder Jun 9 '15 at 2:22

  • 6

    $\begingroup$ @briligg Presentation by Jinnah Hosein, VP of Software Engineering at SpaceX I was in attendance and took notes on the talk. $\endgroup$ – T.J. Tarazevits Jun 9 '15 at 3:28

  • $\begingroup$ Based on you description (the best I found) I created a sketch of the architecture on slide 8 of my presentation on SpaceX SW/HW slideshare.net/ultradvorka/doom-in-spacex - hopefully it's correct. $\endgroup$ – Martin Dvorak Nov 2 '16 at 15:57

  • 3

    $\begingroup$ $\endgroup$ – Larry_C Jan 16 '17 at 20:29

  • 3

    $\begingroup$ $\endgroup$ – Chris Halcrow Feb 13 '19 at 20:53

Not the answer you're looking for? Browse other questions taggedspacex falcon-9 software flight-computer or ask your own question .


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

代码

代码

劳伦斯・莱斯格 / 李旭 / 中信出版社 / 2004-10-1 / 30.00元

劳伦斯·莱斯格的著作《代码》 问世便震动了学界和业界,被人称为“也许是迄今为止互联网领域最重要的书籍”,也被一些学者称为“网络空间法律的圣经”。 《代码》挑战了早期人们对互联网的认识,即技术已经创造了一个自由的环境,因而网络空间无法被规制——也就是说,网络的特性使它押脱了政府的控制。莱斯格提出,事实恰恰相反。 代码的存在证明,网络并不是本制拷贝 ,不可规制的,它并没有什......一起来看看 《代码》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具