Encoding Exercises: Analog-to-Digital Encoding: Speech
Encoding Exercises: Analog-to-Digital Encoding: Speech
Encoding Exercises
Analog-to-Digital Encoding: Speech
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Assume the vertical axis increases by one for each block.
1) The Pulse Code Modulation (PCM) values are the actual numeric values read from
the graph. It uses 8 bits per sample:
Delay of
1 time
unit
Encoding Exercises 2
Answers Reviewed in Class
Digital-to-Digital Encoding
Sequence: 1 0 1 1 0 0 0 1
Polar NRZ
Manchester
Encoding
Bipolar
Encoding
Digital-to-Analog Encoding
Sequence: 1 0 1 1 0 0 0 1
ASK
FSK
PSK
QAM
Constellation for a simple QAM, which varies the phase and the amplitude:
We will choose the 4-chip system. Each bit will be transmitted 4 times
Channel 1’s Code: 0000 = -1 -1 -1 -1 =1 and wants to transmit 001
Channel 2’s Code: 0101 = -1 +1 -1 +1 =1 and wants to transmit 101
Channel 3’s Code: 0011 = -1 -1 +1 +1 =1 and wants to transmit 110
Channel 4’s Code: 0110 = -1 +1 +1 -1 =1 and wants to transmit 111
Transmission:
Example Channel 1=0000 => -1 -1 -1 -1
Tx 0 = +1 +1 +1 +1 Tx 1 = -1 -1 -1 -1
Now transmit: Bit 1 Bit 2 Bit 3
Channel1: +1 +1 +1 +1 +1 +1 +1 +1 -1 -1 -1 -1
Channel 2: -1 +1 -1 +1 +1 -1 +1 -1 -1 +1 -1 +1
Channel 3: -1 -1 +1 +1 -1 -1 +1 +1 +1 +1 -1 -1
Channel 4: -1 +1 +1 -1 -1 +1 +1 -1 -1 +1 +1 -1
Total Sum: -2 +2 +2 +2 0 0 +4 0 -2 +2 -2 -2
Decoding:
Sum code*total for each bit to get correlation:
Channel 1:
Total Sum: -2 +2 +2 +2 0 0 +4 0 -2 +2 -2 -2
Channel 1 code: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
Product +2 -2 -2 -2 0 0 -4 0 +2 -2 +2 +2
Sum: -4=0 -4=0 +4=1
Channel 3:
Total Sum: -2 +2 +2 +2 0 0 +4 0 -2 +2 -2 -2
Channel 3 code: -1 -1 +1 +1 -1 -1 +1 +1 -1 -1 +1 +1
Product +2 -2 +2 +2 0 0 +4 0 +2 -2 -2 -2
Sum: +4=1 +4=1 -4=0
Channel 4:
Total Sum: -2 +2 +2 +2 0 0 +4 0 -2 +2 -2 -2
Channel 4 code:
Encoding Exercises 4
Answers Reviewed in Class
Technology:
Frequency Band (licensed, unlicensed, U-NII, M/GHz) and carrier bandwidth (Hz)
Duplex technique for Transmit/Receive: (e.g. TDD, FDD, Full duplex, Simplex, Half
duplex)
Error Control & Coding Techniques (e.g., FEC, Reed-Solomon, TCM, interleaving, ARC,
coding rate=m/n)