ME855: Digital Data Acquisition and Control
Spring 2003

Homework assignments from text (read Syllabus)
    Homework #1 Due 1/16/03: P2.2, P2.3, P2.4
    Homework #2 Due 1/21/03: P3.2, P3.3, P4.1, & P4.3
    Homework #3 Due 1/28/03: P5.5, P6.2, P6.5
    Homework #4 Due   2/3/03: Read Chapters 7 and 9, Do P7.2, P9.2, P9.3


    Homework #5 Due 2/10/03: Read Chapter 11, do the (2) problems below Due 2/10/03
HW5-1)  For the data points:
 
X
=
1
2
2.5
3
5
7
8.2
9.1
9.5
10
Y
=
-1
0
-0.5
2.3
1
0.1
-2.3
-3
-3.6
-4
    Use LabVIEW to graph both the data and a 2nd order polynomial Least squared error fit to the data.  Display the curve fit polynomial coefficients.

HW5-2)  Simulate and plot the vertical motion of a 3,200 lb automobile with a (vertical) suspension stiffness of 10 lbf/inch and a damping ratio of 0.5  Use an initial displacement of -2 inches and plot the response for 10 seconds.



Homework #6 Due 2/17/03:
    Read pages 444-481
    Develop the (2) VI's below to demonstrate the two primary sources of error in spectral analysis.

HW6-1) Write a LabVIEW vi that demonstrates the "Aliasing" phenomenon using the FFT of sinusoidal data.  This vi should be self documenting and provide sufficient information on the front panel to explain both what the user should do and what the result means.

HW6-2) Write a LabVIEW vi that demonstrates the "Leakage" phenomenonthe FFT of sinusoidal data.  Again, this vi should be self documenting and provide sufficient information on the front panel to explain both what the user should do and what the result means.



Homework #7 Due 2/27/03:

Read Chapter 8, pages 286-339
Using the computers in the Vibration and Controls Laboratory, Room1536EB

HW7-1) Following the directions starting on page 318, use "MAX" to define a virtual channel named "Temperature" on Channel 0 of the DAQ board.  This channel corresponds to the semiconductor integrated circuit sensor connected to channel 0 on the BNC-2120 (See BNC-2120 handout ) The IC sensor voltage calibration is Deg C = Volts x 100.

HW7-2) Write a vi that logs the measured temperature from the BNC-2120 sensor once per second for a total of 10 samples and plots that data showing the data and time the data was collected.  From the precision of the A/D board in the lab computers (see PCI-6023 data sheet ), and the data shown in "MAX", indicate the resolution of your temperature measurement on the front panel.  Tell me in your email whether this resolution agrees with what you measured when you run your VI?



Homework #8 Due 3/25/03

HW8-1)  Write a sub-VI that computes the a) "Magnitude" using Root-Mean-Square and b)  "Frequency" using zero crossings through the mean value for an input waveform.  You should test this VI with a computed waveformsuch as a sinewave.  Submit your test VI as an upper level VI in a library that includes your sub-VI. Document these VI's.

HW8-2) Write a sub-VI that computes the a) "Magnitude" and b) "Frequency" of an input waveform using the LabVIEW "Complex FFT" VI.  You should test this VI with a computed waveformsuch as a sinewave.  Submit your test VI as an upper level VI in a library that includes your sub-VI. Document these VI's.

HW8-3) Write a VI that measures an analog waveform using the A/D and then calls to both sub-VI's from HW8-1 and HW8-2  to compare the computed values generated by both methods.  You should use the signal generator on the BNC-2120 to generate test waveforms.  Try changing both the frequency and amplitude of the analog signal and compare the measurements under different conditions.  Are your results subject to "aliasing' and/or leakage?



Homework #9 Due 4/1/03

HW9-1)  Using the device drivers for the Keithley Digital Multimeters (DMM) models 192, 195 and 196, write a sub-VI that provides all modes of instrument control for the Keithley Model 175 DMM.   Submit your test VI as an upper level VI in a library that includes your sub-VI. Document these VI's.