SlideShare a Scribd company logo
1 of 38
Chapter 2
Data and Signals

M. Mozammel Hoque Chowdhury, Dept. of CSE, JU

1
DATA
Data can be Analog or Digital.
The term Analog data refers to information that is
continuous;
Digital data refers to information that has discrete
states.
Analog data take continuous values. Digital data
take discrete values.

2
Signals
To be transmitted, data must be transformed
to electromagnetic signals.
A signal is defined as any physical quantity that varies
with time, space or any other independent variables.
By a signal we mean any variable that carries some
information.
Continous signal:

x(t)

Discrete signal (sequence):

x[n]
3
Signals…
Signals can be analog or digital.
Analog signals can have an infinite number of values
in a range.
Digital signals can have only a limited number of
values.

4
PERIODIC & NON-PERIDIC SIGNALS


Periodic Signal


A continuous-time periodic signal is
unchanged/repeated by a time shift
of T0. T0 is called the fundamental
period.

x( t ) = x( t + T0 )



A sine wave: x(t) = A sin(2Πft+Φ)

A discrete-time periodic signal is
unchanged by a time shift of N0.
N0 is the fundamental period.

x[ n ] = x[ n + N 0 ]



Non-Periodic Signal


Not periodic

In data communications, we commonly use periodic
analog signals and non-periodic digital signals.

5
Properties of a Signal








Peak Amplitude (A ) – the highest value/intensity of
the signal.
Period (T ) – the amount of time (in sec) needed by a
signal to complete one cycle.
Frequency (f ) – number of cycles (periods) per sec.
f=1/T
Phase (Φ) – position of a signal relative to time zero.
Phase describes the position of the waveform relative to
time zero.



Wavelength(λ ) – the distance traveled by a wave
(signal) in one cycle.
λ = 1/f

6
Properties of a Signal…
Frequency is the rate of change with respect to time.
Change in a short span of time means high frequency.
Change over a long span of time means low frequency.
If a signal does not change at all, its frequency is zero.
If a signal changes instantaneously, its frequency is infinite.

Example
The power we use at home has a frequency of 60 Hz. The period
of this sine wave can be determined as follows:

7
Fig. Two signals with the same phase and frequency, but different amplitudes

8
Figure Three sine waves with the same amplitude and frequency,
but different phases

9
Figure Wavelength and period

10
The time-domain and frequency-domain plots of a sine
wave

A complete sine wave in the time domain can be represented by
one single spike in the frequency domain.

11
The time domain and frequency domain of three sine
waves
The frequency domain is more compact and useful when we are
dealing with more than one sine wave.
Following Figure shows three sine waves, each with different
amplitude and frequency. All can be represented by three spikes in
the frequency domain.

A single-frequency sine wave is not useful in data communications; we need
to send a composite signal, a signal made of many simple sine waves.

12
Composite Periodic Signal

According to Fourier analysis, any composite signal
is a combination of simple sine waves with different
frequencies, amplitudes, and phases.

Fig A composite periodic signal

13
Decomposition of a composite periodic signal in the time
and frequency domains

14
The time and frequency domains of a non-periodic signal

The bandwidth of a composite signal is the difference
between the highest and the lowest frequencies
contained in that signal.
15
Figure The bandwidth of periodic and nonperiodic composite signals

16
Example
If a periodic signal is decomposed into five sine waves with frequencies of 100,
300, 500, 700, and 900 Hz, what is its bandwidth? Draw the spectrum,
assuming all components have a maximum amplitude of 10 V.
Solution
Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth.
Then

The spectrum has only five spikes, at 100, 300, 500, 700, and 900 Hz

17
Figure The bandwidth for Example 3.10

18
TRANSMISSION IMPAIRMENT
Signals travel through transmission media, which are not
perfect. The imperfection causes signal impairment. This
means that the signal at the beginning of the medium is not
the same as the signal at the end of the medium. What is sent
is not what is received. Three causes of impairment are
attenuation, distortion, and noise.

Topics discussed in this section:
Attenuation
Distortion
Noise
19
Causes of impairment

20
Attenuation

21
Example
Suppose a signal travels through a transmission medium
and its power is reduced to one-half. This means that P 2
is (1/2)P1. In this case, the attenuation (loss of power)
can be calculated as

A loss of 3 dB (–3 dB) is equivalent to losing one-half
the power.
22
Example
A signal travels through an amplifier, and its power is
increased 10 times. This means that P2 = 10P1 . In this
case, the amplification (gain of power) can be calculated
as

23
Distortion

24
Noise

25
Example
The power of a signal is 10 mW and the power of the
noise is 1 μW; what are the values of SNR and SNRdB ?
Solution
The values of SNR and SNRdB can be calculated as
follows:

26
Example
The values of SNR and SNRdB for a noiseless channel
are

We can never achieve this ratio in real life; it is an ideal.

27
Figure Two cases of SNR: a high SNR and a low SNR

28
DATA RATE LIMITS
A very important consideration in data communications is
how fast we can send data, in bits per second, over a
channel. Data rate depends on three factors:
1. The bandwidth available
2. The level of the signals we use
3. The quality of the channel (the level of noise)

29
Nyquist theorem for Sampling

The Nyquist rate is the minimum sampling rate required to avoid aliasing, equals to twice
the highest frequency contained within the signal.

where is B the highest frequency of the signal.

To avoid aliasing, the sampling rate must exceed the Nyquist rate:

30
Noiseless Channel and Nyquist theorem

Bit rate = 2X BX log2L
Where B is the bandwidth, L is the number of signal levels used to
represent data.

31
Example
Consider a noiseless channel with a bandwidth of 3000
Hz transmitting a signal with two signal levels. The
maximum bit rate can be calculated as:

32
Example
Consider the same noiseless channel transmitting a signal
with four signal levels (for each level, we send 2 bits). The
maximum bit rate can be calculated as:

33
Example
We need to send 265 kbps over a noiseless channel with
a bandwidth of 20 kHz. How many signal levels do we
need?
Solution
We can use the Nyquist formula as shown:

Since this result is not a power of 2, we need to either
increase the number of levels or reduce the bit rate. If we
have 128 levels, the bit rate is 280 kbps. If we have 64
levels, the bit rate is 240 kbps.
34
Noisy Channel and Shannon Capacity
Consider an extremely noisy channel in which the value of the signalto-noise ratio is almost zero.

For noisy channel the capacity C (highest data rate) is
calculated as:

This means that the capacity of this channel is zero regardless of
the bandwidth. In other words, we cannot receive any data
through this channel.
35
Example
We can calculate the theoretical highest bit rate of a
regular telephone line. A telephone line normally has a
bandwidth of 3000. The signal-to-noise ratio is usually
3162. For this channel the capacity is calculated as

This means that the highest bit rate for a telephone line
is 34.860 kbps. If we want to send data faster than this,
we can either increase the bandwidth of the line or
improve the signal-to-noise ratio.
36
Example
We have a channel with a 1-MHz bandwidth. The SNR
for this channel is 63. What are the appropriate bit rate
and signal level?
Solution
First, we use the Shannon formula to find the upper
limit.

37
Note

The Shannon capacity gives us the
upper limit; the Nyquist formula tells us
how many signal levels we need.

38

More Related Content

What's hot

Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPMukesh Chinta
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreadingShankar Gangaju
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networkingHarshita Yadav
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)Vivek Kumar
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and SignalsWayne Jones Jnr
 
Data Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSData Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSAvijeet Negel
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Multiplexing
MultiplexingMultiplexing
Multiplexingstooty s
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switchingDr Rajiv Srivastava
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Data Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITSData Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITSAvijeet Negel
 
Data Communication & Computer network: Channel capacity
Data Communication & Computer network: Channel capacityData Communication & Computer network: Channel capacity
Data Communication & Computer network: Channel capacityDr Rajiv Srivastava
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 

What's hot (20)

Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IP
 
Transport layer
Transport layer Transport layer
Transport layer
 
Multiplexing and spreading
Multiplexing and spreadingMultiplexing and spreading
Multiplexing and spreading
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and Signals
 
Data Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSData Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALS
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Data Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITSData Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITS
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
 
Data Communication & Computer network: Channel capacity
Data Communication & Computer network: Channel capacityData Communication & Computer network: Channel capacity
Data Communication & Computer network: Channel capacity
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Application Layer
Application LayerApplication Layer
Application Layer
 
Circuit Switching
Circuit SwitchingCircuit Switching
Circuit Switching
 

Viewers also liked

Fundamentals of Data and Signals
Fundamentals of Data and SignalsFundamentals of Data and Signals
Fundamentals of Data and SignalsAngel G Diaz
 
Basics of signals data communication
Basics of signals data communicationBasics of signals data communication
Basics of signals data communicationSyed Bilal Zaidi
 
Chap 3 data and signals
Chap 3 data and signalsChap 3 data and signals
Chap 3 data and signalsMukesh Tekwani
 
Data bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwaData bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwaAbhishek Wadhwa
 
Ch03-Data And Signals
Ch03-Data And SignalsCh03-Data And Signals
Ch03-Data And Signalsasadawan123
 
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...www. mientayvn.com
 
Unit-1 intro to communication networks
Unit-1 intro to communication networksUnit-1 intro to communication networks
Unit-1 intro to communication networksSSGMCE SHEGAON
 
9. el ancho de banda
9. el ancho de banda9. el ancho de banda
9. el ancho de bandaJhon Barrera
 
Periodic vs. aperiodic signal
Periodic vs. aperiodic signalPeriodic vs. aperiodic signal
Periodic vs. aperiodic signalTahsin Abrar
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteAtharaw Deshmukh
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signalsteja reddy
 

Viewers also liked (16)

Fundamentals of Data and Signals
Fundamentals of Data and SignalsFundamentals of Data and Signals
Fundamentals of Data and Signals
 
Basics of signals data communication
Basics of signals data communicationBasics of signals data communication
Basics of signals data communication
 
Chap 3 data and signals
Chap 3 data and signalsChap 3 data and signals
Chap 3 data and signals
 
Data bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwaData bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwa
 
Ch03-Data And Signals
Ch03-Data And SignalsCh03-Data And Signals
Ch03-Data And Signals
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
Ee341 dsp1 1_sv_chapter1_hay truy cap vao trang www.mientayvn.com de tai them...
 
Unit-1 intro to communication networks
Unit-1 intro to communication networksUnit-1 intro to communication networks
Unit-1 intro to communication networks
 
9. el ancho de banda
9. el ancho de banda9. el ancho de banda
9. el ancho de banda
 
Periodic vs. aperiodic signal
Periodic vs. aperiodic signalPeriodic vs. aperiodic signal
Periodic vs. aperiodic signal
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signals
 
TCP/IP Presentation
TCP/IP PresentationTCP/IP Presentation
TCP/IP Presentation
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
TCP Model
TCP ModelTCP Model
TCP Model
 

Similar to 2. data and signals

Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication PrinciplesKamal Acharya
 
COMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptxCOMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptxKALPANAC20
 
Ch03
Ch03Ch03
Ch03H K
 
Ch3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleCh3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleNeha Kurale
 
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...sandhyakiran10
 
Communication systems
Communication systemsCommunication systems
Communication systemsUmang Gupta
 
ch3-1-v1-14102022-105042pm.ppt
ch3-1-v1-14102022-105042pm.pptch3-1-v1-14102022-105042pm.ppt
ch3-1-v1-14102022-105042pm.pptOwaisKMughal1
 
Impairment of signals & Transmission Medium
Impairment of signals & Transmission MediumImpairment of signals & Transmission Medium
Impairment of signals & Transmission MediumAkila Dulaj
 
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshs
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshsch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshs
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshsNURAINBINTIBAHRUDIN
 
Lecture6 analogdigitalsignals
Lecture6 analogdigitalsignalsLecture6 analogdigitalsignals
Lecture6 analogdigitalsignalsH K
 

Similar to 2. data and signals (20)

Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
COMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptxCOMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptx
 
Chap3
Chap3Chap3
Chap3
 
Ch 03
Ch 03Ch 03
Ch 03
 
Ch03
Ch03Ch03
Ch03
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Ch3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleCh3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kurale
 
lecture-14-dcn.ppt
lecture-14-dcn.pptlecture-14-dcn.ppt
lecture-14-dcn.ppt
 
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
 
Ch03
Ch03Ch03
Ch03
 
Communication systems
Communication systemsCommunication systems
Communication systems
 
ch3-1-v1-14102022-105042pm.ppt
ch3-1-v1-14102022-105042pm.pptch3-1-v1-14102022-105042pm.ppt
ch3-1-v1-14102022-105042pm.ppt
 
Impairment of signals & Transmission Medium
Impairment of signals & Transmission MediumImpairment of signals & Transmission Medium
Impairment of signals & Transmission Medium
 
LECTURE 2.pptx
LECTURE 2.pptxLECTURE 2.pptx
LECTURE 2.pptx
 
10069380.ppt
10069380.ppt10069380.ppt
10069380.ppt
 
Data and Signals.ppt
Data and Signals.pptData and Signals.ppt
Data and Signals.ppt
 
Data communication
Data communicationData communication
Data communication
 
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshs
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshsch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshs
ch03_DATA_and_SIGNAL.pdfhdjwdhdwhhgsgfhshs
 
Network : Ch03
Network : Ch03Network : Ch03
Network : Ch03
 
Lecture6 analogdigitalsignals
Lecture6 analogdigitalsignalsLecture6 analogdigitalsignals
Lecture6 analogdigitalsignals
 

Recently uploaded

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

2. data and signals

  • 1. Chapter 2 Data and Signals M. Mozammel Hoque Chowdhury, Dept. of CSE, JU 1
  • 2. DATA Data can be Analog or Digital. The term Analog data refers to information that is continuous; Digital data refers to information that has discrete states. Analog data take continuous values. Digital data take discrete values. 2
  • 3. Signals To be transmitted, data must be transformed to electromagnetic signals. A signal is defined as any physical quantity that varies with time, space or any other independent variables. By a signal we mean any variable that carries some information. Continous signal: x(t) Discrete signal (sequence): x[n] 3
  • 4. Signals… Signals can be analog or digital. Analog signals can have an infinite number of values in a range. Digital signals can have only a limited number of values. 4
  • 5. PERIODIC & NON-PERIDIC SIGNALS  Periodic Signal  A continuous-time periodic signal is unchanged/repeated by a time shift of T0. T0 is called the fundamental period. x( t ) = x( t + T0 )  A sine wave: x(t) = A sin(2Πft+Φ) A discrete-time periodic signal is unchanged by a time shift of N0. N0 is the fundamental period. x[ n ] = x[ n + N 0 ]  Non-Periodic Signal  Not periodic In data communications, we commonly use periodic analog signals and non-periodic digital signals. 5
  • 6. Properties of a Signal     Peak Amplitude (A ) – the highest value/intensity of the signal. Period (T ) – the amount of time (in sec) needed by a signal to complete one cycle. Frequency (f ) – number of cycles (periods) per sec. f=1/T Phase (Φ) – position of a signal relative to time zero. Phase describes the position of the waveform relative to time zero.  Wavelength(λ ) – the distance traveled by a wave (signal) in one cycle. λ = 1/f 6
  • 7. Properties of a Signal… Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency. If a signal does not change at all, its frequency is zero. If a signal changes instantaneously, its frequency is infinite. Example The power we use at home has a frequency of 60 Hz. The period of this sine wave can be determined as follows: 7
  • 8. Fig. Two signals with the same phase and frequency, but different amplitudes 8
  • 9. Figure Three sine waves with the same amplitude and frequency, but different phases 9
  • 11. The time-domain and frequency-domain plots of a sine wave A complete sine wave in the time domain can be represented by one single spike in the frequency domain. 11
  • 12. The time domain and frequency domain of three sine waves The frequency domain is more compact and useful when we are dealing with more than one sine wave. Following Figure shows three sine waves, each with different amplitude and frequency. All can be represented by three spikes in the frequency domain. A single-frequency sine wave is not useful in data communications; we need to send a composite signal, a signal made of many simple sine waves. 12
  • 13. Composite Periodic Signal According to Fourier analysis, any composite signal is a combination of simple sine waves with different frequencies, amplitudes, and phases. Fig A composite periodic signal 13
  • 14. Decomposition of a composite periodic signal in the time and frequency domains 14
  • 15. The time and frequency domains of a non-periodic signal The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal. 15
  • 16. Figure The bandwidth of periodic and nonperiodic composite signals 16
  • 17. Example If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is its bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V. Solution Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then The spectrum has only five spikes, at 100, 300, 500, 700, and 900 Hz 17
  • 18. Figure The bandwidth for Example 3.10 18
  • 19. TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes signal impairment. This means that the signal at the beginning of the medium is not the same as the signal at the end of the medium. What is sent is not what is received. Three causes of impairment are attenuation, distortion, and noise. Topics discussed in this section: Attenuation Distortion Noise 19
  • 22. Example Suppose a signal travels through a transmission medium and its power is reduced to one-half. This means that P 2 is (1/2)P1. In this case, the attenuation (loss of power) can be calculated as A loss of 3 dB (–3 dB) is equivalent to losing one-half the power. 22
  • 23. Example A signal travels through an amplifier, and its power is increased 10 times. This means that P2 = 10P1 . In this case, the amplification (gain of power) can be calculated as 23
  • 26. Example The power of a signal is 10 mW and the power of the noise is 1 μW; what are the values of SNR and SNRdB ? Solution The values of SNR and SNRdB can be calculated as follows: 26
  • 27. Example The values of SNR and SNRdB for a noiseless channel are We can never achieve this ratio in real life; it is an ideal. 27
  • 28. Figure Two cases of SNR: a high SNR and a low SNR 28
  • 29. DATA RATE LIMITS A very important consideration in data communications is how fast we can send data, in bits per second, over a channel. Data rate depends on three factors: 1. The bandwidth available 2. The level of the signals we use 3. The quality of the channel (the level of noise) 29
  • 30. Nyquist theorem for Sampling The Nyquist rate is the minimum sampling rate required to avoid aliasing, equals to twice the highest frequency contained within the signal. where is B the highest frequency of the signal. To avoid aliasing, the sampling rate must exceed the Nyquist rate: 30
  • 31. Noiseless Channel and Nyquist theorem Bit rate = 2X BX log2L Where B is the bandwidth, L is the number of signal levels used to represent data. 31
  • 32. Example Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as: 32
  • 33. Example Consider the same noiseless channel transmitting a signal with four signal levels (for each level, we send 2 bits). The maximum bit rate can be calculated as: 33
  • 34. Example We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we need? Solution We can use the Nyquist formula as shown: Since this result is not a power of 2, we need to either increase the number of levels or reduce the bit rate. If we have 128 levels, the bit rate is 280 kbps. If we have 64 levels, the bit rate is 240 kbps. 34
  • 35. Noisy Channel and Shannon Capacity Consider an extremely noisy channel in which the value of the signalto-noise ratio is almost zero. For noisy channel the capacity C (highest data rate) is calculated as: This means that the capacity of this channel is zero regardless of the bandwidth. In other words, we cannot receive any data through this channel. 35
  • 36. Example We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000. The signal-to-noise ratio is usually 3162. For this channel the capacity is calculated as This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data faster than this, we can either increase the bandwidth of the line or improve the signal-to-noise ratio. 36
  • 37. Example We have a channel with a 1-MHz bandwidth. The SNR for this channel is 63. What are the appropriate bit rate and signal level? Solution First, we use the Shannon formula to find the upper limit. 37
  • 38. Note The Shannon capacity gives us the upper limit; the Nyquist formula tells us how many signal levels we need. 38