Professional Documents
Culture Documents
COMMUNICATIONS 2
Chapter 8
Error Detection
■ Subtopics: 1) Parity and VRC, LRC, and CRC, 2) Bit Error Rate and
Probability of Error
■ At the end of the chapter, the learner should be able to:
– Familiarize the algorithm of parity, VRC, LRC, and CRC for error detection
– Solve problems involving Bit Error Rate, Probability of Error, and other
parameters
Bit Error Rate and
Probability of Error
Subtopic #2
Probability of error P(e) and bit error rate (BER) are
often used interchangeably, although in practice they do
have slightly different meanings.
kTB
• Noise Power: N(dBm) = 10log
0.001
Eb = CTb (J/bit) N
N0 = (W/Hz)
Eb(dBJ ) = 10log Eb B
N0(dBm) = NdBm − 10log B
C
Eb = (J/bit) kTB
fB N0 = = kT (W/Hz)
C B
Eb = 10log (dBJ)
fB
Energy per bit-to-Noise power density Ratio
C
Eb fB CB Eb C B
= = (dB) = (dB) + (dB)
N N0 N fB
N0 fBN
B = 10log Eb − 10log N0
Eb C B
= E /N is a figure of merit used to compare two or more digital
N0 N fB b 0
modulation systems that use different transmission bit rates.
PSK MODULATION QAM MODULATION FSK MODULATION
Additional Examples
For a QPSK system and the given parameters,
C = 10^-11 W bit rate = 70 kbps
N = 1 x 10^-13 W B = 140 kHz
Determine:
(a) Carrier power in dBm
(b) Noise power in dBm
(c) Noise power density in dBm
(d) Energy per bit in dBJ
(e) Carrier-to-noise power ratio in dB
(f) Energy per bit-to-noise power density in dB
Error Correction
• Retransmission (ARQ)
• Resending a message when it is received in error.
• The receive terminal automatically calls for retransmission of
the entire message.
𝟐𝒏 ≥ 𝒎 + 𝒏 + 𝟏
where
n = number of Hamming bits
m = number of bits in the data character
How many Hamming bits are required for a data
character of 26 message bits?
Answer: 5 bits
• The number of bit position in which two codeword
differs.
Answer: 4
[1] Ampoloquio, J. M. (2005). Self-Sufficient Guide to Electronic Communications Engineering.
[2] Beasley, Jeffrey. (2014) Electronic Communications. Pearson.
[3] Frenzel, Louis. (2016) Principles of Electronic Communication Systems. Mc Graw Hill Higher
Education. 4th Edition
[4] Gupta. (2016) An Integrated Course in Electronics and Communication Engineering. S. K. Kataria
& Sons
[5] Ha, Tri. T. (2011) Theory and Design of Digital Communication Systems. Cambridge University
Press
[6] Meadows, Jennifer H. (2018) Communication Technology Update and Fundamentals. Routledge.
[7] Rice, Michael. (2018) Digital Communications: A Discrete-Time Approach
[8] Sharma, Sanjay. (2015) Digital Communications. S. K. Kataria & Sons
[9] Sklar, Bernard. (2009) Digital Communications: Fundamentals and Applications. Aitbs India. 2nd
Edition
[10] Tomasi, W. (2014). Advanced Electronic Communications Systems. Harlow: Pearson Education
Limited.
QUESTIONS?
DIGITAL COMMUNICATIONS /
COMMUNICATIONS 2
Chapter 8
Error Detection
■ Subtopics: 1) Parity and VRC, LRC, and CRC, 2) Bit Error Rate and
Probability of Error
■ At the end of the chapter, the learner should be able to:
– Familiarize the algorithm of parity, VRC, LRC, and CRC for error detection
– Solve problems involving Bit Error Rate, Probability of Error, and other
parameters
Parity and VRC, LRC, and CRC
Subtopic #1
1. SINGLE BIT ERROR
• only 1 bit in the data unit has changed
2. BURST ERROR
• 2 or more consecutive bits in the data unit have
changed from 1 to 0 or from 0 to 1.
• The process of monitoring the received data and
determining when an error has occurred.
• Parity
• Odd Parity
• Even Parity
• Duplicating each data unit for the purpose of detecting
errors
• an effective but rather costly means of detecting errors,
especially with long messages
D = 0011100 D = 0011100
O = 1000110 O = 1000110
G = 1100001 T = 1000101
• The simplest error detection scheme
• Types:
• Vertical Redundancy Checking (VRC)
• Longitudinal Redundancy Checking (LRC)
• Cyclic Redundancy Checking (CRC)
• Simplest error-detection scheme
• Disadvantage:
• The disadvantage is that when an even number of bits are
received in error, the parity checker will not detect them
• over a long time, parity will theoretically detect only 50% of
the transmission errors
Consider the letter ‘C’ with ASCII code 43HEX which has a
binary equivalent P1000011, where P is the parity bit.
Example:
Determine the VRCs and LRC for the following ASCII-
encoded message: THE CAT. Use odd parity for the VRCs
and even parity for the LRC.
Capital Letters:
41 to 5A (Hex)
Capital Letters:
41 to 5A (Hex)
Small Letters:
61 to 7A (Hex)
Small Letters:
61 to 7A (Hex)
Numbers:
30 to 39 (Hex)
Character T H E sp C A T LRC
HEX 54 48 45 20 43 41 54 2F
LSB b0 0 0 1 0 1 1 0 1
b1 0 0 0 0 1 0 0 1
b2 1 0 1 0 0 0 1 1
b3 0 1 0 0 0 0 0 1
b4 1 0 0 0 0 0 1 0
b5 0 0 0 1 0 0 0 1
MSB b6 1 1 1 0 1 1 1 0
VRC b7 0 1 0 0 0 1 0 0
• Most reliable redundancy checking technique using
convolutional coding scheme (99.99%)
BCC = n – k
a
𝑮(𝒙)
= 𝑸 𝒙 + 𝑹(𝒙)
𝑷(𝒙)
• Where:
𝐺 𝑥 = message polynomial
𝑃 𝑥 = generator polynomial
𝑄 𝑥 = quotient
𝑅 𝑥 = remainder
• For CRC-16: 𝑷 𝒙 = 𝒙𝟏𝟔 + 𝒙𝟏𝟓 + 𝒙𝟐 + 𝒙𝟎
Determine the BCS for the following data and CRC generating
polynomials:
Data: 𝐺 𝑥 = 𝑥 7 + 𝑥 5 + 𝑥 4 + 𝑥 2 + 𝑥1 + 𝑥 0
a
In binary: 10110111
CRC generator: 𝑃 𝑥 = 𝑥 5 + 𝑥 4 + 𝑥1 + 𝑥 0
a
In binary: 110011
Step 1: G(x) is multiplied by the number of bits in the CRC code.
x 5 −𝑥 7 + 𝑥 5 + 𝑥 4 + 𝑥 2 + 𝑥 1 + 𝑥 0
𝑥 12 + 𝑥 10 + 𝑥 9 + 𝑥 7 + 𝑥 6 + 𝑥 5
In binary: 1011011100000
Step 2: Result is divided by P(x)
Step 3: The CRC is appended to the data to give the following
data stream:
At the receiver, data is divided again
Additional Example
Determine the BCS for the following data and CRC generating
polynomials:
Data: 𝐺 𝑥 = 𝑥7 + 𝑥3 + 𝑥2 + 𝑥0
a
In binary:
CRC generator: 𝑃 𝑥 = 𝑥 5 + 𝑥 2 + 𝑥1 + 𝑥 0
a
In binary:
[1] Ampoloquio, J. M. (2005). Self-Sufficient Guide to Electronic Communications Engineering.
[2] Beasley, Jeffrey. (2014) Electronic Communications. Pearson.
[3] Frenzel, Louis. (2016) Principles of Electronic Communication Systems. Mc Graw Hill Higher
Education. 4th Edition
[4] Gupta. (2016) An Integrated Course in Electronics and Communication Engineering. S. K. Kataria
& Sons
[5] Ha, Tri. T. (2011) Theory and Design of Digital Communication Systems. Cambridge University
Press
[6] Meadows, Jennifer H. (2018) Communication Technology Update and Fundamentals. Routledge.
[7] Rice, Michael. (2018) Digital Communications: A Discrete-Time Approach
[8] Sharma, Sanjay. (2015) Digital Communications. S. K. Kataria & Sons
[9] Sklar, Bernard. (2009) Digital Communications: Fundamentals and Applications. Aitbs India. 2nd
Edition
[10] Tomasi, W. (2014). Advanced Electronic Communications Systems. Harlow: Pearson Education
Limited.
QUESTIONS?
DIGITAL COMMUNICATIONS /
COMMUNICATIONS 2
Chapter 9
Multiplexing and
Multiple Access
■ Subtopics: 1) Analog and Digital Multiplexing, 2) Multiple Access Channeling Protocols
■ At the end of the chapter, the learner should be able to:
– Define and discuss the terms & concepts of Analog and Digital multiplexing
– Define and discuss the terms and concepts of FDMA, CDMA, and TDMA
Analog and Digital Multiplexing
Subtopic #1
• Multiplexing is a technique used in communications and
input/output operations for transmitting a number of separate
signals simultaneously over a single channel or line.
• Disadvantages:
• Higher bit rate is required.
• If no input signal is present at one channel since a fixed time slot is
assigned to each channel, that time slot for that channel does not carry
any information and there is wastage of bandwidth
• When data from different channels is not available at fixed predetermined
rates rather it is available at the rates which are statistically determined,
then their multiplexing is known as asynchronous time division
multiplexing or statistical time division multiplexing.
• Advantages:
• TDM circuitry is not very complex.
• Communication link of low capacity is used.
• Full available channel bandwidth can be utilized for each channel.
• Intermodulation distortion is absent
• Disadvantages:
• Frames have different sizes
• Requires buffer
• Address information is needed
Multiple Access
Channeling Protocols
Subtopic #2
• Multiple access schemes are used to allow many mobile
users to share simultaneously a finite amount of radio
spectrum.