DIGITAL MEASUREMENT APPLICATION

W. J. Devenport and S.R. Edwards
Last revised December 22nd, 2006


1. Introduction

The purpose of this lab period is to apply the digital measurement and analysis capabilities to which you have been introduced to the dynamic beam response experiment you studied earlier using analogue instrumentation. A digital-based measurement and control system allows much greater accuracy and flexibility than the analogue instrumentation, and also opens up new possibilities for determining or evaluating the dynamic response of this structural system.

You are expected to perform this experiment as you would any of the other experiments in the course. Specifically, you will need to:

During the experiment you complete the logbook with your experiences, the data you collected, the analysis performed and conclusions drawn. As in the other experiments your grade is based on your logbook, including the preparation you submit electronically before the start of the lab.


2. LabView Programs for Experiment 6

As a result of your work in the 3rd and 4th instrumentation lab periods, you should have at least the following two basic data acquisition and analysis programs.

1. Time domain code. This code measures two signals simultaneously, graphs them against time, and against each other (as a Lissajous figure) and saves the data to disk. The code also includes tone analysis of the two signals which (assuming they are sinusoids) extracts and displays their frequencies, amplitudes and the phase difference between them. You should be comfortable with how to use the code, how to vary the sampling rate and number of samples taken, and how to read and interpret the data saved on disk in another application, such as Excel.

2. Frequency domain code. This code takes data on at least one channel, computes the spectrum of that signal, and saves the spectrum. You should be comfortable with how to use the code, how to change the sampling rate, how to change the kind of spectrum computed, and how to interpret the spectral values.

Note that these are the minimum needed to re-run experiment 6. You may have been given additional codes and/or an opportunity to program your own enhancements. Such enhancements are greatly encouraged.


3. Using the Programs

The following section details a series of suggestions on how you may use these programs, and the capabilities they provide, to investigate the dynamic response characteristics of the beam structure of experiment 6. In their basic form these programs work with and display voltages so, unless you have enhanced them to do otherwise, you will need to account for the shaker and proximitor calibrations when using their results to calculate the characteristics of the beam system. Note that most strategies for determining the response characteristics will entail using these codes in more than one way. You should also consider combining these strategies with those ideas from the experiment 6 write up, such as varying the mass.

3.1 Time domain code
3.1.1 Rerunning strategies from experiment 6
The time domain code can easily be thought of as a replacement for the oscilloscope and counter you used the first time you ran experiment 6. With the analogue function generator providing a sinusoidal excitation signal to the structure, the program can be used to display both the excitation and response and to determine their amplitudes, phases and frequencies. The difference is that with digital data acquisition the signals can be measured much more accurately, and examined in much greater detail. Tone analysis provides measurements of the amplitude, frequency and phase (in particular) that are at least an order of magnitude more precise than can be read off an oscilloscope screen. Since the program can save the excitation and response signals, they can be loaded back into your logbook and examined and plotted there in much more detail. This feature, for example, can be used to make an exact logbook record of excitation and response at particular key frequencies, such as the natural frequency, or examine other details such as the accuracy of the tone analysis results and whether either signal is contaminated by noise.

The additional accuracy is also significant when it comes to designing an experiment to determine the dynamic response characteristics of the beam structure. At the lowest level, you could just repeat the measurements you made with the analogue instrumentation and make a comparison. However, it is important to realize that the additional accuracy may make previously impractical measurements perfectly feasible. A good example is measurements of the behavior of the phase response at high and low frequencies. As discussed in section 2 of experiment 6 (see items (f) and (g) following equation 4), the phase response at high and low frequencies compared to the natural frequency has variations that can be used to help estimate the 3 system parameters. Using these asymptotes as part of an analogue measurement strategy is difficult because phase lag measurements near 0 and -180 degrees are hard to make using an oscilloscope. With the digital system you have, they are now straightforward. Another example is the high frequency asymptote of the dynamic flexibility (see item (f)), or the low frequency asymptote of the dynamic flexibility (item (a)).

3.2.2 Using impulsive excitation
One important advantage of the time domain code over the analogue instrumentation is that it can be used to record and measure transient behavior. In other words we can consider solutions to the governing equation of the structure,

m +b +kx = f(t)..................(1)

that involve non-sinusoidal forcing f(t). The simplest such solution is known as 'free vibration decay'. Free vibration decay occurs when we give the structure an initial displacement or velocity that starts it vibrating and we then allow that vibration to decay without applying any force (i.e. f(t) is zero, but there are initial conditions on x and ).

To get free-vibration decay you first need to turn the shaker coil off, since you don't want to apply any force. You could then create an initial displacement (but no initial velocity) simply by deflecting the beam (say with a finger) and then letting it go. Alternatively, you could create an initial velocity (but no displacement) by gently tapping the undeflected beam with a hard object such as the end of a metal tool (you are effectively applying an impulsive force that gets the beam moving). The second of these two options is generally more practical, since holding the end of the beam steady and releasing it cleanly is not easy.

The solution to equation 1 for impulsive excitation (initial velocity but no displacement) of a lightly damped system is,

..................(2)

..................(3)

where wn is the (undamped) natural frequency experiment 6. wn and wd are almost the same for a lightly damped system, like the beam structure. The figure below shows a typical impulse response of the type described by equation 2.

Using the time domain code it should be perfectly possible to record an impulse response like this. Set the sampling rate so you are going to have plenty of points (given the natural frequency of this system, a few hundred Hz should be sufficient). Set the number of samples so that you are going to take several seconds of data. Hit the run button and then, immediately afterwards, tap the beam (this is a two person job). Save the signals, load them into Excel, and plot the response (the signal from the proximiter) in the form of the above graph. To do this you will have to remove the DC offset in the signal (just subtract it), eliminate lots of samples at the start of the signal (recorded before you tapped the beam), and then restrict your plotting to just a few cycles of the vibration. Arrange your plot so the initial excursion is in the positive direction (this may require multiplying the response by -1).

With the impulse response in a convenient form in your logbook, you can now analyze it. First you can get an estimate of the damped natural frequency (and thus the natural frequency since the two are very close) from the time period between two successive peaks. Specifically, looking at equation 2 we will have wd = 2p/(t2-t1). Second, and perhaps most importantly we can relate the rate of decay to the damping. Specifically, taking the logarithm of Equation 2 we can show that,

..................(4)

where x2/x1 is the ratio of the amplitudes of two peaks. Since this is a ratio, and since displacement is proportional to measured voltage, you can calculate this ratio simply as a ratio of voltage amplitudes. Note that equation 4 does not have to be applied to consecutive peaks. You can measure the ratio of voltage amplitude over 10 periods and, as long as you use the time for 10 periods in the denominator, equation 4 should work.

The impulse response measurement can therefore give you an estimate of the natural frequency and, if you already have an estimate of the mass (say from a set of tone measurements as in section 3.1.1), a low uncertainty way of determining the damping. The reason that the uncertainty is low is that you are directly measuring the effect of the damping in controlling the rate of decay of a vibration.

3.2 Frequency Domain Code

Perhaps the most obvious way to use your frequency domain program is as a tool for measuring the frequency, amplitude and phase of the signals generated by sinusoidally exciting the beam structure. However, this is probably not a good strategy first because it will be a lot less convenient than using the tone analysis described above and second because it ignores the most powerful aspect of spectral analysis. Spectral analysis allows us to determine the amplitude and phase of multiple sinusoidal components of a non-sinusoidal signal (unlike tone analysis). This can be very useful in rapidly determining the dynamic response characteristics of a linear system like the beam structure.

Consider again the equations derived in experiment 6 for the behavior of the beam structure in response to a sine wave. These give the ratio between the amplitude of the displacement xm and the amplitude of the force that produces it fm  (the dynamic flexibility) at an angular frequency w as

………….(5)

and the phase lag ym between the displacement fluctuations and the force fluctuations producing them at angular frequency w as

…………(6)

These equations apply not just to a single frequency signals. They also apply to the individual sinusoidal components of a single non-sinusoidal signal containing many frequency components.

Suppose we were to excite the beam structure with a signal containing say five frequencies. If we measure the response to this signal we could then use spectral analysis to separately determine the amplitude and phase of the response to each of the frequency components. This would also work for 10 or 100 or any number of frequencies.

The ideal excitation signal of this type is an impulse - a short sharp spike - just like that discussed in section 3.1.2. One can show that such a signal contains all frequencies with equal amplitude. The response to such a signal therefore also contains all frequencies, but with the amplitudes multiplied by the dynamic flexibility at each frequency. The amplitude spectrum of this response is thus proportional to the dynamic flexibility function (equation 5 above). Using spectral analysis and the right kind of excitation we can therefore, at least in principle, reveal this entire function in a single measurement.

To perform this measurement you will need to record the response (proximeter) signal. You want to set a sampling rate that implies a frequency range in the spectrum that is reasonably expected to fit the response function (say a frequency range of zero to 50Hz). You will need to set the number of samples so that you are going to take several seconds of data. It is very important that you record the whole impulse response (until it decays back to zero). You want to set your spectral analysis to produce amplitude and phase spectra. Since you are expecting to have a response signal that starts and ends at zero, there is no need to use any windowing, so turn it off. Hit the run button and then, immediately afterwards, tap the beam (this is a two person job). Your recorded response function should look something like that below.

The following figure is typical of the type of amplitude spectrum you might first see in LabView.

The problem with this plot is that the spectrum contains a very large value at zero frequency (associated with the big DC offset of the proximitor signal), making it hard to see the rest of the response function. Manually changing the range of the amplitude axis you should be able to get a picture that looks more like that below.

Save the spectrum, and read it into your logbook where you can plot it. Note that the spectrum you measured is only proportional to the dynamic flexibility function. However, there is more than one way you can compare it with equation 5 (which would be an interesting evaluation of the accuracy of the mathematical model that you could do in your logbook). For example, you could normalize the measured spectrum on its value at low frequency, and compare with the equation 5 normalized on the static flexibility (you can try different values for m, b  and k in this equation to see which best fit the data). Alternatively if you have a separate measurement (made, say, using the time domain code) of the static flexibility you can then scale the spectrum to match that value at low frequencies, before comparing with equation 5.

If you are successful in using the frequency domain code in the above way you may consider some further possibilities. One is to consider averaging the amplitude spectrum measured from several impulses to reduce the uncertainty. You would want to take square root of the average of the square of the amplitudes computed from multiple impulses (i.e. RMS averaging). You can do this by loading multiple amplitude spectra into Excel, and doing the averaging there, or by programming the averaging in LabView (this is harder to do, but can make the averaging process much quicker).

A second (advanced) possibility is to consider using the above approach to get the phase lag function (equation 6). In principle this is possible since the all the frequencies contained in the impulse have zero phase (when the phase is measured relative to the time of the impulse). The response to such a signal therefore also contains all frequencies, but with the phases shifted by the phase lag at each frequency. The phase spectrum of the response is the phase lag function (equation 6 above). There is a catch here, however. In the phase spectrum provided by the spectral analysis, the phase is referenced to the start of the measured signal, not the impulse. Unless you are very good at synchronizing the taking of data and the tapping of the beam there will therefore be a time delay. A time delay of Dt between the start of the signal and the start of the impulse adds a linear variation to the phase (in radians) given by Dψ=-ωDt . You could make this correction most easily in Excel. This process will be easier if you have checked the 'Unwrap Phase' box in the Spectral Analysis VI of your code. Be ready to accept significant uncertainty in the phase spectrum, particularly at frequencies where the amplitude is small.


4. Ideas for Your Logbook

Don't forget to include;

Objectives

A List of Apparatus and Instrumentation Used and the Procedure in List Form

Labview codes used and written + description (embed them as objects)

Plots and Tables Showing Your Basic Results

Analysis (e.g. comparisons with your analogue instrumentation results).

Uncertainty Estimates in Derived Results
Include Excel table(s) computing uncertainties in any derived results. It may not be clear how to do this, particularly for some spectral quantities. For these quantities a seat-of-the-pants estimate is fine.

Conclusions
In list form