In the last two days, the most important event in science and technology is that Musk's SpaceX successfully launched Falcon 9 with crew dragon and docked it with the international space station, sending two NASA astronauts to the orbital outpost. The information about the computers and software used by Falcon 9 and crew dragon 13 has also attracted the attention of developers. It existed many years agoRelated forum questionsIt was turned out.
6.18 Activities have been fully launched to promote the activity portal summary:
Netizens calling themselves SpaceX software development teams say Falcon 9 rockets have nothing to do with C#、MVC. The use of Falcon、Dragon (this manned Crew Dragon first-generation spacecraft) is mainly coded using LabVIEW for the development of mission and launch control GUI, for engineers and operators to monitor vehicle telemetry and direct rocket, spacecraft and pad support equipment.
LabVIEW(LaboratoryVirtualInstrumentationEngineeringWOrkbench (laboratory virtual instrument engineering platform) is a program development environment developed by national instrument (Ni) Company of the United States, similar to C and basic development environment. LabVIEW uses the graphical editing language g to write the program, and the generated program is in the form of block diagram.
The netizen also said that Dragon and Falcon 9 use the Linux operating system, other netizens added, after communicating with the Dragon team, learned that Falcon use the "triple redundancy" system, in short, the Falcon 9 has three dual-core x86 processors, each running an instance. Flight software is written in C/C. for each calculation/decision, the "flight string" compares the results of the two cores. if there is an inconsistency, the string is wrong and does not send any commands. If both kernels return the same response, the string sends commands to various microcontrollers on the rocket that control things like engines.
Microcontrollers running on PowerPC processors receive three commands from three flight strings, and they act as judges to choose the right course of action. If all three strings are consistent, the microcontroller executes the command.