(二)GNURadio3.9 LDPC编译码、DQPSK调制解调的实现
关于这里面使用到的模块的更多信息,请到官方文档中参考。 GNURadio:Block Docs
一、LDPC编译码的实现
1、FEC Extended Encoder
官方的解释如下:
This is a GNU Radio adaptor for any FEC encoder following the generic_encoder API in the fec module.Input and output are flexible to accommodate encoders.
我翻译不行,粗略的说下就是:这是一个可以用来扩展成具有任何一种前向编码功能的模块。
我们可以用它来进行LDPC的编码。
这里使用的File Source的文件内容是10010youyayongbuguoshi;
LDPC Parity Check Matrix使用的校验矩阵的位置在/usr/share/gnuradio/fec中。
LDPC Encoder Definition用于初始化定义LDPC Encoder编码器,接着再在FEC Extended Encoder中使用使该编码器能够进行LDPC编码。
大致流程是:使用Unpack K Bits对File Source的样本流进行拆分,再将拆分出来的数据进行LDPC编码,编码完成后再进行封装打包,并输出到Time Sink中显示:
可以看到我