Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Communications Chapter 6. Channel Coding: Part 1

Similar presentations


Presentation on theme: "Digital Communications Chapter 6. Channel Coding: Part 1"— Presentation transcript:

1 Digital Communications Chapter 6. Channel Coding: Part 1
Subchapter 6.1 & 6.2 Shelly Salim April 5th 2013

2 Outline 6.1 Waveform Coding and Structured Sequences
6.2 Types of Error Control 6.3 Structured Sequences 6.4 Linear Block Codes 6.5 Error-Detecting and Correcting Capability, 6.6 Usefulness of the Standard Array 6.7 Cyclic Codes 6.8 Well-Known Block Codes

3 CHANNEL CODING Signal transformations designed to improve communications performance by enabling the transmitted signals to better withstand the effects of various channel impairments, such as noise, interference, and fading. Waveform coding Transforming waveforms into “better waveforms” to make the detection process less subject to errors Structured sequences Transforming data sequences into “better sequences”, by having structured redundancy (redundant bits). The redundant bits can then be used for the detection and correction of errors.

4 Waveform Coding and Structured Sequences
6.1 Waveform Coding and Structured Sequences Original signal Coded signal encode decode Orthogonality M-ary signaling Waveform coding

5 6.1 “describing non-overlapping, uncorrelated, or independent objects of some kind” Orthogonality Orthogonal functions: functions which their inner product is zero Orthogonal vectors : vectors which their dot product is 0 For example (1, 0, 0, 1, 0, 0, 1, 0)T, (0, 1, 0, 0, 1, 0, 0, 1)T, (0, 0, 1, 0, 0, 1, 0, 0)T are orthogonal.

6 Orthogonality Orthogonal signal 6.1
The line segments AB and CD are orthogonal to each other. Orthogonality Orthogonal signal sine and cosine wave are orthogonal waveform set

7 Orthogonality Cross correlation 6.1
measure of similarity between two signals Its value always lies between -1 to +1. If the value of the correlation coefficient is positive, it indicates the similar and identical relation between the two values. Whereas negative value indicates the dissimilarity between the two values. Cross correlation coefficient of orthogonal signal

8 6.1 M-ary signaling Modulator data One of M=2k waveforms K bits

9 For example: Multiple Frequency Shift Keying (MFSK)
6.1 For example: Multiple Frequency Shift Keying (MFSK) BFSK 4FSK Input: 1 bit M = 21 = 2 Output: one of 2 waveforms Input: 2 bit M = 22 = 4 Output: one of 4 waveforms

10 For example: Multiple Frequency Shift Keying (MFSK)
6.1 For example: Multiple Frequency Shift Keying (MFSK) Orthogonal signaling BFSK 4FSK as k increases, there is improved error performance or a reduction in required Eb/N0, at the expense of bandwidth Input: 1 bit M = 21 = 2 Output: one of 2 waveforms Input: 2 bit M = 22 = 4 Output: one of 4 waveforms

11 6.1 Waveform coding Transform a waveform set (representing a message set) into an improved waveform set. The improved waveform set can then be used to provide improved probability of bit error (PB) compared to the original set. The encoding procedure endeavors to make each of the waveforms in the coded signal set as unalike as possible; the goal is to render the cross-correlation coefficient zij (among all pairs of signals) as small as possible. The most popular of waveform codes are referred to as orthogonal and biorthogonal codes.

12 Orthogonality condition
6.1 Orthogonal codes Orthogonality condition Each waveform in the set [si(t)] may consist of a sequence of pulses, where each pulse is designated with a level +1 or -1, which in turn represents the binary digit 1 or 0, respectively. When the set is expressed in this way, zij can be simplified by stating that [si(t)] constitutes an orthogonal set if and only if

13 Orthogonal codeword set
6.1 Orthogonal codes ENCODING Orthogonal codeword set Coded signal Symbol Codeword Data set

14 Orthogonal codeword set
6.1 Orthogonal codes Orthogonal codeword set 1 bit data set 0  [ 0 0 ] (i)  [ 0 1 ] (j) zii = ( 2 – 0 ) / 2 = 1 zij = ( 1 – 1 ) / 2 = 0 H is orthogonal codeword set

15 6.1 Orthogonal codes 2 bit data set Hadamard matrix

16 Orthogonal codeword set
6.1 Orthogonal codes Hadamard matrix For a k-bit data set from the Hk-1 matrix, as follows: Orthogonal codeword set k: number of data bits per codeword

17 6.1 Waveform coding with orthogonal codes improves probability of bit error (PB) performance Probability of codeword error (PE) can be upper bounded as (6.5) M: codeword set = 2k (k: number of data bits per codeword) Q(x): complementary error function or co-error function (eq. 3.43) Es: energy per codeword = k.Eb Eb: bit energy N0: noise power spectral density

18 6.1 Waveform coding with orthogonal codes improves probability of bit error (PB) performance Probability of codeword error (PE) can be upper bounded as The relation between PB and PE (as in eq ) (6.5) (6.6) k: number of data bits per codeword M: codeword set = 2k

19 6.1 Waveform coding with orthogonal codes improves probability of bit error (PB) performance Combining and , probability of bit error (PB) can be upper bounded as (6.5) (6.6) (6.7)

20 Biorthogonal codeword set
6.1 Biorthogonal codes Biorthogonal codeword set One-half code of orthogonal codeword

21 6.1 3 bit data set

22 6.1 Requires one-half code compared to orthogonal code  half bandwidth 3 bit data set

23 Waveform coding with biorthogonal codes
6.1 Waveform coding with biorthogonal codes Probability of codeword error (PE) can be upper bounded as (6.9) M: codeword set = 2k (k: number of data bits per codeword) Q(x): complementary error function or co-error function (eq. 3.43) Es: energy per codeword = k.Eb Eb: bit energy N0: noise power spectral density

24 Waveform coding with biorthogonal codes
6.1 Waveform coding with biorthogonal codes Probability of codeword error (PE) can be upper bounded as We can approximate PB(M) by: (6.9) (6.10) Compared to orthogonal code, biorthogonal code has improved PB performance and requires only half the bandwidth

25 Types of error control 6.2 6.5 6.3 Property of structured redundancy
(channel coding) Two basic ways that redundancy is used for controlling errors Error detection and retransmission Utilizes parity bits to detect error. The receiving terminal does not attempt to correct the error; it simply requests that the transmitter retransmit the data. Error detection and correction The parity bits are designed for both the detection and correction of errors. (Forward error correction (FEC)) 6.5 6.3

26 6.2 Two basic ways that redundancy Terminal connectivity
is used for controlling errors Terminal connectivity Error detection and retransmission Utilizes parity bits to detect error. The receiving terminal does not attempt to correct the error; it simply requests that the transmitter retransmit the data. Error detection and correction The parity bits are designed for both the detection and correction of errors. (Forward error correction (FEC)) Half-duplex simplex Full-duplex

27 6.2 Two basic ways that redundancy is used for controlling errors
Error detection and retransmission Utilizes parity bits to detect error. The receiving terminal does not attempt to correct the error; it simply requests that the transmitter retransmit the data. Error detection and correction The parity bits are designed for both the detection and correction of errors. (Forward error correction (FEC)) Automatic Repeat Request (ARQ)

28 Three most popular ARQ procedures
6.2 Three most popular ARQ procedures Stop-and-wait ARQ The transmitter waits for an ACK of each transmission before it proceeds with the next transmission. Requires a half-duplex connection only (*) The third transmission block is received in error, therefore the receiver responds with a NAK, and the transmitter retransmits this third message block before transmitting the next in the sequence.

29 Continuous ARQ with pullback
6.2 Three most popular ARQ procedures Continuous ARQ with pullback Both terminals are transmitting simultaneously: the transmitter is sending message data and the receiver is sending ACK/NAK. A full-duplex connection is necessary

30 Continuous ARQ with pullback
6.2 A sequence number has to be assigned to each block of data. Also, the ACK/NAK need to reference to the sequence numbers (or else there needs to be a priori knowledge of the propagation delays, so that the transmitter knows which messages are associated with which acknowledgments) Three most popular ARQ procedures Continuous ARQ with pullback (*) When message 8 is being sent, a NAK corresponding to the corrupted message 4 is being received. The transmitter “pulls back” to the message in error and retransmits all message data, starting with the corrupted message

31 Continuous ARQ with selective repeat
6.2 Three most popular ARQ procedures Continuous ARQ with selective repeat Both terminals are transmitting simultaneously a full-duplex connection is needed. Only the corrupted message is repeated; then, the transmitter continues the transmission sequence where it had left off instead of repeating any subsequent correctly received messages.

32 6.2 Stop-and-wait ARQ The choice of which ARQ procedure
to choose is a trade-off between the requirements for efficient utilization of the communications resource and the need to provide full-duplex connectivity. e.g. stop-and-wait ARQ (*) Half-duplex connectivity is less costly than fullduplex (*) The associated inefficiency can be measured by the blank time slots. Continuous ARQ with pullback Continuous ARQ with selective repeat

33 Can detect and correct errors
6.2 Only can detect errors Can detect and correct errors ARQ FEC The major advantages of ARQ over FEC Error detection requires much simpler decoding equipment Error detection requires much less redundancy ARQ is adaptive in the sense. that information is retransmitted only when errors occur. FEC may be desirable for any of the following reasons: A reverse-channel is not available or the delay with ARQ would be excessive The retransmission strategy is not conveniently implemented. The expected number of errors, without corrections, would require excessive retransmissions.

34 Waveform coding Type of error control 6.1 Orthogonal code
Biorthogonal code Type of error control Error detection and retransmission Error detection and correction (FEC) Three types of ARQ 6.1 6.2

35 What are the major advantages of ARQ over FEC?
What reasons make FEC may be desirable over ARQ? Q


Download ppt "Digital Communications Chapter 6. Channel Coding: Part 1"

Similar presentations


Ads by Google