Professional Documents
Culture Documents
CHAPTER 4
8/17/200
TRANSMISSION OF DIGITAL DATA
09
INTERFACE AND MODEM
@fsktm.upm.edu.my
1
INTRODUCTION
8/17/2009
be established
established..
| The characteristics: mechanical spec, electrical
spec, functional spec.
2
Idawaty Ahmad 1
Lecture notes SKR 3200 17 August 2009
8/17/2009
| Transmission of data Æ wiring Æ data stream
| Do we send one bit at a time, or do we group bits
into larger groups, if so how?
| The transmission of binary data across a link can be
accomplished either in parallel mode or serial
mode.
| In parallel mode – multiple bits are sent with each
clock pulse
| In serial mode – one bit is sent with each clock
pulse. Occurs in two ways: synchronous and
asynchronous.
3
PARALLEL TRANSMISSION
8/17/2009
Idawaty Ahmad 2
Lecture notes SKR 3200 17 August 2009
8/17/2009
5
SERIAL TRANSMISSION
8/17/2009
Idawaty Ahmad 3
Lecture notes SKR 3200 17 August 2009
8/17/2009
7
Idawaty Ahmad 4
Lecture notes SKR 3200 17 August 2009
8/17/2009
| Timing of a signal is unimportant.
| Instead, information is received and translated by agreed-upon
patterns.
tt
| Patterns are based on grouping the bit stream into bytes.
| Each group consist of 8 bits, is sent along the link as a unit.
| Without a synchronizing pulse, the receiver cannot use timing to
predict when the next group will arrive.
| To alert the receiver to the arrival of a new group, an extra bit is
added to the beginning of each byte.
y Start bit – usually 0;
| To let receiver know that the byte is finished, one or more
additional bits are appended to the end of byte.
byte
y stop bits – usually 1s.
| Each byte size is increased to at least 10 bits. Gap between byte
transmission is varies.
10
Idawaty Ahmad 5
Lecture notes SKR 3200 17 August 2009
8/17/2009
In 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
byte. byte.
| Called asynchronous because, at the byte level, sender and
receiver do not have to be synchronized.
| But within each byte, the receiver must still be synchronized
with the incoming bit stream.
| When the receiver detects a start bit, it sets a timer and begins
counting bits as they come in. After n bits, the receiver looks
for a stop bit.
| The addition of stop and start bits and the insertion of gaps
into the bit stream make asynchronous transmission slow.
| Cheap and effective – choice for low speed communication
| E.g: Connection of a terminal to a computer.
11
I asynchronous
In h transmission,
i i we sendd 1 start bit
bi
(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.
Idawaty Ahmad 6
Lecture notes SKR 3200 17 August 2009
8/17/2009
| The bit stream is combined into longer “frames”, which may
contain multiple bytes.
| Each byte is i introduced
i onto the transmission
i i link
i without
i a
gap between it and the next one.
| It is the responsibility of the receiver to group the bits.
| Timing becomes very important.
| Because the accuracy of the received information is
completely dependent on the ability of the receiving devices
to keep an accurate count of the bits as they come.
| Advantage:
y Speed – without extra bits, gap, it is faster than asynchronous
transmission
| More useful for high-speed applications like the transmission
of data from one computer to another.
13
14
Idawaty Ahmad 7
Lecture notes SKR 3200 17 August 2009
8/17/2009
In synchronous transmission,
we send bits one after another without start/stop
bits or gaps.
It is the responsibility of the receiver to group the
bits.
15
DTE-DCE INTERFACE
8/17/2009
16
Idawaty Ahmad 8
Lecture notes SKR 3200 17 August 2009
8/17/2009
17
18
Idawaty Ahmad 9
Lecture notes SKR 3200 17 August 2009
DTE
8/17/2009
| DTE includes any unit that functions either as a source of or as
a destination
d ti ti f binary
for bi di it l data.
digital d t
| It can be a terminal, computer, printer, fax machine .. Or any
other device that generates or consumes digital data.
| DTE do not often communicate directly with another one; they
generate and consume information but need an intermediary
to be able to communicate
| Analogy: our brain does when we talk. Brains –DTE, mouth/ear
– DCE, air/telephone line –transmission medium
19
20
Idawaty Ahmad 10
Lecture notes SKR 3200 17 August 2009
8/17/2009
21
DCE
8/17/2009
Idawaty Ahmad 11
Lecture notes SKR 3200 17 August 2009
STANDARDS
8/17/2009
| Many standards have been developed to define
th connection
the ti b t
between a DTE and
d a DCE
| Each standard provides a model for mechanical,
electrical, functional characteristics of the
connection
| EIA and ITU-T are the most active organization have
been involved in developing DTE-DCE interface
standards.
| EIA standards – EIA-232, EIA-442, EIA-449
| ITU-T standards – V series and X series
23
Figure 10 EIA-232
8/17/2009
24
Idawaty Ahmad 12
Lecture notes SKR 3200 17 August 2009
8/17/2009
25
26
Idawaty Ahmad 13
Lecture notes SKR 3200 17 August 2009
8/17/2009
27
28
Idawaty Ahmad 14
Lecture notes SKR 3200 17 August 2009
8/17/2009
29
30
Idawaty Ahmad 15
Lecture notes SKR 3200 17 August 2009
MODEMS
8/17/2009
| The most familiar type of DCE.
| Internal/external modem attached to your PC -
converts the digital signal generated by the PC into
an analog signal to be carried by a public access
phone line.
| Modem stands for modulator/demodulator
| A modulator converts a digital signal into an
analog signal using ASK, FSK, PSK or QAM
| A demodulator converts an analog signal into a
digital signal.
31
32
Idawaty Ahmad 16
Lecture notes SKR 3200 17 August 2009
8/17/2009
33
MODEMS
8/17/2009
34
Idawaty Ahmad 17
Lecture notes SKR 3200 17 August 2009
MODEMS
8/17/2009
| ITU-T Modem Standards
| M
Many off the
th mostt popular
l modems
d available
il bl are
based on standards published by the ITU-T.
| Can be divided into two groups: essentially equivalent
to Bell series modems and those are not.
| E.g. of equivalent to Bell – V.21 similar to Bell modem
103
| Others: V.22bis, V.32, V.32bis…
35
36
Idawaty Ahmad 18
Lecture notes SKR 3200 17 August 2009
TRADITIONAL MODEMS
8/17/2009
| Traditional modems:
y Sending data from a computer at site A to
another computer at site B and vice versa.
y Result:
| Uploading – max data rate is 33.6 Kbps
| Downloading – max data rate is 33.6 Kbps.
y Limiting factor is the quantization step using PCM.
37
Telekom
38
Idawaty Ahmad 19
Lecture notes SKR 3200 17 August 2009
8/17/2009
approximating a continuous
range of values (or a very large
set of possible discrete values)
by a relatively small set of
discrete symbols or integer
values.
An analog-to-digital converter is a
device which converts continuous
signals to discrete digital numbers.
The reverse operation is performed
by a digital-to-analog
digital to analog converter
(DAC).
39
56K MODEMS
8/17/2009
| 56K modems:
y At Internet provider site (which use digital
signaling) does not have to pass through a PCM
converter - quantization is eliminated in one
direction, so the data rate can be increased to
56Kbps.
y Result:
| Uploading
U l di – max data
d t rate
t is
i still
till 33.6
33 6 Kbps
Kb (
(as wellll
traditional modem).
| Downloading – max data rate is now 56 Kbps.
40
Idawaty Ahmad 20
Lecture notes SKR 3200 17 August 2009
56K MODEM
8/17/2009
41
Telekom
42
Idawaty Ahmad 21
Lecture notes SKR 3200 17 August 2009
8/17/2009
Idawaty Ahmad : Semester 2 : 2008/2009
43
Idawaty Ahmad 22