Chapter 13
Fourier Analysis Techniques

m13.1 Fourier Series Representation

Consider the voltage waveform v(t) shown in Figure m13.1.

  1. Determine if the waveform has dc, even, or odd symmetry.
  2. Obtain its cosine/sine Fourier series representation.
  3. Convert the representation to amplitude/phase format and plot the amplitude line spectrum for n = 0 to 5 using A = 10 volts and T = 4 ms.

PIC


Figure m13.1: Voltage waveform for Problem m13.1

NI Multisim Measurements

  1. Create the voltage waveform v(t) of Figure m13.1 with a PIECEWISE_LINEAR_VOLTAGE source. Use the same amplitude and period as in the problem statement.
  2. Plot and tabulate the amplitude line spectrum of v(t) with a Simulate Analyses Fourier Analysis :
    1. Set the “Frequency Resolution (fundamental frequency)” parameter to match the fundamental frequency f0 of the voltage waveform v(t).
    2. Leave the remaining parameters at their default settings.
NI Multisim video tutorials:

NI myDAQ Measurements

  1. Connect myDAQ Analog Output 0 to Analog Input 0, i.e., AO0 to AI0+ and AGND to AI0-.
  2. Create the voltage waveform v(t) with the ELVISmx Arbitrary Waveform Generator using the same amplitude and period as in the problem statement. Set the sampling frequency to 200 kS/s.
  3. Plot the power spectrum of v(t) on the ELVISmx Dynamic Signal Analyzer (DSA). Carefully adjust the panel controls to match the following settings:
  4. Measure the amplitude spectrum for n = 0 to 5 using Cursor 1; take the square root of the displayed cursor value “dVpk^2” to obtain the voltage amplitude. IMPORTANT: Position Cursor 2 between a pair of spectral lines to set its measured value to zero; the value displayed as dVpk^2 is the difference between the two cursors and you want Cursor 2 to serve as the zero reference.

Additional helpful tips:

NI myDAQ video tutorials:

Further Exploration with NI myDAQ

The ELVISmx Digital Signal Analyzer (DSA) represents a sophisticated instrument that performs a wide variety of frequency-domain measurements. Experiment with the settings and discuss your findings:

The “FFT Settings” control the Fast Fourier Transform computation that serves as the heart of the DSA. These critical settings must be carefully selected to obtain correct amplitude spectrum measurements of periodic signals. First learn how the DSA takes a measurement and then experiment with the settings in a moment.

The DSA repetitively captures a snapshot of the input signal with duration “Resolution (lines)” (R) divided by “Frequency Span” (fspan); this time-domain record appears below the frequency display. Take a moment to calculate this time duration from your current DSA FFT settings and confirm that the value does indeed match the upper limit of the time-domain plot.

When measuring a periodic signal the captured time-domain signal must contain an integer multiple of periods, consequently R/fspan divided by the signal period T must be an integer N. Since the periodic signal frequency f0 is 1∕T , the frequency span may be readily calculated as

          fspan = Rf0/N,

where fspan is the frequency span in Hz, R is the resolution in “lines” (sample points), f0 is the fundamental frequency of the periodic input signal in Hz, and N is the number of periods captured. N = 10 cycles provides a good starting point for most measurements.

Now, return the DSA settings to match those of your earlier work in the NI myDAQ section of this problem. Calculate the value of N. Also calculate the values of N that result from choosing the other available values for resolution R (the DSA offers a total of five resolutions). Change the DSA FFT resolution to each of the other available values, and note the effects on the frequency spectrum display and on the time-domain display. In particular, note the degree to which the amplitude line spectral values change.

Return the resolution to R = 400 lines. Calculate the frequency span fspan for N = 10.5, i.e., for a time-domain record that contains ten periods with a half-period tacked onto the end. Enter this value into the DSA and note the degree to which the amplitude line spectral values change.