Download Dynamic Systems Lab: Dynamic Systems Response | M E 345 and more Lab Reports Mechanical Engineering in PDF only on Docsity!
Name: ______________________________________________
Date of lab: ______________________ Section number: M E 345._______ Lab 9
Precalculations – Individual Portion
Dynamic Systems Lab: Dynamic Systems Response
Precalculations Score (for instructor or TA use only): (^) _____ / 20
- Calculate the time constant for a first-order low-pass RC filter circuit. Give your answer in equation form,
namely τ as a function of resistance R and capacitance C.
- For a low-pass filter with R = 100 kohm and C = 1.0 microfarad, calculate the time constant in seconds. Show all unit conversions.
- Suppose the peak displacement amplitude is measured over some finite time for an oscillating spring-mass- damper system. The first peak amplitude y 1 is 1.58 cm. The twentieth peak amplitude y 20 is 0.61 cm. Calculate the log decrement and the damping ratio for this case, showing all your work.
Cover Page for
Lab 9
Lab Report – Group Portion
Dynamic Systems Lab: Dynamic Systems Response
Name 1: ___________________________________________________ Section M E 345._______
Name 2: ___________________________________________________ Section M E 345._______
Name 3: ___________________________________________________ Section M E 345._______
[Name 4: ___________________________________________________ Section M E 345._______ ]
Date when the lab was performed: ______________________
Group Lab Report Score (For instructor or TA use only) :
Lab experiment and results, plots, tables, etc. (^) _____ / 50
Discussion _____ / 20
Neatness & grammar (^) _____ / 10
TOTAL (^) ______ / 80
Comments (For instructor or TA use only) :
NOTE: The instructor or TA reserves the right to deduct points for any of the following:
- Arriving late to lab or leaving before your lab group is finished.
- Not participating in the work of your lab group (freeloading).
- Causing distractions, arguing, or not paying attention during lab.
- Other (at the discretion of the instructor or TA).
Regression analysis can then be used to determine the slope of the resulting best-fit straight line, from which the slope, and therefore the time constant, can be obtained. A plot of error fraction versus time for the sample data is shown to the right. In the range from 0 to about 0.25 seconds, nothing has happened yet, so the error fraction is zero. In the range from about 0.25 to 0.8 seconds, the data decrease quite linearly. At higher values of time, experimental error becomes too great to obtain accurate values of the error fraction. A linear regression analysis was performed only on the data between 0.25 to 0.8 seconds, as indicated by the blue line. It is a simple
matter to calculate the time constant τ
from this least-squares fit. Namely, τ is
equal to the negative of the inverse of the slope of the line. In this particular example, the slope is −8.00 s-1^ , so that
τ = −1/(−8.00 s-1^ ) = 0.125 seconds.
t (s)
ln(Γ)
Second-Order System : In this lab, a mass hung from a spring is given an initial displacement, and allowed to oscillate. This system has a mass, a spring constant, and some internal damping, and thus behaves as a second-order dynamic system. The amplitude of oscillation decays with time, of course, due to the damping, as sketched below.
Time
Output t
T
y 1
y 2 y 3 y 4
i = 1
i = 2 i = 3 i = 4
In the figure, yi is the amplitude of peak i ( i is an integer counting each peak), n is the number of cycles (peak-to-peak oscillation amplitude) being considered ( n = 3 in the sketch), t is the time it takes for n cycles to occur, and T is the period of oscillation ( T = t / n ), namely, the time period of one cycle. Caution : In the analysis here, it is assumed that y oscillates about zero. If there is some offset in y , the yi amplitude must be defined relative to that offset.
A common method for analyzing the damping of an oscillation is the logarithmic decrement method , for which the
following relations apply: ln^ i i n
y n y
δ
d^2 fd T
π ω = = π , ( )
(^2 ) 2
δ ς π δ
, and (^2 ) 1
d n fn
ω ω π ς
. The
parameters are defined as follows: ζ is the damping ratio , δ is the log decrement , ω n is the undamped natural frequency (actually an angular frequency, in radians per second), and ω d is the damped natural frequency (also in radians per second). Angular frequency can easily be converted to the more common physical frequency (cycles per second or hertz) since there are 2 π radians per cycle or period. Thus, fn and fd are the undamped natural physical frequency and damped natural physical frequency , respectively, in Hz. Note from the above equations that the damped natural physical frequency is simply 1/ T ; this is the frequency actually observed in the experiment. For good accuracy in an experiment such as this, at least 20 oscillation cycles should be measured ( n > 19), if possible.
Objectives
- Obtain a better understanding of input impedance.
- Measure the time response of a simple RC low-pass filter.
- Use the error fraction method to calculate the time constant of the low-pass filter, and compare with theoretical predictions.
- Investigate the second-order dynamic system performance of a second-order low-pass filter.
- Investigate the second-order dynamic system performance of an oscillating spring-mass-damper system.
- Investigate how changing the mass hanging from the spring affects the dynamic performance of the system.
Equipment
- powered breadboard (with +5 V DC power supply and jumper wires)
- BNC, banana, and alligator cables
- capacitor ( C approximately 1 microfarad)
- decade resistance box
- inductor ( L approximately 1 henry)
- digital multimeter (DMM)
- test stand with triangular base, various hooks, rods, ruler, clamps, and large spring
- mass set with hooks (10 g to 1000 g)
- stopwatch or wristwatch with stopwatch mode
- computer with digital data acquisition system and virtual spectrum analyzer (from a previous lab)
Procedure Input Impedance
- Set up the powered breadboard with a ground bus and a +5 V bus.
- Using the DMM, measure and record the actual voltage from the 5 V power supply – we call this voltage V i. Measured power supply voltage V i = ___________ V
- Dial in 500 ohms on the decade resistance box. Measure and record the resistance (we call this R 1 ).
Measured resistance R 1 = ___________ Ω
- Connect one terminal of the decade resistance box to the 5 V bus. Connect the other terminal of the decade resistance box to the positive (red) lead of the DMM.
- Connect the common (black) lead of the DMM to the ground bus. (See the circuit diagram in the Introduction
- this is the circuit you should now have.)
- Record both resistance R 1 (as read from the decade resistance box dials) and voltage output V o (as measured by the DMM) onto an Excel spreadsheet.
- Repeat for several values of resistance, namely, 1000, 10,000, 100,000, 1,000,000, and 9,000,000 ohms. Enter R 1 and V o in two different columns in the spreadsheet.
- From the equation for the voltage divider (see the circuit diagram in the Introduction), derive an equation for R 2 as a function of V i , V o , and R 1. Show your results here:
- Create another column in Excel to calculate the input impedance of the DMM (we call this R 2 ) for each different value of resistance. Print out your spreadsheet table and attach to your lab report. See attached, Table number ___________
- Wait about 2 seconds.
- Plunge the jumper wire from the +5V source into the filter input bus to connect the circuit. [Don’t worry if the green light on the “save data to file” button goes off – do not hit the “save data to file” button again.]
- Wait (≈ 10 s) for the screen to refresh, showing the first-order behavior (slow increase to the final voltage).
- Hit the Print Screen button on the keyboard to capture the image. OR, click on the time trace and Edit- Copy.
- Data should have been placed into the file that was specified in the block diagram – you can verify by opening the file in Excel, Notepad, etc.
- When a nice time trace has been recorded, open the spreadsheet file to verify that the data have been correctly written. (It is a good idea to plot the data to make sure that they were written to the file properly.)
- Copy and paste the time trace from the virtual instrument into a Word document, and attach a printout of it for the lab report. See attached, Figure number ___________
- Calculate the theoretical time constant for the particular resistor and capacitor used in the low-pass filter experiment. Show all your work here, including unit conversions.
Theoretical time constant τtheoretical = ___________ s
- Calculate the experimental time constant of the low-pass filter circuit, using the error fraction technique. (It is suggested that this be done in Excel. Attach a printout of the key portion(s) of your spreadsheet to the lab report.) On the plot of ln(Γ) vs. t , mark the region where regression analysis was performed.
Experimental time constant τexperimental = ___________ s
Second-Order System – Low-Pass Filter
- Add the inductor in series with the resistor to create a second-order low-pass filter, as discussed in the filter learning module. The inductor changes the dynamic system from first-order to second-order.
- Using the LabVIEW virtual instrument, repeat the sudden step change input as previously (zero the supply voltage jumper wire, wait till the capacitor discharges, and then connect it quickly). Adjust the resistance until you can clearly see underdamped second-order dynamic system behavior. A resistance in the range 10 to 100 Ω works best. Adjust the sampling frequency and # samples until you see a good time trace. Note : The damped natural frequency is > 100 Hz, so you need to sample at a fairly high frequency to see the response.
- When you have an output that shows underdamped response, record the value of resistance that you used.
Measured resistance R = ___________ Ω
- Copy and paste the time trace from the virtual instrument into a Word document, and attach a printout of it for the lab report. [Hitting the Print Screen key on the keyboard at just the right time should do the trick.] If you are not fast enough to capture the screen image, you may draw a sketch instead. See attached, Figure number ___________
- Exit the virtual instrument. You are finished with LabVIEW.
- Remove the jumper wires and turn off the power supply. You are finished with the breadboard.
Second-Order System – Spring, Mass, Damper
- Set up the test stand so that the spring hangs vertically, and so that the ruler is also vertical (similar to a previous lab). The ruler should be directly behind the spring, but not close enough to touch the spring or the masses that are to be hung from the bottom of the spring.
- Hang a mass of m = 300 g to the bottom of the spring. Hint : It is best to connect the 200 g mass and the 100 g mass in series as sketched.
- Adjust the vertical position of the ruler when the system is stationary such that the bottom of the spring is right on a centimeter mark (e.g., on 30.0 cm rather than 28.7 cm). This makes it easier to calculate the amplitude of the oscillating mass.
- Using the ruler as a guide, pull the mass down approximately 3.0 centimeters from its stationary position, and let go. Record the initial amplitude. Initial amplitude yi = ___________ cm
- Have one lab group member measure time with a stopwatch or with a wristwatch or PDA operating in stopwatch mode, and have that same person or another lab group member count oscillations of the system. Another person should monitor the peak displacement of the bottom of the spring.
- Count and time n oscillations ( n = 50 is recommended), and record the total time. At the exact moment when you have counted n oscillations, carefully measure (with the ruler) the oscillation amplitude yi + n after n oscillations. This will be compared to the initial oscillation amplitude of yi = 3.0 cm (6.0 cm peak to peak). Number of timed oscillations n = ___________ Measured time t total for n oscillations = ___________ s Measured peak amplitude y (^) i + n after n oscillations = ___________ cm
- Repeat a couple times for better overall accuracy, and to test the repeatability of the data. Record all measurements ( m , n , t total , yi , and yi + n ) in an Excel spreadsheet.
- Repeat this procedure for loadings of 350, 400, 450, 500, and 550 grams. Do not exceed 550 grams, or you will overstretch and permanently damage the spring! Do at least two measurements for each loading, and enter all cases into the spreadsheet.
- Create the following columns (plus any intermediate columns as necessary) in your spreadsheet. Use the equations provided in the Introduction to calculate some of the parameters. o m = applied mass (kg) o n = number of oscillations (typically 50, if you followed the directions) o t total = total time for n oscillations (s) o yi = initial peak amplitude of oscillation (cm) o yi + n = peak amplitude of oscillation after n oscillations (cm) o T = period of one oscillation (s) [ T = t total / n ] o f (^) d = damped natural frequency (actual measured frequency) (Hz) [ fd = 1/ T ] o δ = log decrement (dimensionless) o ζ = damping ratio (dimensionless) o f (^) n = undamped natural frequency (Hz) o k = spring constant (N/m) o c = damping coefficient (N⋅s/m)
- Calculate the average value of spring constant k and damping coefficient c (average of all data points).
- Plot oscillation frequency as a function of the mass hanging from the spring. Use symbols only (no lines), and plot all data points, including any repeats.
- Attach a printout of your spreadsheet and the plot (these can be on the same page to save paper). See attached spreadsheet printout and plot, Figure number ___________