Professional Documents
Culture Documents
DCN Unit 1
DCN Unit 1
Data Communication
When we communicate, we are sharing information. This sharing can be local or remote. Between individuals, local
communication usually occurs face to face, while remote communication takes place over distance. The term
telecommunication, which includes telephony, telegraph, and television, means communication at a distance. The term
telecommunication means communication at a distance. The word data refers to information presented in whatever form is
agreed upon by the parties creating and using the data. Data communications are the exchange of data between two
devices via some form of transmission medium such as a wire cable.
Four Fundamental Characteristics of Data Communications
The effectiveness of a data communications system depends on four fundamental characteristics: delivery, accuracy,
timeliness, and jitter.
1) Delivery :- The primary task of a data communication system is to deliver or transfer data from sender to
receiver. The system must deliver data to the correct destination. . Data must be received by the intended device
or user and only by that device or user. No other receiver should receive the data. This characteristics includes the
security of the system, that is, the protection of data.
2) Accuracy :- The data communication system must deliver data to the receiver without being altered or damaged.
The receiver should receive the exact same data which was sent by the sender. The protocol might require to alter
the sent data to protect and optimize the process. However, the protocol should also reverse and restore the data
back to its original form before representing it to the receiver. The accuracy must be maintained.
3) Timeliness :- The system must maintain timeliness. It must deliver data in a timely manner. Delayed delivery can
make the data useless to the receiver. Data must be delivered as they are produced, in the order they are produced
and without any significant delay.
4) Jitter :- Jitter refers to the variation of packet arrival time. Data is sent as packets, that is, a chunk of the whole
data is sent in each turn. These packets get re-joined back in the target device to represent the complete data as it
is. Each packet is sent with a predefined delay or acceptable amount of delay. If packets are sent without
maintaining the predefined delay then an uneven quality in the data might result.It is the uneven delay in the
delivery of audio or video packets. For example, let us assume that video packets are sent every 30 ms. If some of
the packets arrive with 30-ms delay and others with 40-ms delay, an uneven quality in the video is the result.
1) Message :- The message is the information (data) to be communicated. Popular forms of information include
text, numbers, pictures, audio, and video.
2) Sender :- The sender is the device that sends the data message. It can be a computer, workstation, telephone
handset, video camera, and so on.
3) Receiver :- The receiver is the device that receives the message. It can be a computer, workstation, telephone
handset, television, and so on.
4) Transmission medium :- The transmission medium is the physical path by which a message travels from
sender to receiver. Some examples of transmission media include twisted-pair wire, coaxial cable, fiber-optic
cable, and radio waves
5) Protocol :- A protocol is a set of rules that govern data communications. It represents an agreement between the
communicating devices. Without a protocol, two devices may be connected but not communicating, just as a
person speaking French cannot be understood by a person who speaks only Japanese.
Digital communication
Digital communication is made from two words digital and communication.Communication refers to the exchange
of information between two or more sources. Digital communication refers to the exchange of digital information
between the sender and receiver using different devices and methods.
A sender is also known as transmitter that transmits the data. A communication channel between the transmitter and
receiver acts as intermediate source to carry the information to the receiver.
Digital communication is a popular technology used today in electronics. It allows us to access video conferencing,
digital meetings, online education, etc. The data can travel upto long distances within a second with the help of the
internet and other modes of digital communication. It not only saves money but also saves time and effort. It has
also raised the standard of an individual's social, political, and economic life.
Data transmission, digital transmission, or digital communications is the physical transfer of data (a digital bit
stream or a digitized analogue signal) over a point-to-point or point-to-multipoint communication channel. Ex:
optical fibres , wireless channels, computer buses.
Input Transducer :- The transducer is a device used to convert one form of energy to another. In a
communication system, it converts the non-electrical energy to electrical energy to make it suitable for
transmission within the system. In the case of the analog input, the block also contains an ADC (Analog to digital
converter) to convert analog to the digital signal for further processing.
Source Encoder :- The source encoder compresses the data to the reduced number of bits from the original bits.
It helps in effective bandwidth utilization and also removes unnecessary bits. It means that the compressed data
is in the form of binary digits. We can also say that the source encoder converts the waveforms to binary data.
The output data is further passed to the channel encoder.
Channel Encoder :-The information in the signal may get altered due to the noise during the transmissions. The
channel encoder works as an error correction method. It adds redundant bits to the binary data that helps in
correcting the error bits. It enhances the transmission quality of the signal and the channel.
Digital Modulator :- A carrier signal modulates the received signal. It modulates the digital by varying the
transmitted signal's frequency, amplitude, and phase.
Communication channel :- The communication channel is the medium between the transmitter and the
receiver. It helps in transmitting a digital signal from the transmitter to the receiver. The data rate of the channel
is measured in bits per second. The various types of channels in a digital communication system are email,
project management apps, and Intranet.
Digital Demodulator :-The signal is demodulated and the source signal is recovered from the carrier signal.
Channel decoder :- The function of the channel encoder is to add the redundant bits to the binary data, as
discussed above. The channel decoder works in the same but opposite way. It removes the parity bits from the
binary data. It does not affect the signal quality and the information and transmits the data securely. The output
of the channel decoder is a pure digital signal with no interference or noise.
Source decoder :-The source encoder works oppositely as that of the source encoder. It converts the binary data
back to the waveforms.
Output Transducer :-The output transducer works in the opposite was as that of the input transducer. It
converts the electrical energy back into its original form. It makes the information suitable for the user at the
output to capture. The conversion is essential at both the ends of the communication system to make the
system operate at a faster rate.
Output signal :- The output signal refers to the output from the digital communication system. It is the signal
that appears at the output after passing through various communication system components. The output signal
is only a digital signal.
Noise removal components :- Noise in the system can cause information loss and distortion. Hence, it is
essential to use the noise removal components in the communication system. The noise removal components
are used at both the transmitting and receiving ends to filter out the noise components from the signal. The
noise components include anti-aliasing filters, shielded cables, and grounding concepts. The grounding acts as a
reference voltage for the circuit and helps in preventing coupling.
1. The main feature of digital communication is that you can choose when and with whom you want to
communicate, including someone who’s in another part of the world. What’s more, wherever the other person is,
the message is transmitted instantly. This speed is good but can also be bad at the same time. Messages travel
quickly, but sometimes you write things that you later might regret.
2. Another feature is that with digital communication, verbal communication takes precedence over non-verbal.
Likewise, contact is often brief, replacing the longer, more meaningful contact that being face-to-face brings.
Communication through a digital device is often limited to a screen and a speakerphone. As a result, limited
information is transmitted, which can sometimes be misinterpreted. You often have to encode and decode text,
abbreviations and emojis.
3. Only video chats and teleconferences allow gestures, body language and tone of voice to be interpreted, as if they
were face-to-face conversations. But there are still limitations, as this is very far removed from real human
contact.
4. Digital data can be copied, modified or even reissued. Every message you write, every friend you add, every
comment or photo you share is encoded in digital data and stored on the server of the service you use, such as
Facebook or LINE. This is a big challenge for everyone who communicates digitally.
5. With digital communication, you can be in contact with people who have similar interests, whom otherwise you
would never get to know. It’s a way of socialising and discovering new ideas at the same time. For example, you
can join a social media group where people share your passion and, by commenting on posts and photos, by
sending messages etc, you can get to know new people.
6. Another feature of digital communication is that it doesn’t cost very much. Social media and calling via the
Internet are free. The fact that messages don’t need printing on paper because they can be stored on an electronic
device for a long time means you can even save money. Books can also be electronically downloaded, so you
don’t need a printed copy. Consequently, on a global level this contributes to cutting down fewer trees to make
paper.
7. The final feature is that most of your personal ID and information can be stored on your own device. This has
both positive and negative implications. You need to be much more careful not to lose your mobile or have it
stolen. But at the same time, it’s very convenient. For example, you can pay for things with your mobile, and keep
passwords or access verification linked to the device, etc.
Analog communication
Analog communication is made from two words analog and communication. Analog refers to the
continuous time-varying signal. Communication refers to exchanging information between two or
more than two sources. Analog communication means communication with the help of analog
signals.
The analog communication is communication from the sender to the receiver in the form of an
analog signal. The analog signal is a continuous time varying signal. The example of analog
signal is sound waves. The signals that continuously vary with time are the examples of an analog
signal, such as audio and video signals.
The analog communication system refers to a model that helps the data to transmit from one end to
the other. It combines elements that work together to establish a network between the sender and
receiver. It consists of transducers, transmitter, channel, and receiver. The function of transducers is
to convert one form of energy to the other. The channel acts as a medium to transmit electrical
information from the transmitter to the receiver.
Transmitter
The transmitter converts the electrical signal into a form suitable for transmission for the channel. It
performs modulation by superimposing the message signal on the high-frequency carrier signal.
Thus, different channels have different types of the transmitter. If the channel's characteristic varies,
the transmitter must adjust itself to maintain the desired range for effective communication.
The original signal is known as the message signal or the baseband signal. Transmitter also performs
multiplexing, i.e., simultaneous transmission of several signals.
Communication channel
Communication channel is a medium to transmit the electrical signal from transmitter to the receiver.
The communication can be broadcast or point to point. Broadcast refers to a single sender and
multiple receivers, such as radio. Point to point communication refers to the communication between
a single sender and a single receiver, such as a telephone. The essential parameter for suitable
transmission is bandwidth. The greater the bandwidth, the better will be the transmission.
o Wired channel
o Wireless channel
Wired channel
The examples of wired channel are twisted pair cables, waveguide, cables, and optical fiber.
Twisted pair cables: These are the two conducting cables twisted to improve the transmission ability.
The twist in the two conductors couples the electric or magnetic fields and prevents the noise
interference in the channel. It is commonly used for wire shielding to prevent the data from external
noise.
Waveguides: The waveguides can transmits the electromagnetic waves without any energy less or
minimal loss. It is commonly used in radar and microwave communication.
Optical fiber: An optical fiber is a transmission fiber made up of plastic or glass. It can transmit the
data upto hundreds of kilometers without affecting the signal's quality. The transmission is based on
TIR (Total Internal Reflection). The diameter of the fiber is as small as the human hair.
Wireless channel
It is the communication in the form of EM (Electromagnetic waves) from one antenna to the other in
space. The transmission depends on the frequency of the EM waves.
Interference factors
The interference in the channel is termed as noise and attenuation.
Attenuation is defined as the loss in the strength of the signal. It is also known as distortion. The
attenuation is caused by the passive components in the communication system, such as cables and
connectors. It is low in optical fiber as compared to other types of media.
Noise is a serious factor in the communication system. It is defined as any unwanted interference in
the signal during the transmission. Noise is categorized as:
o Internal Noise
o External Noise
Internal Noise
The interference that occurs during the signal transmission inside the communication system is
known as internal noise. Examples of internal noise are thermal noise, shot noise, etc. Internal noise
can also arise from the recombination of the carriers (electrons and holes).
External Noise
The interference that occurs outside the communication system is known as external noise. The
examples of external noise are lighting, ignition, electrical switching, etc.
Receiver
The receiver receives information from the channel. It extracts the necessary information from the
signal required by the output transducer. The receiver performs the opposite of modulation and
multiplexing, i.e., demodulation and demultiplexing. It also amplifies and removes noise from the
signal.
Output transducer
The output transducer works reversely as that of the input transducer. It converts the electrical energy
into the original signal. We can also say that it makes the information available understandable to the
target. Examples of output transducers are loudspeakers, motors, LEDs, etc.
Both the input and output transducers are important because they convert the signal suitable for
transmission and increase the signal's speed.
Some channel also uses amplifiers or filters to remove the noise or distortion from the signal. The
noise present in the signal can affect the signal's quality. Hence, it's essential to use such components
in the circuit.
The information first reaches the input transducer. It converts the speech signal to the electrical
signal. It is because the communication system can only allow the electrical energy to pass through
the system. The electrical signal is further sent to the transmitter. It improves the characteristics of
the received signal by modulation and converts it to the suitable form for the channel. The
information now travels on the channel through different wired or wireless media. After travelling the
desired distance, the signal reaches the receiver. It demodulated the signal to recover the original
message signal, which is last send to the output transducer. The output transducer converts the
electrical signal back to the speech signal.
Speech plays a major role in human voice, communication through mobile phones, video, etc. But, the
back noise in a system is considered as inference and needs to be eliminated from the system. For
this, effective filters or amplifiers are used.
o Analog signal uses less bandwidth as compared to the digital signal. It is due to the use of amplifier in
the analog communication system, which improves the signal and reduces the distortion.
o It provides a more accurate method of representation due to its continuous nature.
o Audio signals are preferred for audio and video transmissions. It is because these signals can be easily
modulated and demodulated using Amplitude Modulation and Demodulation.
o Analog signals are easy to process as compared to the digital signals.
o It offers a finite amount of signal resolution.
o Analog signals have high density because it is continuous and requires a medium to transmit.
It gets affected by noise highly during It gets affected by noise less during
transmission through communication transmission through communication
03. channel. channel.
In simplex mode, the communication is unidirectional, as on a one-way street. Only one of the two devices on a
link can transmit; the other can only receive. The simplex mode can use the entire capacity of the channel to send
data in one direction. Example: Keyboards and traditional monitors are examples of simplex devices. The
keyboard can only introduce input; the monitor can only accept output.
2. Half-Duplex Mode –
In half-duplex mode, each station can both transmit and receive, but not at the same time. When one device is
sending, the other can only receive, and vice versa. The half-duplex mode is used in cases where there is no
need for communication in both directions at the same time. The entire capacity of the channel can be utilized
for each direction. The half-duplex mode is like a one-lane road with traffic allowed in both directions. When
cars are traveling in one direction, cars going the other way must wait.
Example: Walkie-talkies and CB (citizens band) radios are both half-duplex systems.
Walkie-talkie in which message is sent one at a time and messages are sent in both directions. Channel
capacity=Bandwidth * Propagation Delay
3. Full-Duplex Mode –
In full-duplex mode, both stations can transmit and receive simultaneously. In full_duplex mode, signals going
in one direction share the capacity of the link with signals going in another direction, this sharing can occur in
two ways:
(i) Either the link must contain two physically separate transmission paths, one for sending and
the other for receiving.
(ii) Or the capacity is divided between signals traveling in both directions.
Full-duplex mode is used when communication in both directions is required all the time. The capacity of the channel,
however, must be divided between the two directions.
Example: Telephone Network in which there is communication between two persons by a telephone line, through
which both can talk and listen at the same time.
Channel Capacity=2* Bandwidth*propagation Delay
Transmission modes
o The way in which data is transmitted from one device to another device is known as transmission
mode.
o The transmission mode is also known as the communication mode.
o Each communication channel has a direction associated with it, and transmission media provide the
direction. Therefore, the transmission mode is also known as a directional mode.
o The transmission mode is defined in the physical layer.
Simplex mode
o In Simplex mode, the communication is unidirectional, i.e., the data flow in one direction.
o A device can only send the data but cannot receive it or it can receive the data but cannot send the
data.
o This transmission mode is not very popular as mainly communications require the two-way exchange of
data. The simplex mode is used in the business field as in sales that do not require any corresponding
reply.
o The radio station is a simplex channel as it transmits the signal to the listeners but never allows them to
transmit back.
o Keyboard and Monitor are the examples of the simplex mode as a keyboard can only accept the data
from the user and monitor can only be used to display the data on the screen.
o The main advantage of the simplex mode is that the full capacity of the communication channel can be
utilized during transmission.
o In a Half-duplex channel, direction can be reversed, i.e., the station can transmit and receive the data as
well.
o Messages flow in both the directions, but not at the same time.
o The entire bandwidth of the communication channel is utilized in one direction at a time.
o In half-duplex mode, it is possible to perform the error detection, and if any error occurs, then the
receiver requests the sender to retransmit the data.
o A Walkie-talkie is an example of the Half-duplex mode. In Walkie-talkie, one party speaks, and another
party listens. After a pause, the other speaks and first party listens. Speaking simultaneously will create
the distorted sound which cannot be understood.
Full-duplex mode
o In Full duplex mode, the communication is bi-directional, i.e., the data flow in both the directions.
o Both the stations can send and receive the message simultaneously.
o Full-duplex mode has two simplex channels. One channel has traffic moving in one direction, and
another channel has traffic flowing in the opposite direction.
o The Full-duplex mode is the fastest mode of communication between devices.
o The most common example of the full-duplex mode is a telephone network. When two people are
communicating with each other by a telephone line, both can talk and listen at the same time.
Send/Receive A device can only send the Both the devices can Both the devices can send and
data but cannot receive it send and receive the receive the data simultaneously.
or it can only receive the data, but one at a time.
data but cannot send it.
Performance The performance of half- The performance of The Full-duplex mode has better
duplex mode is better than full-duplex mode is performance among simplex and
the simplex mode. better than the half- half-duplex mode as it doubles the
duplex mode. utilization of the capacity of the
communication channel.
Example Examples of Simplex mode Example of half-duplex Example of the Full-duplex mode is
are radio, keyboard, and is Walkie-Talkies. a telephone network.
monitor.
Computer Network
A computer network is essentially collection of autonomous computers interconnected by a single technology. Two
computers are said to be interconnected if they are able to exchange information. It is a system which allows
communication among the computers connected in the network.
2. Broadcast :- These networks have a single communication channel that is shared by all the machines on the
network, such connection is also called as multipoint or multidrop connection. In a broadcast system, a packet
sent by one machine is received by all others. If packet is intended for other machine, it is ignored. It is possible to
transmit data to a subset of the network that is transmission to only a group of few machines known as
multicasting. Point-to-point transmission with one sender and one receiver is called unicasting. Small localized
networks (such as LAN) use broadcast transmission.
1. Mesh Topology
It is also called as fully interconnected topology. In a mesh topology, every device has a dedicated point-to-point link
to every other device. The term dedicated means that the link carries traffic only between the two devices it connects.
There are n(n-1) physical channels to link n devices. Every device not only sends its own data but also relays data
from other nodes. To find the number of physical links in a fully connected mesh network with n nodes, we first
consider that each node must be connected to every other node. Node 1 must be connected to n - I nodes, node 2 must
be connected to n – 1 nodes, and finally node n must be connected to n - 1 nodes. We need n(n - 1) physical links.
However, if each physical link allows communication in both directions (duplex mode), we can divide the number of
links by 2. In other words, we can say that in a mesh topology, we need n(n -1) /2 duplex-mode links. To
accommodate that many links, every device on the network must have n – 1 input/output (VO) ports to be connected
to the other n - 1 stations.
3. Bus Topology
A bus topology, on the other hand, is multipoint. One long cable acts as a backbone to link all the devices in a
network Nodes are connected to the bus cable by drop lines and taps. A drop line is a connection running between the
device and the main cable. A tap is a connector that either splices into the main cable or punctures the sheathing of a
cable to create a contact with the metallic core. As a signal travels along the backbone, some of its energy is
transformed into heat. Therefore, it becomes weaker and weaker as it travels farther and farther. For this reason there
is a limit on the number of taps a bus can support and on the distance between those taps.
Advantages
1) Easy installation.
2) Cable required is the least compared to mesh/star topologies.
3) Redundancy is eliminated.
4) Costs less (Compared to mesh/star topologies).
5) Mostly used in small networks. Good for LAN.
Disadvantages
1) Difficult to detect and troubleshoot fault.
2) Signal reflection at the taps can cause degradation in quality.
3) A fault/break in the cable stops all transmission.
4) There is a limit on
(i) Cable length
(ii) Number of nodes that can be connected.
5) Security is very low because all the devices receive the data sent from the source.
Bus topology was the one of the first topologies used in the design of early local area networks. Ethernet LANs can use a
bus topology, but they are less popular.
4. Ring Topology
In the ring topology, the network consists of a set of repeaters joined by point-to-point links in a closed loop. The
repeater is a comparatively simple device, capable of receiving data on one link and transmitting them, bit by bit, on
the other link as fast as they are received, with no buffering at the repeater.The links are unidirectional; that is, data
are transmitted in one direction only and all are oriented in the same way. Thus, data circulate around the ring in one
direction (clockwise or counterclockwise). Each station attaches to the network at a repeater and can transmit data
onto the network through that repeater. As with the bus and tree, data are transmitted in frames. As a frame circulates
past all the other stations, the destination station recognizes its address and copies the frame into a local buffer as it
goes by. The frame continues to circulate until it returns to the source station, where it is removed .Because multiple
stations share the ring, medium access control is needed to determine at what time each station may insert frames.
Advantages
1) Easy installation and reconfiguration. To add/delete a device, requires changing only 2 connections.
2) Fault isolation is simplified. If one device does not receive a signal within a specified period, it can issue an
alarm. The alarm alerts the network-operator to the problem and its location.
3) Congestion reduced: Because all the traffic flows in only one direction.
Disadvantages
1.Unidirectional traffic.
2.A fault in the ring/device stops all transmission. The above 2 drawbacks can be overcome by using dual ring.
3.There is a limit on
i. Cable length
ii. Number of nodes that can be connected.
4.Slower: Each data must pass through all the devices between source and destination.
Categories of Networks
Computer network can be classified based on the geographical area they cover, i.e. the area over which the network is
spread. Following are three primary categories of networks: