ECE 435 Network Engineering Lecture 4

Similar documents
ECE 435 Network Engineering Lecture 18

Year : TYEJ Sub: Digital Communication (17535) Assignment No. 1. Introduction of Digital Communication. Question Exam Marks

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

CTD600 Communication Trainer kit

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

C06a: Digital Modulation

Lecture 3 Concepts for the Data Communications and Computer Interconnection

CHAPTER 2. Instructor: Mr. Abhijit Parmar Course: Mobile Computing and Wireless Communication ( )

QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

ECE 435 Network Engineering Lecture 16

SEN366 Computer Networks

Basic Concepts in Data Transmission

Data Communications and Networking (Module 2)

Digital to Digital Encoding

Wireless Communications

COSC 3213: Computer Networks I: Chapter 3 Handout #4. Instructor: Dr. Marvin Mandelbaum Department of Computer Science York University Section A

Question Paper Profile

DIGITAL COMMUNICATION


Chapter 4 Digital Transmission 4.1

Signal Encoding Techniques

Digital Transmission

Lecture (06) Digital Coding techniques (II) Coverting Digital data to Digital Signals

ECE 435 Network Engineering Lecture 20

Bandwidth Utilization:

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

Sirindhorn International Institute of Technology Thammasat University

Making Connections Efficient: Multiplexing and Compression

Introduction to Communications Part Two: Physical Layer Ch5: Analog Transmission. Goals of This Class. Warm Up. Outline of the Class

CSE 123: Computer Networks Alex C. Snoeren. Project 1 out Today, due 10/26!

Lecture 5 Transmission

CS441 Mobile & Wireless Computing Communication Basics

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Signal Encoding Techniques

B.E SEMESTER: 4 INFORMATION TECHNOLOGY

Lecture-8 Transmission of Signals

Chapter 7 Multiple Division Techniques for Traffic Channels

BSc (Hons) Computer Science with Network Security. Examinations for Semester 1

The Physical Layer Outline

Physical Layer. Networked Systems (H) Lecture 3

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

CSCI-1680 Physical Layer Rodrigo Fonseca

(Refer Slide Time: 2:23)

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Digital Communication (650533) CH 3 Pulse Modulation

Data Communication (CS601)

UNIT TEST I Digital Communication

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

Ș.l. dr. ing. Lucian-Florentin Bărbulescu

Simple Algorithm in (older) Selection Diversity. Receiver Diversity Can we Do Better? Receiver Diversity Optimization.

Datacommunication I. Layers of the OSI-model. Lecture 3. signal encoding, error detection/correction

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media.

UNIT- 7. Frequencies above 30Mhz tend to travel in straight lines they are limited in their propagation by the curvature of the earth.

9.4. Synchronization:

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK. Subject Name: Digital Communication Techniques

Chapter 12: Digital Modulation and Modems

Introduction to Wireless Coding and Modulation

Operating Systems and Networks. Networks Part 2: Physical Layer. Adrian Perrig Network Security Group ETH Zürich

Introduction to Wireless Coding and Modulation

Digital Communications: The ABCs Of Ones And Zeroes

Bandwidth Utilization:

SUMMER 15 EXAMINATION. 1) The answers should be examined by key words and not as word-to-word as given in the

Digital Modulation Schemes

28. What is meant by repetition rate of the AM envelope? (ADC,AU-2010) 29. Describe the upper and lower sidebands. (ADC, AU-2010) 30.

Lecture (07) Digital Modulation Digital data transmission through analog signals

Computer Networks

Downloaded from 1

Signals and codes. Path and modulation

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Lecture 2: Links and Signaling"

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

Chapter 2. Physical Layer

Stream Information. A real-time voice signal must be digitized & transmitted as it is produced Analog signal level varies continuously in time

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

1 V NAME. Clock Pulse. Unipolar NRZ NRZ AMI NRZ HDB3

CSE 461 Bits and Links. David Wetherall

NETWORKS FOR EMBEDDED SYSTEMS. (Data Communications and Applications to Automotive)

ECE 4203: COMMUNICATIONS ENGINEERING LAB II

Level 6 Graduate Diploma in Engineering Communication systems

CS601 Data Communication Solved Objective For Midterm Exam Preparation

Lecture Outline. Data and Signals. Analogue Data on Analogue Signals. OSI Protocol Model

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

Last Time. Transferring Information. Today (& Tomorrow (& Tmrw)) Application Layer Example Protocols ftp http Performance.

Mobile & Wireless Networking. Lecture 2: Wireless Transmission (2/2)

Channel Concepts CS 571 Fall Kenneth L. Calvert

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY CS6304- ANALOG AND DIGITAL COMMUNICATION BE-CSE/IT SEMESTER III REGULATION 2013 Faculty

Data Encoding g(p (part 2)

CSEP 561 Bits and Links. David Wetherall

Module 3: Physical Layer

Digital Transmission

KINGS DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING DIGITAL COMMUNICATION TECHNIQUES YEAR/SEM: III / VI BRANCH : ECE PULSE MODULATION

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

Physical Layer. Networks: Physical Layer 1

CSE 461: Bits and Bandwidth. Next Topic

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two

ETSF15 Physical layer communication. Stefan Höst

Lecture 3: Modulation & Clock Recovery. CSE 123: Computer Networks Alex C. Snoeren

Transcription:

ECE 435 Network Engineering Lecture 4 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 12 September 2016

Announcements Homework 2 was posted late, due next Monday Homework 1 grades returned RSN 1

Solutions for HW1 1. Which layer is bits/frequencies? Physical 2. S/N is 500? 10log500 = 27dB 3. 100MHz, 14dB, Shannon? (typical numbers for cat5 twisted pair) bps = Hlog 2 (1 + S N ) S/N = 25 bps = 100M log 2 (1 + 25) = 470Mb/s 4. Benefits of fiber over copper: 2

(a) thin, lightweight (b) fewer repeaters (c) no corrosion (d) no power surges 3

Notes for HW2 Low-level Linux/UNIX programming Sort of ancient socket() system call. Returns a file descriptor. Can you write to it right away? Need to configure first. Server Port to listen on. 16-bit. Above 1024. htons (why?) bind() system call to bind to port listen() system call says we want to listen and sets up a queue of incoming connections 4

accept() waits for an incoming connection, and creates a file descriptor for each one then you can use the read/write system calls to talk over the connection, like with a file Client look up the address of the server with gethostbyname(). In the hw we are just using localhost which probably maps to 127.0.0.1 setup data structure with address/port info connect() system call used to connect just read/write to original socket fd 5

Now you have enough to do networking! Write a web server! Online video game! etc. You ll find it does get more complicated. tcpdump 6

Coding Source Coding reduce data needed to be send. Compression (JPEG, MPEG, audio, etc) lossy, lossless, discuss kinds Channel Coding protect data through noisy medium, adds extra info. error correcting code, hamming codes, reed-solomon codes, turbo codes Line Coding pulse modulation (PCM) to transmit binary signal 7

PAM (pulse-amplitude modulation) PWM (pulse-width modulation) PCM (pulse-code modulation) PWM/PDM (pulse-width/duration modulation) PCM most popular because easier to pick on/off then to measure time or amplitude self-synchronization 8

Line Coding self-synchronization. Need to keep transmitter and receiver synchronized (why?) how, usually a certain number of 0/1 transitions, can resync on those signal-to-data ratio (SDR). data rate is number of data bits sent in second, signal rate is number of signal elements in a second (baud) unipolar signaling: 1 is positive voltage, 0 is ground polar signaling: 1 is positive volt, negative is negative 9

volt bipolar 1 is positive or negative volt, 0 is ground unipolar require more power, DC-unbalanced, not used much NRZ (non return to zero, return to zero mid-bit) NRZ-L (level) positive for 1, negative for 0 NRZ-S (space) 1 means no change in signal, 0 means transition 10

HLDC and USB are non-return-to-zero-space (NRZ-S) long strings of zeros (synchronization?) disks use RLL (coded to at least so many transitions), USB uses bitstuffing (inserting extra bits) PRZ return to zero returns to zero halfway through bit. synchronized but at expense of half of bandwidth Manchester encoding AMI, alternate mark inversion, pseudoternary 11

Block Coding a smaller chunk of bits encoded with larger, 4B/5B: i.e. user 5B to encode 4B. Then if something goes wrong can no, also can send control info along. also can ensure that when grouped together the pattern has no more than three consecutive zeros 8B/10B widely used. PCI Express, firewire, serial ATA, DVI/HDMI, gigabit Ethernet. same number of 0s/1s for a data stream (charge building up?) maximum run 12

length 13

Modulation passband modulation. Convert digital signal to analog, then multiple by much higher carrier frequency. ASK amplitude shift keying usually two levels of amplitude, one for 0 one for 1 FSK frequency shift keying two distinct frequencies bandwidth concerns PSK phase shift keying two phases, 0degree for 0 and 180deg for 1 14

ASK is limited by noise (reduces amplification). FSK needs two freq, more complex. PSK considered better. QPSK (four phases) Differential phase shift keying (DPSK) QAM hybrid quadrature amplitude modulation amplitude *and* phase 15

Multiplexing Most of the cost of a line is digging the cable. So avoid at all cost FDM (frequency division multiplexing). Multiple channels on same cable. AM radio analogy. 1MHz total bandwidth, but many channels within twelve 4kHz channels in 60-108kHz band. Some overlap (non-perfect filters) so noise can escape 1G cellphone 16

WDM (Wavelength division multiplexing) fiber basically multiple colors down same fiber TDM (time division multiplexing) FDM is analog. T1 line 1.544Mbps. PCM, 8-bit at 8000Hz (why?) 24 channels, round robin 56kbps (7bits*8Hz) plus 1 bit control GSM cellphone SS spread spectrum spread across frequency band. pseudo-noise, barker and willard codes. harder to jam 17

3G cell phone DSSS (direct sequence SS) 802.11b/g/n FHSS (frequency hopping SS) hop among different frequencies, so if one blocked still eventually get through. best for short bursts, hard to synchronize when highspeed transmissions bluetooth SM (spatial multiplexing) 802.11n, LTE, WiMAX 18

STC (space time coding) 802.11n,LTE,WiMAX 19

TDM encoding Tricks Differential pulse code modulation trying to reduce bits. Assume amplitude not going to change more than +/-16 so only include difference. Four T1 lines into T2 line (6.312 Mbps) Seven T2 lines into T3 line (44.7 Mbps) Six T3 lines into T4 line (274 Mbps) 20