Difference between revisions of "ADS-B"

From PaparazziUAV
Jump to navigation Jump to search
(Created page with "== General information == ADS-B is an addition to transponders of manned aircraft which transmits position and velocity data. [http://en.wikipedia.org/wiki/Automatic_dependent_s…")
 
m (Small correction - wording)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Intruder.JPG|thumb|right|400px|ADSB Intruder in GCS]]
== General information ==
== General information ==


Line 4: Line 5:
[http://en.wikipedia.org/wiki/Automatic_dependent_surveillance-broadcast link Wikipedia]
[http://en.wikipedia.org/wiki/Automatic_dependent_surveillance-broadcast link Wikipedia]


The idea is to use this information to stay safe of these aircraft.
The idea is to use this information to stay clear of these aircraft.


'''WARNING:''' Not all aircraft are equipped with this system, it can just be an aid in situational awareness!
'''WARNING:''' Not all aircraft are equipped with this system, it can just be an aid in situational awareness!
Line 13: Line 14:


Originally ADS-B receivers are expensive.
Originally ADS-B receivers are expensive.
=== hackRF/rad1o ===
You can use a [https://rad1o.badge.events.ccc.de/ CCC rad1o badge] or hackRF together with GNURadio:
[https://rad1o.badge.events.ccc.de/sdr:adsb ADS-B with the rad1o badge]
Either use the commanline tool: <code>modes_rx -s osmocom -d</code>
Or a gui tool that also has a map: <code>modes_gui</code> and select Osmocom as source.
=== dump1090 ===


But now there is the opportunity to use DVB USB sticks as cheap software defined radios covering the required frequency.
But now there is the opportunity to use DVB USB sticks as cheap software defined radios covering the required frequency.
Line 30: Line 43:
== Use ==
== Use ==


* To show the intruder in the GCS and have it broadcasted, build an A/C in Paparazzi Center called Intruder with the ID 99.
* Start a Paparazzi Session, probably a simulation for the start...
* Start a Paparazzi Session, probably a simulation for the start...
* Start ivy_sbs_bridge AC-ID, with AC-ID being the ID of the flying UAV for distance calculations.
* Start the "ADS-B intruders receiver" from the tools menu in [[Paparazzi_Center]] or run <code>sw/groud_segment/misc/sbs2ivy AC_ID</code>, with AC-ID being the ID of the flying UAV for distance calculations.
 
Code: [http://dl.dropbox.com/u/1746215/ivy_sbs_bridge.c ivy_sbs_bridge Code] (To be integrated in git soon...)


Some information is provided in a small window.
Some information is provided in a small window. Intruders (the external aircrafts) are shown in the GCS and their information sent to all Paparazzi aircrafts via ACINFO for [[MultiUAV#TCAS|TCAS]].


The tool connects to localhost, if no dedicated SBS server and port is given after AC-ID
The tool recieves SBS-1 messages from localhost port 30003, if no dedicated SBS server and port is given.


== Demonstration Video ==
== Demonstration Video ==
Line 46: Line 56:
The standard DVB antenna was standing in the middle of the room... These receivers are really sensitive.
The standard DVB antenna was standing in the middle of the room... These receivers are really sensitive.


== Possible expansions ==
== Possible extensions ==
 
* Forward more than one intruder to the system (should be easy, if necessary)
* Output a warning if a non-ADS-B transponder is received at the UAV's altitude (many general aviation aircraft have only Mode C/S transponders)
* Output a warning if a non-ADS-B transponder is received at the UAV's altitude (many general aviation aircraft have only Mode C/S transponders)
* Additionally receive [http://en.wikipedia.org/wiki/FLARM FLARM] since this is widely used in gliders. This was already done badly coded. Drawback is, the receivers cost several hundred Euros.
* Additionally receive [http://en.wikipedia.org/wiki/FLARM FLARM] since this is widely used in gliders. This was already done badly coded. Drawback is, the receivers cost several hundred Euros.

Latest revision as of 04:01, 8 November 2015

ADSB Intruder in GCS

General information

ADS-B is an addition to transponders of manned aircraft which transmits position and velocity data. link Wikipedia

The idea is to use this information to stay clear of these aircraft.

WARNING: Not all aircraft are equipped with this system, it can just be an aid in situational awareness!

It can be used in conjunction with the TCAS functionality: Paparazzi TCAS

Receiver and integration

Originally ADS-B receivers are expensive.

hackRF/rad1o

You can use a CCC rad1o badge or hackRF together with GNURadio:

ADS-B with the rad1o badge

Either use the commanline tool: modes_rx -s osmocom -d

Or a gui tool that also has a map: modes_gui and select Osmocom as source.

dump1090

But now there is the opportunity to use DVB USB sticks as cheap software defined radios covering the required frequency.

Here we use the following projects:

Both need to be installed as documented on their homepages.

dump1090 is then started with the --net option to open a server supplying the information on port 30033 The option --interactive nicely shows which planes are received and in your browser at http://localhost:8080/ you can see it on a map.

The integration to paparazzi is realized through a module reading the port of dump1090 and forwarding it to the IVY bus. Additionally it reads the data of the corresponding UAV through IVY to calculate a distance.

Use

  • Start a Paparazzi Session, probably a simulation for the start...
  • Start the "ADS-B intruders receiver" from the tools menu in Paparazzi_Center or run sw/groud_segment/misc/sbs2ivy AC_ID, with AC-ID being the ID of the flying UAV for distance calculations.

Some information is provided in a small window. Intruders (the external aircrafts) are shown in the GCS and their information sent to all Paparazzi aircrafts via ACINFO for TCAS.

The tool recieves SBS-1 messages from localhost port 30003, if no dedicated SBS server and port is given.

Demonstration Video

ADSB to Paparazzi Video

The standard DVB antenna was standing in the middle of the room... These receivers are really sensitive.

Possible extensions

  • Output a warning if a non-ADS-B transponder is received at the UAV's altitude (many general aviation aircraft have only Mode C/S transponders)
  • Additionally receive FLARM since this is widely used in gliders. This was already done badly coded. Drawback is, the receivers cost several hundred Euros.