The code is named after Ronald Lionel Gillham, a signals officer at Air Navigational Services, Ministry of Transport and Civil Aviation, who had been appointed a civil member of the Most Excellent Order of the British Empire (MBE) in the Queen's 1955 Birthday Honours.[4] He was the UK's representative to the International Air Transport Association (IATA) committee developing the specification for the second generation of air traffic control system, known in the UK as "Plan Ahead", and is said to have had the idea of using a modified Gray code.[nb 1] The final code variant was developed in late 1961[5] for the ICAO Communications Division meeting (VII COM) held in January/February 1962,[6] and described in a 1962 FAA report.[7][8][9] The exact timeframe and circumstances of the term Gillham code being coined are unclear, but by 1963 the code was already recognized under this name.[10][11] By the mid-1960s the code was also known as MOA–Gillham code[12] or ICAO–Gillham code. ARINC 572 specified the code as well in 1968.[13][14]
Once recommended by the ICAO for automatic height transmission for air traffic control purposes,[9][15] the interface is now discouraged[2] and has been mostly replaced by modern serial communication in newer aircraft.
Altitude encoder
An altitude encoder takes the form of a small metal box containing a pressure sensor and signal conditioning electronics.[16][17] The pressure sensor is often heated, which requires a warm-up time during which height information is either unavailable or inaccurate. Older style units can have a warm-up time of up to 10 minutes; more modern units warm up in less than 2 minutes. Some of the very latest encoders incorporate unheated 'instant on' type sensors. During the warm-up of older style units the height information may gradually increase until it settles at its final value. This is not normally a problem as the power would typically be applied before the aircraft enters the runway and so it would be transmitting correct height information soon after take-off.[18]
The height information is represented as 11 binary digits in a parallel form using 11 separate lines designated D2 D4 A1 A2 A4 B1 B2 B4 C1 C2 C4.[3] As a twelfth bit, the Gillham code contains a D1 bit but this is unused and consequently set to zero in practical applications.
Different classes of altitude encoder do not use all of the available bits. All use the A, B and C bits; increasing altitude limits require more of the D bits. Up to and including 30700 ft does not require any of the D bits (9-wire interface[1]). This is suitable for most light general aviation aircraft. Up to and including 62700 ft requires D4 (10-wire interface[2]). Up to and including 126700 ft requires D4 and D2 (11-wire interface[2]). D1 is never used.[19][20]
Bits D2 (msbit) through B4 (lsbit) encode the pressure altitude in 500 ft increments (above a base altitude of −1000±250 ft) in a standard 8-bit reflected binary code (Gray code).[19][21][22][23][24] The specification stops at code 1000000 (126500±250 ft), above which D1 would be needed as a most significant bit.
Bits C1, C2 and C4 use a mirrored 5-state 3-bit Gray BCD code of a Giannini Datex code type[12][25][26][27][28] (with the first 5 states resembling O'Brien code type II[29][5][23][24][27][28]) to encode the offset from the 500 ft altitude in 100 ft increments.[3] Specifically, if the parity of the 500 ft code is even then codes 001, 011, 010, 110 and 100 encode −200, −100, 0, +100 and +200 ft relative to the 500 ft altitude. If the parity is odd, the assignments are reversed.[19][21] Codes 000, 101 and 111 are not used.[30]: 13(6.17–21)
The Gillham code can be decoded using various methods. Standard techniques use hardware[30] or software solutions. The latter often uses a lookup table but an algorithmic approach can be taken.[21]
^Anecdotally, Ronald Lionel Gillham had the idea for the modified Gray code while having a family dinner. Reportedly, he died in March 1968.[citation needed]
^"No. 40497". The London Gazette (Supplement). 1955-06-03. pp. 3267, 3272, 3274. […] CENTRAL CHANCERY OF THE ORDERS OF KNIGHTHOOD. […] St. James's Palace, S.W.1. […] 9th June, 1955. […] The QUEEN has been graciously pleased, on the occasion of the Celebration of Her Majesty's Birthday, to give orders for the following promotions in, and appointments to, the Most Excellent Order of the British Empire:— […] To be Ordinary Members of the Civil Division of the said Most Excellent Order:— […] Ronald Lionel GILLHAM, Esq., Signals Officer, Air Navigational Services, Ministry of Transport and Civil Aviation. […][1][2][3]
^"1983 Pioneer Award". IEEE Transactions on Aerospace and Electronic Systems. AES-19 (4). IEEE: 648–656. July 1983. doi:10.1109/TAES.1983.309363. Archived from the original on 2020-05-16. Retrieved 2020-05-16. […] The Pioneer Award Committee of the IEEE Aerospace and Electronic Systems Society has named […] Allan Ashley […] Joseph E. Her[r]mann […] James S. Perry […] as recipients of the 1983 Pioneer Award in recognition of the highly significant contributions made by them. "FOR ADVANCING THE STATE OF THE ART OF VOICE AND DATA RADIO COMMUNICATIONS AND ELECTRONICS" The Award was presented at NAECON on May 18, 1983. […] Being aware of developments within the United States and shortly before the ICAO VII COM [in January 1962], the U.K. delegates proposed a compromise code to the United States which quantized altitude in 500 ft steps for a range of 64000 ft by employing a conventional Gray code with a 2.9 µs pulse spacing in the return message, and in a compatible manner subdivided further by 100 ft increments with a 1.45 µs pulse spacing in the return message […] A quick look at the U.K. proposal concluded that the United States could live with the U.K. compromise although greater circuit complexity resulted for coding and decoding. It is to the credit of the U.S. delegation to the ICAO VII COM, and as a result of the advice of Ashley, Herrmann, Perry, and others, that the acceptance of the compatible U.K. proposal was seen as offering a means of obtaining timely agreement on 100 ft increment reportings o that future air traffic control systems could be developed with automatic three dimensional data acquisition. A potential impasse in ICAO was averted, leaving nations free to choose between 100 ft and 500 ft increments of altitude reporting. […] (9 pages)
^Airborne Instruments Laboratory, a division of Cutler-Hammer, Inc. (1962-05-19). Final Engineering Report on Evaluation of L-band Secondary Radar. For ANDB under CAA (Report). Deer Park, Long Island, New York, USA: Federal Aviation Administration (FAA), Aviation Research And Development Service. Report 8893-SP-1.
^ abUnited Service and Royal Aero Club (Great Britain) (1964-04-09). "Altitude encoding". Flight International. 85 (2874). Illiffe Transport Publications: 593. ISSN0015-3710. […] A new […] encoder with an output in Gillham code, as recommended for altitude encoding by ICAO and described in an FAA report of May 1962, has been introduced […]
^"Beacon Encoder". Computer Design. 2 (9). Massachusetts, USA: Computer Design Publishing Corporation: 45. September 1963. ISSN0010-4566. OCLC802774218. Circle No. 169. Retrieved 2018-01-16. […] Output code of a new Beacon encoder is known as the Gillham code, a modified Gray code designed to be compatible with both American and European traffic systems. […]
^"New Products". Control Engineering (CtE). 10. Technical Publishing Company: 110. January–December 1963. ISSN0010-8049. (344) or (345). Retrieved 2018-01-16. […] Designed to be compatible with American and European traffic systems, a beacon encoder available from Norden Div., United Aircraft Corp., Norwalk, Conn., puts out a modified Gray code known as the Gillham code. […][4]
^ abWheeler, Edwin L. (1969-12-30) [1968-04-05]. Analog to digital encoder(PDF). New York, USA: Conrac Corporation. U.S. patent 3487460A. Serial No. 719026 (397812). Archived(PDF) from the original on 2020-08-05. Retrieved 2018-01-21. […] The MOA-GILLHAM code is essentially the combination of the Gray code discussed thereinabove and the well known Datex code; the Datex code is disclosed in U.S. Patent 3,165,731. The arrangement is such that the Datex code defines the bits for the units count of the encoder and the Gray code defines the bits for each of the higher order decades, the tens, hundreds, etc […]
^ abSteinbuch, Karl W., ed. (1962). Written at Karlsruhe, Germany. Taschenbuch der Nachrichtenverarbeitung (in German) (1 ed.). Berlin / Göttingen / New York: Springer-Verlag OHG. pp. 71–74. LCCN62-14511.
^ abSteinbuch, Karl W.; Weber, Wolfgang; Heinemann, Traute, eds. (1974) [1967]. Taschenbuch der Informatik – Band II – Struktur und Programmierung von EDV-Systemen (in German). Vol. 2 (3 ed.). Berlin, Germany: Springer Verlag. pp. 98–100. ISBN3-540-06241-6. LCCN73-80607. {{cite book}}: |work= ignored (help)
^Spaulding, Carl P. (1965-07-12). How to Use Shaft Encoders. Monrovia, California, USA: Datex Corporation.{{cite book}}: CS1 maint: date and year (link) (85 pages)
^ abDokter, Folkert; Steinhauer, Jürgen (1973-06-18). "2.4. Coding numbers in the binary system". Digital Electronics. Philips Technical Library (PTL) / Macmillan Education (Reprint of 1st English ed.). Eindhoven, Netherlands: The Macmillan Press Ltd. / N. V. Philips' Gloeilampenfabrieken. pp. 32, 39, 50–53. doi:10.1007/978-1-349-01417-0. ISBN978-1-349-01419-4. SBN333-13360-9. Retrieved 2020-05-11. p. 53: […] The Datex code […] uses the O'Brien code II within each decade, and reflected decimal numbers for the decimal transitions. For further processing, code conversion to the natural decimal notation is necessary. Since the O'Brien II code forms a 9s complement, this does not give rise to particular difficulties: whenever the code word for the tens represents an odd number, the code words for the decimal units are given as the 9s complements by inversion of the fourth binary digit. […][permanent dead link] (270 pages) (NB. This is based on a translation of volume I of the two-volume German edition.)
^ abDokter, Folkert; Steinhauer, Jürgen (1975) [1969]. "2.4.4.6. Einschrittige Kodes". Digitale Elektronik in der Meßtechnik und Datenverarbeitung: Theoretische Grundlagen und Schaltungstechnik. Philips Fachbücher (in German). Vol. I (improved and extended 5th ed.). Hamburg, Germany: Deutsche Philips GmbH. p. 60. ISBN3-87145-272-6. (xii+327+3 pages) (NB. The German edition of volume I was published in 1969, 1971, two editions in 1972, and 1975. Volume II was published in 1970, 1972, 1973, and 1975.)
Ashley, Allan (September 1960). Study of Altitude Reporting via ATC Radar Beacon System. Deer Park, New York: Airborne Instruments Laboratory. Report 5791-23.