Difference between revisions of "ESE297 - Intro to Undergraduate Research"

From ESE497 Wiki
Jump to navigationJump to search
Line 36: Line 36:
 
****[[Media:task1.zip|Solution]]
 
****[[Media:task1.zip|Solution]]
 
***Task 7- Use the signal processing palette in lab view to generate sinusoid waveform (Signal Processing -> Waveform Generation -> Sine Waveform) with two different frequencies and filter this signal to obtain two sinusoid signals corresponding to two frequencies of the input signal. Add Gaussian noise to this signal (Signal Processing -> Waveform Generation -> Gaussian White noise). Plot the spectrum (Express-> Signal Analysis -> Spectrum) of this signal and identify the frequencies corresponding to signal and noise. Use an appropriate filter (Express -> Signal Analysis -> Filter) to extract the original signal. Repeat with various filters and with increasing noise power. What is the relationship between the Standard Deviation of the WGN and the amplitude of the noise (Express -> Signal Analysis -> Histogram might help)? Note: If your graph X-axis is in absolute time instead of seconds, right click on the graph and select Properties -> Display Format -> X-Axis and set it to SI units.
 
***Task 7- Use the signal processing palette in lab view to generate sinusoid waveform (Signal Processing -> Waveform Generation -> Sine Waveform) with two different frequencies and filter this signal to obtain two sinusoid signals corresponding to two frequencies of the input signal. Add Gaussian noise to this signal (Signal Processing -> Waveform Generation -> Gaussian White noise). Plot the spectrum (Express-> Signal Analysis -> Spectrum) of this signal and identify the frequencies corresponding to signal and noise. Use an appropriate filter (Express -> Signal Analysis -> Filter) to extract the original signal. Repeat with various filters and with increasing noise power. What is the relationship between the Standard Deviation of the WGN and the amplitude of the noise (Express -> Signal Analysis -> Histogram might help)? Note: If your graph X-axis is in absolute time instead of seconds, right click on the graph and select Properties -> Display Format -> X-Axis and set it to SI units.
* Topic 4: [[Media:LabVIEW_Robotics_Tutorial.pdf‎| LabVIEW for Robotics Starter Kit Tutorial]]
+
== LabVIEW for Robotics Starter Kit ==
 +
* [[Media:LabVIEW_Robotics_Tutorial.pdf‎| LabVIEW for Robotics Starter Kit Tutorial]]
 +
* [http://www.ni.com/pdf/manuals/375052b.pdf| sbRIO-9631 User Manual]
 
** Getting Started Tutorial - Running the demo Roaming.vi (obstacle avoidance)
 
** Getting Started Tutorial - Running the demo Roaming.vi (obstacle avoidance)
 
** Simple FPGA, LabVIEW RT Example
 
** Simple FPGA, LabVIEW RT Example
*** Tutorial from National Instruments - this is written for a different board but there is still a lot of good reference material in this.
+
*** [ftp://ftp.ni.com/pub/devzone/tut/sbrio_tutorial.pdf | sbRIO Tutorial from National Instruments] - this is written for a different board but there is still a lot of good reference material in this.
 
*** Blink.vi - add this to your project under FPGA Target
 
*** Blink.vi - add this to your project under FPGA Target
 
*** BlinkRT.vi - add this to your project under Starter Kit sbRIO
 
*** BlinkRT.vi - add this to your project under Starter Kit sbRIO
 
**
 
**

Revision as of 20:21, 18 February 2010

  • Meeting Time: Wednesday 8:30 - 10 am
  • Office Hours: Monday 8:30 - 10 am or by appointment
  • Team Members: Alex Gu, Andrew Wiens, Alexander Benjamin, Anisha Rastogi, Charlie Kang, Edison Kociu, Lisa Goldman, Michael Scholl, Sam Fok, Sarah Fern, Sophia (Xinyuan) Cui, Will Donnelly
  • PhD Supervisor: Sandeep, Andrew, Phani
  • Faculty Supervisor: Arye Nehorai
  • Goal:

Lecture Notes

  • Topic 1: Acoustic Source Location Background and Theory
  • Topic 2: Data Acquisition Basics
    • LabVIEW Tutorial
      • Task 3 - Finish Exercises
    • Data Acquisition Basics
      • Task 4 - Finish exercise
      • Task 5 (due 2/10/2010)
        • Connect wires from A00 and AO1 to AI0+ and AI1+. Make sure that the Prototyping Power is on. Modify your vi to collect samples from both AI0 and AI1. Then open DelayedChirp2DAC.vi and run this vi. Zoom in in the time and frequency domain to examine the waveforms in detail. Describe in detail what you see. Measure the difference in time between both channels. Hint: Start and stop your Data Acquisition vi until the entire signal is in the middle of the buffer.
        • Plot the Cross Correlation of the 2 channels and see if the peak is shifted from the middle, the number of samples you measured from the previous step.
          • Hints:
            • Functions -> Express -> Conv & Coff -> Corss Correlation
            • This function requires that you extract the 2 channels from the DDT. To do this, use Functiions -> Express -> Sig Manip -> Single Waveform -> Channel 0 and then again for Channel 1. Connect the outputs of these to the X and Y inputs.
        • Plot the Spectrogram of Channel 0.
          • Hint: There is a good Spectrogram example that ships with LabVIEW. Go to Help -> Find Examples... and search for Spectrogram -> STFT Spectrogram Demo.vi. You can copy from this example and paste it into your code.
  • Topic 3: Filters Basics
    • Tutorial
      • Task 6- Finish exercise from tutorial.
      • Task 7- Use the signal processing palette in lab view to generate sinusoid waveform (Signal Processing -> Waveform Generation -> Sine Waveform) with two different frequencies and filter this signal to obtain two sinusoid signals corresponding to two frequencies of the input signal. Add Gaussian noise to this signal (Signal Processing -> Waveform Generation -> Gaussian White noise). Plot the spectrum (Express-> Signal Analysis -> Spectrum) of this signal and identify the frequencies corresponding to signal and noise. Use an appropriate filter (Express -> Signal Analysis -> Filter) to extract the original signal. Repeat with various filters and with increasing noise power. What is the relationship between the Standard Deviation of the WGN and the amplitude of the noise (Express -> Signal Analysis -> Histogram might help)? Note: If your graph X-axis is in absolute time instead of seconds, right click on the graph and select Properties -> Display Format -> X-Axis and set it to SI units.

LabVIEW for Robotics Starter Kit