<< Chapter < Page Chapter >> Page >
Explains the repetition code for error correction.

Perhaps the simplest error correcting code is the repetition code .

Repetition code

The upper portion depicts the result of directly modulating the bit stream b n into a transmitted signal x t using a baseband BPSK signal set. R ' is the datarate produced by the source coder. If that bitstream passes through a (3,1) channel coder to yield the bit stream c l , the resulting transmitted signal requires a bit interval T three times smaller than the uncoded version. This reduction in the bit intervalmeans that the transmitted energy/bit decreases by a factor of three, which results in an increased error probability in thereceiver.
Here, the transmitter sends the data bit several times, an odd number of times in fact. Because the error probability p e is always less than 1 2 , we know that more of the bits should be correct rather than in error.Simple majority voting of the received bits (hence the reason for the odd number) determines the transmitted bit moreaccurately than sending it alone. For example, let's consider the three-fold repetition code:for every bit b n emerging from the source coder, the channel coder produces three. Thus, the bit stream emerging from the channelcoder c l has a data rate three times higher than that of the original bit stream b n . The coding table illustrates when errors can becorrected and when they can't by the majority-vote decoder.

In this example, the transmitter encodes 0 as 000 . The channel creates an error (changing a 0 into a 1 ) that with probability p e . The first column lists all possible received datawords and thesecond the probability of each dataword being received. The last column shows the results of the majority-vote decoder.When the decoder produces 0 , it successfully corrected the errors introduced by the channel(if there were any; the top row corresponds to the case in which no errors occurred). The error probability of thedecoders is the sum of the probabilities when the decoder produces 1 .
Coding table
Code Probability Bit
000 1 p e 3 0
001 p e 1 p e 2 0
010 p e 1 p e 2 0
011 p e 2 1 p e 1
100 p e 1 p e 2 0
101 p e 2 1 p e 1
110 p e 2 1 p e 1
111 p e 3 1

Thus, if one bit of the three bits is received in error, the receiver can correct the error; if more than oneerror occurs, the channel decoder announces the bit is 1 instead of transmitted value of 0 . Using this repetition code, the probability of b ^ n 0 equals 3 p e 2 1 p e p e 3 . This probability of a decoding error is always less than p e , the uncoded value, so long as p e 1 2 .

Demonstrate mathematically that this claim is indeed true. Is 3 p e 2 1 p e p e 3 p e ?

This question is equivalent to 3 p e 1 p e p e 2 1 or 2 p e 2 3 p e 1 0 . Because this is an upward-going parabola, we need only checkwhere its roots are. Using the quadratic formula, we find that they are located at 1 2 and 1 . Consequently in the range 0 p e 1 2 the error rate produced by coding is smaller.

Got questions? Get instant answers now!

Questions & Answers

Why is b in the answer
Dahsolar Reply
how do you work it out?
Brad Reply
answer
Ernest
heheheehe
Nitin
(Pcos∅+qsin∅)/(pcos∅-psin∅)
John Reply
how to do that?
Rosemary Reply
what is it about?
Amoah
how to answer the activity
Chabelita Reply
how to solve the activity
Chabelita
solve for X,,4^X-6(2^)-16=0
Alieu Reply
x4xminus 2
Lominate
sobhan Singh jina uniwarcity tignomatry ka long answers tile questions
harish Reply
t he silly nut company makes two mixtures of nuts: mixture a and mixture b. a pound of mixture a contains 12 oz of peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. a pound of mixture b contains 12 oz of peanuts, 2 oz of almonds and 2 oz of cashews and sells for $5. the company has 1080
ZAHRO Reply
If  , , are the roots of the equation 3 2 0, x px qx r     Find the value of 1  .
Swetha Reply
Parts of a pole were painted red, blue and yellow. 3/5 of the pole was red and 7/8 was painted blue. What part was painted yellow?
Patrick Reply
Parts of the pole was painted red, blue and yellow. 3 /5 of the pole was red and 7 /8 was painted blue. What part was painted yellow?
Patrick
how I can simplify algebraic expressions
Katleho Reply
Lairene and Mae are joking that their combined ages equal Sam’s age. If Lairene is twice Mae’s age and Sam is 69 yrs old, what are Lairene’s and Mae’s ages?
Mary Reply
23yrs
Yeboah
lairenea's age is 23yrs
ACKA
hy
Katleho
Ello everyone
Katleho
Laurene is 46 yrs and Mae is 23 is
Solomon
hey people
christopher
age does not matter
christopher
solve for X, 4^x-6(2*)-16=0
Alieu
prove`x^3-3x-2cosA=0 (-π<A<=π
Mayank Reply
create a lesson plan about this lesson
Rose Reply
Excusme but what are you wrot?
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fundamentals of electrical engineering i. OpenStax CNX. Aug 06, 2008 Download for free at http://legacy.cnx.org/content/col10040/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of electrical engineering i' conversation and receive update notifications?

Ask