Midterms Reviewer Ni Kim Printable For Cpe11 Data and Digital Communication
Midterms Reviewer Ni Kim Printable For Cpe11 Data and Digital Communication
LECTURE 1 the transmitted message from the channel and converts it back to a form
The Significance of Human Communication understandable by humans.
Transceivers - Most communication equipment incorporates circuits that both
Communication is the process of exchanging information send and receive.
Two of the main barriers to human communication are Signal attenuation, or degradation, is inevitable no matter what the medium
language and distance.. of transmission.
Noise refers to those random, unpredictable, and undesirable signals, or
Well-known forms of electronic communication, such as the telephone, changes in signals, that mask the desired information content.
radio, TV, and the Internet, have increased our ability to share information. The measure of noise is usually expressed in terms of the signal-to-noise
(S/N) ratio (SNR), which is the signal power divided by the noise power and
Electronic communication systems can be stated numerically or in terms of decibels (dB). Obviously, a very
high SNR is preferred for best performance
All electronic communication systems have a transmitter, a communication Types of Electronic Communication
channel or medium, and a receiver.
Simplex
The simplest way in which electronic communication is conducted is
one-way communications, normally referred to as simplex
communication.
Duplex
A duplex communication system is a point-to-point system composed of Digital signals, in contrast to analog signals, do not vary
two or more connected parties or devices that can communicate with one continuously, but change in steps or in discrete increments. Most
another in both directions. digital signals use binary or two-state codes.
a. Full-duplex – simultaneous
b. Half-duplex - one at a time
What is Digital Communication? Digital to Analog Converter - The digital signal extracted from the carrier is
Digital Communication involves the physical transfer of data and then converted again into analog so that the signal can be passed effectively
information through a suitable communication channel. This through the channel or medium.
exchange of information in the form of discrete messages can take Channel - The channel provides a path for the signal and permits the analog
place Point to Point or Point to Multipoint. signal to transmit from the transmitter end to the receiver end.
Digital Demodulator - This is the place from where the data retrieving process
is started at the receiver end. The received signal is demodulated and again
converted from analog to digital. The signal gets rebuild here.
Channel Decoder - The channel decoder does the error corrections post
sequence detection. The distortions which might take place during the
transmission are corrected by adding some additional bits. Addition of these
bits help in the complete recovery of the original signal.
Source Decoder - The resulting signal is again digitized by sampling and
quantizing. This is done to obtain the unadulterated digital output without any
loss of information. The source decoder creates again the source output.
Output Transducer - This is the final block which converts the signal into its
Source – The source consists of an analog signal. For example: A Sound original form (which was at the input of the transmitter). It converts the
signal electrical signal into physical output. For example: Speaker
Input Transducer - This block consists of input transducer which takes a Output Signal - This is the output for which the whole process is done.
physical input and converts it to an electrical signal For example:
Microphone
Analog to Digital Converter - This electrical signal from Input Transducer is
further processed and converted into Digital Signal by Analog to Digital
Converter.
Source Encoder - The source encoder compresses the data into lowest
number of bits. This procedure helps in efficient operation of the
bandwidth. It removes the unnecessary bits.
Channel Encoder - The channel encoder, here the coding is done for error
correction. During the transmission of the signal, due to the sound in the
channel, the signal may get distorted. To avoid this, the channel encoder
adds some unnecessary bits to the transmitted data. These bits are the error
correcting bits.
Digital Modulator - Here the signal which is to be transmitted is modulated
by a carrier. The carrier is used for for effective long distance transmission of
data.
LECTURE 2
Basics of PCM
The major steps
• Sampling - analog message signal is first sampled
• Quantizing - the amplitude of the sample is approximated to the nearest
set of quantization level
• Encoding - discrete signal is then converted into its binary form for the
transmission of the signal.
Pulse code Modulation is used in a lot of devices for transmitting data, such
as:
• It is used in transmitting telephone, TV, and audio signals from the
broadcasting station to the television sets.
• It is used in satellite communication.
LECTURE 3
What is Modulation?
Shift Keying means that the amplitude, frequency or phase of the carrier wave
is shifted between two or more discrete values rather than varying
continuously like Analog Modulation.
AMPLITUDE SHIFT KEYING
Frequency Shift Keying
There are two types of FSK, Binary and M-ary. The analog message signal is converted to digital signal using Analog to Digital
Converter. This digital signal is then passed to two multipliers which takes two
In Binary FSK, logic 1 is associated with certain inputs each. A sine wave with frequency f1 is considered as carrier signal for
frequency of carrier wave e.g. 50MHz and logic 0 is logic 1 and a sine wave with frequency f2 is considered as carrier signal for
associated with different frequency other than 50MHz logic 0. These carrier waves are multiplied with the digital message signal.
e.g. 25MHz. When logic 1 present in the digital signal gets multiplied with the carrier
Asin(2πf1t+p) it results in Asin(2πf1t+p) only since the other multiplier gets
logic 0 as input since it is passed through a NOT gate.
When logic 0 present in the digital signal gets multiplied with the carrier
Asin(2πf2t+p) it results in Asin(2πf2t+p) only since the multiplier gets logic 1 as
input since it is passed through a NOT gate. Both this signals are added to
form FSK wave A[sin(2πf1t+p)+sin(2πf2t+p)]. However this FSK wave contains
abrupt changes in frequency which causes unnecessary high bandwidth usage.
Hence this signal is passed through Band Pass Filter which limits the
bandwidth usage.
In M-ary FSK, a group of log2M bits are considered together rather than 1
bit at a time and the frequency is associated with this group of bits. For demodulating, the FSK wave is passed through two multipliers again
where their respective carrier waves are multiplied again. This signal is passed
For example, in 16-ary FSK, a group of 4 bits are considered and are given a through two Band Pass Filters out of which the top BPF allows f1 frequency to
respective frequency. Since there are 16 possible 4 bit binary numbers (24 ), pass if logic is 1 and the bottom allows f2 frequency to pass if logic is 0. The
16 different frequencies are required for modulation. output of both BPF is compared with each other where the output of the
comparator is high if output of BPF1 is greater than output of BPF2 and is low
if output of BPF2 is greater than output of BPF1. Hence a digital signal is
received at the output of the comparator. This digital signal is converted to
analog wave using Digital to Analog Converter.
Phase Shift Keying
There are two types of PSK, Binary and M-ary. The analog message signal is converted to digital signal using Analog to Digital
Converter. This digital signal is then passed to two multipliers which takes two
In Binary PSK, logic 1 is associated with certain phase shift of carrier wave inputs each. A sine wave with phase shift p1 is considered as carrier signal for
e.g. 90° and logic 0 is associated with different phase shift other than 90° logic 1 and a sine wave with phase shift p2 is considered as carrier signal for
e.g. 0°. logic 0. These carrier waves are multiplied with the digital message signal.
When logic 1 present in the digital signal gets multiplied with the carrier
Asin(2πft+p1) it results in Asin(2πft+p1) only since the other multiplier gets
logic 0 as input since it is passed through a NOT gate.
When logic 0 present in the digital signal gets multiplied with the carrier
Asin(2πft+p2) it results in Asin(2πft+p2) only since the multiplier gets logic 1 as
input since it is passed through a NOT gate. Both this signals are added to
form PSK wave A[sin(2πft+p1)+sin(2πft+p2)]. However this PSK wave contains
abrupt changes in phases which causes unnecessary high bandwidth usage.
Hence this signal is passed through Band Pass Filter which limits the
bandwidth usage.
When logic 0 present in the digitalFor demodulating, the PSK wave is passed
through two multipliers again where their respective carrier waves are
multiplied again. This signal is passed through two Band Pass Filters out of
which the top BPF allows the signal with phase shift p1 to pass if logic is 1 and
the bottom allows the signal with phase shift p2 to pass if logic is 0. The
output of both BPF is compared with each other where the output of the
comparator is high if output of BPF1 is greater than output of BPF2 and is low
if output of BPF2 is greater than output of BPF1. Hence a digital signal is
received at the output of the comparator. This digital signal is converted to
analog wave using Digital to Analog Converter. signal gets multiplied with the
carrier Asin(2πft+p2) it results in Asin(2πft+p2) only since the multiplier gets
logic 1 as input since it is passed through a NOT gate. Both this signals are
added to form PSK wave A[sin(2πft+p1)+sin(2πft+p2)]. However this PSK wave
contains abrupt changes in phases which causes unnecessary high bandwidth
usage. Hence this signal is passed through Band Pass Filter which limits the
bandwidth usage.
Applications of Digital Modulation Techniques LECTURE 4
• Military Communication Systems, where security and accuracy of the INFORMATION
signal plays a crucial role. Digital Modulation can provide confidential and
error free communication. Information is organized data which possesses some meaningful application
• Mobile Communication Systems, where the number of users are daily for the receiver. It is the processed data on which actions and decisions are
increasing and Digital Modulation can provide high capacity and less based.
interference. Long distance communication can be easily done with the help In communication system, information is transmitted from source to
of Digital Modulation. destination
• Digital Broadcasting, Digital modulation techniques are used in digital Information is the intelligence/ideas/message in Information Theory
broadcasting standards such as Digital Audio Broadcasting (DAB), Digital
Video Broadcasting (DVB), and Terrestrial Digital Multimedia Broadcasting Forms of Message - Electrical Signal, Speech/Voice, Picture/Image, Video, Text
(T-DMB) for transmitting audio, video, and data content efficiently.
• Radar Systems, In radar systems, digital modulation techniques like phase Information theory is a mathematical representation of parameters and
modulation (PM) and frequency modulation (FM) are used for transmitting conditions impacting the processing and transmission of information. Claude
radar pulses and modulating radar signals to detect and track objects Shannon
accurately in various applications such as air traffic control, weather
monitoring, and military surveillance.
PROPERTIES OF INFORMATION
Example
Example 2
A Card is selected at random from a deck of playing cards. If you have been
told that it is red in color,
a) How much information have you received?
Total cards = 52
Total red cards = 26
P = 26/52 = ½
I = log2 1/½ = 1 bit
b) How much more information do you needto completely specify the card?
P= 1/26
I = log2 1 / (1/26) = 4.7 bits
ENTROPY BASICS AND DEFINITION Example
Entropy is a fundamental concept in measuring the quantity of information. The source emits three messages with probabilities
It represents the uncertainty or complexity of information. P1 = 0.7 , P2 = 0.2 and P3 = 0.1 .
INFORMATION Calculate:
1. Source Entropy
2. Maximum Entropy
3. Source Efficiency
4. Redundancy
ENTROPY
CODING THEORY
Shannon’s coding theorem is a method of data encoding based on information
entropy, used to represent data efficiently, reducing the required storage
space or transmission bandwidth.
Shannon – Fano Encoding Algorithm
ENTROPY SOURCE REDUNDANCY AND INFORMATION RATE
1. The messages are first written in the order of decreasing probability
2. Divide the messages set into two most equiprobable subset X and Y
3. The message of the 1st set X is given bit 0 and message in the 2nd subset is
given bit 1.
4. The procedure is now applied for each set separately till end.
5. Finally we get the code word for respective symbol
CHANNEL CAPACITY LECTURE 5
Channel Capacity is a measure of the maximum transmission rate of a DATA COMMUNICATION
communication channel. Based on Shannon’s theorem, it explains the Data communication refers to the transmission of digital data between
highest rate at which information can be transmitted error-free under devices over a communication medium. It involves the transfer of data
specific noise conditions. between computers, smartphones, and other electronic devices using various
EXAMPLE technologies and protocols.
EXAMPLES:
• EMAIL
• FILE TRANSFER PROTOCOL(FTP)
• SOCIAL MEDIA COMMUNICATION
• CLOUD STORAGE AND SYNCHRONIZATION
• WEB BROWSING
Key Components
The data transmission modes can be characterized in the following three DATA TRANSMISSION MODES
types based on the direction of exchange of information:Business-Consumer 1. Synchronous - The Synchronous transmission mode is a mode of
Relationships communication in which the bits are sent one after another without
1. Simplex - Simplex is the data transmission mode in which the data any start/stop bits or gaps between them.
can flow only in one direction, a sender can only send data but can
not receive it. Similarly, a receiver can only receive data but can not
send it.
Radiation - The radiation refers to the signal leakage from the medium
because of its unwanted electrical characteristics.