In Turbo Encoder/decode if we give encoder output to decoder (without adding noise) we are getting errors

Ideally if we give encoder output to decoder (without adding noise) then we are supposed to get zero bit errors right? but in the following code we are getting BER as non-zero. Can any one help with this?
hTEnc = comm.TurboEncoder('TrellisStructure', poly2trellis(4, [13 15 ], 13), 'InterleaverIndices', intrlvrIndices);
hTDec = comm.TurboDecoder('TrellisStructure', poly2trellis(4,[13 15 ], 13), 'InterleaverIndices', intrlvrIndices,'NumIterations', 4);
data = randi( [0 1], 1024, 1);
encodedData = step(hTEnc, data);
receivedBits = step(hTDec, encodedData );

댓글 수: 2

I have also this problem. Could anyone help us? .. Or give some tips.
With (4,[13 15 17], 13) it work OK. But with (4,[13 15 ], 13) is about 20% errors in output BITs.
frmLen = 1024;
rng default
intrlvrIndices = randperm(frmLen);
obj.hTEnc = comm.TurboEncoder('TrellisStructure',poly2trellis(4, ...
[13 15 ],13),'InterleaverIndices',intrlvrIndices);
obj.hTDec = comm.TurboDecoder('TrellisStructure',poly2trellis(4, ...
[13 15 ],13),'InterleaverIndices',intrlvrIndices, ...
'NumIterations',4);
in = randi([0 1],frmLen,1);
coded = step(obj.hTEnc, in(:, 1));
out = step(obj.hTDec, coded);
eval = sum(in-out) % output is cca 3% bit error
Ok there is 2.7% error, but it is still to much. (if setting is 4,[13 15 ],13 - error = 0 )

댓글을 달려면 로그인하십시오.

답변 (1개)

Thanks to Jan H., he found that problem is in format between coder and decoder. Because decoder need at the input soft bits between -1 and 1. And at the codet output are just normal bits like 0 and 1.

카테고리

도움말 센터File Exchange에서 Error Detection and Correction에 대해 자세히 알아보기

질문:

2015년 11월 13일

답변:

2018년 5월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by