Network Technology CSE3020 Week 2

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Chapter 3: DATA TRANSMISSION
Data and Computer Communications
1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Data and Computer Communications
Data and Computer Communications Data Transmission.
Data Transmission and Communication Technology. Terminology (1) TransmitterTransmitter ReceiverReceiver MediumMedium –Guided medium e.g. twisted pair,
Data Communications and Networking
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 3 – Data Transmission.
1 Chapter 2. Transmission Fundamentals Wen-Shyang Hwang KUAS EE.
Data and Computer Communications
TRANSMISSION FUNDAMENTALS Review
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
Physical Layer (Part 1) Advanced Computer Networks.
Introduction to Wireless Communications. Wireless Comes of Age Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding alphanumeric.
Chapter 3 Data and Signals
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 3: Data Transmission.
Chapter 15: Data Transmission Business Data Communications, 5e.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
1 Physical Layer. 2 Receiver Communication channel Transmitter Figure 3.5 Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication.
IS250 Spring 2010 Physical Layer IS250 Spring 2010
William Stallings Data and Computer Communications 7th Edition
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Computer Networks Chapter 3 Data Transmission. Terminology ÑTransmitter ÑReceiver ÑMedium (Guided/Unguided) ÑDirect link ÑPoint-to-point ÑDirect link.
Introduction Lecture1. Communication Systems Systems communicate in order to share information. To communicate means to pass information from one place.
FIT 1005 Networks & Data Communications
Networks: Physical Layer1 Physical Layer. Networks: Physical Layer2 Receiver Communication channel Transmitter Figure 3.5 Copyright ©2000 The McGraw Hill.
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
Data and Computer Communications Chapter 3 – Data Transmission.
Transmission Fundamentals
Transmission Fundamentals Chapter 2. Electromagnetic Signal Used as a means to transmit information Function of time but can also be expressed as a function.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
1 Chap. 3 Data Transmission & Transmission Media.
Chapter 3 – Data Transmission: Concepts and Terminology
CSCI 465 D ata Communications and Networks Lecture 4 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 Business Telecommunications Data and Computer Communications Chapter 3 Data Transmission.
Data and Computer Communications Ninth Edition by William Stallings Chapter 3 – Data Transmission Data and Computer Communications, Ninth Edition by William.
Chapter 15: Data Transmission Business Data Communications, 6e.
CE 4228 Data Communications and Networking
Data Transmission. 1. Terminology Transmitter Receiver Medium —Guided medium e.g. twisted pair, optical fiber —Unguided medium e.g. air, water, vacuum.
ECEN 621, Prof. Xi Zhang ECEN “ Mobile Wireless Networking ” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings,
William Stallings Data and Computer Communications 7 th Edition Chapter 3 Data Transmission.
Signals and Noise Sept 5, Announcements Homework-Chapter 2, Problems 2, 6, 8, 12, 16, 18 Recommended Problems: 13, 15, 23
Data and Computer Communications by William Stallings Eighth Edition Data Transmission Click to edit Master subtitle style Networks and Communication Department.
Aegis School of Telecommunication 1 Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas Dean Telecom.
Physical Layer: Data and Signals
Physical Layer PART II. Position of the physical layer.
Transmission Fundamentals Chapter 2. Signals Function of time Can also be expressed as a function of frequency Signal consists of components of different.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Transmission Fundamentals.
Physical Layer (Part 1) Computer Networks C13.
Chapter 2 Transmission Fundamentals Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
Advanced Computer Networks
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 3 – Data Transmission.
EECS 4215 Chapter 2 ─ Wireless Transmission 13 June 2016.
Data and Computer Communications. Data Transmission CHAPTER 3.
Data and Computer Communications Chapter 3 – Data Transmission.
Data and Computer Communications Chapter 3 – Data Transmission.
COMP211 Physical Layer Data and Computer Communications 7th edition William Stallings Prentice Hall 2004 Computer Networks 5th edition Andrew S. Tanenbaum,
Transmission Fundamentals
Data Communications and Networking
William Stallings Data and Computer Communications 7th Edition
Chapter 3. Data Transmission
REVIEW Physical Layer.
Chapter Three: Signals and Data Transmission
Presentation transcript:

Network Technology CSE3020 Week 2

Concepts & Terminology Bandwidth Data Rate Channel Capacity Data transmission Concepts & Terminology Bandwidth Data Rate Channel Capacity Analog & Digital Data Transmission Transmission impairments

Terminology Medium Direct link - No intermediate devices Guided medium (e.g. twisted pair, optical fiber) Unguided medium (e.g. air, water, vacuum) Direct link - No intermediate devices Point-to-point - Direct link (Only 2 devices share link) Multi-point - More than two devices share the link

Terminology Simplex - One direction (e.g. Television) Half duplex - Either direction, but only one way at a time (e.g. police radio) Full duplex - Both directions at the same time (e.g. telephone)

Continuous & Discrete Signals Continuous signal - Varies in a smooth way over time Discrete signal - Maintains a constant level then changes to another constant level

Periodic Signals Periodic signal - Pattern repeated over time Aperiodic signal - Pattern not repeated over time

Sine Wave General sine wave: s(t)=Asin(2 ft + ). Peak Amplitude (A) - maximum strength of signal, generally in volts. Frequency (f) - rate of change of signal. - Hertz (Hz) or cycles per second. - Period = time for one repetition (T). - T = 1/f Phase () - relative position in time. Wavelength () - Distance occupied by one cycle. -  = vT where v is signal velocity.

Frequency Domain Concepts  Signal are usually made up of many frequencies. Components are sine waves. Fourier analysis: Any signal is made up of sine waves. Can plot frequency domain functions.

Frequency Domain Concepts Fourier Series: g(t) = ½A0+  An sin (2nf0t) +  Bn cos (2nf0t)  n=1 harmonics DC component Fundamental frequency

Frequency Domain Concepts

Frequency Domain Concepts

Signal with DC Component DC Component - Component of zero frequency.

Time & Frequency domains g(t) time Time domain V(f) Frequency domain (signal spectrum) ... frequency 1 3 5 7 9 11 f0

Spectrum & Bandwidth Spectrum - range of frequencies contained in signal. Absolute bandwidth - width of spectrum Effective bandwidth - Often just bandwidth Narrow band of frequencies containing most of the energy. Examples Speech signal 100 Hz to 7 kHz. Normal telephone channel 300 Hz to 3400 Hz. Voice­grade channel 0 to 4000 Hz. Signal bandwidth and Channel bandwidth.

Channel Bandwidth Gain (dB) frequency bandwidth flow fhigh acceptable level

Bandwidth of a Telephone Line Gain (dB) frequency Bandwidth  3100Hz 300Hz 3400Hz

Signals under Limited Channel Bandwidth Gain (dB) frequency 300Hz 3400Hz ... transmitted signals Data Rate and Bandwidth: Any transmission system has a limited band of frequencies This limits the data rate that can be carried.

Data and Signals Data: Entities that convey meaning. Analog - Continuous values within some interval. (e.g. sound, video) Digital - Discrete values (e.g. text, integers) Signals: Electric or electromagnetic representations of data. Analog - Continuously varying electric or optical wave. - Various media (wire, fiber optic, space). - Speech bandwidth 100Hz to 7kHz. Digital - Sequence of voltage pulses using two DC components. Transmission: Communication of data by propagation and processing of signals

Transmission Usually use digital signals for digital data and analog signals for analog data. Can use analog signal to carry digital data. Modem (Modulator/Demodulator) Modulate digital data onto an analog carrier frequency. PC modem over telephone lines. Can use digital signal to carry analog data. Codec (Coder/Decoder) Sample an analog signal to produce a stream of integers. Compact Disc audio, DVD video

Analog signals carrying analog and digital data. Transmission Analog signals carrying analog and digital data.

Digital signals carrying Analog and Digital Data. Transmission Digital signals carrying Analog and Digital Data.

Transmission Analog: Digital: Analog signal transmitted without regard to content. May be analog or digital data. Attenuated over distance. Use amplifiers to boost signal. Also amplifies noise. Digital: Concerned with content. Integrity endangered by noise, attenuation etc. Repeater extracts bit pattern and retransmits. Attenuation is overcome. Noise is not amplified, signal is cleaned.

Advantages of Digital Transmission Digital technology - Low cost due to LSI/VLSI technology. Data integrity - Longer distances over lower quality lines. Capacity utilization High bandwidth links economical. High degree of multiplexing easier with digital techniques. Security & Privacy - Encryption Integration - Can treat analog and digital data similarly

Transmission Impairments Copper Fiber Radio, Microwave Infrared Lightwave

Transmission Impairments Signal received may differ from signal transmitted. Analog - degradation of signal quality. Digital - bit errors Impairments: Attenuation, Delay distortion & Noise Attenuation Noise Delay Distortion

Attenuation Delay Distortion Signal strength falls off with distance. Depends on medium. Received signal strength: - must be enough to be detected. - must be sufficiently higher than noise to be received without error Attenuation is an increasing function of frequency. Delay Distortion Only in guided media. Propagation velocity varies with frequency.

Noise Additional signals inserted between transmitter and receiver. Thermal: - Due to thermal agitation of electrons. - Uniformly distributed. - White noise. Intermodulation: signals that are the sum and difference of original frequencies sharing a medium. Crosstalk: signal from one line is picked up by another. Impulse: - Irregular pulses or spikes - e.g. External electromagnetic interference - short duration & high amplitude

Signal­to­noise ratio (SNR) Important parameter in determining the performance of a transmission system. Measured in decibel or dB to express ratio of two power, voltage or current levels. A relative, not absolute measure. A high SNR means high quality signal reception:

Signal­to­noise ratio (SNR) 0.5 -3.0103 1 0 2 3.0103 10 10 100 20 1000 30 Power loss: (in Watts) Power loss: (in dB)

Channel Capacity Maximum rate at which data can be transmitted. Data rate: - in bits per second - rate at which data can be communicated. Bandwidth: - in cycles per second or Hertz. - constrained by transmitter and medium. Noise: average level of noise over the communication path. Error Rate: rate at which errors occurs. Nyquist (1924): Maximum bit rate on a noise-free channel. Shannon (1948): Maximum bit rate on a noisy channel.

Nyquist’s Theorem Channel capacity (C) in noise free channel. Given a bandwidth of B (eg 4000Hz), the highest frequency signal that can be carried is 2B (eg 8000Hz). For two level signaling, C = 2B For multilevel signaling, C = 2Blog2M M – number of discrete signal levels B – channel bandwidth

Nyquist’s Theorem C = 2 B log 2 M bits/sec For given bandwidth B in Hertz, the data rate can be increased by increasing M. Increase receiver complexity. Noise and other impairments will limit M. e.g. Telephone line: Bandwidth = 3 kHz Signal level = 2 (i.e. Low/High) max. bit rate = 2 B log2 M bps = 2 (3k) log2 2 bps = 6000 bps

Baud rate A B C D time g(t) Signal Unit Bits A 00 B 01 C 11 D 10 Baud rate = maximum rate at which a signal can change its state, eg 4000 times/sec or 4000 signal units/sec Each signal unit carries log2M bits (Information Content), where M is number of signal levels, if M=4 then log2M=2 bits of information Bit rate = log2M* Baud Rate = 2 * 4000 = 8000 bps

Channel with Noise A B C D time g(t) A B C D time g’(t) noise-free noisy A B D D time g’(t) time noise

Shannon’s Law C = B log 2 (1 + S/N) bits/sec Theoretical maximum data rate (C). Takes into account bandwidth and SNR on a Noisy channel. The noise is white (thermal) C = B log 2 (1 + S/N) bits/sec channel bandwidth signal-to-noise ratio For a given noise level, the data rate can be increased by increasing signal strength or bandwidth. However, noise increases with increased bandwidth or signal strength.

Shannon’s Law: Example e.g. Telephone line: Bandwidth = 3k Hz S/N =1000/1 (or 30dB) max. bit rate = B log2 (1+S/N) bps = 3k log2 (1+1000) bps  30k bps

Problem Voice signals are converted to digital signals at the ADC stage using a particular scheme. The scheme produces 48kbps. The output is then encoded by an advanced voice encoding scheme to reduce the data rate by 3 times. It is later fragmented and packed into frames. 1024 bytes are to be packed into an HDLC frame with 8 bytes of protocol overhead. If the channel bandwidth is 4kHz, what is the SNR required to support this transmission in a noisy channel. HDLC Framing Voice coding (3:1) 48kbps 4 1024 4 bytes header data CRC ADC

ANSWER C = B log2 (1+S/N) bps Given: > Bandwidth, B = 4kHz > Channel SNR = to be determined Output data rate ADC = 48kbps Output data rate after encoding = 48kbps/3 = 16kbps Output data rate including protocol overhead = 16kbps * 1032/1024 = 16kbps * 1.009 16000 = 4000* log2 (1+S/N) bps 4 = log2 (1+S/N) bps 24 = 16 = (1 +S/N) => S/N = 15 (15 to 1)

Required Reading W. Stallings, “Data and Computer Communications (7th or 6th edition),” Pearson, Prentice-Hall. >> Chapter 3