electrical contractor near

Page 232

226

CHAPTER 6. INFORMATION COMMUNICATION

transmitted again changes: So-called data bits b (n) emerge from the source coder at an average rate B (A) and exit the channel at a rate 1/E higher. We represent the fact that the bits sent through the digital channel operate at a different rate by using the index l for the channel-coded bit stream c (l). Note that the blocking (framing) imposed by the channel coder does not correspond to symbol boundaries in the bit stream b (n), especially when we employ variable-length source codes. Does any error-correcting code reduce communication errors when real-world constraints are taken into account? The answer now is yes. To understand channel coding, we need to develop first a general framework for channel coding, and discover what it takes for a code to be maximally efficient: Correct as many errors as possible using the fewest error correction bits as possible (making the efficiency K/N as large as possible).

6.27 Error-Correcting Codes: Hamming Distance35 So-called linear codes create error-correction bits by combining the data bits linearly. The phrase “linear combination” means here single-bit binary arithmetic. 0⊕0=0

1⊕1=0

0⊕1=1

1⊕0=1

0·0=0

1·1=1

0·1=0

1·0=0

For example, let’s consider the specific (3,1) error correction code described by the following coding table and, more concisely, by the succeeding matrix expression. c (1) = b (1) c (2) = b (1) c (3) = b (1) or c = Gb where   1    G = 1  1

  c (1)    c= c (2) c (3)

h i b = b (1)

The length-K (in this simple example K = 1) block of data bits is represented by the vector b, and the length-N output block of the channel coder, known as a codeword, by c. The generator matrix G defines all block-oriented linear channel coders. As we consider other block codes, the simple idea of the decoder taking a majority vote of the received bits won’t generalize easily. We need a broader view that takes into account the distance between codewords. A length-N codeword means that the receiver must decide among the 2N possible data words to select which of the 2K codewords was actually transmitted. As shown in Figure 6.22, we can think of the data words geometrically. We define the Hamming distance between binary data words c1 and c2 , denoted by d (c1 , c2 ) to be the minimum number of bits that must be “flipped” to go from one word to the other. For example, the distance between codewords is 3 bits. In our table of binary arithmetic, we see that adding a 1 corresponds to flipping a bit. Furthermore, subtraction and addition are equivalent. We can express the Hamming distance as d (c1 , c2 ) = sum ((c1 ⊕ c2 )) (6.55) Exercise 6.28 (Solution on p. 258.) Show that adding the error vector col[1, 0, . . . , 0] to a codeword flips the codeword’s leading bit and leaves the rest unaffected.


Turn static files into dynamic content formats.

Create a flipbook

Articles inside

7.2 Permutations and Combinations

2min
page 262

7.1 Decibels

2min
page 261

Solutions

2min
page 265

Solutions

11min
pages 255-260

6.37 Communication Protocols

3min
page 239

6.34 Message Routing

2min
page 235

6.33 Communication Networks

3min
page 234

6.31 Capacity of a Channel

2min
page 232

6.30 Noisy Channel Coding Theorem

2min
page 231

6.28 Error-Correcting Codes: Channel Decoding

5min
pages 228-229

6.26 Block Channel Coding

2min
page 225

6.24 Channel Coding

3min
page 223

6.20 Entropy

1min
page 218

6.15 Frequency Shift Keying

2min
page 212

6.13 Digital Communication

2min
page 209

6.5 Line-of-Sight Transmission

3min
page 202

6.1 Information Communication

3min
page 195

6.12 Signal-to-Noise Ratio of an Amplitude-Modulated Signal

2min
page 208

6.9 Channel Models

2min
page 205

5.16 Discrete-Time Filtering of Analog Signals

3min
page 179

5.5 Discrete-Time Signals and Systems

6min
pages 152-153

2.1 Complex Numbers

8min
pages 11-13

5.14 Filtering in the Frequency Domain

8min
pages 172-175

Solutions

2min
page 30

3.9 The Impedance Concept

2min
page 48

5.4 Amplitude Quantization

5min
pages 150-151

3.16 Power Conservation in Circuits

3min
page 62

3.12 Equivalent Circuits: Impedances and Sources

3min
page 53
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.