Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 ECE 491 - Senior Design I Lecture 11 - Data Communications.

Slides:



Advertisements
Similar presentations
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI System Design Lecture 10 - Communicating.
Advertisements

Lecture 26 Physical Layer Ch 4: Digital Transmission
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
CS 4700 / CS 5700 Network Fundamentals Lecture 5: Physical Layer (The layer for EE majors…) Revised 1/14/13.
Computer Networks1 Chapter 4 Digital Transmission.
EE42/100 Fall 2005 Prof. Fearing 1 Week 12/ Lecture 22 Nov. 17, Overview of Digital Systems 2.CMOS Inverter 3.CMOS Gates 4.Digital Logic 5.Combinational.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 11 - Timing and Metastability.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 12 - Metastability.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 15 - Handshaking.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 15 - Handshaking.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Physical Layer, Encoding Schemes: -Physical Transmission of Bits- Chapter 2.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 EE365 More on sequential circuits. 2 Serial data systems (e.g., TPC)
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 10 - Data Communications.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
Winter 2008CS244a Handout 121 CS244a: An Introduction to Computer Networks Handout 12: Physical Layer Sending 1’s and 0’s, Capacity and Clocking Nick McKeown.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
Intan Shafinaz Mustafa Dept of Electrical Engineering
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Data Communications Chapter 5 Data Encoding.
Department of Electrical and Computer Engineering
Line Coding, Modem, RS232 interfacing sequences.
ECE 4371, Fall, 2015 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Computer Communication & Networks Lecture # 05 Physical Layer: Signals & Digital Transmission Nadeem Majeed Choudhary
1 Kyung Hee University Digital Transmission. 2 Kyung Hee University 4 장 Digital Transmission 4.1 Line Coding 4.2 Block Coding 4.3 Sampling 4.4 Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
: Data Communication and Computer Networks
DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
9/12/ Digital Transmisison - Lin 1 CPET/ECET Digital Transmission Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 16 - Ethernet Fall.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part V) DIGITAL TRANSMISSION-LINE ENCODING Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga.
CSC 335 Data Communications and Networking
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 4700 / CS 5700 Network Fundamentals
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
1 Chapter 5 Encoding. 2 Figure 4-1 Transformation of Information to Signals.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 6: Datalink layer problems Slides used.
Digital Line Encoding Converting standard logic level to a form more suitable to telephone line transmission. Six factors must be considered when selecting.
CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Lect-10-2: Physical Layer Computer Networks : An Introduction to Computer Networks Handout #12: Physical Layer Signaling, Coding and Clocking.
CSE 320 Data Communications
EE 551/451, Fall, 2006 Communication Systems
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Chapter 4. Digital Transmission
Introduction to Information Technologies
Lecture 13 Derivation of State Graphs and Tables
CS 3700 Networks and Distributed Systems
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Physical Layer – Part 2 Data Encoding Techniques
CS 3700 Networks and Distributed Systems
ECE 434 Advanced Digital System L05
NET301 Lecture 5 10/18/2015 Lect5 NET301.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Introduction to Information Technologies
Chapter 4 Digital Transmission
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
NRZ-L: [Non-Return-to-Zero-Level]
Chapter 5. Data Encoding Digital Data, Digital Signals
CS 4700 / CS 5700 Network Fundamentals
Physical Layer – Part 2 Data Encoding Techniques
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
CS433 - Data Communication and Computer Networks
Presentation transcript:

Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 11 - Data Communications 2 Fall 2007 Quiz Friday Verilog ASM Diagrams Design Readings (S&R Ch. 1-5, Colwell Ch. 1-3)

ECE 491 Fall 2007Lecture 13 - More Data Comm.2 Where we are  Last Week:  Data Communciations 1  ASM Diagrams  System Design  Today:  Serial Data Receiver  Serial Transmission Codes

ECE 491 Fall 2007Lecture 13 - More Data Comm.3 Lab 4 - RS-232 Transmitter Transmitter DATA START READY TxD CLK

ECE 491 Fall 2007Lecture 13 - More Data Comm.4 Receiver Design - Challenges  Sender and Recever are not synchronized (they run off separate clocks)  But, the transmission rate is known and fixed  Use this fact + start bit to do a limited form of clock recovery SR SCLKRCLK

ECE 491 Fall 2007Lecture 13 - More Data Comm.5 Lab 5 - RS-232 Receiver

ECE 491 Fall 2007Lecture 13 - More Data Comm.6 Receiver Design - General Approach  Clock receiver at a fixed multiple of data rate (16x)  Use falling edge of start bit to synchronize and then  Delay to middle of start bit and check (ignore “spurious” start bits)  Delay to middle of each data bit and sample  Delay to middle of stop bit and check (framing error if stop bit ≠ 1)

ECE 491 Fall 2007Lecture 13 - More Data Comm.7 Receiver Design - General Approach  Use shift register to convert serial - parallel  Use counters to calculate delay values  Use a Finite State Machine as control unit

ECE 491 Fall 2007Lecture 13 - More Data Comm.8 Coding Data for Clock Recovery  Start bit / Stop bit works OK for short data packets (e.g., bytes)  Alternative approach: embed clock in transmitted signal and re-generate with clock recovery 10MHz clock +/- 100ppm Flip- Flop Flip- Flop Sender Sender’s Clock Flip- Flop Clock Recovery Unit 10MHz clock +/- 100ppm Receiver Network Link Elasticity buffer Graphic Source: N. McKeown, cs244a Lecture Notes, Stanford University, Winter 2007

ECE 491 Fall 2007Lecture 13 - More Data Comm.9 Some Common Transmission Codes NRZ NRZI RZ BPRZ Manchester

ECE 491 Fall 2007Lecture 13 - More Data Comm.10 NRZ - Non-Return to Zero NRZ  Each cell contains 0 or 1 for entire length  Simple and reliable for short-distances  Requires separate clock or embedded signals for synchronization or a digital phase-lock loop  Can’t recover clock for long strings of 0 or 1  Won’t work in transition-sensitive media cell

ECE 491 Fall 2007Lecture 13 - More Data Comm.11 NRZI - Non-Return to Zero Invert-on-1s  Inverts signal each time a cell contains a “1”  Phase-Locked Loop (PLL) can recover clock as long as a long string of “0”s isn’t present  Example application: magnetic tape cell NRZI

ECE 491 Fall 2007Lecture 13 - More Data Comm.12 RZ - Return to Zero  Transmits value for only half the bit period  PLL can recover clock as long as a long string of “0”s isn’t present cell RZ

ECE 491 Fall 2007Lecture 13 - More Data Comm.13 BPRZ - Bipolar Return to Zero  Like RZ, but “1”s alternatively transmitted as positive or negative to make it DC-balanced  PLL can recover clock as long as a long string of “0”s isn’t present  Used in telephone system T1 links with zero suppression cell BPRZ

ECE 491 Fall 2007Lecture 13 - More Data Comm.14 Manchester Code  Guaranteed at least one transition in each cell  DC-balanced  PLL can always recover clock!  Used in Ethernet cell Manchester

ECE 491 Fall 2007Lecture 13 - More Data Comm.15 Frequency Spectrum for 10Mb/s Ethernet 10MHz5MHz freq Magnitude NRZ coding Manchester coding 5MHz Allows PLL-based clock recovery Graphic Source: N. McKeown, cs244a Lecture Notes, Stanford University, Winter 2007 No DC frequency component!

ECE 491 Fall 2007Lecture 13 - More Data Comm.16 Approaches to Clock Recovery  Use a PLL (common in high-speed networks)  Use a sequential circuit with one-shots (e.g., original Ethernet)  Use a multiple of the transmission clock (e.g., 16X) and synchronize on each bit transition

ECE 491 Fall 2007Lecture 13 - More Data Comm.17 Looking Ahead: Ethernet  Data encoded in packets using Manchester Code  Each packet starts with a preamble which allows receiver to synchronize clock recovery  Start frame delimiter (SFD) indicates start of packet data  Arbitary-length data frame follows SFD preamble SFD data

ECE 491 Fall 2007Lecture 13 - More Data Comm.18 Coming Up  Synchronizing interacting FSMs: Handshaking  Manchester Transmitter & Receiver