64
Thus each column has
~
251
data
octets and four check digit octets. Seventy-two
columns, representing two transmission blocks, were chosen.
The
interleal'ing
is
achieved
by
filling the matrix column
by
column. As soon
as
(n
-
4)
octets are read in, the four check digits are calculated and
added
to the
bottom
of
the current column, and the process continues on the next column. But
once all columns
are
full, transmission starts
by
sending
out
octets row by row.
Thus, the
72
leading octets
of
each column
are
sent as the first two transmission
blocks, then the
72
second octets, and so on.
On
reception the rows are filled in
the same way as they were emptied
on
transmission, and
then
RS
error
correction
proceeds
column by column.
It
is
clear that two completely
corrupted
36-octet
transmission blocks cannot cause more than two octet errors in an
RS codeword,
and
the
likelihood
is
that
they will usually cause fewer. Thus, two blocks in
error
in
2n
blocks are correctable, with n
~
255
and k = n -
4.
The
choice
of
GF(2
H
)
was made partly because
of
the ease
of
handling
octet-based operations, and partly because the maximum value for n (
= 255) suited
the requirements for the application to handle a series
of
"a
few
hundred
36-octet
transmission
blocks".
The
interleaving technique described above
is
a very simple technique for
turning bursts
of
errors (e.g., a 36-octet block) into random errors.
The
RS code
enables these and
other
random octet
and
bit errors to be corrected readily and
has
the
merit
of
adapting itself to various lengths
n(
~
255) without change
of
distance
d(
= 5).
Thus, the system can be and
is
configured to meet differing requirements
from the application, in terms
of
number
of
blocks in a series, and to adapt to
differing
error
rates,
by
adjusting
the
length
of
the code and so changing the
probability
of
an
octet
in a codeword being in error.
In
many radio-based broadcast transmission systems the entire digital stream,
framing characters
and
so forth included,
is
itself error-corrected using a convolu-
tional code (see
Chapter
5); so if block coding
is
used within the stream, two levels
of
error
correction apply. This
is
often called
concatenated
coding, because
one
coder
follows
another
as the
data
are
processed.
4.6.3
Other
Aspects of
RS
Codes
Some final comments on RS codes can be made. First,
the
weight distribution of
RS codes can be readily calculated,
and
this enables
the
probability
of
correct
and
incorrect decoding
and
of
other
parameters
such as
the
postdecoding
error
rate
(the
residual error rate) to be calculated accurately, as has
been
indicated.
The
calculation
of
the weight distribution relies on
the
fact that
the
contents
of
any k symbol positions, over all
qk
codewords
of
an RS code, are all distinct.
This
is
because if two codewords
had
equal values in those k positions, they could