Physical Layer: CH 4: Digital Transmission
Physical Layer: CH 4: Digital Transmission
Lecture 26
Physical Layer
Ch 4: Digital Transmission
41DIGITALTODIGITALCONVERSION
We can represent digital data by using digital signals.
The conversion involves three techniques: line coding,
block coding, and scrambling.
o Line coding is always needed.
o Block coding and scrambling may or may not be needed.
Example
A signal is carrying data in which one data element is
encoded as one signal element ( r = 1).
If the bit rate is 100 kbps, what is the average value of
the baud rate if c is between 0 and 1?
Solution
Weassumethattheaveragevalueofcis1/2.Thebaudrateisthen
Example
The maximum data rate of a channel is
Nmax = 2 B log2 L (defined by the Nyquist formula).
Does this agree with the previous formula for Nmax?
Solution
AsignalwithLlevelsactuallycancarrylog2Lbitsperlevel.
If each level corresponds to one signal element and we assume the
averagecase(c=1/2),thenwehave
Example
In a digital transmission, the receiver clock is 0.1 percent
faster than the sender clock.
How many extra bits per second does the receiver receive
if the data rate is 1 kbps?
How many if the data rate is 1 Mbps?
Solution
At1kbps,thereceiverreceives1001bpsinsteadof1000bps.
10
11
Example
A system is using NRZ-I to transfer 10-Mbps data.
What are the average signal rate and minimum bandwidth?
Solution
TheaveragesignalrateisS=N/2=500kbaud.
Theminimumbandwidthforthisaveragebaudrateis
Bmin=S=500kHz.
12
Polar RZ scheme
13
14
16
17
18
19
20
21
22
23
24
Example
We need to send data at a 1-Mbps rate.
What is the minimum required bandwidth, using a
combination of 4B/5B and NRZ-I or Manchester coding?
Solution
First4B/5Bblockcodingincreasesthebitrateto1.25Mbps.
TheminimumbandwidthusingNRZIisN/2or625kHz.
TheManchesterschemeneedsaminimumbandwidthof1MHz.
Thefirstchoiceneedsalowerbandwidth,buthasaDCcomponent
problem;
Thesecondchoiceneedsahigherbandwidth,butdoesnothaveaDC
componentproblem.
25
26
27
28
29
42ANALOGTODIGITALCONVERSION
A digital signal is superior to an analog signal.
The tendency today is to change an analog signal to
digital data.
In this section we describe two techniques, pulse
code modulation and delta modulation.
31
32
33
34
36
Examples
An example of under-sampling is the seemingly backward
rotation of the wheels of a forward-moving car in a movie.
A movie is filmed at 24 frames per second.
If a wheel is rotating more than 12 times per second, the
under-sampling creates the impression of a backward
rotation.
Example
A complex low-pass signal has a bandwidth of 200 kHz.
What is the minimum sampling rate for this signal?
Solution
The bandwidth of a low-pass signal is between 0 and f,
where f is the maximum frequency in the signal.
Therefore, we can sample this signal at 2 times the highest
frequency (200 kHz).
The sampling rate is therefore 400,000 samples per second.
38
39
Example
A telephone subscriber line must have an SNRdB above 40.
What is the minimum number of bits per sample?
Solution
We can calculate the number of bits as
40
Example
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
Solution
The human voice normally contains frequencies from 0 to
4000 Hz. So the sampling rate and bit rate are calculated
as follows:
41
42
Example
We have a low-pass analog signal of 4 kHz.
If we send the analog signal, we need a channel with a
minimum bandwidth of 4 kHz.
If we digitize the signal and send 8 bits per sample, we need
a channel with a minimum bandwidth of 8 4 kHz = 32 kHz.
43
44
45
43TRANSMISSIONMODES
The transmission of binary data across a link can be
accomplished in either parallel or serial mode.
In parallel mode, multiple bits are sent with each
clock tick.
In serial mode, 1 bit is sent with each clock tick.
While there is only one way to send parallel data,
there are three subclasses of serial transmission:
asynchronous, synchronous, and isochronous.
47
48
Parallel transmission
49
Serial transmission
50
Asynchronous transmission
We send 1 start bit (0) at the beginning and 1 or more stop
bits (1s) at the end of each byte.
There may be a gap between each byte.
51
Synchronous transmission
We send bits one after another without
start or stop bits or gaps.
It is the responsibility of the receiver to group the bits.
52