Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Similar documents
Lesson 2.2: Digitizing and Packetizing Voice. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Chapter 14 D-A and A-D Conversion

Digital Representation

DIGITAL COMMUNICATION

Audio and Other Waveforms

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen

Analog to Digital Converter. Last updated 7/27/18

Digitization: Sampling & Quantization

Introduction to Computers and Programming

INTERNATIONAL TELECOMMUNICATION UNION GENERAL ASPECTS OF DIGITAL TRANSMISSION SYSTEMS PULSE CODE MODULATION (PCM) OF VOICE FREQUENCIES

Politecnico di Torino HIGH SPEED AND HIGH PRECISION ANALOG TO DIGITAL CONVERTER. Professor : Del Corso Mahshid Hooshmand ID Student Number:

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Multirate Digital Signal Processing

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

Digital Television Fundamentals

CAP240 First semester 1430/1431. Sheet 4

Introduction to Data Conversion and Processing

QUIZ. Explain in your own words the two types of changes that a signal experiences while propagating. Give examples!

Experiment 2: Sampling and Quantization

Audio. by Jeff Mazur. S/PDIF (Sony/Philips Digital Interconnect Format)

Module 8 : Numerical Relaying I : Fundamentals

Digital Video Telemetry System

Signals and Systems. Spring Room 324, Geology Palace, ,

Introduction to Mechatronics. Fall Instructor: Professor Charles Ume. Analog to Digital Converter

Fundamentals of DSP Chap. 1: Introduction

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

Chapter 1. Introduction to Digital Signal Processing

An Overview of Video Coding Algorithms

The Engineer s Guide to

Embedded System Hardware

4. ANALOG TV SIGNALS MEASUREMENT

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

MULTIMEDIA COMPRESSION AND COMMUNICATION

Intro to DSP: Sampling. with GNU Radio Jeff Long

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

Multimedia Communication Systems 1 MULTIMEDIA SIGNAL CODING AND TRANSMISSION DR. AFSHIN EBRAHIMI

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

Chapter 2 Signals. 2.1 Signals in the Wild One-Dimensional Continuous Time Signals

Techniques for Extending Real-Time Oscilloscope Bandwidth

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Digital Technology Basics

REPORT DOCUMENTATION PAGE

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

8500 Composite/SD Legalizer and Video Processing Frame Sync

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

International Journal of Engineering Research-Online A Peer Reviewed International Journal

B I O E N / Biological Signals & Data Acquisition

LOW POWER DIGITAL EQUALIZATION FOR HIGH SPEED SERDES. Masum Hossain University of Alberta

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or)

DVM-3000 Series 12 Bit DIGITAL VIDEO, AUDIO and 8 CHANNEL BI-DIRECTIONAL DATA FIBER OPTIC MULTIPLEXER for SURVEILLANCE and TRANSPORTATION

Experiment 13 Sampling and reconstruction

Natural Radio. News, Comments and Letters About Natural Radio January 2003 Copyright 2003 by Mark S. Karney

BER MEASUREMENT IN THE NOISY CHANNEL

Technical Description

Digital Fundamentals. Introduction to Digital Signal Processing

Introduction to Digital Signal Processing

SERIAL HIGH DENSITY DIGITAL RECORDING USING AN ANALOG MAGNETIC TAPE RECORDER/REPRODUCER

4-Channel Video Filter for RGB and CVBS Video

4-Channel Video Reconstruction Filter

1 Introduction to PSQM

Communication Theory and Engineering

Understanding Sampling rate vs Data rate. Decimation (DDC) and Interpolation (DUC) Concepts

Information Transmission Chapter 3, image and video

Analog to Digital Conversion

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

CS311: Data Communication. Transmission of Digital Signal - I

Machinery Fault Diagnosis and Signal Processing Prof. A R Mohanty Department of Mechanical Engineering Indian Institute of Technology-Kharagpur

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

Software Analog Video Inputs

Digitizing and Sampling

CM3106 Solutions. Do not turn this page over until instructed to do so by the Senior Invigilator.

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

COSC3213W04 Exercise Set 2 - Solutions

EC 6501 DIGITAL COMMUNICATION

KTVN Silver Springs DTV Translator. K29BN D in KTVN Shop

Multimedia Networking

Chapter 6: Real-Time Image Formation

Digital Audio and Video Fidelity. Ken Wacks, Ph.D.

Laboratory 5: DSP - Digital Signal Processing

Introduction to image compression

Hugo Technology. An introduction into Rob Watts' technology

Technical Bulletin 625 Line PAL Spec v Digital Page 1 of 5

Clock Jitter Cancelation in Coherent Data Converter Testing

Introduction to Digital Signal Processing (DSP)

10:15-11 am Digital signal processing

Scanning A/D Converters, Waveform Digitizers, and Oscilloscopes

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Sensor Development for the imote2 Smart Sensor Platform

Sound technology. TNGD10 - Moving media

How advances in digitizer technologies improve measurement accuracy

Distributed Multimedia Systems. 2.Coding. László Böszörményi Distributed Multimedia Systems Coding - 1

Dithering in Analog-to-digital Conversion

Generation and Measurement of Burst Digital Audio Signals with Audio Analyzer UPD

COPYRIGHTED MATERIAL. Introduction: Signal Digitizing and Digital Processing. 1.1 Subject Matter

REGIONAL NETWORKS FOR BROADBAND CABLE TELEVISION OPERATIONS

Transcription:

Professor Laurence S. Dooley School of Computing and Communications Milton Keynes, UK

The Song of the Talking Wire 1904 Henry Farny painting

Communications

It s an analogue world Our world is continuous Sound, temperature, pressure, gravitational force, light. Need to transform into electrical signals Sensors: convert one type of energy to another (IoT) Electro-mechanical, photonic, magnetic Examples: Microphone/speakers Thermocouples Accelerometers

Digital Communications PCM: Pulse Code Modulation

PCM Digitising an analogue signal involves: i. Sampling ii. Quantisation iii. Encoding

Positives Digital signals can be faithfully stored & copied Allow numeric processing by computers (DSP) More robust to noise Improved signal-to-noise ratio (SNR) Lossy & lossless compression possible Can represent physically unrealisable systems Negatives Why bother? Cannot exactly reconstruct source signal Require higher bandwidth (uncompressed data) Transmitting 1 & 0 involves special techniques

PCM Encoder Pulse Amplitude Modulation (PAM)

Sampling Process of converting a continuous analogue time signal into a discrete time representation

3 PCM Sampling Methods T s is the sampling interval f s = 1 T s Also known as Sample & Hold

Idea of Sampling Analogue Audio Recording Continuous modulated magnetic tape Cut a groove in a record Signals have infinite number of amplitude values Digital Audio Recording Binary numbers only Signals have finite number of amplitude values

Sampling - Is it lossless? The clock analogy shows how sampling differentiates digital and analog signals Analogue: Time flows continuously with the clock hands covering ALL TIME Digital: Also display time but at discrete values SAMPLED TIME

Some doubts? How many samples are required to represent the original signal? What happens between samples? Do we lose any information between samples?

Basic Signal Processing Continuous Signal t Sampled Signal t Quantized Signal t

Idea of Sampling ~ h ( t) = h( t) δ ( t T ) = h( T ) δ ( t T ) = h(t) 1 h( T ) T where T is the sampling period t

Idea of Sampling h ~ ( t) h(t) is sampled by a sequence of unit impulses, so each amplitude is the h(t) value at the time instant of each impulse t

The Puzzle h ~ ( t) How many samples are needed? T << h ~ ( t) t T >> t

Sampling Theorem Uniquely relates signal bandwidth to the sampling frequency f s If the maximum signal bandwidth is f max, there is NO loss of information between the original and sampled signals, if and only if the input is sampled at least twice f max

Sampling Theorem The Digital typical Telephone bandwidth Networks: of speech use 8 is bits/sample, 300 3.4kHz the data so rate f s = 8kHz 64 kbps Audio signal bandwidth ranges from 0 20kHz so f s = 40kHz (T s =25µs) Audio For a CD CD: fuse s = 44.1kHz 16 bits/sample so f max so also the commonly data rate referred for stereo to = 1.411 as the Mbps. Nyquist frequency = 22.05kHz

Typical Sampling Rates 8kHz Telephone, speech audio,.au files 22.05kHz Medium-quality computer audio 32kHz Broadcast audio 44.1kHz CD, DAT, high-quality audio 48kHz Professional audio 96kHz High-end audio 13.5MHz Digital TV broadcasting Rec.601

44.1kHz Strange Number To store digital audio at a B/W 1Mbps/channel was difficult so video recorders were used Audio samples stored as a pseudo-video signal of black and white levels on active video lines Monochrome recorder at 2 video standards 525 lines @ 60Hz and 625 lines @ 50Hz

44.1kHz Strange Number Aim: Seek a common f s so either system has an integer number of samples stored on each video picture line in the field (interlaced). 60 Hz: there are 35 blanked lines and 490 lines/frame 245 lines per field so f s = 60 * 245 * 3 = 44100 Hz 50 Hz: there are 37 blanked lines and 588 lines/frame 294 lines per field so f s = 50 * 294 *3 = 44100 Hz CD has no video circuitry and yet f s = 44.1KHz Interestin g fact = 44100 = f s 2 2 *3 2 *5 2 *7 2

REMEMBER If you obey the Sampling Theory, a sampled representation is a perfect representation

But if you don t? If f s >> than needs be then this is OVERSAMPLING If f s < than needs be this is called ALIASING

Different Sampling Rates Aliased Signal

The Clock Analogy T = 60s Sampling at Nyquist rate: T s =0.5T = 30s (f s =2f max ) Oversampling (above Nyquist rate): T s =0.25T = 15s (f s =4f max ) Undersampling (below Nyquist rate): T s =0.75T = 45s (f s =4/3f max ) http://www.michaelbach.de/ot/mot-wagonwheel/index.html

How do we know f max? Use an anti-aliasing (LP) filter to remove all frequencies above the Nyquist f max x( t) f = max? anti-aliasing filter f x ( t) max = f p analogueto-digital converter x(nt ) f s 2f p DSP 1 Amplitude 0 f s /2 f s Frequency f p

Analogue to Digital Conversion q u a n t i z i n g e r r o r u ( t ) t analogue signal u s ( t ) sampled signal t u s ( t ) 5 4 3 2 1 0 quantized signal t 101 100 011 010 001 000 010 001 001 010 100 101 100 010... digital bitstream

Quantisation Relates to ADC sampling errors Consider analogue and digital meters A good analogue meter and sharp eye needle reads 2.25V Cheap digital meter will read 2.5V. More expensive meters may read 2.25V and 4D meters could read 2.263V!!

Quantisation 1 bit 2 possible values 2 bits 4 possible values 3 bits 8 possible values... 8 bits 256 possible values 16 bits 65356 possible values. : n bits 2 n possible values } Quantization noise (error)

Quantisation Quantisation noise is the difference between the analog signal and its digital representation. This error is inherent. N bits => 2 N levels

Quantisation Bits Levels 3 8 4 16 5 32 8 256 16 65536 By increasing the bit levels, the digital representation of the analog signal improves in fidelity and the quantisation noise is reduced

Relationship between Sampling and Quantisation Quantization 6 5 4 3 2 1 0 0 t t 1 t 2 t N-1 t N Sampling

Relationship between Sampling and Quantisation Sampling band-limited signals is LOSSLESS Quantising sample amplitudes is LOSSY SNR measures strength of a signal to noise level Useful rule 1 bit 6dbs SNR 8 bit samples SNR 48dbs Noise very audible. CDs use 16 bit samples SNR 96dbs.

PCM Revisited 0100 0011 0010 0001 0000 1001 1010 1011 1100 PCM Demo

Types of Quantisation How can 2 n quantised levels be distributed? Linear (PCM) Perceptual (µ-law) Differential (DPCM) Adaptive (ADPCM)

Linear µ-law quantisation Divide amplitude range into N evenlyspaced steps log 2 N bit quantisation Amplitude values are now logarithmically mapped over the N quantization units 300 Quantization Index 250 200 150 100 50 0 0 50 100 150 200 250 300 Amplitude Value

Predictive Coding u(t) Current Sample Predicted Value Next Sample error ε Encoder & decoder predict next sample from history Prediction is the same at both ends Encoder then ONLY transmits the error ε between the predicted and next sample values. ε is quantised and coded basis of DPCM t

Differential PCM Difference between the predicted and next sample values ε n = f n f n 220, 218, 221, 219, 220, 221, 222, 219. Difference sequence: 220, -2, 3, -2, 1, 1, 1, -3 PCM coded sequence: 8 bits/sample Differential coding: 1 x 8 bit sample + 3 bits/sample

PCM Advantages DPCM Summary Excellent voice quality Good SNR Easy implementation Disadvantage High bit-rates Lower bit-rates exploits inter-sample correlations More complex implementation

http://xgmt.open.ac.uk/laurence_dooley