DOC PREVIEW
Rose-Hulman EM 406 - Experimental Determination of Frequency Response

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EM 406 Vibrations LAB 2: Experimental Determination of Frequency Response Objectives 1. Take frequency response data (magnitude only, one frequency at a time) 2. Collect swept sin data at two different rates (70 seconds, 35 seconds) 3. Generate FRF from swept sin data using tfestimate (70 second data) In this lab we will be experimentally determining the frequency response of a mass-spring-damper system and then constructing a frequency response plot to visually convey this information. We will be using the experimental setups in C-116. Figure 1 show one of the carts of the system you will be using in this lab. This cart is located between two springs and slides on bearings. The position of the cart is measured by an encoder which is located behind the cart. Figure 1. One of three carts in the mass/spring/damper system. Each cart is connected via springs, and the position of each carts is measured by an encoder . To measure the frequency response we will have the motor generate an input sinusoid with a known frequency and known amplitude. This input signal will be applied to the first cart via a rack and pinion mechanism, as shown in Figure 2. The system will record the amplitude of this input signal as well as the positions of each of the carts in the system as a function of time. These cart positions will initially display transient responses, which will decay away. The cart positions will eventually oscillate with the same frequency as the input signal. However, it is likely that the positions of the carts will not have the same amplitude as the input sinusoid and there may be a phase shift between the input signal and the positions of the carts. It is this change in amplitude and phase between the input signal and output signals (the positions of the carts) as a function of frequency that the frequency-response plot conveys graphically. We will only use the first cart for today’s lab. Next week we will use this data to be sure to save it.Figure 2. The rack and pinion (at the end of the spring on the far left) connecting the motor to the first cart For you to do in lab: Getting Started 1. Set up the environment. Configure the hardware in 1 DOF (degrees of freedom) mode with two 500 g brass masses on the first carriage. Use the heavy spring to connect the cart to ground. Disconnect the damper. Ask your instructor for help if you are not sure how to configure the station. Log on the computer and start MATLAB 6.5.1 using the desktop icon. In the MATLAB Current Directory window, navigate to the C:\Documents and Settings\student\Desktop\EM406 directory. Open the Simulink model (not the directory) ‘lab_two_sin.mdl’. Also open the model ‘ECPDSPResetmdl.mdl’. 2. For each response you will need to do the following: Make sure the interface box is energized (black button). In ‘ECPDSPResetmdl.mdl’ ensure the External/Normal window shows ‘External’. Push the ‘Connect to Target’ button. The ‘Play’ button should become black. Push the black ‘Play’ button and wait about one second. The encoders are now reset. Now in ‘lab_two_sin.mdl’ ensure the External/Normal window shows ‘External’. Push the ‘Connect to Target’ button. The ‘Play’ button should become black. Push the black ‘Play’ button and watch the response. If you get ‘Internal Error’ when pushing the ‘Connect to Target’ button, simply try again. Errors reading ‘could not execute target data map file’ indicate that you are working in the wrong directory. Change the working directory (at the top of the MATLAB command window to ‘C:\Documents and Settings\student\Desktop\Em406 and try again. If you get no response, or a very noisy response, try the following: a. Check that the ECP interface is on (you did press the black button, didn’t you?). b. Are there cables connected to the system?c. Is the correct controller personality file loaded? Exit MATLAB and start the ECP executive, under Start→Programs→ECP→ECP32 Utility→Download Controller Personality Files and load the file C: Program files\ECP System\en\m210_rtwt_3.pmc d. Close the ECP application, restart MATLAB, open the Simulink models, and try again. e. If the software still does not detect cart motion, then contact your instructor. In most cases you should not have to use the ‘Build’ button unless Simulink gives you an error message declaring that the model needs to be rebuilt. 3. After each run, your data will be stored in the MATLAB workspace. You can use a command like the following to save your data to disk: >> save run1hz This saves the current workspace as ‘run1hz.mat’ in the current working directory. Be sure to save the workspace after each run. After you are done with the experiment, you will want to move your data to a different directory, flash drive, or your afs workspace. The third option can be done by using SecureFX. Procedure for taking data 1. For frequencies 1.0 Hz, 1.5 Hz, 2.0 Hz, 2.5 Hz … 7 Hz, run the system and collect the data. The simulation is set to run for 20 seconds. In most cases this time frame will allow the system to reach steady state. You can change the frequency by double-clicking the ‘Sine Wave’ block and setting the desired frequency. Note that the frequency is set as x*(2*pi), so that x is the input frequency in Hz. The amplitude is initially set at 0.01. Change this as needed to produce a response that is large enough to record, but not so large that the carts are pushed into the stops. Be sure to record the input amplitude for each run on the lab worksheet. Clearly doing this one frequency at a time is a very time consuming process. In practice one would use an input such as band limited random noise or a swept sine (a chirp) and then use the fast Fourier transform (FFT) to determine the auto- and cross-spectra which can be used to determine the frequency response functions (FRFs). The frequency response plots we have been talking about in class are simply plots of the magnitude and phase of the FRFs. 2. Input a swept sine. Open the Simulink model (not the directory) ‘lab_two_swept.mdl’. This model is designed to input a swept sign with frequencies from 0.1 to 7.0 Hz over a period of 70s. As usual run ‘ECPDSPResetmdl.mdl’ prior to lab_two_swept.mdl. To find the approximate frequency at any instant in time simply divide the time by 10. Watch the system


View Full Document

Rose-Hulman EM 406 - Experimental Determination of Frequency Response

Download Experimental Determination of Frequency Response
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Experimental Determination of Frequency Response and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Experimental Determination of Frequency Response 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?