<< Chapter < Page Chapter >> Page >

Response of discrete-time systems

This lab involves analyzing the response of discrete-time systems. Responses are calculated for three different kinds of inputs; impulse, step and sine. [link] shows the completed block diagram. Connect the input variable w to an Enum Control so that an input type (impulse, step or sine) can be selected. The response of this system to any discrete-time input x [ n ] size 12{x \[ n \] } {} can be written as

y [ n ] = i b i x [ n i ] + i a i y [ n i ] size 12{y \[ n \] = Sum cSub { size 8{i} } {b rSub { size 8{i} } x \[ n - i \]} + Sum cSub { size 8{i} } {a rSub { size 8{i} } y \[ n - i \] } } {}

For this example, consider five b’s and four a’s. The system output is displayed using a waveform graph.

Block Diagram of a Discrete-Time System

[link] shows the front panel of the above system. The front panel can be used to interactively select the input type and set the coefficients a and b. The system response for a particular type of input (impulse, step or sine) is shown in the waveform graph.

Front Panel of a Discrete-Time System

Square root

As another example of discrete-time systems, let us consider taking the square root of an integer number. Often computers and calculators compute the square root of a positive number A size 12{A} {} using the following recursive equation:

y [ n ] = 1 2 y [ n 1 ] + x [ n ] y [ n 1 ] size 12{y \[ n \] = { {1} over {2} } left (y \[ n - 1 \]+ { {x \[ n \] } over {y \[ n - 1 \]} } right )} {}

If the input x [ n ] size 12{x \[ n \] } {} to this equation is set as a step function of amplitude A, then y [ n ] size 12{y \[ n \] } {} converges to the square root of A after several iterations.

[link] shows the block diagram for a square root computation system. The number of iterations required to converge to the true value is shown in the output. The initial condition Initial value is set as a control. [link] shows the corresponding front panel.

Block Diagram of a Square Root Computation System

Front Panel of a Square Root Computation System

Analog and digital filtering

In this section, let us examine a basic analog and digital filtering example by implementing a lowpass and a highpass filter in the analog and digital domains, respectively. [link] shows the completed block diagram of the filtering system. For analog approximation of the signals, use a higher sampling rate (dw1=0.01). To detect whether the filtering is lowpass or highpass, use the Enum Control Analog filter type. Calculate the magnitude and phase response of these filters using equations provided in Chapter 7 for analog and digital filters. Set the values of R and C as controls, and display the responses using a Build Waveform function and a waveform graph.

Block Diagram of an Analog and Digital Filtering System

For the digital case, use a lower sampling rate (dw2=0.001). With the Enum controls Digital filter type 1 and Digital filter type 2, select lowpass or highpass and FIR or IIR filter type. Use a Build Waveform function and a waveform graph to display the magnitude and phase responses of the digital filters. [link] shows the front panel of this filtering system. For a better view of magnitude response of the digital filter, set the properties of the waveform graph as shown in [link] .

Front Panel of an Analog and Digital Filtering System

Graph properties of magnitude response of digital filter

Lab exercises

Bandpass and Bandstop Filters

Use the lowpass and highpass filters (both analog and digital) described in Analog and Digital Filtering section to construct bandpass and bandstop filters. The bandpass filter should be able to pass signals from 50 to 200 Hz and the bandstop filter should be able to stop signals from 150 to 400 Hz. Determine the values of R and C required for this analog filter design. Also, determine the values of the coefficients required for an equivalent IIR digital filter design.

Insert Solution Text Here

Noise Reduction

Use an analog lowpass filter to remove the high-frequency noise described in Noise Reduction example of Lab 5. Repeat using a digital lowpass filter.

Insert Solution Text Here

Frequency Division Multiplexing (FDM)

FDM is widely used in digital communication to simultaneously transmit multiple signals over a single wideband channel (for details, refer to [link] ). For FDM communication, individual signals are multiplied with different carriers to avoid overlaps in the frequency domain. Their time domain processing and corresponding frequency spectrums are shown in [link] . Build a VI to implement an FDM communication system for three signals x 1 ( t ) , x 2 ( t ) size 12{x rSub { size 8{1} } \( t \) ,x rSub { size 8{2} } \( t \) } {} and x 3 ( t ) size 12{x rSub { size 8{3} } \( t \) } {} . Use the files echo_1.wav and firetrucksiren.wav on the book website and a random noise with a frequency range of 20 Hz to 20 kHz to serve as these signals.

FDM Communication System

Insert Solution Text Here

FDM Detector

Build a VI to implement an FDM detector system for detecting the signal x 1 ( t ) size 12{x rSub { size 8{1} } \( t \) } {} as shown in [link] .

FDM Detector

Insert Solution Text Here

Questions & Answers

the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
what is cell divisoin?
Aron Reply
Diversity of living thing
ISCONT
what is cell division
Aron Reply
Cell division is the process by which a single cell divides into two or more daughter cells. It is a fundamental process in all living organisms and is essential for growth, development, and reproduction. Cell division can occur through either mitosis or meiosis.
AI-Robot
What is life?
Allison Reply
life is defined as any system capable of performing functions such as eating, metabolizing,excreting,breathing,moving,Growing,reproducing,and responding to external stimuli.
Mohamed
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, An interactive approach to signals and systems laboratory. OpenStax CNX. Sep 06, 2012 Download for free at http://cnx.org/content/col10667/1.14
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'An interactive approach to signals and systems laboratory' conversation and receive update notifications?

Ask