<< 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

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
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