Lab%205%20ME104%202008

Lab%205%20ME104%202008 - ME 104 Sensors and Actuators...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ME 104 Sensors and Actuators Laboratory 5 Frequency Response Department of Mechanical Engineering University of California, Santa Barbara (Rev. 2007)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Introduction In this laboratory, you will use a LabVIEW VI that will enable you to obtain the frequency response (magnitude and phase) of an external system. You will use this VI to obtain (separately) the frequency response of an analog low-pass filter, an analog high- pass filter, an analog band-pass filter, and a DC motor. Background Reading Please read the following material prior to this lab: 1. Histand and Alciatore, Introduction to Mechatronics , Sections 4.4-4.5 and Section 4.10.2 (Up to and including Equation 4.73). 2. DC Motor Control Module User Manual , Pages 3-7 and 14-16 , LJ Technical Systems Inc. Pre-Lab 1. Given 10-k resistors and 0.1- μ F capacitors, determine how to build a. an RC low-pass filter with a cut-off frequency of 1000 rad/s (159 Hz) b. an RC high-pass filter with a cut-off frequency of 1000 rad/s (159 Hz) c. an RC bandpass filter with a pass-band of 159 to 339 Hz. 2. Please review the VI, lab5_ex1.vi , for this lab to ensure your understanding of them prior to this lab. The share drive for this course is accessible from the computers in the CAD lab and Rm. 2218. For Lab 5, go to My Computer >> Network Drives >> melab >> ME 104 >> Lab 5. Figure 1. Block diagram of VI for Lab 5, lab5_ex1.vi 2
Background image of page 2
Experiment 1: Run a VI for Computing Frequency Response In this experiment, you will use a LabVIEW VI to compute the frequency response of an external system. DAQ board PC D/A Converter A/D Converter External System Figure 2. Measuring the frequency response of an external system Specify Sampling Parameters 3. Open lab5_ex1.vi provided for Experiment 1. Go to My Computer >> Network Drives >> melab >> ME 104 >> Lab 5. 4. Go to the front panel. Enter the values for the sampling parameters as indicated in Table 1. Table 1. Sampling Parameters for Lab 5 VI Parameter Value # Samples 2048 Sampling Frequency 1000 Averages 20 This specifies that you will generate and collect 2048 samples at a rate of 1000 samples per second (1 kS/s) and you will do this 20 times. Most digital signal processing algorithms (such as computation of frequency response) work fastest when the number of samples is a power of 2. Run Your VI 5. Run your VI by clicking the Run button. The VI will run for just over 40 seconds before the frequency response is displayed. 6. Save this VI as yourname_lab5_ex1.vi. 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Figure 3. Display on yourname_lab5_ex1.vi after running it without any connections to the connector block. Your frequency response indicates that there is no system! 1 This should come as no surprise since you have not connected anything to your connector block. Notice that the maximum frequency displayed on your frequency response plots is 500 Hz, which is ½ of the sampling frequency of 1000 Hz. Experiment 2: Obtain the Frequency Response of an Analog
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 14

Lab%205%20ME104%202008 - ME 104 Sensors and Actuators...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online