Communication Theory-2



Similar documents
Digital Baseband Modulation

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Example/ an analog signal f ( t) ) is sample by f s = 5000 Hz draw the sampling signal spectrum. Calculate min. sampling frequency.

NRZ Bandwidth - HF Cutoff vs. SNR

Digital Transmission (Line Coding)

Digital Transmission of Analog Data: PCM and Delta Modulation

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial)

Chapter 8 - Power Density Spectrum

Lezione 6 Communications Blockset

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

5 Signal Design for Bandlimited Channels

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

Analog-to-Digital Voice Encoding

Lecture 2 Outline. EE 179, Lecture 2, Handout #3. Information representation. Communication system block diagrams. Analog versus digital systems

MODULATION Systems (part 1)

TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

PCM Encoding and Decoding:

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

ELE745 Assignment and Lab Manual

Physical Layer, Part 2 Digital Transmissions and Multiplexing

Non-Data Aided Carrier Offset Compensation for SDR Implementation

RF Measurements Using a Modular Digitizer

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

HD Radio FM Transmission System Specifications Rev. F August 24, 2011

Improving A D Converter Performance Using Dither

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

RECOMMENDATION ITU-R BO.786 *

Convolution, Correlation, & Fourier Transforms. James R. Graham 10/25/2005

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

Introduction to Digital Audio

The Calculation of G rms

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Probability and Random Variables. Generation of random variables (r.v.)

Introduction to Packet Voice Technologies and VoIP

MSB MODULATION DOUBLES CABLE TV CAPACITY Harold R. Walker and Bohdan Stryzak Pegasus Data Systems ( 5/12/06) pegasusdat@aol.com

(Refer Slide Time: 2:10)

Electronic Communications Committee (ECC) within the European Conference of Postal and Telecommunications Administrations (CEPT)

Signal to Noise Instrumental Excel Assignment

Contents. Preface. xiii. Part I 1

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

Vector Signal Analyzer FSQ-K70

Analog Representations of Sound

EE2/ISE2 Communications II

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

Digital Speech Coding

CDMA TECHNOLOGY. Brief Working of CDMA

RF SYSTEM DESIGN OF TRANSCEIVERS FOR WIRELESS COMMUNICATIONS

What s The Difference Between Bit Rate And Baud Rate?

Analog and Digital Signals, Time and Frequency Representation of Signals

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

EM 437 COMMUNICATION SYSTEMS II LABORATORY MANUAL FALL

Adaptive Equalization of binary encoded signals Using LMS Algorithm

Angle Modulation, II. Lecture topics FM bandwidth and Carson s rule. Spectral analysis of FM. Narrowband FM Modulation. Wideband FM Modulation

Appendix C GSM System and Modulation Description

Lecture 8 ELE 301: Signals and Systems

Higher National Unit Specification. General information for centres. Transmission of Measurement Signals. Unit code: DX4T 35

Auto-Tuning Using Fourier Coefficients

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

RANDOM VIBRATION AN OVERVIEW by Barry Controls, Hopkinton, MA

Switch Mode Power Supply Topologies

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

L and C connected together. To be able: To analyse some basic circuits.

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Evolution from Voiceband to Broadband Internet Access

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

1995 Mixed-Signal Products SLAA013

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

Lab 5 Getting started with analog-digital conversion

Advanced Signal Processing and Digital Noise Reduction

Experiment 3: Double Sideband Modulation (DSB)

Jeff Thomas Tom Holmes Terri Hightower. Learn RF Spectrum Analysis Basics

(2) (3) (4) (5) 3 J. M. Whittaker, Interpolatory Function Theory, Cambridge Tracts

Dithering in Analog-to-digital Conversion

Boost Your Skills with On-Site Courses Tailored to Your Needs

Signal Detection C H A P T E R SIGNAL DETECTION AS HYPOTHESIS TESTING

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

FREQUENCY RESPONSE ANALYZERS

AM Receiver. Prelab. baseband

1 Multi-channel frequency division multiplex frequency modulation (FDM-FM) emissions

Motorola Digital Signal Processors

Spectrum Level and Band Level

How to avoid typical pitfalls when measuring Variable Frequency Drives


Fundamentals of Satellite Communications Part 3

Lecture - 4 Diode Rectifier Circuits

Contents. A Error probability for PAM Signals in AWGN 17. B Error probability for PSK Signals in AWGN 18

Sigma- Delta Modulator Simulation and Analysis using MatLab

Analog vs. Digital Transmission

Transcription:

Lecture Notes-5 Communication heory-2 Assoc. Prof. Dr. Hakan DOĞAN

Pulse modulation methods Analog-over-analog methods: Pulse-amplitude modulation (PAM) Pulse-width modulation (PWM) Pulse-position modulation (PPM) Analog-over-digital methods: Pulse-code modulation (PCM) Delta modulation (DM or Δ-modulation) Darbe Modülasyonunun Üç üründe (PAM, PWM, PPM) Gürültünün Etkisi Gürültü altında PWM ve PPM nin başarımları PAM a göre daha iyidir. PPM'in başarımı ise PWM e göre daha iyidir. Bunun nedenini şöyle açıklayabiliriz; her iki modülasyon türünde de bilgi, darbelerin kendilerinde değil, darbelerin kenarlarında taşınır. PPM in performansı FM in performansına benzer. Güç açısından PPM in PWM e göre daha verimli olduğu söylenebilir. Çünkü, PPM darbeyi değil de yalnız kenarı göndermeye daha yakındır. PWM boşuna enerji harcar. Please note that PAM, PPM and PWM are analogue modulation schemes

An analog-to-digital converter (abbreviated ADC, A/D or A to D) is a device that converts a continuous physical quantity (usually voltage) to a digital number that represents the quantity's amplitude.

Sampling - the conversion of a signal from continuous to discrete in time Quantization - the conversion of the signal samples from continuous to discrete in amplitude Sampling Quantization Coding

Sampled values are continues... 4.112, 0.011, v.s. (infinitive values.) We need to limit total number number of levels to send it as digital. Round For example, 4.112 --> 4 0.011 --> 0 Quantization, in mathematics and digital signal processing, is the process of mapping a large set of input values to a (countable) smaller set such as rounding values to some unit of precision. We assume that the amplitude of m(t) is confined to range -mp,+mp. his range is divided in L zones, each of step size "delta". delta= 2mp/L

4 khz Sampling 8kHz 8000 samples/sn, each sample 8 bit 64 000 bit/second 64 kbps Music Sampling 44.1 khz 441000 samples/sn, each sample 16 bit 705600 bit/second 2 channel 1411200 bit/second 1.4112 Mbps Uniform quantizing is optimum if the input signal has uniform distribution. In analog-to-digital conversion, the difference between the actual analog value and quantized digital value is called quantization error or quantization distortion. his error is either due to rounding or truncation. Signal-to-quantization-noise ratio (SQNR)

1 2 + 2

sig=1.01*cos(2*pi*[0:0.02:1.5]) [index,quants,distor]=quantiz(sig,-1:0.2:1,-1.1:0.2:1.1) plot([0:0.02:1.5],sig),hold on,plot([0:0.02:1.5],quants) 1.1 0 x 1 0.9 1 1 x 0.8 0.7 2 0.8 x 0.6 0.5 3 0.6 x 0.4 0.3 4 0.4 x 0.2 0.1 5 0.2 x 0 0.1 6 0 x 0.2 0.3 7 0.2 x 0.4 0.5 8 0.4 x 0.6 0.7 9 0.6 x 0.8 0.9 10 0.8 x 1 1.1 11 1 x

sig=2*rand(100000,1)-1; [index,quants,distor]=quantiz(sig,-1:0.2:1,-1.1:0.2:1.1) distor = 3.337862411699893e-003 distor = sum((quants-sig.').^2)/length(sig) >> 0.2^2/12 ans =3.333333333333334e-003

Nonuniform nicemleyicilerin yapımı zor ve pahalıdır. Alternatif bir yol, ses sinyalini önce bir nonlineer sistemden geçirip sonra uniform olarak nicemlemektir. Nonlineerlik sinyal genliğini compress eder (sıkıştırır) Nicemleyici girişi daha uniform bir dağılıma sahip olur. Alıcıda, nonlineerliğin tersine expand edilir (genleştirilir). Compressing and Expanding işlemi Companding olarak adlandırılır

help compand COMPAND Source code mu-law or A-law compressor or expander. OU = COMPAND(IN, PARAM, V) computes mu-law compressor with mu given in PARAM and the peak magnitude given in V. OU = COMPAND(IN, PARAM, V, MEHOD) computes mu-law or A-law compressor or expander computation with the computation method given in MEHOD. PARAM provides the mu or A value. V provides the input signal peak magnitude. MEHOD can be chosen as one of the following: MEHOD = 'mu/compressor' mu-law compressor. MEHOD = 'mu/expander' mu-law expander. MEHOD = 'A/compressor' A-law compressor. MEHOD = 'A/expander' A-law expander. he prevailing values used in practice are mu=255 and A=87.6.

Digital output of the PCM coder is converted to an appropriate waveform for transmission over channel line coding or transmission coding In communication systems, a line code is a code chosen for use within a communications system for baseband transmission purposes. (digital baseband modulation or digital baseband transmission method)

he waveform representation of voltage or current that are employed to represent the 1s and 0s of a digital data on a channel (transmission link) is called line encoding. Aims of Line codes: Self-synchronization: he ability to recover timing from the signal itself. Long series of ones and zeros could cause a problem. Low probability of bit error: he receiver needs to be able to distinguish the waveform associated with a mark from the waveform associated with a space, even if there is a considerable amount of noise and distortion in the channel. Spectrum that is suitable for the channel: In some cases DC components should be avoided if the channel has a DC blocking capacitance. he transmission bandwidth should be minimized.

input bits a k, p(t) pulse shape, b symbol duration. b =s/n, Rb =1/b Unipolar nonreturn-to-zero x t a p t k k k b a k A, Xk 1 0, X k 0 pt t b Self-synchronization Problem because of long zeros and ones DC component Unfortunately, most long-distance communication channels cannot transport a DC component. he DC component is also called the disparity, the bias, or the DC coefficient. he simplest possible line code, called unipolar nonreturn-to-zero (UP- NRZ) because it has an unbounded DC component, gives too many errors on such systems.

* Its drawbacks are that it is not self-clocking *It has a significant DC component, *he normalized power is double for polar NRZ (we need less power for unipolar retun-to-zero) DC component can be solved by using return-to-zero structure, where the signal returns to zero in the middle of the bit period. Unipolar Return Zero Line Codes a k A, Xk 1 0, X k 0 pt t b 2 Darbe süresi NRZ darbe süresinin yarısı. Dolayısı ile bantgenişliği ise iki katıdır. Uzun 1 dizileri artık eş zamanlama da sorun olmaz. Ancak, 0 dizileri hala problem

Polar Non return-to-zero (P-NRZ) No DC components a k A, Xk 1 A, Xk 0 Polar Return-to-zero (P-RZ) No DC components Bu durumda uzun 0 dizileri de olsa eşzamanlama yönünden sorun yok.

Manchester Line Codes pt t b 4 t b 4 b 2 b 2 Kutuplu RZ koduna göre, daha kolay eşzamanlama ve daha iyi spektral özelliğe sahiptir. In Manchester encoding, the transition at the middle of the bit is used for synchronization he is no DC component he minimum bandwidth of Manchester is 2 times that of Non returnto-zero.

Alternate Mark Inversion 0, X k 0 ak A, X k 1 and if former is +A A, Xk 1 and if former is -A Üçlümsü (pseudoternary) veya alternate mark inversion sinyalleşme olarak da adlandırılır. RZ veya NRZ darbe şekilleri ile kullanılabilirler. Code uses 3 voltage levels: - +, 0, -, to represent the symbols Has no DC component Has no self synchronization because long runs of 0 s results in no signal transitions

Multilevel Schemes In these schemes we increase the number of data bits per symbol thereby increasing the bit rate. We can combine the 2 data elements into a pattern of m elements to create 2 m symbols wo-binary, one-quaternary (2B1Q) is a line code used in the U interface of the Integrated Services Digital Network (ISDN) Basic Rate Interface (BRI). 2B1Q is a four-level pulse amplitude modulation (PAM-4) scheme, mapping two bits (2B) into one quaternary symbol (1Q). If the voltage is misread as an adjacent level, this will only cause a 1-bit error in the decoded data

00 01 11 10-450 mv -150 mv +150 mv +450 mv

Hat Kodlarının Güç Spektral Yoğunluğu (GSY) (Power Spectral Density, PSD) Power and Energy Spectral Density he power spectral density (PSD) S x (w) for a signal is a measure of its power distribution as a function of frequency. It is a useful concept which allows us to determine the bandwidth required of a transmission system Consider a signal x(t) with Fourier ransform (F) X(w) X ( w ) x( t) e jwt dt We wish to find the energy and power distribution of x(t) as a function of frequency

Deterministic Signals If x(t) is the voltage across a R=1W resistor, the instantaneous power is, ( x( t)) R 2 ( x( t)) 2 hus the total energy in x(t) is, From Parseval s heorem, Energy Energy X ( w) x( t) 2 df 2 dt X (2f ) 2 E(2f ) df df Where E(2f) is termed the Energy Density Spectrum (EDS),

he above definitions of energy spectral density require that the Fourier transforms of the signals exist, that is, that the signals are integrable/summable In this case one would need to use the power spectral density (PSD), which describes how the power of a signal or time series is distributed with frequency.

For communications signals, the energy is effectively infinite (the signals are of unlimited duration), so we usually work with Power quantities. We find the average power by averaging over time Average power lim 1 2 ( x 2 ( t)) 2 dt Where x (t) is the same as x(t), but truncated to zero outside the time window -/2 to /2 lim S lim x 1 (2f X ) df X (2f ) (2f ) 2 2 df df Where S x (w) is the Power Spectral Density (PSD)

Power Spectral Density (PSD) S x ( w) lim X ( w) 2 S x (.) has units Watts/Hz Wiener-Khintchine heorem Since a signal is not square integrable, the Fourier transforms do not exist in this case. Fortunately, the Wiener-Khinchin theorem provides a simple alternative. It can be shown that the PSD is also given by the F of the autocorrelation function (ACF), r xx (t), S x ( w) rxx ( t ) e j wt d t Where, r xx ( t ) lim 1 2 2 x( t) x( t t ) dt

PSD, random signals Results can be extended to cover random signals by the inclusion of an extra averaging or expectation step, over all possible values of the random signal x(t) S x ( w) lim E[ X ( w) 2 ] Where E[.] is the expectation operator Note: Only applies for ergodic signals where the time averages are the same as the corresponding ensemble averages

Linear Systems and Power Spectra Passing x (t) through a linear filter H(w) gives the output spectrum, ) ( ) ( ) ( w w w X H Y Hence, the output PSD is, X H E Y E S y ] ) ( ) ( [ lim ] ) ( [ lim ) ( 2 2 w w w w X E H S y ] ) ( [ lim ) ( ) ( 2 2 w w w ) ( ) ( ) ( 2 w w w x y S H S

he periodogram is an estimate of the spectral density of a signal. A periodogram is formed after taking the average magnitude squared of the FF FF stands for Fast Fourier ransform Electronics engineering he concept and use of the power spectrum of a signal is fundamental in electronic engineering, especially in electronic communication systems (radio & microwave communications, radars, and related systems). Much effort has been made and millions of dollars spent on developing and producing electronic instruments called "spectrum analyzers" for aiding electronics engineers, technologists, and technicians in observing and measuring the power spectrum of electronic signals. he cost of a spectrum analyzer varies according to its bandwidth and its accuracy. he spectrum analyzer measures essentially the magnitude of the short-time Fourier transform (SF) of an input signal. If the signal being analyzed is stationary, the SF is a good smoothed estimate of its power spectral density.