dynamic signal analysis

Upload: jiss-zacharia-joseph

Post on 03-Jun-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Dynamic Signal Analysis

    1/23

    366

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal AnalysisThe Time, Frequency and Modal Domains:The traditional way of observing signals is to view themin the time domain. The time domain is a record of whathappened to a parameter of the system versus time. Itwas shown over one hundred years ago by Baron JeanBaptiste Fourier that any waveform that exists in thereal world can be generated by adding up sine waves.By picking the amplitudes, frequencies and phases ofthese sine waves correctly, we can generate a waveformidentical to our desired signal. Since we know thateach line represents a sine wave, we have uniquelycharacterized our input signal in the frequency domain.This frequency domain representation of our signal iscalled the spectrum of the signal. Each sine wave line ofthe spectrum is called a component of the total signal.It is very important to understand that we have neithergained nor lost information, we are just representing itdifferently. We are looking at the same three dimensionalgraph from different angles. This different perspectivecan be very useful.Suppose we wish to measure the level of distortion inan audio oscillator. Or we might be trying to detect thefirst sounds of a bearing failing on a noisy machine.In each case, we are trying to detect a small sine wavein the presence of large signals. Figure 2.7a shows atime domain waveform which seems to be a single sine

    wave. But Figure 2.7b shows in the frequency domainthat the same signal is composed of a large sine waveand significant other sine wave components (distortioncomponents). When these components are separated inthe frequency domain, the small components are easy tosee because they are not masked by larger ones.

    Spectrum ExamplesLet us now look at a few common signals in both thetime and frequency domains. In Figure 2.10a, we seethat the spectrum of a sine wave is just a single line. Weexpect this from the way we constructed the frequencydomain. The square wave in Figure 2.10b is made upof an infinite number of sine waves, all harmonicallyrelated. The lowest frequency present is the reciprocal ofthe square wave period. These two examples illustratea property of the frequency transform: a signal which is

    periodic and exists for all time has a discrete frequencyspectrum. This is in contrast to the transient signal inFigure 2.10c which has a continuous spectrum. This

  • 8/12/2019 Dynamic Signal Analysis

    2/23

    means that the sine waves that make up this signal arespaced infinitesimally close together. Another signalof interest is the impulse shown in Figure 2.10d. Thefrequency spectrum of an impulse is flat, i.e., there isenergy at all frequencies. It would, therefore, requireinfinite energy to generate a true impulse. Nevertheless,it is possible to generate an approximation to animpulse which has a fairly flat spectrum over the desired

    frequency range of interest. We will find signals witha flat spectrum useful in our next subject, networkanalysis.

    Network AnalysisIf the frequency domain were restricted to the analysisof signal spectrums, it would certainly not be such acommon engineering tool. However, the frequencydomain is also widely used in analyzing the behavior ofnetworks. Network analysis is the general engineering

    IntroductionThis note is a primer for those who are unfamiliar with the advantages of analysis in the frequencyand modal domains and with the class of digitizers and analyzers designed for Dynamic SignalAnalysis.Figure 2.7Figure 2.10

    367Tech

    Notes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisproblem of determining how a network will respondto an input. Network Analysis is sometimes called

    Stimulus/Response Testing. The input is then knownas the stimulus or excitation and the output is calledthe response. It is easy to show that the steady stateresponse of a linear network to a sine wave input is asine wave of the same frequency. The amplitude of theoutput sine wave is proportional to the input amplitude.Its phase is shifted by an amount which dependsonly on the frequency of the sine wave. As we varythe frequency of the sine wave input, the amplitudeproportionality factor (gain) changes as does the phaseof the output. If we divide the output of the networkby the input, we get a normalized result called thefrequency response of the network.As shown in Figure 2.18, the frequency response isthe gain (or loss) and phase shift of the network as afunction of frequency. Because the network is linear,

    the frequency response is independent of the inputamplitude; the frequency response is a property of alinear network, not dependent on the stimulus. The

  • 8/12/2019 Dynamic Signal Analysis

    3/23

    frequency response of a network will generally fall intoone of three categories; low pass, high pass, bandpassor a combination of these. As the names suggest,their frequency responses have relatively high gain ina band of frequencies, allowing these frequencies topass through the network. Other frequencies suffer arelatively high loss and are rejected by the network. Tosee what this means in terms of the response of a filter

    to an input, let us look at the bandpass filter case.In Figure 2.20a, we put a square wave into a bandpassfilter. We recall from Figure 2.10 that a square waveis composed of harmonically related sine waves. Thefrequency response of our example network is shownin Figure 2.20b. Because the filter is narrow, it will passonly one component of the square wave. Therefore, thesteady-state response of this bandpass filter is a sinewave. Notice how easy it is to predict the output of anynetwork from its frequency response. The spectrum ofthe input signal is multiplied by the frequency responseof the network to determine the components that appearin the output spectrum. This frequency domain outputcan then be transformed back to the time domain.In contrast, it is very difficult to compute in the timedomain the output of any but the simplest networks. A

    complicated integral must be evaluated which often canonly be done numerically on a digital computer. If wecomputed the network response by both evaluating thetime domain integral and transforming to the frequencydomain and back, we would get the same results.However, it is usually easier to compute the output bytransforming to the frequency domain.

    Transient ResponseUp to this point we have only discussed the steady-stateresponse to a signal. By steady-state we mean theoutput after any transient responses caused by applyingthe input have died out. However, the frequencyresponse of a network also contains all the informationFigure 2.18Figure 2.20

    368Tech

    Notes Online at vxitech.com949 955 1VXITechnicalFundamentals of Dynamic Signal Analysisnecessary to predict the transient response of thenetwork to any signal. Let us look qualitatively at thetransient response of a bandpass filter. If a resonance is

    narrow compared to its frequency, then it is said to be ahigh Q resonance*. Figure 2.21a shows a high Q filterfrequency response. It has a transient response which

  • 8/12/2019 Dynamic Signal Analysis

    4/23

    dies out very slowly. A time response which decaysslowly is said to be lightly damped. Figure 2.21b shows alow Q resonance. It has a transient response which diesout quickly. This illustrates a general principle: signalswhich are broad in one domain are narrow in the other.Narrow, selective filters have very long response times.

    Instrumentation for the Modal DomainDynamic Signal AnalyzerDynamic signal analyzers are based on a high speedcalculation routine which acts like a parallel filteranalyzer with hundreds of filters and yet are costcompetitive with swept spectrum analyzers. In addition,a two or more channel (DSA) dynamic signal analyzeror Digitizers with DSP are in many ways better networkanalyzers than traditional network analyzers that arelimited to slow tracking filters that limit measurementspeed. The DSA provides the ideal instrumentation fortime, frequency and network measurements.

    The Modal DomainTo understand the modal domain let us begin byanalyzing a simple mechanical structure, a tuning fork. Ifwe strike a tuning fork, we easily conclude from its tonethat it is primarily vibrating at a single frequency. We see

    that we have excited a network (tuning fork) with a forceimpulse (hitting the fork). The time domain view of thesound caused by the deformation of the fork is a lightlydamped sine wave shown in Figure 2.27b. In Figure2.27c, we see in the frequency domain that the frequencyresponse of the tuning fork has a major peak that is verylightly damped, which is the tone we hear. There are alsoseveral smaller peaks. Each of these peaks, large andsmall, corresponds to a vibration mode of the tuningfork. We can express the vibration of any structure as asum of its vibration modes. Just as we can represent areal waveform as a sum of much simpler sine waves, wecan represent any vibration as a sum of much simplervibration modes. The task of modal analysis is to determine the shape and the magnitude of the structuraldeformation in each vibration mode. Once these are

    known, it usually becomes apparent how to change theoverall vibration. Experimentally, we have to measureonly a relatively few points on the structure to determinethe mode shape. Each vibration mode is characterized byits mode shape, frequency and damping from which wecan reconstruct the frequency domain view.

    Instrumentation for the Modal DomainTo determine the modes of vibration, basically wedetermine the frequency response of the structure atseveral points and compute at each resonance thefrequency, damping and what is called the residue(which represents the height of the resonance).This is done by a curve-fitting routine to smooth outany noise or small experimental errors. From thesemeasurements and the geometry of the structure, themode shapes are computed and drawn on a computerdisplay. These displays may be animated to help theuser understand the vibration mode. From the abovedescription, it is apparent that a modal analyzer requiressome type of network analyzer to measure the frequencyresponse of the structure and a computer to convertthe frequency response to mode shapes. This can beaccomplished by connecting a dynamic signal analyzerthrough a digital interface to a computer furnished withthe appropriate software. This capability is also availableFigure 2.21Figure 2.27

  • 8/12/2019 Dynamic Signal Analysis

    5/23

    369

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisas an integrated system with digitizers designed fordynamic signal analysis. Because larger structuresrequire more measurement channels the computer canbecome overloaded by the amount of data needed toprocess frequency response functions. Digitizers thatinclude on board DSP, offload the computer and makeit possible to use this technique with hundreds or eventhousands of channels.

    SummaryIn this chapter we have developed the concept oflooking at problems from different perspectives.These perspectives are the time, frequency and modaldomains. Phenomena that are confusing in the timedomain are often clarified by changing perspective toanother domain. Small signals are easily resolved inthe presence of large ones in the frequency domain.The frequency domain is also valuable for predictingthe output of any kind of linear network. A change tothe modal domain breaks down complicated structuralvibration problems into simple vibration modes. Noone domain is always the best answer, so the abilityto easily change domains is quite valuable. Of all theinstrumentation available today, only dynamic signalanalyzers can work in all three domains. In the nextchapter we develop the properties of this important classof analyzers.

    Understanding Dynamic Signal AnalysisIn this section we will develop a fuller understandingof dynamic signal analysis. We begin by presentingthe properties of the Fast Fourier Transform (FFT) uponwhich dynamic signal analyzers are based. We thenshow how these FFT properties cause some undesirablecharacteristics in spectrum analysis like aliasing andleakage. Having demonstrated a potential difficulty withthe FFT, we then show what solutions are used to makepractical dynamic signal analyzers. Developing this basicknowledge of FFT characteristics makes it simple to getgood results with a dynamic signal analyzer in a widerange of measurement problems.

    FFT PropertiesThe Fast Fourier Transform (FFT) is an algorithm

    for transforming data from the time domain to thefrequency domain. Since this is exactly what we wanta spectrum analyzer to do, it would seem easy to

  • 8/12/2019 Dynamic Signal Analysis

    6/23

    implement a dynamic signal analyzer based on the FFT.However, we will see that there are many factors whichcomplicate this seemingly straight-forward task. Note,however, that we cannot now transform to the frequencydomain in a continuous manner, but instead mustsample and digitize the time domain input. This meansthat our algorithm transforms digitized samples fromthe time domain to samples in the frequency domain as

    shown in Figure 3.3.Time RecordsA time record is defined to be N consecutive, equallyspaced samples of the input. Because it makes ourtransform algorithm simpler and much faster, N isrestricted to be a multiple of 2, for instance 1024. Asshown in Figure 3.3, this time record is transformed asa complete block into a complete block of frequencylines. All the samples of the time record are needed tocompute each and every line in the frequency domain.This is in contrast to what one might expect, namely thata single time domain sample transforms to exactly onefrequency domain line. With a dynamic signal analyzerwe do not get a valid result until a full time record hasbeen gathered (samples). Another property of the FFTis that it transforms these time domain samples to N/2

    equally spaced lines in the frequency domain. We onlyget half as many lines because each frequency lineactually contains two pieces of information, amplitudeand phase. We have not discussed the phase informationModal DisplayFigure 3.3

    370

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysiscontained in the spectrum of signals until now becausenone of the traditional spectrum analyzers are capable ofmeasuring phase. When we discuss measurements later,we shall find that phase contains valuable information indetermining the cause of performance problems.

    What is the Spacing of the Lines?Now that we know that we have N/2 equally spacedlines in the frequency domain, what is their spacing?The lowest frequency that we can resolve with our FFTspectrum analyzer must be based on the length of thetime record. We can see that if the period of the inputsignal is longer than the time record, we have no way

    of determining the period (or frequency, its reciprocal).Therefore, the lowest frequency line of the FFT mustoccur at frequency equal to the reciprocal of the time

  • 8/12/2019 Dynamic Signal Analysis

    7/23

    record length. In addition, there is a frequency line atzero Hertz, dc. This is merely the average of the inputover the time record. It is rarely used in spectrum ornetwork analysis. But, we have now established thespacing between these two lines and hence every line; itis the reciprocal of the time record.

    What is the Frequency Range of the FFT?We can now quickly determine that the highest

    frequency we can measure is:fmax = N/2 * 1/ Period of Time Recordbecause we have N/2 lines spaced by the reciprocal ofthe time record starting at zero Hertz. Since we wouldlike to adjust the frequency range of our measurement,we must vary fmax. The number of time samples Nis fixed by the implementation of the FFT algorithm.Therefore, we must vary the period of the time recordto vary fmax. To do this, we must vary the sample rateso that we always have N samples in our variable timerecord period. This is illustrated in Figure 3.9. Notice thatto cover higher frequencies, we must sample faster.

    AliasingThe reason an FFT spectrum analyzer needs so manysamples per second is to avoid a problem called aliasing.Aliasing is a potential problem in any sampled data

    system. It is often overlooked, sometimes withdisastrous results.Aliasing is shown in the frequency domain in Figure3.15. Two signals are said to alias if the difference oftheir frequencies falls in the frequency range of interest.This difference in frequency is always generated in theprocess of sampling. In Figure 3.15, the input frequencyis slightly higher than the sampling frequency so a lowfrequency alias term is generated. If the input frequencyequals the sampling frequency then the alias term fallsat dc (zero Hertz) and we get the constant output.Figure 3.16 shows that if we sample at greater than twicethe highest frequency of our input, the alias productswill not fall within the frequency range of our input.Therefore, a filter (or our FFT processor which acts likea filter) after the sampler will remove the alias products

    while passing the desired input signals if the samplerate is greater than twice the highest frequency of theinput. If the sample rate is lower, the alias products willfall in the frequency range of the input and no amountof filtering will be able to remove them from the signal.This minimum sample rate requirement is knownas the Nyquist Criterion. It is easy to see in the timedomain that a sampling frequency exactly twice theinput frequency would not always be enough. It is lessobvious that slightly more than two samples in eachperiod is sufficient information. It certainly would notbe enough to give a high quality time display. Yet wesaw in Figure 3.16 that meeting the Nyquist Criterionof a sample rate greater than twice the maximum inputfrequency is sufficient to avoid aliasing and preserve allthe information in the input signal.

    The Need for an Anti-Alias FilterUnfortunately, the real world rarely restricts thefrequency range of its signals. In the case of theroom temperature, we can be reasonably sure of themaximum rate at which the temperature could change,but we still cannot rule out stray signals. Signals inducedat the powerline frequency or even local radio stationscould alias into the desired frequency range. The onlyway to be really certain that the input frequency range islimited is to add a low pass filter before the sampler andADC. Such a filter is called an anti-alias filter.An ideal anti-alias filter would look like Figure 3.18a. ItFigure 3.9Figure 3.15

  • 8/12/2019 Dynamic Signal Analysis

    8/23

    371

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysiswould pass all the desired input frequencies with noloss and completely reject any higher frequencies whichotherwise could alias into the input frequency range.However, it is not even theoretically possible to buildsuch a filter, much less practical. Instead, all real filterslook something like Figure 3.18b with a gradual roll offand finite rejection of undesired signals. Large inputsignals which are not well attenuated in the transitionband could still alias into the desired input frequencyrange. To avoid this, the sampling frequency is raised to

    twice the highest frequency of the transition band. Thisguarantees that any signals which could alias are wellattenuated by the stop band of the filter. Typically, thismeans that the sample rate is now two and a half to fourtimes the maximum desired input frequency.

    Digital Anti-Alias FiltersDue to the properties of the FFT we must vary thesample rate to vary the frequency span of our analyzer.To reduce the frequency span, we must reduce thesample rate. From our considerations of aliasing, wenow realize that we must also reduce the anti-alias filterfrequency by the same amount. Typical instrumentshave a minimum span of 1 Hz and a maximum of tens tohundreds of kilohertz. This four decade range typicallyneeds to be covered with at least three spans perdecade. This would mean at least twelve

    anti-alias filters would be required for each channel.Additionally, in a multi-channel analyzer, each filtermust be well matched for accurate network analysismeasurements. Fortunately, there is an alternativewhich is cheaper and when used in conjunction with asingle analog anti-alias filter, always provides aliasingprotection. It is called digital filtering because it filtersthe input signal after we have sampled and digitizedit. To see how this works, let us look at Figure 3.19. Inthe analog case we already discussed, we had to use anew filter every time we changed the sample rate of theAnalog to Digital Converter (ADC). When using digitalfiltering, the ADC sample rate is left constant at the rateneeded for the highest frequency span of the analyzer.This means we need not change our anti-alias filter. Toget the reduced sample rate and filtering we need for

    the narrower frequency spans, we follow the ADC witha digital filter. This digital filter is known as a decimatingfilter. It not only filters the digital representation of the

  • 8/12/2019 Dynamic Signal Analysis

    9/23

    signal to the desired frequency span, it also reducesthe sample rate at its output to the rate needed for thatfrequency span. Because this filter is digital, there areno manufacturing variations, aging or drift in the filter.Therefore, in a multi-channel analyzer the filters in eachchannel are identical. It is easy to design a single digitalfilter to work on many frequency spans so the need formultiple filters per channel is avoided. All these factors

    taken together mean that digital filtering is much lessexpensive and more accurate than analog anti-aliasingfiltering.

    Band Selectable AnalysisThe real power of digital filters in a DSA allowsyou to increase the frequency resolution of yourmeasurements. With a zoom measurement you canselect a center frequency and a frequency span andrather than your FFT, resolution being based dc to themaximum frequency divided by the number of linesof your FFT it is based on your zoom frequency span.This can increase your frequency resolution by a factorof 10 or 100 easily. Digitizers with DSP offer on-boardsynchronized DACs for the generation of arbitrarywaveforms. These signals can also be band translatedto provide mooz signals that allow non-zero start

    Figure 3.18 Figure 3.16Figure 3.19

    372TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisfrequencies. This band-translate capability allows thesource to have a bandwidth and center frequency thatmatches the zoom FFT, creating much higher qualitymeasurements and avoiding troublesome resonancesthat might damage the DUT.

    WindowingThere is another property of the fast fourier transformwhich affects its use in frequency domain analysis. Werecall that the FFT computes the frequency spectrumfrom a block of samples of the input called a timerecord. In addition, the FFT algorithm is based upon theassumption that this time record is repeated throughouttime. This does not cause a problem with the transient.But what happens if we are measuring a continuoussignal like a sine wave? If the time record containsan integral number of cycles of the input sine wave,

    the input waveform is said to be periodic in the timerecord. Figure 3.24 demonstrates the difficulty with thisassumption when the input is not periodic in the time

  • 8/12/2019 Dynamic Signal Analysis

    10/23

    record. The FFT algorithm is computed on the basis ofthe highly distorted waveform in Figure 3.24c. We knowthat the actual sine wave input has a frequency spectrumof single line. The spectrum of the input assumed by theFFT in Figure 3.24c should be very different. Since sharpphenomena in one domain are spread out in the otherdomain, we would expect the spectrum of our sine waveto be spread out through the frequency domain.

    In Figure 3.25 we see in an actual measurement thatour expectations are correct. In Figures 3.25 a & b,we see a sine wave that is periodic in the time record.Its frequency spectrum is a single line whose widthis determined only by the resolution of our dynamicsignal analyzer. On the other hand, Figures 3.25c & dshow a sine wave that is not periodic in the time record.Its power has been spread throughout the spectrum aswe predicted. This smearing of energy throughout thefrequency domains is a phenomena known as leakage.We are seeing energy leak out of one resolution line ofthe FFT into all the other lines. It is important to realizethat leakage is due to the fact that we have taken afinite time record. For a sine wave to have a single linespectrum, it must exist for all time, from minus infinityto plus infinity. If we were to have an infinite time record,

    the FFT would compute the correct single line spectrumexactly. However, since we are not willing to wait foreverto measure its spectrum, we only look at a finite timerecord of the sine wave. This can cause leakage if thecontinuous input is not periodic in the time record. It isobvious from Figure 3.25 that the problem of leakage issevere enough to entirely mask small signals close toour sine waves. As such, the FFT would not be a veryuseful spectrum analyzer. The solution to this problem isknown as windowing.

    What is Windowing?In Figure 3.24 we have again reproduced the assumedinput wave form of a sine wave that is not periodic inthe time record. Notice that most of the problem seemsto be at the edges of the time record, the center is agood sine wave. If the FFT could be made to ignore the

    ends and concentrate on the middle of the time record,we would expect to get much closer to the correctsingle line spectrum in the frequency domain. If wemultiply our time record by a function that is zero atthe ends of the time record and large in the middle, wewould concentrate the FFT on the middle of the timerecord. One such function is shown in Figure 3.29. Suchfunctions are called window functions because theyforce us to look at data through a narrow window.Figure 3.27 shows us the vast improvement we getFigure 3.25Figure 3.24

  • 8/12/2019 Dynamic Signal Analysis

    11/23

    373

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisby windowing data that is not periodic in the timerecord. However, it is important to realize that we havetampered with the input data and cannot expect perfectresults. The FFT assumes the input looks somethinglike an amplitude-modulated sine wave. This has afrequency spectrum which is closer to the correctsingle line of the input sine wave than the original, butit still is not correct. Figure 3.28 demonstrates that thewindowed data does not have as narrow a spectrum asan unwindowed function which is periodic in the time

    record.The Hanning WindowAny number of functions can be used to window thedata, but the most common one is called Hanning.We actually used the Hanning window in Figure 3.27as our example of leakage reduction with windowing.The Hanning window is also commonly used whenmeasuring random noise.

    The Uniform WindowWe have seen that the Hanning window does anacceptably good job on our sine wave examples, bothperiodic and non-periodic in the time record. If this istrue, why should we want any other windows? Supposethat instead of wanting the frequency spectrum of acontinuous signal, we would like the spectrum of atransient event.A typical transient is shown in Figure 3.29a. If wemultiplied it by the window function in Figure 3.29b wewould get the highly distorted signal shown in Figure3.29c. The frequency spectrum of an actual transient withand without the Hanning window is shown in Figure3.30. The Hanning window has taken our transient,which naturally has energy spread widely through thefrequency domain and made it look more like a sinewave. Therefore, we can see that for transients we donot want to use the Hanning window. We would like touse all the data in the time record equally or uniformly.Hence, we will use the Uniform window which weightsall of the time record uniformly. The case we made forthe Uniform window by looking at transients can begeneralized. Notice that our transient has the propertythat it is zero at the beginning and end of the time

    record. Remember that we introduced windowing toforce the input to be zero at the ends of the time record.In this case, there is no need for windowing the input.

  • 8/12/2019 Dynamic Signal Analysis

    12/23

    Any function like this which does not require a windowbecause it occurs completely within the time recordis called a self-windowing function. Self-windowingfunctions generate no leakage in the FFT and so needno window. Impacts, impulses, shock responses,sine bursts, noise bursts, chirp bursts and pseudo-random noise can all be made to be self-windowing.Self-windowing functions are often used as the

    excitation in measuring the frequency response ofnetworks, particularly if the network has lightly-dampedresonances (high Q). This is because the self-windowingfunctions generate no leakage in the FFT. Recall thateven with the Hanning window, some leakage waspresent when the signal was not periodic in the timerecord. This means that without a self-windowingexcitation, energy could leak from a lightly dampedresonance into adjacent lines (filters). The resultingspectrum would show greater damping than actuallyexists.

    The Flattop WindowWe have shown that we need a uniform window foranalyzing self-windowing functions like transients. Inaddition, we need a Hanning window for measuringnoise and periodic signals like sine waves. We now

    need to introduce a third window function, the flattopFigure 3.27Figure 3.28a Figure 3.28bFigure 3.29

    TechNotes 374 Online atvxitech.com 949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysiswindow, to avoid a subtle effect of the Hanning window.To understand this effect, we need to look at the Hanningwindow in the frequency domain. We recall that theFFT acts like a set of parallel filters. Figure 3.32 showsthe shape of those filters when the Hanning window isused. Notice that the Hanning function gives the filtera very rounded top. If a component of the input signalis centered in the filter it will be measured accurately.Otherwise, the filter shape will attenuate the componentby up to 1.5 dB (16%) when it falls midway betweenthe filters. This error is unacceptably large if we aretrying to measure a signals amplitude accurately. Thesolution is to choose a window function which givesthe filter a f latter pass-band. Such a flattop pass-band

    shape is shown in Figure 3.33. The amplitude error fromthis window function does not exceed 0.1 dB (1%), a1.4 dB improvement. The accuracy improvement does

  • 8/12/2019 Dynamic Signal Analysis

    13/23

    not come without its price, however. We have flattenedthe top of the pass band at the expense of wideningthe skirts of the filter. We therefore lose some ability toresolve a small component, closely spaced to a largeone. Dynamic signal analyzers offer both Hanningand flattop window functions so that the operatorcan choose between increased accuracy or improvedfrequency resolution. Digitizers with DSP offer these

    same functions with the additional benefit of increasedperformance for multiple channel systems by processingmany channels in parallel.

    Other Window FunctionsMany other window functions are possible but the threelisted above are by far the most common for generalmeasurements. For special measurement situationsother groups of window functions may be useful. Twowindows which are particularly useful when doingnetwork analysis on mechanical structures by impacttesting are the force and response windows.

    Network StimulusWe can measure the frequency response at onefrequency by stimulating the network with a single sinewave and measuring the gain and phase shift atthat frequency. The frequency of the stimulus is then

    changed and the measurement repeated until all desiredfrequencies have been measured. Every time thefrequency is changed, the network response must settleto its steady-state value before a new measurementcan be taken, making this measurement process a slowtask. Many network analyzers operate in this mannerand we can make the measurement this way with a twochannel dynamic signal analyzer. There are also severaltechniques available to improve measurement speedwith a DSA.

    Noise as a StimulusA single sine wave stimulus does not take advantage ofthe possible speed provided by the parallel filters of aDigitizer with DSP or dynamic signal analyzer provide.If we had a source that put out multiple sine waves,each one centered in a filter, then we could measure the

    frequency response at all frequencies at one time. Sucha source acts like hundreds of sine wave generatorsconnected together. This type of source is called apseudorandom noise or periodic random noise source.From the names used for this source it is apparent thatit acts somewhat like a true noise generator, except thatit has periodicity. If we add together a large numberof sine waves, the result is very much like white noise.However if we add a large number of sine waves, ournoise-like signal will periodically repeat its sequence.Hence, the name periodic random noise (PRN) source.Figure 3.30aFigure 3.30bFigure 3.32Figure 3.33

  • 8/12/2019 Dynamic Signal Analysis

    14/23

    375

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal AnalysisA truly random noise source would not be periodic.It is apparent that a random noise source would alsostimulate all the filters at one time and so could be usedas a network stimulus. Which is a better stimulus? Theanswer depends upon the measurement situation.

    Linear Network AnalysisIf the network is reasonably linear, PRN and randomnoise both give the same results as the swept-sinetest of other analyzers. But, PRN gives the frequencyresponse much faster. PRN, can be used to measure thefrequency response in a single time record. Becausethe random source is true noise, it must be averagedfor several time records before an accurate frequencyresponse can be determined. Therefore, PRN is the beststimulus to use with fairly linear networks because itgives the fastest results.

    Nonlinear Network AnalysisIf the network is severely nonlinear, the situation is quitedifferent. In this case, PRN is a very poor test signal andrandom noise is much better. This is because the sinewaves that compose the PRN source are put through anonlinear network, distortion products will be generatedequally spaced from the signals. Unfortunately, theseproducts will fall exactly on the frequencies of the othersine waves in the PRN, so the distortion products add tothe output and therefore interfere with the measurementof the frequency response. This shows as a jaggedresponse trace of a nonlinear network measured withPRN. Because the PRN source repeats itself exactly everytime record, this noisy looking trace never changes andwill not average to the desired frequency response.With random noise, the distortion components are alsorandom and will average out. Therefore, the frequencyresponse does not include the distortion and we get themore reasonable results.This points out a fundamental problem with measuringnonlinear networks; the frequency response is not aproperty of the network alone, it also depends on thestimulus. Each stimulus, swept-sine, PRN and randomnoise will, in general, give a different result. Also, if theamplitude of the stimulus is changed, you will get adifferent result.

    AveragingThe standard technique in statistics to improve theestimates of a value is to average. When we watch a

  • 8/12/2019 Dynamic Signal Analysis

    15/23

    noisy reading on a dynamic signal analyzer, we canguess the average value. But because the dynamicsignal analyzer contains digital computation capabilitywe can have it compute this average value for us.Two kinds of averaging are available, rms (or poweraveraging) and linear averaging.

    RMS Averagingrms stands for root-mean-square and is calculated

    by squaring all the values, adding the squares together,dividing by the number of measurements (mean)and taking the square root of the result. If we want tomeasure a small signal in the presence of noise, rmsaveraging will give us a good estimate of the signalplus noise. We cannot improve the signal to noise ratiowith rms averaging; we can only make more accurateestimates of the total signal plus noise power.

    Linear AveragingHowever, there is a technique for improving the signalto noise ratio of a measurement, called linear averaging.It can be used if a trigger signal which is synchronouswith the periodic part of the spectrum is available. Ofcourse, the need for a synchronizing signal is somewhatrestrictive, although there are numerous situations inwhich one is available. In network analysis problems

    the stimulus signal itself can often be used as asynchronizing signal. Figure 3.44 is an example of linearaveraging.

    Real Time BandwidthUntil now we have ignored the fact that it will take afinite time to compute the FFT of our time record. Infact, if we could compute the transform in less timethan our sampling period we could continue to ignorethis computational time. If we limit our measurementsto one or two channels and low frequency spans thisis possible. A reasonable alternative is to add a timerecord buffer to the block diagram of our analyzer. Thisallows us to compute the frequency spectrum of theprevious time record while gathering the current timerecord. If we can compute the transform before thetime record buffer fills, then we are said to be operating

    Figure 3.44 Single time record,no averagingFigure 3.44b Time record122 linear averagesFigure 3.44c Frequency spectrum 122linear averages

    376

    TechNotes Online at vxitech.com949 955 1VXI

    Technical

  • 8/12/2019 Dynamic Signal Analysis

    16/23

    Fundamentals of Dynamic Signal Analysisin real time. To see what this means, let us look at thecase where the FFT computation takes longer than thetime to fill the time record. Although the buffer is full,we have not finished the last transform, so we will haveto stop taking data. When the transform is finished, wecan transfer the time record to the FFT and begin to take

    another time record. This means that we missed someinput data and so we are said to be not operating inreal time. Recall that the time record is not constant butdeliberately varied to change the frequency span of theanalyzer. For wide frequency spans, the time record isshorter. Therefore, as we increase the frequency spanof the analyzer, we eventually reach a span where thetime record is equal to the FFT computation time. Thisfrequency span is called the real time bandwidth. Forfrequency spans at and below the real time bandwidth,the analyzer does not miss any data.

    Overlap ProcessingTo understand overlap processing, let us look atFigure 3.51a. We see a low frequency analysis wherethe gathering of a time record takes much longerthan the FFT computation time. Our FFT processor is

    sitting idle much of the time. If instead of waiting foran entirely new time record we overlapped the newtime record with some of the old data, we would geta new spectrum as often as we computed the FFT.This overlap processing is illustrated in Figure 3.51b.Overlap processing can give dramatic reductions in thetime to compute rms averages with a given variance.Recall that window functions reduce the effects ofleakage by weighting the ends of the time record tozero. Overlapping eliminates most or all of the t imethat would be wasted taking this data. Because someoverlapped data is used twice, more averages must betaken to get a given variance than in the non-overlappedcase.

    Using Dynamic Signal AnalyzersIn this section we show how to use dynamic signal

    analyzers in a wide variety of measurement situations.We introduce the measurement functions of dynamicsignal analyzers as we need them for each measurementsituation. We begin with some common electronic andmechanical measurements in the frequency domain.

    Frequency Domain MeasurementsOscillator CharacterizationLet us begin by measuring the characteristics of anelectronic oscillator. An important specification of anoscillator is its harmonic distortion. In Figure 4.1, weshow the fundamental through fifth harmonic of a1 kHz oscillator. Because the frequency is not necessarilyexactly 1 kHz, windowing should be used to reduce theleakage. We have chosen the flattop window so that wecan accurately measure the amplitudes. Notice that wehave selected the input sensitivity of the analyzer so

    that the fundamental is near the top of the display. Ingeneral, we set the input sensitivity to the most sensitiverange which does not overload the analyzer. Severedistortion of the input signal will occur if its peak voltageexceeds the range of the analog to digital converter.Therefore, all dynamic signal analyzers warn the userof this condition by some kind of overload indicator.It is also important to make sure the analyzer is notunder loaded. The signal going into the analog to digitalconverter is too small, much of the useful informationof the spectrum may be below the noise level of theanalyzer. Therefore, setting the input sensitivity to themost sensitive range that does not cause an overloadgives the best possible results. In Figure 4.1a, we choseto display the spectrum amplitude in logarithmic formto insure that we could see distortion products far below

    the fundamental. All signal amplitudes on this displayare in dBV, decibels below 1 V rms. However, since mostdynamic signal analyzers have very versatile display

  • 8/12/2019 Dynamic Signal Analysis

    17/23

    capabilities, we could also display this spectrumlinearly as in Figure 4.1b. Here, the units of amplitudeare volts.Power-line SidebandsAnother important measure of an oscillatorsperformance is the level of its power-line sidebands. InFigure 4.1c, we use band selectable analysis to zoom in on the signal so that we can easily resolve and

    measure the sidebands which are only 60 Hz away fromour 1 kHz signal. With some analyzers it is possibleto measure signals only millihertz away from thefundamental if desired.Figure 3.51

    377

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal AnalysisRotating Machinery CharacterizationA rotating machine can be thought of as a mechanicaloscillator. Therefore, many of the measurements wemade for an electronic oscillator are also importantin characterizing rotating machinery. To characterize arotating machine we must first change its mechanicalvibration into an electrical signal. This is often done bymounting an accelerometer on a bearing housing wherethe vibration generated by shaft imbalance and bearingimperfections will be the highest.A typical spectrum might look like Figure 4.1. It wouldobviously be much more complicated than the relativelyclean spectrum of the electronic oscillator we looked at

    previously. There is also a great deal of random noise;stray vibrations from sources other than our motor thatthe accelerometer picks up. The band selectable analysiscapability of our analyzer to zoom-in and separatethe vibration of the stator at 120 Hz from the vibrationcaused by the rotor imbalance only a few tenths of ahertz lower in frequency. This ability to resolve closelyspaced spectrum lines is crucial to our capability todiagnose why the vibration levels of a rotating machineare excessive. The actions we would take to correct anexcessive vibration at 120 Hz are quite different if it iscaused by a loose stator pole rather than an imbalancedrotor.Since the bearings are the most unreliable part ofmost rotating machines, we would also like to checkour spectrum for indications of bearing failure. Any

    defect in a bearing, say a spalling on the outer face of aball bearing, will cause a small vibration to occur eachtime a ball passes it. This will produce a characteristic

  • 8/12/2019 Dynamic Signal Analysis

    18/23

    frequency in the vibration called the passing frequency.The frequency domain is ideal for separating this smallvibration from all the other frequencies present. Thismeans that we can detect impending bearing failuresand schedule a shutdown long before they become theloudly squealing problem that signals an immediateshutdown is necessary. In most rotating machinerymonitoring situations, the absolute level of each

    vibration component is not of interest, just how theychange with time. The machine is measured when newand throughout its life and these successive spectraare compared. If no catastrophic failures develop, thespectrum components will increase gradually as themachine wears out. However, if an impending bearingfailure develops, the passing frequency componentcorresponding to the defect will increase suddenly anddramatically.An excellent way to store and compare these spectrais by using a computer based monitoring system. Thespectra can be easily compared with previous resultsby a trend analysis program. This avoids the tediousand error prone task of generating trend graphs byhand. In addition, the computer can easily check thetrends against limits, pointing out where vibration limits

    are exceeded or where the trend is for the limit to beexceeded in the near future.Desktop computers are also useful when analyzingmachinery that normally operates over a wide range ofspeeds. Severe vibration modes can be excited whenthe machine runs at critical speeds. A quick way todetermine if these vibrations are a problem is to take asuccession of spectra as the machine runs up to speedor coasts down. Each spectrum shows the vibrationcomponents of the machine as it passes through an rpmrange. RPM is measured by the tachometer input of thedigitizer. Tachometer inputs have signal conditioningdesigned to measure inputs from a proximity probe oroptical tachometer. If each spectrum is transferred to thecomputer the results can be processed and displayed asFigure 4.1a

    Figure 4.1bFigure 4.1cFigure 4.8

    378TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisin Figure 4.8. From such a display it is easy to see shaftimbalances, constant frequency vibrations (from sources

  • 8/12/2019 Dynamic Signal Analysis

    19/23

    other than the variable speed shaft) and structuralvibrations excited by the rotating shaft. The computergives the capability of changing the display presentationto other forms for greater clarity. Because all the valuesof the spectra are stored in memory, precise values ofthe vibration components can easily be determined. Inaddition, signal processing can be used to clarify thedisplay. For instance, in Figure 4.8 all signals below

    -70 dB were ignored. This eliminates meaningless noisefrom the plot, clarifying the presentation.

    Electronic Filter CharacterizationIn previous sections we developed most of theprinciples we need to characterize a low frequencyelectronic filter. We show the test setup we might usein Figure 4.9. Because the filter is linear we can usepseudo-random noise as the stimulus for very fasttest times. The uniform window is used because thepseudo-random noise is periodic in the time record.No averaging is needed since the signal is periodicand reasonably large. We should be careful, as in thesingle channel case, to set the input sensitivity for bothchannels to the most sensitive position which does notoverload the analog to digital converters. With theseconsiderations in mind, we get a frequency response

    magnitude shown in Figure 4.10a and the phaseshown in Figure 4.10b. The primary advantage of thismeasurement over traditional swept analysis techniquesis speed. This measurement can be made in 1/8 secondwith a dynamic signal analyzer, but would take over30 seconds with a swept network analyzer. This speedimprovement is particularly important when the filterunder test is being adjusted or when large volumes aretested on a production line.

    Structural Frequency ResponseThe network under test does not have to be electronic.In Figure 4.11, we are measuring the frequency responseof a single structure, in this case a printed circuit board.Because this structure behaves in a linear fashion, wecan use pseudo-random noise as a test stimulus. But wemight also desire to use true random noise, swept-sine

    or an impulse (hammer blow) as the stimulus.In Figure 4.12 we show each of these measurements andthe frequency responses. As we can see, the results areall the same.The frequency response of a linear network is a propertysolely of the network, independent of the stimulus used.Since all the stimulus techniques in Figure 4.12 givethe same results, we can use whichever one is fastestand easiest. Usually this is the impact stimulus, sincea shaker is not required. In Figure 4.11 and 4.12,we have been measuring the acceleration of thestructure divided by the force applied. This qualityis called mechanical accelerance. To properly scalethe displays to the required gs/lb, we have enteredthe sensitivities of each transducer into the analyzerby a feature called engineering units. Engineering

    units simply changes the gain of each channel of theanalyzer so that the display corresponds to the physicalparameter that the transducer is measuring. Otherfrequency response measurements besides mechanicalaccelerance are often made on mechanical structures.By changing transducers we could measure any ofFigure 4.10bFigure 4.10aFigure 4.9Figure 4.11

  • 8/12/2019 Dynamic Signal Analysis

    20/23

    379

    TechNotes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisthese parameters. Or we can use the computationalcapability of the dynamic signal analyzer to computethese measurements from the mechanical impedancemeasurement we have already made.

    CoherenceUp to this point, we have been measuring networkswhich we have been able to isolate from the rest of theworld. That is, the only stimulus to the network is whatwe apply and the only response is that caused by thiscontrolled stimulus. This situation is often encounteredin testing components, e.g., electric filters or parts of amechanical structure. However, there are times whenthe components we wish to test cannot be isolatedfrom other disturbances. For instance, in electronicswe might be trying to measure the frequency responseof a switching power supply which has a very largecomponent at the switching frequency. Or we mighttry to measure the frequency response of part of amachine while other machines are creating severevibration. In Figure 4.15 we have simulated thesesituations by adding noise and a 1 kHz signal to theoutput of an electronic filter. The measured frequencyresponse is shown in Figure 4.16. rms averaging hasreduced the noise contribution, but has not completelyeliminated the 1 kHz interference. If we did not know ofthe interference, we would think that this f ilter has an

    additional resonance at 1 kHz.Dynamic signal analyzers can often make an additionalmeasurement that is not available with traditionalnetwork analyzers called coherence. Coherencemeasures the power in the response channel that iscaused by the power in the reference channel. It is theoutput power that is coherent with the input power.Figure 4.17 shows the same frequency responsemagnitude from Figure 4.16 and its coherence. Thecoherence goes from 1 (all the output power at thatfrequency is caused by the input) to 0 (none of theoutput power at that frequency is caused by the input).We can easily see from the coherence function thatthe response at 1 kHz is not caused by the input but byinterference. However, our f ilter response near 500 Hzhas excellent coherence and so the measurement here

    is good.Figure 4.15Figure 4.16

  • 8/12/2019 Dynamic Signal Analysis

    21/23

    Figure 4.17Figure 4.12

    380Tech

    NotesOnline at vxitech.com

    949 955 1VXI

    TechnicalFundamentals of Dynamic Signal AnalysisModal Domain MeasurementsEarlier we learned how to make frequency domainmeasurements of mechanical structures with dynamicsignal analyzers. Let us now analyze the behavior ofa simple mechanical structure to understand how tomake measurements in the modal domain. We will testa simple metal plate shown in Figure 4.27. The plate isfreely suspended using rubber cords in order to isolate itfrom any object which would alter its properties. The firstdecision we must make in analyzing this structure is howmany measurements to make and where to make themon the structure. There are no firm rules for this decision;good engineering judgment must be exercised instead.Measuring too many points makes the calculationsunnecessarily complex and time consuming. Measuringtoo few points can cause spatial aliasing; i.e., themeasurement points are so far apart that high frequencybending modes in the structure cannot be measuredaccurately. To decide on a reasonable number ofmeasurement points, take a few trial frequency response measurements of the structure to determine the highestsignificant resonant frequencies present. The wavelength can be determined empirically by changing thedistance between the stimulus and the sensor untila full 360 phase shift has occurred from the original

    measurement point. Measurement point spacing shouldbe approximately one-quarter or less of this wavelength.Measurement points can be spaced uniformly over thestructure using this guideline, but it may be desirable tomodify this procedure slightly.Few structures are as uniform as this simple plateexample, but complicated structures are made ofsimpler, more uniform parts. The behavior of thestructure at the junction of these parts is often of greatinterest, so measurements should be made in thesecritical areas as well. Once we have decided on wherethe measurements should be taken, we number thesemeasurement points (the order can be arbitrary) andenter the coordinates of each point into our modalanalyzer software. This is necessary so that the analyzercan correlate the measurements we make with a position

    on the structure to compute the mode shapes. The nextdecision we must make is what signal we should use fora stimulus. Our plate example is a linear structure as it

  • 8/12/2019 Dynamic Signal Analysis

    22/23

    has no loose rivet joints, nonlinear damping materials,or other nonlinearities. Therefore, we know that we canuse any of the stimuli. In this case, an impulse wouldbe a particularly good test signal. We could supplythe impulse by hitting the structure with a hammerequipped with a force transducer. This is probably theeasiest way to excite the structure as a shaker and itsassociated driver are not required. As we saw in the last

    chapter, however, if the structure were nonlinear, thenrandom noise would be a good test signal.To supply random noise to the structure we would needto use a shaker. To keep our example more general,we will use random noise as a stimulus. The shakeris connected firmly to the plate via a load cell (forcetransducer) and excited by the band-limited noise sourceof the analyzer. Since this force is the network stimulus,the load cell output is connected through a suitableamplifier to the reference channel of the analyzer. Tobegin the experiment, we connect an accelerometerto the plate at the same point as the load cell. Theaccelerometer measures the structures response andits output is connected to the other analyzer channel.Because we are using random noise, we will use aHanning window and rms averaging just as we did in the

    Figure 4.27Figure 4.29

    381Tech

    Notes Online at vxitech.com949 955 1VXI

    TechnicalFundamentals of Dynamic Signal Analysisprevious section. The resulting frequency response ofthis measurement is shown in Figure 4.29.The ratio of acceleration to force in gs/lb is plotted onthe vertical axis by the use of engineering units, and thedata shows a number of distinct peaks and valleys atparticular frequencies. We conclude that the plate movesmore freely when subjected to energy at certain specificfrequencies than it does in response to energy at otherfrequencies. We recall that each of the resonant peakscorresponds to a mode of vibration of the structure. Oursimple plate supports a number of different modes ofvibration, all of which are well separated in frequency.Structures with widely separated modes of vibrationare relatively straight forward to analyze since eachmode can be treated as if it is the only one present.Tightly-spaced, but lightly-damped vibration modes

    can also be easily analyzed if the band selectableanalysis capability is used to narrow the analyzers filtersufficiently to resolve these resonances. Tightly spaced

  • 8/12/2019 Dynamic Signal Analysis

    23/23

    modes whose damping is high enough to cause theresponses to overlap create computational difficultiesin trying to separate the effects of the vibration modes.Fortunately, many structures fall into the first twocategories and so can be easily analyzed. Havinginspected the measurement and deciding that it metall the above criteria, we can store it away. We storesimilar measurements at each point by moving our

    accelerometer to each numbered point or, in the case ofa multi-channel system measure all points at the sametime.Multi-channel measurements have the added advantagethat the structure will have the same loading andenvironmental conditions at all measurement points.We will then have all the measurement data we needto fully characterize the structure in the modal domain.Recall earlier, that each frequency response will havethe same number of peaks, with the same resonantfrequencies and dampings. The next task is to determinethese resonant frequency and damping values for eachresonance of interest. We do this by retrieving ourstored frequency responses and, using a curve-fittingroutine, we calculate the frequency and damping of eachresonance of interest. With the structural information

    we entered earlier, and the frequency and damping ofeach vibration mode which we have just determined, themodal analyzer can calculate the mode shapes by curvefitting the responses of each point with the measuredresonances. In Figure 4.30 we show several modeshapes of our simple rectangular plate. These modeshapes can be animated on the display to show therelative motion of the various parts of the structure. Thegraphs in Figure 4.30, however, only show the maximumdeflection.

    Summary This note has attempted to demonstrate the advantagesof expanding ones analysis capabilities from the timedomain to the frequency and modal domains. Problemsthat are difficult in one domain are often clarified by achange in perspective to another domain. The dynamic

    signal analyzer is a particularly good analysis tool at lowfrequencies. It cannot only work in all three domains,it is also very fast. For measurement applicationsthat require more than a small number of channels amodular digitizer with DSP solution that is designedas a DSA is required. A digitizer designed for dynamicsignal analysis should have a minimum set of capabilitynot found in most digitizers designed for general dataacquisition. These capabilities include: Good phase and gain match for each channel, eachmodule and if available extended mainframes Analog and digital anti-alias filters that track thesampling rate of the digitizer Parallel data paths to insure the storage of large datasets in multi-channel systems Signal conditioning for popular transducers includingvoltage, IEPE, charge, and microphone inputs DSPs to provide window functions and advancedmeasurements like order tracking Parallel design that scales to large channel counts Integrated source to provide a range of excitationsignals from swept sine to arbitrary waveforms Integrated tachometer input for direct readings of RPMand trigger position data A wide range of software applicationsFigure 4.30