acarsdec

所属分类:单片机开发
开发工具:C/C++
文件大小:21KB
下载次数:36
上传日期:2011-07-01 16:29:08
上 传 者yuanshude
说明:  如何对ACARS信号(飞机通讯寻址与报告系统)进行解调,涉及到MSK调制解调的相关东西
(How ACARS signal (aircraft communications addressing and reporting system) for demodulation, related to the MSK modem-related stuff)

文件列表:
acarsdec-1.1 (0, 2011-06-20)
acarsdec-1.1\acarsdec (0, 2011-06-20)
acarsdec-1.1\acarsdec\acarsdec.h (630, 2007-04-15)
acarsdec-1.1\acarsdec\AcarsDec.IAB (4096, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.IAD (368, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.IMB (4096, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.IMD (368, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.PFI (28, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.PO (776, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.PR (2696, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.PRI (14680, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.PS (17540, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.SearchResults (139, 2011-06-20)
acarsdec-1.1\acarsdec\AcarsDec.WK3 (18734, 2011-06-20)
acarsdec-1.1\acarsdec\getbits.c (4418, 2007-04-15)
acarsdec-1.1\acarsdec\getmesg.c (3842, 2007-03-28)
acarsdec-1.1\acarsdec\input.c (3896, 2007-03-30)
acarsdec-1.1\acarsdec\main.c (3874, 2007-04-23)
acarsdec-1.1\acarsdec\Makefile (360, 2007-04-15)
acarsdec-1.1\acarsdec\serv.c (7622, 2007-04-23)
acarsdec-1.1\acarsdec\version.h (71, 2007-04-23)

ACARSDEC Acarsdec is an open source, realtime ACARS demodulator and position decoder for Linux. Aircraft Communication Addressing and Reporting System (or ACARS) is a digital datalink system for transmission of small messages between aircraft and ground stations via VHF radio. HOW DOES IT WORK ? To receive ACARS you need at least an AM VHF air band receiver tuned to one of these frequencies : 131.725 Europe primary 131.525 European secondary 131.550 USA primary 130.025 USA secondary 131.450 Japan primary (these are the most common, google is your friend for other frequencies) Audio output from this receiver is send to the soundcard input of your PC under Linux. Then, acarsdec will demodulate the signals sent by aircrafts and print the received messages on its standart output in airnav log text format. BUILDING IT On a Linux system, you will need libsnd librairy, alsa audio system and gcc/make installed. Then just type : make USING IT acarsdec could be called with the following options : acarsdec [-LR][-s noport] -d alsapcmdevice | -f sndfile -f sndfile : decode from file sndfile (ie: a .wav file) -d alsapcmdevice : decode from soundcard input alsapcmdevice (ie: hw:0,0) [-LR] : diseable left or right channel decoding of stereo signal (save cpu) [-s noport ] : "xastir" mode : act as an APRS local server, on port : noport (see below) Input could be mono or stereo but with 48Khz sampling frequency. If stereo, acarsdec will demod the 2 channels independantly (if no L ou R options specified) Typical usage for realtime decoding is : acarsdec -d hw:0 Be sure that correct record level is set for the used soundcard input. For testing, you could try to record your receiver output at 48khz sampling frequency with any audio recording tool. Save as wav file, then decode it by : acarsdec -f audiofile.wav. USING IT WITH XASTIR acarsdec have a special output mode to use it with APRS position reporting plotting program : xastir (www.xastir.org). In this mode, acarsdec acts as a very basic local aprsd server. ACARS messages, and in particular, position report messages are converted to APRS format, so you can plot aircraft positions on a map. PS: position decoding is in experimental stage. Mail me if you find errors or lack of position reporting. start acarsdec with the following option : acarsdec -d hw:0 -s 14000 Then in xastir, choose : Interface->Interface Control->Add Select : Internet Server, then Add Set Host at 127.0.0.1, Port 14000, Don't allow transmitting, then Ok. This will add an interface in the Interface Control dialog. Then select this interface and press start. To check that acarsdec send messages to xastir, select View->Incoming traffic ACARS messages look like that in xastir : F-XXYZ>ACARS:>Fid:AFXXXX Lbl:Q0 Lots of ACARS messages are messages without position report, so be patient before seeing aircraft plotted on the map.

近期下载者

相关文件


收藏者