Category: Airband

Building a Passive Radar System with RTL-SDR Dongles

Back in 2013 we posted about Juha Vierinen’s project in which he created a passive radar system from two RTL-SDR dongles, two Yagi antennas, and some custom processing code. Passive radar can be used to detect flying aircraft by listening for signals bouncing off their fuselage and can also be used to detect meteors entering the atmosphere. The radar is passive because it does not use a transmitter, but instead relies on other already strong transmitters such as FM broadcast radio stations. Juha writes:

A passive radar is a special type of radar [that] doesn’t require you to have a transmitter. You rely on a radio transmitter of opportunity provided by somebody else to illuminate radar targets. This can be your local radio or television station broadcasting with up to several megawatts of power. 

How passive radar works
How passive radar works

His previous write up was brief, but now over on Hackaday Juha has made a detailed post about his RTL-SDR passive radar project. In the post he explains what passive radar is, shows some examples of his and others results, shows how it can be done with an RTL-SDR dongle, and finally briefly explains the signal processing required. In his next post Juha aims to go into further detail on how passive radar works in practice.

Below we show a video that shows an example of one of his passive radar tests that was performed with a USRP software defined radio and two Yagi antennas. 

This video shows a lot of airplanes around the New England area detected using a simple passive radar setup, consisting of: one USRP and two yagi antennas, a quad core linux PC. Every now and then an occasional specular meteor echo is observed too.

In his other tests shown on YouTube Juha also used two RTL-SDR dongle’s with a shared clock and was able to get similar results.

FM Radio Passive Radar, WWLI 105.1 MHz

How coax cable loss affects ADS-B reception

Over on YouTube user Adam Alicajic has uploaded a video showing how coax cable loss affects the frame rate when receiving ADS-B. To do this test Adam uses a precision attenuator in between his ADS-B antenna and RTL-SDR dongle to simulate attenuation from coax cable loss. His results show that for every 1 dB of attenuation the frame rate drops by about 10%.

Coax cable loss for common type of cable can be estimated with calculators available at http://www.net-comber.com/cable-loss.html and http://www.arrg.us/pages/Loss-Calc.htm. RG-6 cable has a low loss at 1090 MHz of about 0.23 – 0.32 dB per meter, whereas RG58 has a loss of about 0.5 – 0.6 dB per meter and RG174 (stock antenna cable on most RTL-SDR units) has a greater loss of about 1.2 dB per meter.

Coax length loss contribution to the bad ADS-B reception

New ADS-B Filter with Built in Bias Tee Available

Adam who is the manufacturer of the popular LNA4ALL low noise amplifier (LNA) that is commonly used with the RTL-SDR has come out with a new product for ADS-B enthusiasts. The product is an ADS-B filter with a built in bias tee for providing phantom power. Adam previously sold an older version of the ADS-B filter that came without the bias tee.

The bias tee allows you to inject DC power into the coaxial cable in order to easily power an LNA (like the LNA4ALL) or other device that is placed near the antenna. The antenna could be far away from a power source, such as on your roof or up a mast. It ensures DC power reaches the LNA, but at the same time does not enter the RTL-SDR dongle, as DC current on the antenna input could destroy the RTL-SDR. For best performance it is recommended to use an LNA near the antenna, especially if you have a long run of coaxial cable between the antenna and RTL-SDR.

The filter uses Low Temperature Co-fired Ceramics (LTCC) type components as opposed to the seemingly more commonly used SAW and microstrip filters. Adam writes that each type of filter has its tradeoffs, but he believes the LTCC filter is the best for this application.

Comparison between different filter types.
Comparison between different filter types.

The insertion loss of the filter in the pass band is about 2.4 dB and the filter will significantly attenuate broadcast band FM, TV stations, WiFi and 1.8 GHz+ cell phones. However, it does not do so well with 950 MHz cell towers and possible radar on 1.2-1.3 GHz as the LTCC filter is not as sharp as a SAW filter. In Adams own tests he shows that the addition of the filter improves ADS-B decoding performance by about 20%, but the improvement you see will vary greatly with your RF environment.

The filter is currently selling for 20 Euros + 5 Euros shipping (~$28 USD).

ADS-B LTCC Filter with Bias Tee
ADS-B LTCC Filter with Bias Tee

RTL-SDR vs. AIRSPY on ADS-B Reception: Round 2

A few days ago we posted about Anthony Stirk’s comparison between the RTL-SDR and the Airspy on receiving ADS-B signals. In his first test Anthony used an E4000 dongle, which is known to have inferior performance at the ADS-B frequency of 1090 MHz.

Now Anthony has done his test again, but this time with an R820T2 RTL-SDR. His results show that the R820T2 RTL-SDR is better than the E4000 RTL-SDR, but that the Airspy is still better than the R820T2 RTL-SDR. The R820T2 received at maximum distances more comparable to the Airspy, though still fell short of the Airspy by some 50 kms in some directions. Anthony’s writes that his distance seems to be mainly limited by geography so it is possible that in some other location the Airspy could out perform the RTL-SDR by a more significant distance.

The most interesting part of his last experiment was that over a 28 hour period the E4000 RTL-SDR received only a total of 2.9 million messages whilst the Airspy received a total of 10.3 million messages. In the new experiment the R820T2 received a total of 22.3 million messages whilst the Airspy received a total of 31 million messages, which is a little closer. However, with the R820T2 RTL-SDR, 3 million messages were unusable, versus only 31 unusable messages with the Airspy.

From these results it’s clear that the better design and more ADC bits in the Airspy can significantly improve ADS-B reception. However, there is a cost difference at $199 for the Airspy vs <$20 for the RTL-SDR. The Airspy cost may be soon less of a problem we are aware that an Airspy Lite version is in the works and that will probably cost around $99 USD.

In the future Anthony will do another test with no error correction enabled because the current version of the Airspy ADS-B decoder has no error correction whereas the RTL-SDR ADS-B decoder does. Those results may show that the Airspy is even better that shown here.

Update: Anthony ran the test again with a modified version of ADSB# with not error correction and obtained the following results which show that the Airspy receives about double the messages compared to the RTL-SDR:

Total Messages Received:
Airspy 65,150,313
RTL 32,973,049

Airborne Position:
Airspy 4,615,972
RTL 2,270,810

Unusable:
Airspy 533
RTL 635,549

Airspy vs R820T2 RTL-SDR on Maximum ADS-B Distance.
Airspy vs R820T2 RTL-SDR on Maximum ADS-B Distance.

RTL-SDR vs. Airspy on ADS-B Reception

With the recent release of ADSBSpy, an ADS-B decoder for the Airspy software defined radio, many people have been wondering how much better the Airspy is compared to the low cost RTL-SDR dongle at ADS-B reception. Over on his blog, Anthony Stirk has performed a test comparing an E4000 RTL-SDR with the Airspy.

In his test Anthony uses an A3 ADS-B antenna from Jetvision.de, and a HABAMP which is an LNA plus 1090 MHZ SAW filter. To create a fair test he used an antenna splitter and measured the reception of both dongles at the same time. He ran one instance of ADSB# for the E4000 RTL-SDR, and one instance of ADSBSpy for the Airspy over 24 hours and recorded the results.

Airspy vs E4000 RTL-SDR
Airspy vs E4000 RTL-SDR

The results showed that the Airspy had approximately 50 km more range compared to the E4000 in some areas. More interestingly the stats showed that the Airspy received approximately 7 million more ADS-B messages compared to the RTL-SDR.

While there is no doubt the Airspy will perform better, one thing to note about this test is that it used an E4000 RTL-SDR which is widely considered to have inferior performance at the 1090 MHz ADS-B frequency when compared to the R820T/2 dongles.

Airspy vs. E4000 RTL-SDR
Airspy vs. E4000 RTL-SDR

Tutorial on Combining and Rebroadcasting ADS-B Feeds with ModeSMixer2

Last week we posted about how the author of the SonicGoose.com blog had written a tutorial on the use of ModeSDeco2 for decoding ADS-B with an RTL-SDR. Now the same author has continued his tutorial by writing how to use the ModeSMixer2 software to combine multiple ADS-B datastreams into a single stream. This is useful for example if you have several RTL-SDR’s at different locations receiving ADS-B data. ModeSMixer2 can also combine data even if you are using different ADS-B decoding software such as dump1090, RTL1090 or ADSB#.

The author’s tutorial goes over setting up ModeSDeco2 to broadcast data over the network, setting up ModeSMixer2 to receive data, and also setting up the basestation.sqb file to add airline logos and silhouettes to the web based GUI of ModeSMixer2.

Screenshot of the ModeSMixer2 web based GUI.
Screenshot of the ModeSMixer2 web based GUI.

Tutorial on using Modesdeco2 for ADS-B with the RTL-SDR

Over on the SonicGoose.com blog, the author has recently created a tutorial showing how to use Modesdeco which is a multi platform command line ADS-B decoding software application. ADS-B stands for Automatic Dependent Surveillance Broadcast and is a signal broadcast by aircraft that can be used to track them like a radar. 

Modesdeco is a command line ADS-B decoder quite similar in purpose to other software like dump1090, RTL1090 and ADSB#, however it has more available features built into it. The blog author writes about Modesdeco:

Want to feed BaseStation and PlanePotter at the same time? No problem. Want to add another data stream for Virtual Radar Server? No problem. Want statistics about the types of data being received? No problem. Want to run it on a variety of platforms, including Windows, Mac OS X, Linux, or the RaspberryPi? No problem.

The author’s tutorial goes over setting up the software on Windows and turning on some features like it’s web statistics interface, interactive map and how to feed data to another virtual radar application like Basestation. In the future the author plans to write a second tutorial showing how to use another feature which allows a user to combine the ADS-B feeds from various computers running Modesdeco.

Screenshot of the Modesdeco statistics web interface.
Screenshot of the Modesdeco statistics web interface.

dump978: UAT Decoder for the RTL-SDR + FlightAware App now supports UAT

In most of the world aircraft use the ADS-B standard for location tracking which transmits at a frequency of 1090 MHz. However, in the USA there is the option for aircraft to instead use the Universal Access Transceiver (UAT) protocol which transmits at 978 MHz.

UAT has some extra features for pilots compared to ADS-B. In addition to location information UAT provides a Traffic Information Service (TIS/B) which allows pilots to see what ground control sees on their traditional RADAR system. It also provides a Flight Information Service-Broadcast (FIS/B) which includes weather and other information. It seems that most small aircraft in the USA prefer to use the UAT system due to it’s lower cost and additional features. 

A few months ago an experimental version of dump978 MHz was released which is what we believe to be the first working UAT decoder for the RTL-SDR. It’s still in experimental development, however the FlightAware team have already referenced it for developing their Android ADS-B app which we posted about a few days ago. Because of the work done with dump978, the beta version of the FlightAware Android app has recently been updated and can now support UAT decoding. To download the beta version with UAT you may need to sign up to their public beta. More information about the beta can be found on their Google+ beta testing community page.

FlightAware ADS-B App which now supports UAT decoding.
FlightAware ADS-B App which now supports UAT decoding.