Mars Climate Orbiter: one number, different units
火星气候轨道器:同一个数字,不同单位
A correct calculation can fail when its inputs are interpreted inconsistently.
Cited investigation report date · 1999-11-10
Original material
Short source excerpt (including title fragments); our translation
未在一个地面软件文件的编码中使用公制单位
Read the English original
the failure to use metric units in the coding of a ground software fileBackground: what the source reports
Open this step
背景与来源所述
NASA 的任务概述指出,英制与公制单位未正确转换造成导航错误,导致火星气候轨道器损失。任务于 1999 年 9 月 23 日结束;所引网页最后更新于 2025 年 9 月 15 日。
Background: what the source reports
NASA’s mission overview attributes the loss of Mars Climate Orbiter to a navigation error caused by a failure to convert English units to metric. The mission ended on September 23, 1999; the cited page was last updated on September 15, 2025.
Argument reconstruction · our analysis
Open this step
论证重构 · 本站分析
重构:两个接口都传送数值,所以数值可以直接组合。遗漏的是量纲与单位约定;相同数字不保证相同物理量。
Argument reconstruction · our analysis
Reconstruction: both interfaces transmit numbers, so their values can be combined directly. Dimensions and unit conventions are missing; identical numerals need not denote identical quantities.
The report identifies the data interface
Open this step
调查报告定位到具体数据接口
报告指出,SM_FORCES 地面程序输出应为牛顿秒,实际却是磅力秒;导航处理因而低估推力影响约 4.45 倍。它还明确区分机载计算正确与地面建模出错,不能把事件简化成飞船完全不知道公制。
The report identifies the data interface
The report states that SM_FORCES output required newton-seconds but supplied pound-force seconds, leading navigation processing to underestimate thrust effects by about 4.45. It distinguishes correct onboard computation from faulty ground modeling.
Section sources: §4, printed p. 16; §5 cause 1, pp. 17–18 ↗
Identical numerals need not denote identical quantities
Open this step
数字相同不等于物理量相同
接口契约不只规定字段是数值,还规定单位、量纲与意义。原始数字 10 若从一种单位直接解释成另一种单位,程序能运行也不说明计算对象正确。
核查应连接输入约定、输出实现与下游解释,并用端到端结果检验。这里讲的是语义与工程验证的共同问题;不能仅凭逻辑分类为某个人分配事故责任。
Identical numerals need not denote identical quantities
An interface contract specifies units, dimensions, and meaning as well as numeric type. Reading the numeral ten in another unit may leave software executable while changing the represented quantity.
Check input contracts, output implementation, downstream interpretation, and end-to-end behavior. This connects semantics with engineering verification without assigning individual blame from a logic label.
Carry the unit into the calculation
Open this step
把输入单位带进计算
任务概述与调查报告是不同资料层次;下面换算题为原创。
独立练习 1
接口规定接收毫秒,发送方却把 2 秒写成数字 2。接收方当作 2 毫秒使用,差多少倍?
查看答案与推理过程
2 秒应为 2,000 毫秒,实际解释的时长小了 1,000 倍。数值类型正确不保证单位语义正确;这个数值例子不是火星任务数据。
Carry the unit into the calculation
The mission overview and investigation have different levels of detail; the conversion exercise is original.
Independent exercise 1
An interface expects milliseconds, but a sender encodes two seconds as 2. The receiver reads two milliseconds. What is the factor error?
Show answer and reasoning
Two seconds are 2,000 milliseconds, so the interpreted duration is smaller by a factor of 1,000. Numeric type does not guarantee unit correctness; these are not mission data.
Section sources: About the Mission and Key Facts: mission ending and page update ↗
Limits of the judgment
Open this step
判断的边界
任务概述只提供简要原因,不能据此判定具体个人的责任。本站的接口推理重构是教学说明,并非工程人员的原话。
Limits of the judgment
The mission overview gives a brief causal account, insufficient to assign individual responsibility. Our reconstruction about interfaces is a teaching explanation, not a quotation from the engineers.
Test the distinction
Open this step
试着区分
问:换算公式正确就够了吗?答:还需验证输入单位、接口契约和端到端结果。
Test the distinction
Question: Is a correct conversion formula enough? Answer: Input units, interface contracts, and end-to-end outcomes must also be verified.
References
- Mars Climate Orbiter Mishap Investigation Board · Phase I Report ↗NASA Mars Climate Orbiter Mishap Investigation Board · Selected sections§4, printed p. 16 (PDF page 16); §5, Contributing Cause No. 1, printed pp. 17–18Version, terms, and access scope
- Mars Climate Orbiter · Mission Overview ↗NASA Science · Selected sectionsAbout the Mission; Key Facts; page update 2025-09-15, mission ended 1999-09-23Version, terms, and access scope