Post · 2 min read· pp. 56–57

Compact Position Reporting Algorithm

Compact Position Reporting Algorithm

The Compact Position Reporting (CPR) algorithm is a safety-critical element of the Automatic Dependent Surveillance - Broadcast (ADS-B) protocol. This protocol enables aircraft to share their current states, i.e., position and velocity, with traffic aircraft in their vicinity. CPR consists of a collection of functions that encode and decode aircraft position data (latitude and longitude).

The Formal Methods Team at NASA LaRC conducted a formal analysis of the CPR algorithm. This analysis includes:

  • A formal proof that the published requirements for correct decoding are insufficient, even if computations are assumed to be performed using exact real arithmetic.
  • A set of tightened requirements that formally proven to guarantee correct decoding under exact real arithmetic.
  • Mathematically equivalent, but computationally simpler forms to several expressions in the CPR functions in order to reduce imprecise calculation.
  • Fixed-point and floating-point implementations in C of CPR, which became the reference implementations of CPR in the international standard ED-102B/DO-260C.

The CPR formal development and C implementations are available under NASA's Open Source Agreement at GitHub(*).

Publications

The tag (*) identifies links that are outside the NASA domain