Lecture 4 - LU2 - Fundamentals of Data and Signals (Part II)
Lecture 4 - LU2 - Fundamentals of Data and Signals (Part II)
• General information:
• Look out for any updates / information / etc. on Moodle.
Recap from LU #2 – Part I
• DATA and SIGNALS are two basic building blocks of computer networks
• Two important factors affecting the transfer of a signal over a medium are:
• noise, and
• attenuation
• Distinguish between data and signals, and cite the advantages of digital
data and signals over analog data and signals
• Discuss the bandwidth of a signal and how it relates to data transfer speed
• Identify signal strength and attenuation, and how they are related
• List and draw diagrams of the basic digital encoding techniques, and explain
the advantages and disadvantages of each
Objectives of this Learning Unit
• Identify the different shift keying (modulation) techniques, and describe their
advantages, disadvantages, and uses
• Identify the two most common digitization techniques, and describe their
advantages and disadvantages
• Identify the different data codes and how they are used in communication
systems
Converting Data into Signals
• In order to transmit analog data, you can modulate the data onto a set of
analog signals
• Broadcast radio and the older broadcast television are two very common
examples of this
• We modulate the data onto another set of frequencies so that all the
different channels can coexist at different frequencies
Converting Data into Signals
Transmitting Analog Data with Analog Signals
Converting Data into Signals
Transmitting Digital Data with Digital Signals: Digital Encoding Schemes
• There are numerous techniques available to convert digital data into digital
signals. Some of them include the following five:
• NRZ-L
• NRZI
• Manchester
• Differential Manchester
• Bipolar AMI
• With NRZ-L, the receiver has to check the voltage level for each bit to determine
whether the bit is a 0 or a 1,
• With NRZI, the receiver has to check whether there is a change at the beginning
of the bit to determine if it is a 0 or a 1
Converting Data into Signals
Transmitting Digital Data with Digital Signals: Digital Encoding Schemes
• Note how with a Differential Manchester code, every bit has at least one
significant change. Some bits have two signal changes per bit (baud rate =
twice bps)
Converting Data into Signals
Transmitting Digital Data with Digital Signals: Digital Encoding Schemes
• Which of these is transmitted depends on the binary 1 value that was last
transmitted
Converting Data into Signals
Transmitting Digital Data with Digital Signals: Digital Encoding Schemes
• Yet another encoding technique; this one converts four bits of data into five-
bit quantities
• The five-bit quantities are unique in that no five-bit code has more than 2
consecutive zeroes
• One can then combine two or more of these basic techniques to form more
complex modulation techniques (such as quadrature amplitude modulation)
Converting Data into Signals
Transmitting Digital Data with Discrete Analog Signals > Amplitude Shift Keying
• Note: here there are four different amplitudes, so we can encode 2 bits in
each signal change (bits per signal change = log2 (amplitude levels)).
Converting Data into Signals
Transmitting Digital Data with Discrete Analog Signals > Frequency Shift Keying
• 45 degrees
• 135 degrees
• 225 degrees
• 315 degrees
Converting Data into Signals
Transmitting Digital Data with Discrete Analog Signals > Phase Shift Keying
Converting Data into Signals
Transmitting Digital Data with Discrete Analog Signals > Phase Shift Keying
• Since only 4 phase angles have 2 different amplitudes, there are a total of 16
combinations
• With 16 signal combinations, each baud equals 4 bits of information (log 2(16) =
4, or inversely, 24 = 16)
Converting Data into Signals
Transmitting Digital Data with Discrete Analog Signals > Phase Shift Keying
Converting Data into Signals
Transmitting Analog Data with Digital Signals
• To convert analog data into a digital signal, there are two techniques:
• When the binary values are later converted to an analog signal, a waveform
similar to the original results
Converting Data into Signals
Transmitting Analog Data with Digital Signals > Pulse Code Modulation
• The more snapshots taken in the same amount of time, or the more
quantization levels, the better the resolution
Converting Data into Signals
Transmitting Analog Data with Digital Signals > Pulse Code Modulation
• Since telephone systems digitize human voice, and since the human voice
has a fairly narrow bandwidth, telephone systems can digitize voice into
either 128 or 256 levels
• How fast do you have to sample an input source to get a fairly accurate
representation?
• Thus, if you want to digitize voice (4000Hz), you need to sample at 8000
samples per second
Converting Data into Signals
Transmitting Analog Data with Digital Signals > Delta Modulation
Use a higher frequency signal (make sure the medium can handle the
higher frequency
Use a higher number of signal levels
• For example, what is the data rate of a 3400 Hz signal with 0.2 watts of
power and 0.0002 watts of noise?
• The set of all textual characters or symbols and their corresponding binary
patterns is called a data code
• EBCDIC
• ASCII
• Unicode
Data Codes
EBCDIC
Data Codes
ASCII
Data Codes
Unicode
• For example:
• Let us transmit the message “Sam, what time is the meeting with
accounting? Hannah.”
• This message leaves Hannah’s workstation and travels across a local area
network
Data and Signal Conversions In Action: Two Examples
Data and Signal Conversions In Action: Two Examples
Summary
• To transmit analog data over an analog signal, the analog waveform of the
data is combined with another analog waveform in a process known as
modulation
• For digital data to be transmitted using analog signals, digital data must first
undergo a process called shift keying or modulation
• Data codes are necessary to transmit the letters, numbers, symbols, and
control characters found in text data
• ASCII
• EBCDIC, and
• Unicode
QUESTIONS
Attendance Register
https://forms.office.com/r/PFyuQymsSZ