Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011
|
|
- Maurice Bryan
- 5 years ago
- Views:
Transcription
1 Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#4 Sampling and Quantization OBJECTIVES: When you have completed this assignment, you will: understand the concept of sampling, aliasing, quantization and reconstruction. demonstrate the effect of aliasing on the reconstruction process. INTRODUCTION: Digital communications has proved to be a very efficient means of transporting speech, music, video, and data over different kinds of media. These media include satellite, microwave, fiber-optic, coaxial, and cellular channels. One special advantage that digital communication holds over analog communication is in the superior handling of noise in the channel. Baseband signals such as speech, music, and video are naturally occurring analog signals. Hence, the processes of analog to digital (A/D) conversion at the transmitter and digital to analog conversion (D/A) at the receiver are integral sections of the entire communication. THEORETICAL PART: (1) Sampling. In order to store, transmit or process analog signals using digital hardware, we must first convert them into discrete-time signals by sampling. The processed discrete-time signal is usually converted back to analog form by interpolation, resulting in a reconstructed analog signal xr(t). The sampler reads the values of the analog signal xa(t) at equally spaced sampling instants. The time interval Ts between adjacent samples is known as the sampling period (or sampling interval). The sampling rate, measured in samples per second, is fs =1/Ts. x[n]= xa(nts), n=, -1, 0, 1, 2,. Also it possible to reconstruct xa(t) from its samples: xa(t) = x[tfs].
2 Figure 4.1: Sampling and Reconstruction process Sampling Theorem The uniform sampling theorem states that a bandlimited signal having no spectral components above f m hetez can be determined uniquely by values sampled at uniform intervals of : T s 1 2f m The upper limit on T s can be expressed in terms of sampling rate, denoted fs=1/ts. The restriction, stated in term of the sampling rate, is known as the Nyquist criterion. The statement is: f s 2f m The sampling rate f s = 2f m is also called Nyquist rate.the allow Nyquist criterion is a theoretically sufficient condition to allow an analog signal to be reconstructed completely from a set of a uniformly spaced discrete-time samples. Impulse Sampling Assume an analog waveform x(t),as shown in figure 4.2(a), with a Fourier transform, X(f) which is zero outside the interval ( f m < f < f m ),as shown in figure 4.2(b). The sampling of x(t) can be viewed as the product of x(t) with a periodic train of unit impulse function x δ (t), shown in figure 4.2(c) and defined as x δ t = n= δ( t nt s ) where T s is the sampling period and δ(t) is the unit impulse or Dirac delta function.let us choose T s = 1/2f m, so that the Nyquist criterion is just satisfied. The sifting property of the impulse function states that x t δ t t o = x t o δ t t o Using this property, we can see that x S t, the sampled version of x(t) shown in figure 4.2(e), is given by x S t = x(t)x δ (t) = n= x(t)δ( t nt s ) = n= x(nt s )δ( t nt s )
3 Using the frequency convolution property of the Fourier transform we can transform the time-domain product x(t)x δ (t) to the frequency-domain convolution f X δ f, X δ f = 1 T s n= δ( f nf s ) where X δ f is the Fourier transform of the impulse train x δ (t). Notice that the Fourier transform of an impulse train is another impulse train; the values of the periods of the two trains are reciprocally related to one another. Figure 4.2(c) and (d) illustrate the impulse train x δ (t) and its Fourier transform X δ f, respectively. We can solve for the transform X S f of the sampled waveform: X S f = X f X δ f = X f * 1 T s n= δ( f nf s ) X S f = 1 T s n= δ( f nf s ) Figure 4.2: Sampling theorem using the frequency convolution property of the Fourier transform We therefore conclude that within the original bandwidth, the spectrum X S f is, to within a constant factor (1/T s ), exactly the same as that of x(t) in addition, the spectrum repeats itself periodically in frequency every f s hertz.
4 Aliasing Aliasing in Frequency Domain If fs does not satisfy the Nyquist rate, f s < 2f m, the different components of X S f overlap and will not be able to recover x(t) exactly as shown in figure 4.3(b). This is referred to as aliasing in frequency domain. Figure 4.3: Spectra for various sampling rates. (a) Sampled spectrum f s > 2f m (b) Sampled spectrum f s < 2f m Aliasing in time domain As we shall presently see, the frequency content of the analog signal xa(t) has to be limited before attempting to sample it. This means that xa(t) cannot change too fast; consequently, the average value over the interval nts Δ to nts+δ is a good approximation of the ideally sampled value xa(t) of nts. t = nt S, 1 F = 1 1 f F S, F = ff S, Ω = ωf S where, F : is the frequency of x(t), f : is the frequency of x[n] Note that the range of the frequency variable F for continuous-time sinusoids are < F <, < Ω < However, the situation is different for discrete-time sinusoids 1 2 < f < 1 2, π < ω < π Discrete- time sinusoid whose radian frequencies are separated by integer multiples of 2π are identical. Sequence that result from a sinusoid with a frequency w > π is identical to a sequence obtained from a sinusoidal with frequency : -π w π. But for continuous-time sinusoids result in distinct signals for Ω or F in the range : - < F < or - < Ω <
5 Figure 4.4 shows a simple example.the solid line describes a 0.5Hz continuous-time sinusoidal signal and the dash-dot line describes a 1.5 Hz continuous time sinusoidal signal. When both signals are sampled at the rate of Fs =2 samples/sec, their samples coincide, as indicated by the circles. This means that x1[nts] is equal to x2[nts] and there is no way to distinguish the two signals apart from their sampled versions. This phenomenon is known as aliasing. Figure 4.4: Two sinusoidal signals are indistinguishable from their sampled versions x 1 nt S = cos 2πF 1 nt S = cos 2π 1 2 n 1 2 = cos 0.5πn x 2 nt S = cos 2πF 2 nt S = cos 2π 3 2 n 1 2 cos 1.5πn = cos 1.5πn 2πn = cos 0.5πn = cos 0.5πn = cos 0.5πn x 1 nt S = x 2 nt S Reconstruct x 1 t and x 2 t x 1 t = x tf S = cos 0.5π tf S = cos 0.5π t 2 = cos 2π 0.5 t = x 2 t On the other hand, F aliased = F base + k F S f aliased = f base + k, k = ±1, ±2,., k = ±1, ±2,. where F aliased and f aliased are outside the fundamental frequency range: F S 2 F base F S 2 and 1 2 f base 1 2 Avoiding Aliasing In order to avoid aliasing we must restrict the analog signal xa(t) to the frequency range, Fo less than Fs/2. Thus, every sampler must be preceded by an analog low-pass filter, known as an anti-aliasing filter; with a cut-off frequency fc equals fs /2. This means that the high frequency artifacts of the continuous-time signal will be lost. This is the cost of managing aliasing. In practice, the anti-aliasing filter will have a cutoff frequency at roughly 90% of
6 the Nyquist frequency and use the other 10% for roll-off. The on-board codec of the DSK has a sampling rate of fs = 8 khz and an anti-aliasing filter with cutoff frequency 3.6 khz, which is 90% of fs/2 (Nyquist Frequency). Figure 4.5: Avoiding aliasing in signal processing (2) Downsampling. If the desired sampling rate is lower than the sampling rate of the available data, in this case, we may use a process called downsampling or decimation to reduce the sampling rate of the signal. Decimating, or downsampling, a signal x(n) by a factor of D is the process of creating a new signal y(n) by taking only every Dth sample of x(n). Therefore y(n) is simply x(dn). Using this method we can resample the discrete signals with no need for reconstruction first. This process will give you the ability to vary the sampling rate of a discrete signal by discarding some of its values in the time domain depending on the desired sampling rate. For example, if we want to reduce the sampling rate to the half, we down a sample between every two samples. In this case, we downsampled the signal by 2, or ( 2 ). Similarly, ( 3 ) x[n] will produce a signal that has a sample rate equals one third the sampling rate of x[n] by taking every third sample of x[n] and discarding two samples in between. As an example, if the original sequence with a sampling period T= 0.1 second (sampling rate = 10 samples per sec) is given by x(n) : and we downsample the data sequence by a factor of 3, we obtain the downsampled sequence as y(m) : with the resultant sampling period T = 3 x 0.1 = 0.3 second (the sampling rate now is 3.33 samples per second). After downsampling by a factor of D, the new sampling period becomes DT, and therefore the new sampling frequency is F S,D = 1 = F S DT s D, where F S is the original sampling rate.
7 By MATLAB, we can do this in an easy way. For example, >> x=1:1:10 x = >> x2=x(1:2:end) x2 = (3) Quantization. The second stage in the A/D process is amplitude quantization, where the sampled discrete-time signal x(n), is quantized into a finite set of output levels. The quantized signal can take only one of L levels, which are designed to cover the dynamic range: x min x(n) x max The step size or resolution of the uniform quantizer is given as: Δ = x max x min L 1 The step size can be either integer or fraction and is determined by the number of levels L. For binary coding, L is usually a power of 2, and practical values are 256 (=2 ^8) or greater. The difference between the actual analog value and quantized digital value is called quantization error. This error is due to rounding. and, Quantization error : e ( n) x ( n) x ( n) q error 2 2 q A continuous time signal, such as voice, has a continuous range of amplitudes and therefore its samples have a continuous amplitude range i.e. they are only discrete in time not in amplitude. In other words, within the finite amplitude range of the signal, we find an infinite number of amplitude levels. It is not necessary in fact to transmit the exact amplitude of the samples. Any human sense (the ear or the eye), as ultimate receiver, can detect only finite intensity differences. This means that the original continuous time signal may be approximated by a signal constructed of discrete amplitudes selected on a minimum error basis from an available set. Clearly, if we assign the discrete amplitude levels with sufficiently close spacing we may take the approximated signal practically indistinguishable from the original continuous signal. Amplitude quantization is defined as the process of transforming the sample amplitude m(nts) of a message signal m(t) at time t=nts into a discrete amplitude v(nts) taken from a finite set of possible amplitudes.
8 Practical Parts: Part 1: Aliasing in Time Domain The signal x t = sin 2πF o t can be sampled at the rate F S = 1 T S Aliasing will be observed for various F o to yield x(n) = cos 2π F o F S n a) Let F S =10 khz and F o =1 khz. Compute and plot x[n] using stem.m. n=0:50; Fs=10000; Fo=1000; xn=sin(2*pi*(fo/fs)*n) figure(1) stem(xn) b) Use subplot to plot x(t) for F o =300 Hz, 700 Hz, 1100 Hz and 1500 Hz. Fs=10000; t=0:0.0001:50/fs; Fo=[300,700,1100,1500]; for i=1:4; subplot(4,1,i) xt=sin(2*pi*fo(i)*t) plot(t,xt) end Comment on the following words for the result figure in (b): (a) The period:. (b) The rate of oscillation:. c) Use subplot to plot x[n] for F o =300 Hz, 700 Hz, 1100 Hz and 1500 Hz. Fs=10000; n=0:50; Fo=[300,700,1100,1500]; for i=1:4; subplot(4,1,i) xn=sin(2*pi*(fo(i)/fs)*n) stem(xn) end Comment on the following words for the result figure in (c): (a) Aliasing: :. (b) The period:. (c) The rate of oscillation:. (d) Fill in the table below with appropriate values:
9 F aliased T=1/F F base f aliased f base N=1/f base F o =300 Hz F o =700 Hz F o =1100 Hz F o =1500 Hz d) Repeat (b) and (c) for F o =8500 Hz, 8900 Hz, 9300 Hz and 9700 Hz. e) Repeat (b) and (c) for F o =10300 Hz, Hz, Hz and Hz. Exercise 1 Consider an analog signal x(t) consisting of three sinusoids x(t)= cos(2πt)+cos(8πt)+cos(12πt) Using Matlab, (a) Show that if this signal is sampled at a rate of Fs = 5 Hz, it will be aliased with the following signal, in the sense that their sample values will be the same: x a (t)= 3cos(2πt) (b) Repeat part (a) with Fs = 10 Hz. In this case, determine the signal x(t) with which x a (t) is aliased. Plot both x(t) and x a (t) on the same graph over the range 0 t 1 sec. Verify again that the signals intersect at the sampling instants.
10 Part 2: Aliasing in Frequency Domain: a) Construct the simulink model shown in Figure 4.6. b) Input a sine wave of Fo=5 Hz frequency from the signal generator. Choose a sampling time of 0.01 sec for the pulse generator with pulse duration of 50 % of the sampling period. Choose the cut-off frequency of 120π for the Butterworth low-pass filter. c) Start the simulation for 1sec and notice all visualizers(included them in your report). d) Repeat steps 2 and 3 for a sine wave with Fo = 95 Hz. Comment. e) Repeat steps 2 and 3 for a sine wave with Fo = 105 Hz. Comment. Figure 4.6: Simulink model to implement aliasing in frequency domain Part 3: Downsampling: a) Using MATLAB, generate a sine wave with frequency Fo of 1300 Hz, and sampling frequency Fs of 8000 Hz. b) Save the data of the sine wave as a sound file, named as 8000.wav. c) Listen to the tone of the 1300 Hz sine wave. d) Downsample the data of the sine wave by 2. This will result in a sine wave with a sampling rate of 4000 Hz. Repeat steps b, c and compare the sounds. e) Generate a sine wave with frequency Fo of 1300 Hz, and sampling frequency Fs of 4000Hz. f) Repeat steps b and c and compare the sounds.
11 clc clear all n=0:1:5000; Fo=1300; Fs=8000; x=sin(2*pi*fo*n/fs); sound (x); pause clear all n=0:2:5000; Fo=1300; Fs=8000; x=sin(2*pi*fo*n/fs); sound (x); pause clear all n=0:1:5000; Fo=1300; Fs=4000; x=sin(2*pi*fo*n/fs); sound(x(1:2500)); Part 4: Quantization: a) Write a Matlab function Y = uquant(x,l) which will uniformly quantize an input array X (either a vector or a matrix) to L discrete levels. function y=uquant(x,n) del=((max(max(x))-(min(min(x)))))/(n-1); r=(x-min(min(x)))/del; r=round(r); y=r*del+min(min(x));
12 Example: Quantized x=2sin (2pi*t) using 16 levels x-min(min(x)) Shift to +ve region [ o to 4] Divide by del 15 Mapping to [ 0 to 15 ] Round to the nearest level Re-mapping to [ -2 to 2 ]
13 b) Use this function to quantize an analog sinusoidal signal with L=4 and 32 levels. Compute the SQR for each level. t=0:.001:1; y=2*sin(2*pi*t) figure(1) subplot(311) plot(y) q1=uquant(y,4) subplot(312) plot(q1) q2=uquant(y,32) subplot(313) plot(q2) Ps=mean(y.^2); Pq1=mean(q1.^2); Pq2=mean(q2.^2); SQR1=Ps/Pq1; SQR2=Ps/Pq2; c) Audio quantization, use uquant function to quntize an audio signal at different levels and compare the result quantized signals by hearing them. clc clear all [y,fs]=wavread('speech_dft.wav'); sound(y,fs) for b=1:7; L=2.^b; yq=uquant(y,l); pause b sound(yq,fs) end f) Construct the simulink model shown in Figure 4.6. Input a sine wave of Fo=1 Hz frequency from the signal generator. Choose a sampling time of 0.1 sec for the pulse generator with pulse duration of 50 % of the sampling period. Choose the quantization interval of 0.5 for the Quantizer. Start the simulation and notice all visualizers(included them in your report).
14 Figure 4.7: Simulink model for sampling and quantization Exercise 2 (1) Image Quantization Use uquant function to quantize the office_4.jpg image (you can found it in the direction c:\program Files\matlab\toolbox\images\imdemosimage\office_4.jpg) to 7, 4, 2 and 1 b/pel. Observe and print the output images for each level. Note you must first convert the image from RGB to gray image. (2) Audio Quantization Form results in part 4(c) answer the following questions: (a) Describe the change in quality as the number of b/sample is reduced? (b) Do you think 4 b/sample is acceptable for telephone systems? (c) Plot the SQNR versus number of bits.generate this curve by computing the SQNR for 7, 6, 5,..., 1 bits/sample. Also display this curve in semi-log(db). (d) Plot the distortion versus number of bits in linear and semi-log scales.
15 Exercise 3 Given a sinusoidal waveform with a frequency of 100 Hz, (a) Write a MATLAB program to quantize the x(t) using 4-bit quantizers to obtain the quantized signal x q, assuming that the signal range is from -5 to 5 volts. (b) Plot the original signal, quantized signal, and quantization error, respectively. (c) Calculate the SQNR due to quantization using the MATLAB program. Check for your answer with equation (1.4.32) in Proakis's Book. Note: Your report should include the following: 1- All Matlab programs and its results with a short comment on each result. 2- Answer any internal questions in practical parts. 3- Solve all lab exercises.
Experiment 8: Sampling
Prepared By: 1 Experiment 8: Sampling Objective The objective of this Lab is to understand concepts and observe the effects of periodically sampling a continuous signal at different sampling rates, changing
More informationSampling and Reconstruction of Analog Signals
Sampling and Reconstruction of Analog Signals Chapter Intended Learning Outcomes: (i) Ability to convert an analog signal to a discrete-time sequence via sampling (ii) Ability to construct an analog signal
More informationDIGITAL SIGNAL PROCESSING. Chapter 1 Introduction to Discrete-Time Signals & Sampling
DIGITAL SIGNAL PROCESSING Chapter 1 Introduction to Discrete-Time Signals & Sampling by Dr. Norizam Sulaiman Faculty of Electrical & Electronics Engineering norizam@ump.edu.my OER Digital Signal Processing
More informationWaveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two
Chapter Two Layout: 1. Introduction. 2. Pulse Code Modulation (PCM). 3. Differential Pulse Code Modulation (DPCM). 4. Delta modulation. 5. Adaptive delta modulation. 6. Sigma Delta Modulation (SDM). 7.
More informationChapter-2 SAMPLING PROCESS
Chapter-2 SAMPLING PROCESS SAMPLING: A message signal may originate from a digital or analog source. If the message signal is analog in nature, then it has to be converted into digital form before it can
More informationSignals and Systems. Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI
Signals and Systems Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON Continuous time versus discrete time Continuous time
More informationLaboratory Assignment 2 Signal Sampling, Manipulation, and Playback
Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback PURPOSE This lab will introduce you to the laboratory equipment and the software that allows you to link your computer to the hardware.
More informationMusic 270a: Fundamentals of Digital Audio and Discrete-Time Signals
Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego October 3, 2016 1 Continuous vs. Discrete signals
More informationContinuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals
Continuous vs. Discrete signals CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 22,
More informationEEE 309 Communication Theory
EEE 309 Communication Theory Semester: January 2016 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building Part 05 Pulse Code
More informationMultirate Digital Signal Processing
Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer
More informationLaboratory Assignment 5 Amplitude Modulation
Laboratory Assignment 5 Amplitude Modulation PURPOSE In this assignment, you will explore the use of digital computers for the analysis, design, synthesis, and simulation of an amplitude modulation (AM)
More informationCMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals
CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 16, 2006 1 Continuous vs. Discrete
More informationDigital Processing of Continuous-Time Signals
Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital
More informationDigital Signal Processing
Digital Signal Processing Lecture 9 Discrete-Time Processing of Continuous-Time Signals Alp Ertürk alp.erturk@kocaeli.edu.tr Analog to Digital Conversion Most real life signals are analog signals These
More informationDigital Signal Processing (Subject Code: 7EC2)
CIITM, JAIPUR (DEPARTMENT OF ELECTRONICS & COMMUNICATION) Notes Digital Signal Processing (Subject Code: 7EC2) Prepared Class: B. Tech. IV Year, VII Semester Syllabus UNIT 1: SAMPLING - Discrete time processing
More informationMultirate DSP, part 1: Upsampling and downsampling
Multirate DSP, part 1: Upsampling and downsampling Li Tan - April 21, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion
More informationEEE 309 Communication Theory
EEE 309 Communication Theory Semester: January 2017 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building Types of Modulation
More informationDigital Processing of
Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital
More informationSIGNALS AND SYSTEMS LABORATORY 13: Digital Communication
SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication INTRODUCTION Digital Communication refers to the transmission of binary, or digital, information over analog channels. In this laboratory you will
More informationSignal Characteristics
Data Transmission The successful transmission of data depends upon two factors:» The quality of the transmission signal» The characteristics of the transmission medium Some type of transmission medium
More informationFigure 1: Block diagram of Digital signal processing
Experiment 3. Digital Process of Continuous Time Signal. Introduction Discrete time signal processing algorithms are being used to process naturally occurring analog signals (like speech, music and images).
More informationCommunications IB Paper 6 Handout 3: Digitisation and Digital Signals
Communications IB Paper 6 Handout 3: Digitisation and Digital Signals Jossy Sayir Signal Processing and Communications Lab Department of Engineering University of Cambridge jossy.sayir@eng.cam.ac.uk Lent
More informationTE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION
TE 302 DISCRETE SIGNALS AND SYSTEMS Study on the behavior and processing of information bearing functions as they are currently used in human communication and the systems involved. Chapter 1: INTRODUCTION
More informationElectrical & Computer Engineering Technology
Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:
More informationII Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing
Class Subject Code Subject II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing 1.CONTENT LIST: Introduction to Unit I - Signals and Systems 2. SKILLS ADDRESSED: Listening 3. OBJECTIVE
More informationQUESTION BANK. SUBJECT CODE / Name: EC2301 DIGITAL COMMUNICATION UNIT 2
QUESTION BANK DEPARTMENT: ECE SEMESTER: V SUBJECT CODE / Name: EC2301 DIGITAL COMMUNICATION UNIT 2 BASEBAND FORMATTING TECHNIQUES 1. Why prefilterring done before sampling [AUC NOV/DEC 2010] The signal
More informationANALOGUE AND DIGITAL COMMUNICATION
ANALOGUE AND DIGITAL COMMUNICATION Syed M. Zafi S. Shah Umair M. Qureshi Lecture xxx: Analogue to Digital Conversion Topics Pulse Modulation Systems Advantages & Disadvantages Pulse Code Modulation Pulse
More informationThe quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:
Data Transmission The successful transmission of data depends upon two factors: The quality of the transmission signal The characteristics of the transmission medium Some type of transmission medium is
More informationConcordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu
Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this
More informationCHAPTER 4. PULSE MODULATION Part 2
CHAPTER 4 PULSE MODULATION Part 2 Pulse Modulation Analog pulse modulation: Sampling, i.e., information is transmitted only at discrete time instants. e.g. PAM, PPM and PDM Digital pulse modulation: Sampling
More informationPROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.
PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered
More informationAdvanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals
Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical Engineering
More information!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP
Lecture 2: Media Creation Some materials taken from Prof. Yao Wang s slides RECAP #% A Big Umbrella Content Creation: produce the media, compress it to a format that is portable/ deliverable Distribution:
More informationLecture Schedule: Week Date Lecture Title
http://elec3004.org Sampling & More 2014 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date Lecture Title 1 2-Mar Introduction 3-Mar
More information1. In the command window, type "help conv" and press [enter]. Read the information displayed.
ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions
More informationProblem Set 1 (Solutions are due Mon )
ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and
More informationLecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications
EE4900/EE6720: Digital Communications 1 Lecture 3 Review of Signals and Systems: Part 2 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer
More informationSAMPLING THEORY. Representing continuous signals with discrete numbers
SAMPLING THEORY Representing continuous signals with discrete numbers Roger B. Dannenberg Professor of Computer Science, Art, and Music Carnegie Mellon University ICM Week 3 Copyright 2002-2013 by Roger
More informationChapter 3 Data Transmission COSC 3213 Summer 2003
Chapter 3 Data Transmission COSC 3213 Summer 2003 Courtesy of Prof. Amir Asif Definitions 1. Recall that the lowest layer in OSI is the physical layer. The physical layer deals with the transfer of raw
More informationTerminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.
Terminology (1) Chapter 3 Data Transmission Transmitter Receiver Medium Guided medium e.g. twisted pair, optical fiber Unguided medium e.g. air, water, vacuum Spring 2012 03-1 Spring 2012 03-2 Terminology
More informationSampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.
Sampling of Continuous-Time Signals Reference chapter 4 in Oppenheim and Schafer. Periodic Sampling of Continuous Signals T = sampling period fs = sampling frequency when expressing frequencies in radians
More informationECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2
ECE 556 BASICS OF DIGITAL SPEECH PROCESSING Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2 Analog Sound to Digital Sound Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre
More informationAudio /Video Signal Processing. Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau
Audio /Video Signal Processing Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau Gerald Schuller gerald.schuller@tu ilmenau.de Organisation: Lecture each week, 2SWS, Seminar
More informationDSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters
Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept
More informationMultirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau
Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau (Also see: Lecture ADSP, Slides 06) In discrete, digital signal we use the normalized frequency, T = / f s =: it is without a
More informationIntroduction to Discrete-Time Control Systems
Chapter 1 Introduction to Discrete-Time Control Systems 1-1 INTRODUCTION The use of digital or discrete technology to maintain conditions in operating systems as close as possible to desired values despite
More informationRecall. Sampling. Why discrete time? Why discrete time? Many signals are continuous-time signals Light Object wave CCD
Recall Many signals are continuous-time signals Light Object wave CCD Sampling mic Lens change of voltage change of voltage 2 Why discrete time? With the advance of computer technology, we want to process
More informationDIGITAL COMMUNICATION
DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL COMMUNICATION Spring 00 Yrd. Doç. Dr. Burak Kelleci OUTLINE Quantization Pulse-Code Modulation THE QUANTIZATION PROCESS A continuous signal has
More informationME scope Application Note 01 The FFT, Leakage, and Windowing
INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing
More informationFundamentals of Digital Communication
Fundamentals of Digital Communication Network Infrastructures A.A. 2017/18 Digital communication system Analog Digital Input Signal Analog/ Digital Low Pass Filter Sampler Quantizer Source Encoder Channel
More informationSampling, interpolation and decimation issues
S-72.333 Postgraduate Course in Radiocommunications Fall 2000 Sampling, interpolation and decimation issues Jari Koskelo 28.11.2000. Introduction The topics of this presentation are sampling, interpolation
More informationTopic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)
Topic 2 Signal Processing Review (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music) Recording Sound Mechanical Vibration Pressure Waves Motion->Voltage Transducer
More informationTHE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing
THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA Department of Electrical and Computer Engineering ELEC 423 Digital Signal Processing Project 2 Due date: November 12 th, 2013 I) Introduction In ELEC
More informationECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling
ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling Objective: In this experiment the properties and limitations of the sampling theorem are investigated. A specific sampling circuit will
More informationy(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b
Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the
More informationPrinciples of Baseband Digital Data Transmission
Principles of Baseband Digital Data Transmission Prof. Wangrok Oh Dept. of Information Communications Eng. Chungnam National University Prof. Wangrok Oh(CNU) / 3 Overview Baseband Digital Data Transmission
More informationBiomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar
Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative
More informationYEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS
YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS EXPERIMENT 3: SAMPLING & TIME DIVISION MULTIPLEX (TDM) Objective: Experimental verification of the
More informationSAMPLING AND RECONSTRUCTING SIGNALS
CHAPTER 3 SAMPLING AND RECONSTRUCTING SIGNALS Many DSP applications begin with analog signals. In order to process these analog signals, the signals must first be sampled and converted to digital signals.
More informationChapter 2: Digitization of Sound
Chapter 2: Digitization of Sound Acoustics pressure waves are converted to electrical signals by use of a microphone. The output signal from the microphone is an analog signal, i.e., a continuous-valued
More informationSampling and Signal Processing
Sampling and Signal Processing Sampling Methods Sampling is most commonly done with two devices, the sample-and-hold (S/H) and the analog-to-digital-converter (ADC) The S/H acquires a continuous-time signal
More informationDiscrete-time Signals & Systems
Discrete-time Signals & Systems S Wongsa Dept. of Control Systems and Instrumentation Engineering, KMU JAN, 2011 1 Overview Signals & Systems Continuous & Discrete ime Sampling Sampling in Frequency Domain
More informationData Communications & Computer Networks
Data Communications & Computer Networks Chapter 3 Data Transmission Fall 2008 Agenda Terminology and basic concepts Analog and Digital Data Transmission Transmission impairments Channel capacity Home Exercises
More informationCS3291: Digital Signal Processing
CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE
More informationSampling and Pulse Trains
Sampling and Pulse Trains Sampling and interpolation Practical interpolation Pulse trains Analog multiplexing Sampling Theorem Sampling theorem: a signal g(t) with bandwidth B can be reconstructed exactly
More informationPulse Code Modulation
Pulse Code Modulation EE 44 Spring Semester Lecture 9 Analog signal Pulse Amplitude Modulation Pulse Width Modulation Pulse Position Modulation Pulse Code Modulation (3-bit coding) 1 Advantages of Digital
More informationPulse Code Modulation
Pulse Code Modulation Modulation is the process of varying one or more parameters of a carrier signal in accordance with the instantaneous values of the message signal. The message signal is the signal
More informationDigital Communication (650533) CH 3 Pulse Modulation
Philadelphia University/Faculty of Engineering Communication and Electronics Engineering Digital Communication (650533) CH 3 Pulse Modulation Instructor: Eng. Nada Khatib Website: http://www.philadelphia.edu.jo/academics/nkhatib/
More informationModule 3 : Sampling and Reconstruction Problem Set 3
Module 3 : Sampling and Reconstruction Problem Set 3 Problem 1 Shown in figure below is a system in which the sampling signal is an impulse train with alternating sign. The sampling signal p(t), the Fourier
More informationMoving from continuous- to discrete-time
Moving from continuous- to discrete-time Sampling ideas Uniform, periodic sampling rate, e.g. CDs at 44.1KHz First we will need to consider periodic signals in order to appreciate how to interpret discrete-time
More informationDSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals
DSP First Laboratory Exercise #7 Everyday Sinusoidal Signals This lab introduces two practical applications where sinusoidal signals are used to transmit information: a touch-tone dialer and amplitude
More informationAnnex. 1.3 Measuring information
Annex This appendix discusses the interrelated concepts of information, information source, channel capacity, and bandwidth. The first three concepts relate to a digital channel, while bandwidth concerns
More informationSystem on a Chip. Prof. Dr. Michael Kraft
System on a Chip Prof. Dr. Michael Kraft Lecture 5: Data Conversion ADC Background/Theory Examples Background Physical systems are typically analogue To apply digital signal processing, the analogue signal
More informationDiscrete-time Signals & Systems
Discrete-time Signals & Systems S Wongsa Dept. of Control Systems and Instrumentation Engineering, KMU JAN, 2010 1 Overview Signals & Systems Continuous & Discrete ime Sampling Sampling in Frequency Domain
More informationLecture Fundamentals of Data and signals
IT-5301-3 Data Communications and Computer Networks Lecture 05-07 Fundamentals of Data and signals Lecture 05 - Roadmap Analog and Digital Data Analog Signals, Digital Signals Periodic and Aperiodic Signals
More informationSignal Processing Summary
Signal Processing Summary Jan Černocký, Valentina Hubeika {cernocky,ihubeika}@fit.vutbr.cz DCGM FIT BUT Brno, ihubeika@fit.vutbr.cz FIT BUT Brno Signal Processing Summary Jan Černocký, Valentina Hubeika,
More informationAnalyzing A/D and D/A converters
Analyzing A/D and D/A converters 2013. 10. 21. Pálfi Vilmos 1 Contents 1 Signals 3 1.1 Periodic signals 3 1.2 Sampling 4 1.2.1 Discrete Fourier transform... 4 1.2.2 Spectrum of sampled signals... 5 1.2.3
More informationEE390 Final Exam Fall Term 2002 Friday, December 13, 2002
Name Page 1 of 11 EE390 Final Exam Fall Term 2002 Friday, December 13, 2002 Notes 1. This is a 2 hour exam, starting at 9:00 am and ending at 11:00 am. The exam is worth a total of 50 marks, broken down
More informationFFT Analyzer. Gianfranco Miele, Ph.D
FFT Analyzer Gianfranco Miele, Ph.D www.eng.docente.unicas.it/gianfranco_miele g.miele@unicas.it Introduction It is a measurement instrument that evaluates the spectrum of a time domain signal applying
More informationECEGR Lab #8: Introduction to Simulink
Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,
More informationECE 201: Introduction to Signal Analysis
ECE 201: Introduction to Signal Analysis Prof. Paris Last updated: October 9, 2007 Part I Spectrum Representation of Signals Lecture: Sums of Sinusoids (of different frequency) Introduction Sum of Sinusoidal
More informationIntroduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals
Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Acknowledgements
More informationFinal Exam Solutions June 14, 2006
Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,
More informationIntuitive Guide to Fourier Analysis. Charan Langton Victor Levin
Intuitive Guide to Fourier Analysis Charan Langton Victor Levin Much of this book relies on math developed by important persons in the field over the last 2 years. When known or possible, the authors have
More informationECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015
Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction
More informationece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS
ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona 2007 SPRING 2007 SCHEDULE All dates are tentative. Lesson Day Date Learning outcomes to be Topics Textbook HW/PROJECT
More informationDiscrete Fourier Transform (DFT)
Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency
More informationPulse Code Modulation (PCM)
Project Title: e-laboratories for Physics and Engineering Education Tempus Project: contract # 517102-TEMPUS-1-2011-1-SE-TEMPUS-JPCR 1. Experiment Category: Electrical Engineering >> Communications 2.
More information(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters
FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according
More informationColumbia University. Principles of Communication Systems ELEN E3701. Spring Semester May Final Examination
1 Columbia University Principles of Communication Systems ELEN E3701 Spring Semester- 2006 9 May 2006 Final Examination Length of Examination- 3 hours Answer All Questions Good Luck!!! I. Kalet 2 Problem
More informationDiscrete-Time Signal Processing (DTSP) v14
EE 392 Laboratory 5-1 Discrete-Time Signal Processing (DTSP) v14 Safety - Voltages used here are less than 15 V and normally do not present a risk of shock. Objective: To study impulse response and the
More informationNON-UNIFORM SIGNALING OVER BAND-LIMITED CHANNELS: A Multirate Signal Processing Approach. Omid Jahromi, ID:
NON-UNIFORM SIGNALING OVER BAND-LIMITED CHANNELS: A Multirate Signal Processing Approach ECE 1520S DATA COMMUNICATIONS-I Final Exam Project By: Omid Jahromi, ID: 009857325 Systems Control Group, Dept.
More informationDSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK.
Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK. Theoretical Background Filtering
More informationBasic Signals and Systems
Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for
More informationUNIT TEST I Digital Communication
Time: 1 Hour Class: T.E. I & II Max. Marks: 30 Q.1) (a) A compact disc (CD) records audio signals digitally by using PCM. Assume the audio signal B.W. to be 15 khz. (I) Find Nyquist rate. (II) If the Nyquist
More informationDownloaded from 1
VII SEMESTER FINAL EXAMINATION-2004 Attempt ALL questions. Q. [1] How does Digital communication System differ from Analog systems? Draw functional block diagram of DCS and explain the significance of
More informationCommunication Theory II
Communication Theory II Lecture 17: Conversion of Analog Waveforms into Coded Pulses Ahmed Elnakib, PhD Assistant Professor, Mansoura University, Egypt April 16 th, 2015 1 opulse Modulation Analog Pulse
More informationPYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture PYKC 27 Feb 2017 EA2.3 Electronics 2 Lecture 11-2
In this lecture, I will introduce the mathematical model for discrete time signals as sequence of samples. You will also take a first look at a useful alternative representation of discrete signals known
More informationINTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation
INTRODUCTION TO COMMUNICATION SYSTEMS Introduction: LABORATORY IV Binary Pulse Amplitude Modulation and Pulse Code Modulation In this lab we will explore some of the elementary characteristics of binary
More information