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

From ESE497 Wiki
Jump to navigationJump to search
Line 39: Line 39:
 
** [[media:Data_Acquisition_Basics.pdf|Data Acquisition Basics]]
 
** [[media:Data_Acquisition_Basics.pdf|Data Acquisition Basics]]
 
*** Homework 4 - Finish exercise
 
*** Homework 4 - Finish exercise
*** Homework 5 (due 2/10/2010)
+
*** Homework 5
 
**** Connect wires from A00 and AO1 to AI0+ and AI1+ (remove wire from Banana A to AI0+). Make sure that the Prototyping Power is on. Modify your vi from Homework 4 to collect samples from both AI0 and AI1. Then open  [[media:DelayedChirp2DAC.zip|DelayedChirp2DAC.vi]] and run this vi. You shouldn't modifiy DelayedChirp2Dac.vi. Run your modified Homework 4 vi and 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.  
 
**** Connect wires from A00 and AO1 to AI0+ and AI1+ (remove wire from Banana A to AI0+). Make sure that the Prototyping Power is on. Modify your vi from Homework 4 to collect samples from both AI0 and AI1. Then open  [[media:DelayedChirp2DAC.zip|DelayedChirp2DAC.vi]] and run this vi. You shouldn't modifiy DelayedChirp2Dac.vi. Run your modified Homework 4 vi and 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.
 
**** 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.

Revision as of 14:27, 27 January 2011

IMG 1248.jpg

The Robotics Sensing Training Course was created for students who wish to do Undergraduate Research projects in Robotic Sensing under Professor Nehorai, the ESE Department Chair. This course is offered as ESE497 (Section 27) for 2 credits and is typically offered in the spring and summer. Students will learn how to implement sensor array signal processing algorithms on the LabVIEW for Robotics Starter Kit robots shown above using both Matlab and LabVIEW. Students can then apply this knowledge to individual research projects in Robotic Sensing in subsequent semesters.

Logistics

  • Meeting Time: Tuesday, Thursday 8:30-10 am in Bryan 316 from 1/18 - 4/28
  • Holidays: 3/14 - 3/18
  • Instructors: Jim Hahn, Ed Richter
  • Faculty Supervisor: Arye Nehorai
  • Syllabus
  • Expectations: Each student needs to work 10 hours/week in order to earn the 2 credits for ESE497. In the summer, the expectation is 20 hours/week. That is, students who earn an A will spend many unsupervised hours outside of the class meeting times. In Part 1 of the class, homework will be assigned and is due during the next class meeting. The project (Part2 below) should be completed by the end of the semester.

Course Details

Lecture Notes

  • Topic 1: Acoustic Source Location Background and Theory
  • Topic 2: Data Acquisition Basics
    • LabVIEW Tutorial
      • Code up examples in LabVIEW for slides 11, 14, 27, 31, 36, 38, 41. Put each one in a separate VI and demo to me or T/A.
      • Configure LabVIEW options as shown in slides 15-17
      • Exercises 1,2,3
    • Homework 3 - Finish Exercises
    • Assign Part 2 - Simulation - due Feb. 3
    • Additional Resources
    • Data Acquisition Basics
      • Homework 4 - Finish exercise
      • Homework 5
        • Connect wires from A00 and AO1 to AI0+ and AI1+ (remove wire from Banana A to AI0+). Make sure that the Prototyping Power is on. Modify your vi from Homework 4 to collect samples from both AI0 and AI1. Then open DelayedChirp2DAC.vi and run this vi. You shouldn't modifiy DelayedChirp2Dac.vi. Run your modified Homework 4 vi and 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 & Corr -> Cross Correlation
            • This function requires that you extract the 2 channels from the DDT. To do this, use Functions -> Express -> Sig Manip -> From DDT -> Single Waveform -> Channel 0 and then again for Channel 1. Connect the outputs of these to the X and Y inputs.
            • Before you plot the Cross Correlation, extract the 1D array of scalars using the From DDT so that the X-Axis is in samples.
            • Look at the help on the Cross Correlation for details.
        • 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
    • DSP Lecture by Dr. Jim Hahn
    • Tutorial (for reference)
      • Homework 6
      • Homework 7- Use the Signal Processing Palette in LabVIEW to generate 2 sinusoid waveforms (Signal Processing -> Waveform Generation -> Sine Waveform) with two different frequencies. Add these together and filter this signal twice to obtain the two sinusoid signals corresponding to two frequencies of the input signals. Then, add (as in addition) Gaussian White Noise to this signal (Signal Processing -> Waveform Generation -> Gaussian White noise). Plot the spectrum (Express-> Signal Analysis -> Spectral) of this signal and identify the frequencies corresponding to signal and noise. Use an appropriate filter (Express -> Signal Analysis -> Filter) to extract the original 2 signals. 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.