Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Transponder"

From FlightGear wiki
Jump to: navigation, search
m (Generic transponder)
(Adding links to related content)
Line 2: Line 2:
  
 
== Id Codes ==
 
== Id Codes ==
 
 
Id or 'squawk' codes aid ATC in identify aircraft positively. 1200 is the standard code for VFR flight, IFR aircraft will typically be advised a code on delivery clearance or startup.
 
Id or 'squawk' codes aid ATC in identify aircraft positively. 1200 is the standard code for VFR flight, IFR aircraft will typically be advised a code on delivery clearance or startup.
  
Line 8: Line 7:
  
 
== Modes ==
 
== Modes ==
 
 
See [http://en.wikipedia.org/wiki/Aviation_transponder_interrogation_modes Aviation transponder interrogation modes] (Wikipedia) for official description. Civilian Mode-S and Mode-C both transmit pressure altitude (at 10-foot and 100-foot precision, respectively). To do this the transponder needs an altitude source. In real-life this can be a separate box called an encoder, or may be derived for FMC / ADIRU sources. It's important to note this altitude is referenced to standard pressure (29.92 inHg / 1012Hpa), and not corrected for actual barometric pressure in the local environment.
 
See [http://en.wikipedia.org/wiki/Aviation_transponder_interrogation_modes Aviation transponder interrogation modes] (Wikipedia) for official description. Civilian Mode-S and Mode-C both transmit pressure altitude (at 10-foot and 100-foot precision, respectively). To do this the transponder needs an altitude source. In real-life this can be a separate box called an encoder, or may be derived for FMC / ADIRU sources. It's important to note this altitude is referenced to standard pressure (29.92 inHg / 1012Hpa), and not corrected for actual barometric pressure in the local environment.
  
 
Additional support for military modes is possible if anyone wishes to add it.
 
Additional support for military modes is possible if anyone wishes to add it.
  
== Configuration in Flightgear ==
+
== Configuration in FlightGear ==
 
+
 
Transponder support was overhauled in May 2013; earlier versions (2.10 and prior) have different support and are not documented here. Updating an aircraft to use the new config is straightforward. Key transponder properties (altitude, ident and transmitted-id) are now sent via the MP protocols for use in ATC clients.
 
Transponder support was overhauled in May 2013; earlier versions (2.10 and prior) have different support and are not documented here. Updating an aircraft to use the new config is straightforward. Key transponder properties (altitude, ident and transmitted-id) are now sent via the MP protocols for use in ATC clients.
  
Line 30: Line 27:
  
 
=== Run-time properties ===
 
=== Run-time properties ===
 
 
* '''altitude''': gives the transmitted altitude in feet (or -9999 for invalid)
 
* '''altitude''': gives the transmitted altitude in feet (or -9999 for invalid)
 
* '''altitude-valid''': indicates if altitude value is valid data or not  
 
* '''altitude-valid''': indicates if altitude value is valid data or not  
Line 37: Line 33:
 
* '''transmitted-id''': gives the value being transmitted, including over the network via MP
 
* '''transmitted-id''': gives the value being transmitted, including over the network via MP
  
====Input properties====
+
==== Input properties ====
 
These live under <tt>/inputs</tt>.
 
These live under <tt>/inputs</tt>.
 
* '''knob-mode''': sets the transponder operating mode. This corresponds to the KT-70 knob positions for convenience, but the actual modes should work for any transponder instrument. Knob modes are documented below
 
* '''knob-mode''': sets the transponder operating mode. This corresponds to the KT-70 knob positions for convenience, but the actual modes should work for any transponder instrument. Knob modes are documented below
Line 45: Line 41:
 
In KT-70 compatibility mode, additional properties are read and set, to preserve legacy aircraft. Do not use these properties in new aircraft.
 
In KT-70 compatibility mode, additional properties are read and set, to preserve legacy aircraft. Do not use these properties in new aircraft.
  
====Knob/Functional Modes====
+
==== Knob/Functional Modes ====
 
+
 
* 0 - off
 
* 0 - off
 
* 1 - standby, basically the same as off for the C++ code (3D instrument would power up the display, presumably)
 
* 1 - standby, basically the same as off for the C++ code (3D instrument would power up the display, presumably)
Line 53: Line 48:
 
* 4 - On, normal operation but altitude transmission is inhibited
 
* 4 - On, normal operation but altitude transmission is inhibited
 
* 5 - Alt, same as on but altitude is broadcast if transponder was configured in Mode-S or Mode-C
 
* 5 - Alt, same as on but altitude is broadcast if transponder was configured in Mode-S or Mode-C
 
  
 
=== Generic transponder ===
 
=== Generic transponder ===
Line 68: Line 62:
 
   </transponder>
 
   </transponder>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== Related content ==
 +
=== Wiki articles ===
 +
* [[Howto:Develop an aircraft transponder in Nasal]] – Most probably obsolete
 +
* [[Multiplayer protocol]] – The IDs 1501-1503 are earmarked for transmitting transponder properties
 +
* [[OpenRadar: Transponder]]
 +
 +
=== Forum topics ===
 +
* [https://forum.flightgear.org/viewtopic.php?f=4&t=6395 Transponder] (Nov 2009-Dec 2010)
 +
* [https://forum.flightgear.org/viewtopic.php?f=75&t=19826 Transponder over network] (Apr-Jul 2013)
 +
* [https://forum.flightgear.org/viewtopic.php?f=4&t=31492 Transponder properties over MP]
 +
 +
=== Source code ===
 +
* {{flightgear source|src/Instrumentation/transponder.hxx}}
 +
* {{flightgear source|src/Instrumentation/transponder.cxx}}
  
 
[[Category:Aircraft enhancement]]
 
[[Category:Aircraft enhancement]]
 
[[Category:Aircraft instruments]]
 
[[Category:Aircraft instruments]]

Revision as of 13:05, 19 January 2017

Transponders are radio beacons which make aircraft more identifiable on ATC displays and systems. Modern transponders support transmitting additional data such as an identification ('squawk') code and aircraft altitude. See more at Transponder (Wikipedia).

Id Codes

Id or 'squawk' codes aid ATC in identify aircraft positively. 1200 is the standard code for VFR flight, IFR aircraft will typically be advised a code on delivery clearance or startup.

Normal code digits are 0..7; 0000 is reserved for military use, and there are other standard codes, such as 7600 for radio comms failure. See the Wikipedia page for many more examples.

Modes

See Aviation transponder interrogation modes (Wikipedia) for official description. Civilian Mode-S and Mode-C both transmit pressure altitude (at 10-foot and 100-foot precision, respectively). To do this the transponder needs an altitude source. In real-life this can be a separate box called an encoder, or may be derived for FMC / ADIRU sources. It's important to note this altitude is referenced to standard pressure (29.92 inHg / 1012Hpa), and not corrected for actual barometric pressure in the local environment.

Additional support for military modes is possible if anyone wishes to add it.

Configuration in FlightGear

Transponder support was overhauled in May 2013; earlier versions (2.10 and prior) have different support and are not documented here. Updating an aircraft to use the new config is straightforward. Key transponder properties (altitude, ident and transmitted-id) are now sent via the MP protocols for use in ATC clients.

The default altimeter can act as an altitude encoder; in its configuration, set either or both of the following boolean flags:

  • encode-mode-c
  • encode-mode-s

The transponder has various config properties:

  • bus-volts: required DV volts for operations, defaults to 8.0
  • encoder-path: defaults to '/instruments/altimeter', but can be changed to any other location. The transponder looks for child properties 'mode-c-alt-ft' and 'mode-s-alt-ft' at this path for altitude data.
  • kt70-compatibility: boolean, default to false. Set this to enable legacy compatibility with the old KT-70 C++ instrument. Do not use in new/updated aircraft!
  • mode: this is 0 for Mode-A, 1 for Mode-C and 2 for Mode-S. Other modes can be added, ask on the devel list!

Run-time properties

  • altitude: gives the transmitted altitude in feet (or -9999 for invalid)
  • altitude-valid: indicates if altitude value is valid data or not
  • id-code: allows the id-code to be read and set
  • serviceable: can be set to control the instrument serviceability
  • transmitted-id: gives the value being transmitted, including over the network via MP

Input properties

These live under /inputs.

  • knob-mode: sets the transponder operating mode. This corresponds to the KT-70 knob positions for convenience, but the actual modes should work for any transponder instrument. Knob modes are documented below
  • ident-button: can be set to place the transponder in ident mode for 18 seconds. Note this property is not spring-loaded, i.e you must manually reset it to false
  • digit[0]-[4]: properties allow the id code individual digits to be read and set

In KT-70 compatibility mode, additional properties are read and set, to preserve legacy aircraft. Do not use these properties in new aircraft.

Knob/Functional Modes

  • 0 - off
  • 1 - standby, basically the same as off for the C++ code (3D instrument would power up the display, presumably)
  • 2 - test, again the C++ largely ignores this since the test configuration of real-world instruments varies. In particular the unit does *not* set altitude or transmitted-id to any test values, you should do that in your own logic. (Maybe we should allow the test values to be defined int he config section?)
  • 3 - Ground mode, responds to altitude interrogation but does not broadcast an ID. This would typically be used while taxiing prior to takeoff.
  • 4 - On, normal operation but altitude transmission is inhibited
  • 5 - Alt, same as on but altitude is broadcast if transponder was configured in Mode-S or Mode-C

Generic transponder

Below are all available property that you can set for your instrumentation.xml file :

  <transponder>
    <name type="string">transponder</name>
    <number type="int">0</number>
    <mode type="int">1</mode> <!-- 0 = Mode A, 1 = Mode C, 2 = Mode S -->
    <bus-volts type="double">8.0</bus-volts>
    <encoder-path type="string">/instrumentation/altimeter</encoder-path>
    <kt70-compatibility type="bool">0</kt70-compatibility>
  </transponder>

Related content

Wiki articles

Forum topics

Source code