Topic: 1.2.1 Data Transmission: Chapter: 1.2 Communication and Internet Technologies
Topic: 1.2.1 Data Transmission: Chapter: 1.2 Communication and Internet Technologies
TRANSMISSION OF DATA
Data transmission refers to the movement of data in the form of bits between two or more digital devices.
This transfer of data takes place via some form of transmission media (for example, coaxial cable, fiber
optics etc.)
Because ordinary telephone circuits pass signals that fall within the frequency range of
voice communication (about 300–3,500 hertz), the high frequencies associated with
0T 0T
data transmission suffer a loss of amplitude and transmission speed. Data signals must therefore be
0T 0T
translated into a format compatible with the signals used in telephone lines. Digital computers use
a modem to transform outgoing digital electronic data; a similar system at the receiving end translates
0T 0T
the incoming signal back to the original electronic data. Specialized data-transmission links carry signals
at frequencies higher than those used by the public telephone network.
Page 1 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
SERIAL TRANSMISSION
Serial transmission occurs over a single cable, one bit at a time. This type of communication is named
U U
"serial" not simply because data travels one bit at a time, but also because these bits must be organized in
a particular way so that transmission can be organized and considered trustworthy. For example, a single
transmission from a peripheral device using serial data might take only 8 bits, so the serial mechanism
has a way to dictate how to signal things like start of a new transmission of data.
Data is transmitted in the form of bits down the wire, so an 8 bit byte, which stands for a single character,
will be transmitted in 8 parts, one signal for each bit.
The diagram shows the data byte 01100011 being transmitted. As there is only one wire, only one bit can
be transmitted at a time.
Serial transmission is simple and reliable because the next bit is not transmitted until the current one has
arrived at its destination. However, because only one bit can be transmitted at a time, the speed of
transmission is slow.
Page 2 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
This type of data transfer is called “Parallel” transmission. Parallel transmission of data is obviously
faster than serial because all the bits are travelling at the same time, but because of the fine tolerances in
the transmission, it is less reliable as the bits can become mixed-up.
Page 3 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
transmission you can transfer one word per cycle (e.g. 1 byte = 8 bits) but with a serial transmission only
a fraction of it i.e. 1 bit.
be guaranteed for high frequencies, as you cannot guarantee that the signal transit time is equal
0T 0T4 0T4 0T
for all signal lines. The higher the frequency, the more tiny differences matter. Hence the receiver
has to wait until all signal lines are settled thus lowering the transfer rate.
One needs to consider crosstalk with parallel signal lines. The higher the frequency, the more
0T 0T4 0T4 0T
pronounced crosstalk gets and with it, the higher the probability of a corrupted word and the need
to retransmit it.
Page 4 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
a) Simplex mode. If data can only travel in one direction then it is known as a SIMPLEX
transmission. A good example of a simplex transmission of data is teletext information which is
passed to a television receiver, but there is no way to send data in the other direction.
Transmitter Receiver
b) Duplex mode. When data can pass in both directions at the same time it is known as DUPLEX
transmission of data. An example of duplex transmission would be a telephone conversation as
both users can speak and be heard at the same time.
Device 1 Device 2
c) Half duplex mode. When data can pass in both directions, but only in one direction at a time,
the transmission is called HALF DUPLEX. An example of half duplex is a CB radio system in
which each handset can either be set to receive mode or send mode.
Device 1 Device 2
Page 5 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
Error detection minimizes the probability of passing incorrect frames to the destination, known as
undetected error probability.
The amount of additional information sent is usually the same for a given amount of data, and the error
detection information will have a relationship to the data that is determined by the application of an
algorithm of some kind to the data itself.
The receiver applies the same algorithm to the data it receives to obtain its own version of the error
correction code, and then compares that version with the error correction code it has received. If the two
codes match, the receiver can be reasonably sure that the data is correct. If not, it will assume that an
error has occurred and respond in the appropriate manner.
For example, in transmitting 1001 the parity bit used would be 0 to give 01001, and thus an even number
of 1s. In transmitting 1101 the parity bit used would be 1 to give 11101, and thus an even number of 1s.
With odd parity, the parity bit is chosen so that the total number of 1s, including the parity bit, is odd. Thus
if at the receiving end, the number of 1s in a code group does not give the required parity, the receiver will
know that there is an error and can request that the code group be retransmitted.
Page 6 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
below, the data bits are odd, so the parity bit becomes 1:
Let's pretend that after being transmitted, the lowest-weighted bit of the previous byte (the one on the far
right) had fallen victim to interference:
The parity bit, in this case, no longer corresponds to the byte's parity: an error has been detected.
0T 0T
However, if two bits (or an even number of bits) had simultaneously changed as the signal was being sent,
no error would have been detected.
As the parity control system can only detect an odd number of errors, it can only detect 50% of all errors.
This error-detection mechanism also has the major downside of being unable to correct the errors it finds
(the only way to fix it is to request that the erroneous byte be retransmitted)
Page 7 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
The decreasing cost of integrated circuits, combined with greater consumer demand for speed and cable
length, has led to parallel communication links becoming deprecated in favor of serial links. Typically, it
used eight channels for transmission, allowing eight bits (one byte) to be sent simultaneously, which was
faster than straight serial connections. The standard parallel interface used a bulky and expensive 36-wire
cable.
Serial or parallel data transmission is used in many Integrated circuits today. Multiplexer is one such
U U
MULTIPLEXERS:
The multiplexer or “MUX” is a combinational logic circuit designed to switch one of several input lines
0T 0T16 16T
through to a single common output line by the application of a control signal. Multiplexers operate like
very fast acting multiple position rotary switches connecting or controlling multiple input lines called
“channels” one at a time to the output.
Multiplexers, or MUX’s, can be either digital circuits made from high speed logic gates used to switch
digital or binary data or they can be analogue types using transistors, MOSFET’s or relays to switch one of
the voltage or current inputs through to a single output.
The most basic type of multiplexer device is that of a one-way rotary switch as shown.
As you can see, initially inputs are provided via parallel transmission technique but the output is given out
serially.
Page 8 of 9
Computer Science 2210 (Notes)
Chapter: 1.2 Communication and Internet
technologies
has almost totally replaced the ordinary serial and parallel standards that have been used to connect
0T 0T 0T 0T
In theory, up to 127 devices can be connected to a single USB port on a computer's motherboard, using
0T 0T
only one of a computer's 16 or 23 Interrupt Requests (IRQs) by using a USB hub, which itself has a
0T 0T 0T 0T
A USB hub can have its own power source, or draw its power through the computer to which it is
0T 0T
attached. To avoid power problems, a powered hub is the best choice. Seven peripherals can be attached
0T 0T 0T 0T
to each USB hub. One of these peripherals can be a second hub to which up to another seven peripherals
0T 0T 0T 0T
can be connected, and the second hub can be attached to a third hub, etc.
0T 0T
Page 9 of 9