GnuRadio上的GMSK传输问题

时间:2019-10-10 12:31:43

标签: gnuradio gnuradio-companion

我正在尝试实施一种非常简单的方案,以将数据从一个sdr板传输到另一个sdr板。我使用的是GnuRadio 3.7.14,我在同伴中的方案看起来像这样

enter image description here

源文件是96字节长的二进制文件,看起来像这样

00000000  00 00 00 ff aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00000010  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00000020  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00000030  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060

我希望在输出时会出现一些杂音,然后重复输入模式(也许会有一些错误),但实际上看起来像这样

00004610  00 00 00 1f f5 55 55 55  55 55 55 55 55 55 55 55  |.....UUUUUUUUUUU|
00004620  55 55 55 55 55 55 55 55  53 63 eb ea aa a8 aa aa  |UUUUUUUUSc......|
00004630  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004640  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004650  80 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004660  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 88  |................|
00004670  80 00 00 7f d5 55 55 55  55 55 55 55 55 55 55 55  |.....UUUUUUUUUUU|
00004680  55 55 55 55 55 55 55 0d  0b a2 aa aa aa aa aa aa  |UUUUUUU.........|
00004690  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
000046a0  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
000046b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000046c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000046d0  00 00 01 ff 55 55 55 55  55 55 55 55 55 55 55 51  |....UUUUUUUUUUUQ|
000046e0  15 61 55 31 75 fc aa aa  aa aa aa aa aa aa aa aa  |.aU1u...........|
000046f0  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004700  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa a8  |................|
00004710  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004720  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004730  00 00 03 fe aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004740  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004750  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004760  aa aa 9a ac 6e 8a db 59  3c ae aa b8 aa ac aa a8  |....n..Y<.......|
00004770  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004780  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004790  00 00 07 fd 55 55 55 55  55 55 55 55 55 55 55 55  |....UUUUUUUUUUUU|
000047a0  55 55 55 55 55 55 55 55  55 45 55 55 55 55 5b 55  |UUUUUUUUUEUUUU[U|
000047b0  28 aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |(...............|
000047c0  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa a0  |................|
000047d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000047e0  00 00 00 00 00 00 00 00  00 00 00 00 01 40 20 00  |.............@ .|
000047f0  00 00 1f f5 55 55 55 55  55 55 55 55 55 55 55 55  |....UUUUUUUUUUUU|
00004800  55 55 55 55 55 55 55 55  55 55 55 55 55 64 ab aa  |UUUUUUUUUUUUUd..|
00004810  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004820  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa 80  |................|
00004830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004840  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004850  00 00 7f d5 55 55 55 55  55 55 55 55 55 55 55 55  |....UUUUUUUUUUUU|
00004860  55 55 55 55 55 55 55 6e  aa aa aa aa aa aa aa aa  |UUUUUUUn........|
00004870  aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
00004880  aa aa aa aa aa aa aa aa  aa aa aa a8 ab b3 54 00  |..............T.|
00004890  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000048a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000048b0  00 03 fe aa aa aa aa aa  aa aa aa aa aa aa aa aa  |................|
000048c0  aa aa aa aa aa aa a8 5d  15 55 55 55 55 55 55 55  |.......].UUUUUUU|
000048d0  55 55 55 55 55 55 55 55  55 55 55 55 55 55 55 55  |UUUUUUUUUUUUUUUU|
000048e0  55 55 55 55 55 55 55 55  55 55 41 56 b6 aa a0 00  |UUUUUUUUUUAV....|
000048f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00004900  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

我手动获取了这个输出文件,因此它与输入对齐。 因此,在这里我看到两个问题(我相信有一个原因):

  • 字节0xAA(10101010b)在消息的某些部分切换为0x55(01010101b),反之亦然
  • 消息的开头是“滑出”,字符串47f0和4610之间有8位的差异。

一个明显的原因是,接收者获得的位数与发送者发送的位数不同,但我怀疑到底是什么导致了这种行为?我该如何调试以找出问题所在?

关于设置的几句话:我使用3块板,一块USRP B210,一块Limesdr-USB和一块Limesdr-Mini。我至少以4种不同的组合尝试了该实验,包括从木板发送到自身,并且每次都收到相同的结果。这两块板看起来还不错,它们成功地接收了fm广播并通过fm相互发送/接收声音。

谢谢!

1 个答案:

答案 0 :(得分:0)

实际上,我发现了类似的问题,那里给出的食谱也对我有效。 GFSK demodulation with Xlating filter in GNU Radio