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

Similar documents
SEN366 Computer Networks

Lecture 3 Concepts for the Data Communications and Computer Interconnection

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

Digital to Digital Encoding

Signal Encoding Techniques

Data Communications and Networking (Module 2)

9.4. Synchronization:

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

Data Communication (CS601)

Class 4 ((Communication and Computer Networks))

Chapter 2: Fundamentals of Data and Signals

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

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

CSE 461 Bits and Links. David Wetherall

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

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

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

CSEP 561 Bits and Links. David Wetherall

Signal Characteristics

Data Encoding. Two devices are used for producing the signals: CODECs produce DIGITAL signals MODEMs produce ANALOGUE signals

Basic Concepts in Data Transmission

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

Lecture-8 Transmission of Signals

Digital signal is denoted by discreet signal, which represents digital data.there are three types of line coding schemes available:

Lecture 5 Transmission

C06a: Digital Modulation

Signal Encoding Techniques

B.E SEMESTER: 4 INFORMATION TECHNOLOGY

Digital Modulation Lecture 01. Review of Analogue Modulation Introduction to Digital Modulation Techniques Richard Harris

Objectives. Presentation Outline. Digital Modulation Lecture 01

Physical Layer. Networked Systems (H) Lecture 3

Chapter 4 Digital Transmission 4.1

Wireless Communications

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

EEE 309 Communication Theory

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

UNIT TEST I Digital Communication

EEE 309 Communication Theory

Physical Layer, Part 2. Analog and Digital Transmission

Sirindhorn International Institute of Technology Thammasat University

DIGITAL COMMUNICATION

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

MODULATION AND MULTIPLE ACCESS TECHNIQUES

Fundamentals of Data and Signals

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY NH-67, TRICHY MAIN ROAD, PULIYUR, C.F , KARUR DT.

EECS 122: Introduction to Computer Networks Encoding and Framing. Questions

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

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Data Encoding g(p (part 2)

Overview. Chapter 4. Design Factors. Electromagnetic Spectrum

CS601_MIDTERM_SOLVE_PAPER ( COMPOSED BY SADIA ALI SADII

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

Chapter 3 Data and Signals 3.1

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

Computer Facilities and Network Management BUS3150 Assignment 1

Physical Layer: Outline

CHAPTER 4. PULSE MODULATION Part 2

Chapter 2. Physical Layer

CS601 Data Communication Solved Objective For Midterm Exam Preparation

CHAPTER 3 Syllabus (2006 scheme syllabus) Differential pulse code modulation DPCM transmitter

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

Chapter 5: Modulation Techniques. Abdullah Al-Meshal

ISHIK UNIVERSITY Faculty of Science Department of Information Technology Fall Course Name: Wireless Networks

Encoding and Framing

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

ECE 4203: COMMUNICATIONS ENGINEERING LAB II

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

T325 Summary T305 T325 B BLOCK 3 4 PART III T325. Session 11 Block III Part 3 Access & Modulation. Dr. Saatchi, Seyed Mohsen.

APPLICATIONS OF DSP OBJECTIVES

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

ITM 1010 Computer and Communication Technologies

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

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter 5. Analog Transmission

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

Digital Communication

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

Communications I (ELCN 306)

CS441 Mobile & Wireless Computing Communication Basics

I-Q transmission. Lecture 17

Encoding and Framing. Questions. Signals: Analog vs. Digital. Signals: Periodic vs. Aperiodic. Attenuation. Data vs. Signal


Level 6 Graduate Diploma in Engineering Communication systems

Revision Guide for Chapter 3

EXPERIMENT WISE VIVA QUESTIONS

Digital Communication (650533) CH 3 Pulse Modulation

Physical Layer. Networked Systems Architecture 3 Lecture 6

Wireless Communication Fading Modulation

Chapter 7. Multiple Division Techniques

2. TELECOMMUNICATIONS BASICS

Recap of Last 2 Classes

Downloaded from 1

Optimized BPSK and QAM Techniques for OFDM Systems

Digital Transmission

Computer Networks - Xarxes de Computadors

PULSE CODE MODULATION (PCM)

Point-to-Point Communications

Computer Networks and Internets

Transcription:

Lecture Outline Data and Signals COMP312 Richard Nelson richardn@cs.waikato.ac.nz http://www.cs.waikato.ac.nz Analogue Data on Analogue Signals Digital Data on Analogue Signals Analogue Data on Digital Signals Digital Data on Digital Signals Department of Computer Science University of Waikato COMP312 - Data and Signals p.1/66 COMP312 - Data and Signals p.2/66 OSI Protocol Model 7. Application 6. Presentation 5. Session 4. Transport 3. Network Analogue Data on Analogue Signals Analogue Signals -review Fourier Analysis Modulation Amplitude Modulation Frequency Modulation 2. Link 1. Physical Working Here COMP312 - Data and Signals p.3/66 COMP312 - Data and Signals p.4/66

Signal Components - Review Spectrum - Review COMP312 - Data and Signals p.5/66 COMP312 - Data and Signals p.6/66 Fourier Analysis of Signals Fourier Analysis of Signals COMP312 - Data and Signals p.7/66 COMP312 - Data and Signals p.8/66

! " 7 ".! 7! ". Fourier Series Periodic Signals Fourier Transform Aperiodic signals () %& $# " Where Inverse: () %& $#! " COMP312 - Data and Signals p.9/66 COMP312 - Data and Signals p.10/66 Discrete Fourier Transform Fast Fourier Transform Inverse: * +, - +, - 6 3 4 5 012 / $# 3 5 4 012 # * Discrete Fourier Transform requires complex multiplications Fast Fourier Transforms are a class of algorithms that require significantly less computation (often ). - 8:9; - & - Choice of algorithm typically depends on N. Speedup for typical N is order of 100 times. COMP312 - Data and Signals p.11/66 COMP312 - Data and Signals p.12/66

+ Modulation Analog signals may be transmitted as is. This is baseband transmission and is used for ordinary telephones. Often it is useful to transmit signals in a different frequency band. This may be because: The medium does not support baseband (e.g. radio). There are frequency restrictions. Multiple signals are to be transmitted at different frequencies on the same medium Amplitude Modulation Amplitude Modulation is the carrier wave strength (amplitude) is proportional to (i.e. is multiplied by) the analoge data signal. i.e. COMP312 - Data and Signals p.13/66 COMP312 - Data and Signals p.14/66 Amplitude Modulation Amplitude Modulation 1 cos(x) 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8-1 -10-5 0 5 10 2 1.5 (1+0.7*cos(x))*cos(360*x) cos(x) 1 0.5 0-0.5-1 -1.5-2 -10-5 0 5 10 COMP312 - Data and Signals p.15/66 COMP312 - Data and Signals p.16/66

Angle Modulation Phase Modulation is the carrier wave phase is offset by (i.e. is added to) the analoge data signal. i.e. Frequency Modulation is the carrier wave instantaneous frequency is offset by (i.e. is added to) the analoge data signal. i.e. ( 1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8 Phase Modulation cos(12*cos(x)+360*x) cos(x) -1-10 -5 0 5 10 COMP312 - Data and Signals p.17/66 COMP312 - Data and Signals p.18/66 1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8 Frequency Modulation cos(-12*sin(x)+360*x) cos(x) -1-10 -5 0 5 10 Use of Analogue Modulation Broadcast radio and television Low cost radio links Original analogue telephone trunks COMP312 - Data and Signals p.19/66 COMP312 - Data and Signals p.20/66

Digital Data on Digital Signals Digital Data Digital Modulation Schemes Amplitude Shift Keying Frequency Shift Keying Phase Shift Keying Quadrature Amplitude Modulation Chanel Capacity Limits Digital Modulation Digital Modulation is required when the medium will not carry (baseband) digital signals. e.g. telephone lines, radio Often analogue signals are encoded to digital then modulated onto an analogue carrier. The key advantage of this is the regeneration of digital signals The same basic carrier variables used in analogue modulation (amplitude, frequency, phase) can be used in digital modulation. COMP312 - Data and Signals p.21/66 COMP312 - Data and Signals p.22/66 Digital Modulation Nyquist Nyquist found that that the maximum rate of symbols carried on a channel is twice the bandwidth B. For binary symbols the maximum data rate is 2B. To increase the bandwidth we need to increase the number of bits per symbol. This is called multi-level signalling COMP312 - Data and Signals p.23/66 COMP312 - Data and Signals p.24/66

+ + & QPSK + + +, +, COMP312 - Data and Signals p.26/66 QPSK Modulator COMP312 - Data and Signals p.28/66 Four Level PSK Modulation using four different phases is called Quadrature Phase Shift Keying QPSK " PSfrag replacements & COMP312 - Data and Signals p.25/66 QPSK Waveforms COMP312 - Data and Signals p.27/66

+ + + " + & Quadrature Amplitude Modulation PSfrag replacements QAM Constellation & COMP312 - Data and Signals p.29/66 COMP312 - Data and Signals p.30/66 Capacity Noise It would be nice if we could arbitrarily increase the data rate on a channel just by increasing the number of bits per symbol. In practice the number of symbols a receiver can distinguish is limited by noise in the channel. Noise blurs the received signal and they need to be spaced far enough apart so that different symbols can be distinguished. COMP312 - Data and Signals p.31/66 COMP312 - Data and Signals p.32/66

- 9 # 9 Chanel Capacity Limit Claude Shannon found a limit on the capacity of a channel in the presence of noise. Where: Return to ToC - + & ; # 8 9 # Analogue Data on Digital Signals Nyquist Sampling Theorum Data Types Voice and Audio Video Data Network Performance Parameters Interactivity Requirements COMP312 - Data and Signals p.33/66 COMP312 - Data and Signals p.34/66 Analogue to Digital Conversion Analogue signals are continuous in time. Digital data can only represent the signal at discrete points in time. The process of measuring the signal at discrete points in time is called Sampling. The sample is then converted to a (binary) digital value this is known as Quantisation. Analogue to Digital conversion is a combination of sampling and quantisation. The accuracy of the representation depends on the sampling rate and the quantisation COMP312 - Data and Signals p.35/66 precision. PCM Coding COMP312 - Data and Signals p.36/66

Nyquist Sampling Theorum Voice and Audio "A signal can be properly reconstructed if it is sampled at a frequency (rate) that is greater than twice the highest frequency component of the signal. COMP312 - Data and Signals p.37/66 COMP312 - Data and Signals p.38/66 Nonlinear Sampling Voice Compression Codec Rate Complexity Delay MOS Algorithm kb/s MIPS ms score G.711 PCM 64 <1.25 4.4 G.726 ADPCM 32 1.25 4.2 G.728 LD-CELP 16 30 3-5 4.2 G.729a CS ACELP 8 20 20 4.2 G.723.1 ACELP 5.3 18 30 3.6 GSM REP 13.2 4.5 40 3.7 COMP312 - Data and Signals p.39/66 COMP312 - Data and Signals p.40/66

Video Television Standards include PAL, NTSC, SECAM. PAL 625 lines/frame, 25 frames /sec Alternate lines belong to two different fields: This isinterlacing Main signal is luminance (B&W) - occupies 5.3MHz Two chrominance (colour difference) signals occupy 1.3 MHz each Sound is sent on a separate channel. COMP312 - Data and Signals p.41/66 COMP312 - Data and Signals p.42/66 Video Compression Space -Intra Frame Low Delay Editable MJPEG, DV Time - Inter Frame Better Compression MPEG, H.261 What is Data? Numerical or other information represented in a form suitable for processing by computer. Most important condideration is whether an error will make a difference. COMP312 - Data and Signals p.43/66 COMP312 - Data and Signals p.44/66

Network Performance Lots of possible measures of performance: Bandwidth Throughput Efficiency Utilisation Application Performance Requirements Applications only care about three parameters Delay Delay Variation (Jitter) Bit Error Rate Frame Error Rate Errored Seconds Packet Loss Circuit Blocking Interactivity COMP312 - Data and Signals p.45/66 Application Requirements - 2 COMP312 - Data and Signals p.46/66 Depends on the Network Users People Computers Three Situations Computer - Computer (e.g email, ftp) Person - Computer (e.g. www, streaming video) Person to person (e.g. VoIP, videoconferencing) COMP312 - Data and Signals p.47/66 COMP312 - Data and Signals p.48/66

Application Requirements - 3 Digital Data on Digital Signals Applications Digital Encoding Schemes Scrambling COMP312 - Data and Signals p.49/66 COMP312 - Data and Signals p.50/66 Applications Modulating an analogue carrier is relatively complex and expensive It is simpler to just sent digital signals at baseband frequencies. Square waves occupy significant bandwidth due to the sharp corners at transitions Digital transmission is suitable for links with plenty of bandwidth where the cost of modem equipment is unwarrented. These are typically short copper connections or fibre optic connections. COMP312 - Data and Signals p.51/66 Digital Encoding Scheme Performance Evaluated in terms of Spectrum. High frequencies may be attenuated, DC results in power transfer. Clocking. Receiver needs to maintain synchronisation with transmitter. Error Detection. Can any errors be detected without additional techniques. Noise immunity. Will spikes cause errors in the signal. Cost/complexity. How difficult are the receiver COMP312 - Data and Signals p.52/66 and transmitter to build.

Digital Encoding Schemes Non-Return to Zero Schemes Multilevel Schemes Biphase Schemes Non-Return to Zero Level Voltage levels are constant for each bit period Simplest schemes to engineer Bandwidth efficient Poor noise immunity Synchronisation problems with long strings of 1 s or 0 s COMP312 - Data and Signals p.53/66 COMP312 - Data and Signals p.54/66 Non-Return to Zero Non-Return to Zero Level More commonly used in practice. COMP312 - Data and Signals p.55/66 COMP312 - Data and Signals p.56/66

Non-Return to Zero Invert on Ones This is Differential Coding - gives greater noise immunity and has no inherent polarity. Multilevel Schemes Have some redundancy - can detect some errors Are very bandwidth efficient Provide synchronisation on "marks" but not on non-marks. Worse noise immunity due to multiple levels - higher bit error rates. More expensive than NRZ codes. COMP312 - Data and Signals p.57/66 COMP312 - Data and Signals p.58/66 Bipolar Alternate Mark Inversion Pseudoterary COMP312 - Data and Signals p.59/66 COMP312 - Data and Signals p.60/66

Biphase Schemes Manchester Always at least one transition per bit period Double the bandwidth requirements No DC component Very good synchronisation Greater noise immunity COMP312 - Data and Signals p.61/66 COMP312 - Data and Signals p.62/66 Differential Manchester Scrambling Although biphase codes solve many problems, their bandwidth requirements are undesirable on long distance connections. Scrambling removes long strings of constant line levels with transitions. Removes potential DC components Provides synchronisation Can add error detection capability May reduce required line rate COMP312 - Data and Signals p.63/66 COMP312 - Data and Signals p.64/66

Scrambling Schemes NRZ Codes are scrambled by using a mathematical transformation to produce a random looking bit stream with many transitions. The receiver reverses the transformation to produce the original data stream. Multilevel schemes can be scrambled by replacing long sequences of non-marks with defined patterns using polarity violations. Example is B8ZS based on Bipolar-AMI with replacement of strings of eight zeroes Following a positive mark use 000+-0-+ Following a negative mark use 000-+0+- COMP312 - Data and Signals p.65/66 Return to ToC B8ZS COMP312 - Data and Signals p.66/66