<< Chapter < Page Chapter >> Page >
Simulink model for sampling and reconstruction using an impulse generator.

Before starting this experiment, use the MATLAB command close all to close all figures other than the Simulink windows. Double click on the icon named Sampling and Reconstruction Using An Impulse Generator to bring up the first experiment as shown in [link] . In this experiment, a sine wave is sampled at a frequencyof 1 Hz; then the sampled discrete-time signal is used to generaterectangular impulses of duration 0.3 sec and amplitude equal to the sample values.The block named Impulse Generator carries out both the sampling of the sine wave and its reconstruction with pulses. A single Scope is used to plot both the input and output of the impulse generator,and a Spectrum Analyzer is used to plot the output pulse train and its spectrum.

First, run the simulation with the frequency of input sine wave set to 0 . 1 Hz (initial setting of the experiment). Let the simulation run until it terminates to getan accurate plot of the output frequencies. Then print the output of Scope and the Spectrum Analyzer . Be sure to label your plots.

Submit the plot of the input/output signals and the plot of the output signal and its frequency spectrum.On the plot of the spectrum of the reconstructed signal, circle the aliases, i.e. thecomponents that do NOT correspond to the input sine wave.

Ideal impulse functions can only be approximated. In the initial setup, the pulse width is 0 . 3 sec, which is less then the sampling period of 1 sec.Try setting the pulse width to 0 . 1 sec and run the simulation. Print the output of the Spectrum Analyzer .

Submit the plot of the output frequency spectrum for a pulse width of 0 . 1 sec. Indicate on your plot what has changed and explain why .

Set the pulse width back to 0 . 3 sec and change the frequency of the sine wave to 0 . 8 Hz. Run the simulation and print the output of the Scope and the Spectrum Analyzer .

Submit the plot of the input/output signals and the plot of the output signal and its frequency spectrum.On the frequency plot, label the frequency peak that corresponds to the lowest frequency (the fundamental component) ofthe output signal. Explain why the lowest frequency is no longer the same as the frequency of the input sinusoid.

Leave the input frequency at 0 . 8 Hz. Now insert a filter right after the impulse generator.Use a 10th order Butterworth filter with acutoff frequency of 0 . 5 Hz. Connect the output of the filter to the Spectrum Analyzer and the Mux . Run the simulation, and print the output of Scope and the Spectrum Analyzer .

Submit the plot of the input/output signals and the plot of the output signal and its frequency spectrum.Explain why the output signal has the observed frequency spectrum.

Sampling and reconstruction with sample and hold

For help on printing figures in Simulink select the link.

Initial Simulink model for sampling and reconstruction using a sample-and-hold. This system only measures the frequencyresponse of the analog filters.

In this section, we will sample a continuous-time signal using a sample-and-hold and then reconstruct it.We already know that a sample-and-hold followed by a low-pass filter does not result in perfect reconstruction.This is because a sample-and-hold acts like a pulse generator with a pulse duration of onesampling period. This “pulse shape” of the sample-and-hold is whatdistorts the frequency spectrum (see Section "Sampling and Reconstruction Using a Sample-and-Hold" ).

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask