<< Chapter < Page Chapter >> Page >
The purpose of this lab is to examine IIR filter design/implementation using LabVIEW DSP. Particular attention is drawn to the comparison between theoretical filter characteristics and actual filter performance. In this lab, it is assumed that the student is already familiar with the basic operation of LabVIEW DSP.

Iir filter design via the bilinear transformation

The purpose of this lab is to examine IIR filter design/implementation using LabVIEW DSP. Particularattention is drawn to the comparison between theoretical filter characteristics and actual filter performance. In this lab, it isassumed that the student is already familiar with the basic operation of LabVIEW DSP.

Create a vi for plotting time and frequency domain data

  • Open Surround Mixer, a program which controls the input/output operation of the sound card. Make sure that theWave/mp3 and Line-in volumes are set to approximately 75%. Make sure that all source buttons are muted for now. Keep the SurroundMixer open throughout the lab. You will be selecting various inputs (Wave and Line-in) throughout the lab.
  • Start LabVIEW Embedded Edition (Start»All Programs»LabVIEW Embedded Edition) and open a blank VI (Virtual Instrument).
    Pass-Through VI
  • We will build the VI whose Block Diagram is shown in Figure
    • Switch execution target to your hardware by going to Operate»Switch Execution Target in LabVIEW Embedded.
    • Go to the Block Diagram of the blank VI, navigate the function palette to the Analog Input, click and drop an analoginput element on the Block Diagram. It is located under Functions»Elemental IO»Analog Input. See Figure 2.
      Elemental I/O sub palette
    • Double-click on the Analog Input elemental I/O for configuration. In the configuration window, select the “General”tab. Click on the drop down under resource and select 2 channel Multiple Samples. On the Configuration tab, set the Sampling Rateto 16000 Hz and the Framesize to 256. Click “OK” to close the window.
    • Drop an Add function located on the Numeric sub palette of the Functions palette: Functions»Numeric»Add.
    • Drop an Analog Output elemental I/O. Functions»Elemental I/O»Analog Output. Double click on the Analog Output you justdropped on the Block Diagram and set the Sample Rate to 16000 Hz on the Configuration tab. Click “OK” to close.
    • Drop a “Spectral Measurement” Express VI on the block diagram. Functions»Signal Processing»Frequency Domain»SpectralMeasurements. This VI will allow us to build the power spectrum of the sound signal. Double click on the Spectral Measurements ExpressVI to open its configuration window. In the window, select Power Spectrum for Spectral Measurements and dB for results (See Figure)
    • Click “OK” to validate the configuration.
      Spectral Measurements Configuration
    • Now let’s switch to the Front Panel (Windows»Show Front Panel) and drop two Waveform Graphs. The Waveform Graph is locatedon the Graph Sub palette: Controls»Graphs»Waveform Graph. Name one “Time Domain” and the other “Power Spectrum.” Do not add the stopbutton yet.
      VI Front Panel
    • Let’s switch back to the Block Diagram and wire everything already on the diagram as shown in Figure 1.
    • Select the while loop from Functions»Structures»While Loop, click and drag to enclose everything on the Block Diagram withinthe loop. You Block Diagram should now be similar to the one in Figure 1 and the Front Panel similar to the one in Figure 4.
    This setup is similar to that found in the “DSP Laboratory: Time and Frequency Displays” Module except that the Left and Right channels are being combined into a single channel.
  • In Surround Mixer activate the Wave/mp3 source and put a CD into the computer’s CD-ROM drive. Run theWindows Media Player program in the EE 453 folder to start the CD. Finally, press the Run icon and you should hear your music throughthe headphones. If there is distortion/clipping (due to the volume being too high), adjust the CD volume on the Surround Mixer tolower the volume until the clipping stops. Now adjust the two displays to make one a time-domain display and the other afrequency-domain display. Remember how to set/unset the automatic scaling on the displays. It is usually best to use Auto scaling onthe frequency-domain display but not the time-domain display.
  • Once you have verified that everything is working properly, stop the CD, then stop the LabVIEW program (butdon’t exit LabVIEW).
  • 11. Save the VI by selecting File»Save As. Make sure to save the file in your personal directory -- Desktop\ee453\<folder name>. You can give the file any name you want (such as lab2setup).

Questions & Answers

how do you get the 2/50
Abba Reply
number of sport play by 50 student construct discrete data
Aminu Reply
width of the frangebany leaves on how to write a introduction
Theresa Reply
Solve the mean of variance
Veronica Reply
Step 1: Find the mean. To find the mean, add up all the scores, then divide them by the number of scores. ... Step 2: Find each score's deviation from the mean. ... Step 3: Square each deviation from the mean. ... Step 4: Find the sum of squares. ... Step 5: Divide the sum of squares by n – 1 or N.
kenneth
what is error
Yakuba Reply
Is mistake done to something
Vutshila
Hy
anas
hy
What is the life teble
anas
hy
Jibrin
statistics is the analyzing of data
Tajudeen Reply
what is statics?
Zelalem Reply
how do you calculate mean
Gloria Reply
diveving the sum if all values
Shaynaynay
let A1,A2 and A3 events be independent,show that (A1)^c, (A2)^c and (A3)^c are independent?
Fisaye Reply
what is statistics
Akhisani Reply
data collected all over the world
Shaynaynay
construct a less than and more than table
Imad Reply
The sample of 16 students is taken. The average age in the sample was 22 years with astandard deviation of 6 years. Construct a 95% confidence interval for the age of the population.
Aschalew Reply
Bhartdarshan' is an internet-based travel agency wherein customer can see videos of the cities they plant to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400 a. what is the probability of getting more than 12,000 hits? b. what is the probability of getting fewer than 9,000 hits?
Akshay Reply
Bhartdarshan'is an internet-based travel agency wherein customer can see videos of the cities they plan to visit. The number of hits daily is a normally distributed random variable with a mean of 10,000 and a standard deviation of 2,400. a. What is the probability of getting more than 12,000 hits
Akshay
1
Bright
Sorry i want to learn more about this question
Bright
Someone help
Bright
a= 0.20233 b=0.3384
Sufiyan
a
Shaynaynay
How do I interpret level of significance?
Mohd Reply
It depends on your business problem or in Machine Learning you could use ROC- AUC cruve to decide the threshold value
Shivam
how skewness and kurtosis are used in statistics
Owen Reply
yes what is it
Taneeya
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, Fundamentals of digital signal processing lab. OpenStax CNX. Jan 03, 2006 Download for free at http://cnx.org/content/col10303/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of digital signal processing lab' conversation and receive update notifications?

Ask