0 Up votes1 Down votes

21 views3 pagesdigital system

Oct 16, 2015

© © All Rights Reserved

PDF, TXT or read online from Scribd

digital system

© All Rights Reserved

21 views

digital system

© All Rights Reserved

- Dual Diaphragm based Cantilever Operated Mechatronic Differential Pressure Sensor and Transmitter
- Canon w8400 Sm Pc
- Seismic Processing 3
- Technical Spec TC50.pdf
- Ouadi Bentarzi Chafai Zitouni Pub
- Full Text 01
- Up Sampling Theory Rev 2
- RFDAC White Paper 6 2004a
- Credit Requirements for m
- 01adcdac Fund Baker
- AP Ptc 2012 19 Teratam Enu
- Model 4121B
- Real-Time Digital Signal Processing, 2nd Edition
- The Sensitive Side of Android
- A New Fast Method for the Reconstruction of 2-D Microwave Images of Rotating Objects
- Chapter 1 Slides
- 2003 Ish Tenbohlen
- Signals and System
- 2015_phd_vacancies_fet.pdf
- Instrumentation

You are on page 1of 3

Department of Electrical Engineering

Digital Signal Processing Lab 2

Date of: Conduct: ___________ Grade: _____________ Teachers Signature: _________

SAMPLING

OBJECTIVES:

1) To understand and verify the process of sampling and sampling rate selection.

2) To understand the consequences of non-band-limited signals on sample rate selection.

3) To observe the effect of increased observation interval on the amplitude-densityspectrum of non-band-limited signals.

DISCUSSION:

The sampling theorem, attributed to Nyquist, Shannon, Kotelnikov and Whittaker, is useful, but

often misused and misunderstood by students and engineers alike when calculating the sampling

frequency required for use in the Analogue-to-Digital converter.

The theorem states that if we have a continuous-time signal that is perfectly band limited within the

upper limit of frequency , then we can collect all the information available in it by sampling, as

long as the sampling frequency is twice of the upper limit i.e. 2x or more.

The foremost difficulty with the sampling theorem is the requirement that the continuous-time

signal has to be perfectly band limited. This is unfortunate because no real world signal is truly and

perfectly band limited. In fact, if a signal were to have absolutely no energy outside of some finite

frequency band it must extend infinitely in time. Remember, a band-limited signal is time-unlimited

and vice versa. This means that going by the sampling theorem, no system that samples data from

the real world can do so perfectly, unless we're willing to wait an infinite amount of time for our

results.

However, we can properly sample the continuous-time signal by first trying to band-limit the signal

of interest by using an analog low pass filter and using a sampling frequency that is much greater

than twice maximum frequency of the analog signal.

In this lab we will use Matlab to resolve the ambiguities regarding the sampling theorem by

observing the effects of sampling in time and frequency domains.

Process of Sampling:

Suppose we have a continuous-time signal given mathematically as, = )(sin (2), where

= 1 represents the frequency and t the time.

From our knowledge of the Sampling theorem, we know that this signal can be represented in

discrete-time as samples by sampling it by at least twice its maximum frequency component, that

So, the discrete-time signal after sampling at instant T is given as, = sin (2). Having

come up with this digital signal analytically, we now need to create a piece of Matlab code to

generate this signal and subsequently plot it.

f1=1;

f2=5;

f3=10;

Fs=2*f3;

Ts=1/Fs;

phase=pi/3;

t=linspace(0,3,500);

m=0:Ts:3;

X=sin(2*pi*f1*t)+sin(2*pi*f2*t)+sin(2*pi*f3*t+phase);

Xs=sin(2*pi*f1*m)+sin(2*pi*f2*m)+sin(2*pi*f3*m+phase);

plot(t,X);

hold on;

stem(m,Xs,'--red');

hold off;

xlabel('sampling interval m')

ylabel('strength of the Samples')

title('sampled signal Xs=sin(2*pi*f1*m)+sin(2*pi*f2*m)+sin(2*pi*f3*m+phase)')

grid;

What do you observe from the graphs? Do you think that sampling at twice the maximum frequency

component gives you the exact representation of the signal?

LAB TASKS:

Lab Task 1: Change the sampling rate and observe the differences in the time and frequency domain

graphs. Explain the observations in your own words

Lab Task 2: Increase the observation time from 0:T:5 to 0:T:50 and check the frequency

domain graph. You should observe that the by the increasing the observation time for the signal, the

amplitude density spectrum (ADS) has become from compact. In fact, as we continue to increase the

observation time, the ADS will resemble that of a bandlimited signal.

Lab Task 3: Generate the following signal in Matlab. Plot it in time-domain and show it spectral

contents in frequency domain.

= (2)

= 2, 20, 30

Lab Task 4: Generate the following composite signal in Matlab. Plot it in time-domain and show it

spectral contents in frequency domain.

= (2 )+ 2(2 )+ 3(2 )

= 4, = 20, = 35

Answer the following questions (briefly)

(i) What do you understand by the word Alias? How can we observe the effects of aliasing in time

and frequency domain by observing the graphs?

(ii) Can Matlab be used to generate a true continuous-time signal? Explain your answer with

reasoning

(iii) Does sampling at twice the frequency of the maximum frequency component give us the exact

results? Why not?

(iv) What is the purpose of linewidth in the plot function?

- Dual Diaphragm based Cantilever Operated Mechatronic Differential Pressure Sensor and TransmitterUploaded byCS & IT
- Canon w8400 Sm PcUploaded bykane123
- Seismic Processing 3Uploaded byTemitayo Ologun
- Technical Spec TC50.pdfUploaded byAkhmad Nizomy
- Ouadi Bentarzi Chafai Zitouni PubUploaded byNayan Manna
- Full Text 01Uploaded byGopal Athani
- Up Sampling Theory Rev 2Uploaded byNauman Noor
- RFDAC White Paper 6 2004aUploaded byivsuhas
- Credit Requirements for mUploaded byANKIT BHURANE
- 01adcdac Fund BakerUploaded byAhmad Saifurrasyid
- AP Ptc 2012 19 Teratam EnuUploaded bybcqbao
- Model 4121BUploaded byyowhatsupt
- Real-Time Digital Signal Processing, 2nd EditionUploaded byAjayChandrakar
- The Sensitive Side of AndroidUploaded bySteinerOk
- A New Fast Method for the Reconstruction of 2-D Microwave Images of Rotating ObjectsUploaded byTrần Triều
- Chapter 1 SlidesUploaded byALi RaZa
- 2003 Ish TenbohlenUploaded byanurag_jay12464
- Signals and SystemUploaded byBeautilin
- 2015_phd_vacancies_fet.pdfUploaded byTridev Padhi
- InstrumentationUploaded byMULLAI
- Detecting Biodynamic Signals Part-2Uploaded byiosua
- ch5Uploaded byubyisismayil
- Data Acquisition System DesignUploaded byabhishek
- Solutions Intelligent Maintenance SystemsUploaded byChristopher Garcia
- Dsp 1 SupportUploaded bykarthik krishna.j
- 3.0_Acquisition_2012 v3.pptUploaded byvasugeos8109
- 2. Data processing.pdfUploaded byShawki Bsat
- lecture38-Vibration Measurement Techniques- Data Acquisition and analysis.pdfUploaded byKaran Singh
- 11104_Assignment1_08.02.14Uploaded byGovind Sharma
- MCQ DC PPT 2Uploaded byShayaan Pappathi

- PIEAS Sample Test Paper for MS Engineers and ScientistsUploaded byShawn Parker
- Php TutorialsUploaded byMuhammad Junaid
- Application Form KINPOEUploaded byMuhammad Ahmad Mustafa
- L-29(NKD)(PE) ((EE)NPTEL)Uploaded byAbhi Náy
- AVR C LibraryUploaded bydonghungstb
- Chapter 9Uploaded byAbood M. Shaat
- AnalogNotesUploaded bysuiwinder
- Basics of PLCUploaded byAnjireddy Thatiparthy
- Muftis Aha Be BookUploaded byMuhammad Junaid

- 1075-SCARProUploaded byAmith
- Folio Sains tahun 3/2014Uploaded byJessica Barnes
- 1SDC200005D0201Uploaded byKiran Karthik
- Superposition.docxUploaded bykoelia
- Main American International University 2010Uploaded byImtiaz Shahrear
- PolarisationUploaded byzeroback90
- EI2303-II-II-4&5Uploaded bySunder Ramanathan
- The CB100 Conformal Coating Spray BoothUploaded byLee Hitchens
- Relevance of the Structure of Time Resolved Spectral Output to Light Tissue Interaction Using Intense Pulsed Light (IPL) - C Ash, G Town, P BjerringUploaded byCaerwyn Ash
- Newsletter 13Uploaded byCharintorn Pachpong
- Honeywell Fg701 User GuideUploaded byAlarm Grid Home Security and Alarm Monitoring
- dazerUploaded byjhlai
- Excitation SystemUploaded bysameerray12
- IPcamerasupportlistUploaded byrafaelcjujuy
- motor sangkar tupai - mesinUploaded byKuri-kuri Dorayaki
- Plano Electrico PS360CUploaded byCarlosirabedra
- Ch7 Diplexer and Triplexer CircuitsUploaded byPopi MAsdianto
- 2015 BK Price CatalogUploaded byDildar Alam
- Axis Servo System Using LabviewUploaded byNguyenCanhBao
- JJP Cymb PercUploaded byOliver Crini
- [Doi 10.1109%2FUGIM.2003.1225760] Zhangfa Liu, _ Parke, S. -- [IEEE 15th Biennial UniversityGovernmentIndustry Microelectronics Symposium - Boise, ID, USA (30 June-2 July 2003)] ProceedinUploaded byjaberyemeni
- arshad 3Uploaded byUmair Ali Soomro
- The Periodic TableUploaded byFatema Khatun
- Laptop Motherboard Repair DetailsUploaded bysshku77
- Fronius Transpuls 2700 AluUploaded bySloba Novovic
- imp question for class 12Uploaded bygautam000
- PE-1989-03Uploaded byAnonymous YDF1ID15zJ
- schedule unit 5 - wavesUploaded byapi-260189186
- OMK55 Smart Optical Test Kit DatasheetUploaded byshahramkarimi76
- Physics-XII.pdfUploaded byajesh

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.