AWBs Spectrum Analyzer and the Fourier Series waveform
AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . The basic idea of the Fourier series is that a periodic function with period could be described by a weighted sum of cosine and sine functions. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 1
The Spectrum Analyzer is an advance analysis tool in AWB. Initial window, each channel hardwired to the Oscilloscope. The Spectrum Analyzer is hardwired to the Oscilloscope. Set the markers in the oscilloscope to bound one complete cycle of the waveform of interest. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . Click here to do a DFT. 2
The DFT requires evenly spaced samples. Data points must be interpolated in some cases. Use “Linear” for jagged waveforms and “Cubic Spline” for rounded waveforms for interpolation. The Spectrum Analyzer allows you to increase the frequency resolution without increasing time via two types of extrapolation. Select “Repeat Data” for periodic waveforms and “Zero Pad” for single events. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 3
The frequency resolution is the inverse of the simulation period. Max Frequency determine how finely the input waveform will be sampled. Pick the number of repetitions desired. The interval between points is inversely proportional to the maximum frequency. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 4
Each channel of the Spectrum Analyzer is hard wired to the Oscilloscope. For the vertical display set to “Linear” and for Complex select either magnitude or phase. When you want both magnitude and phase on a waveform you should dedicate two channels in the oscilloscope to measure the same waveform. Then in the Spectrum Analyzer set one channel to measure magnitude and the other to measure phase. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 5
Output waveform Consider this example on using the Spectrum Analyzer and reconstruction of the time domain waveform. . . Input waveform 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 6
Here is the resulting DFT for the output waveform. Only the DC and first four harmonics seem significant. Set the Markers to the frequencies of interest. Magnitude and phase at 800 Hz Magnitude and phase at 600 Hz DC Component Magnitude and phase at 200 Hz Magnitude and phase at 400 Hz 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 7
However, a problem exists in the DFT results. . . Both magnitude and phase are wrong. . . Hi Andy, Derek assigned SR 31903762 to me. This one discusses the DFT in relation to the time delay on the V_SINUSOIDAL parts. First, your conclusion is correct that the phase is -ve of what you expect. In fact, the transient waveform for the impulse generator is "flipped". The reason for this lies in the equation that Spice Plus (and also PSpice) uses for the SIN independent source: V = Voff + Vamp*sin(2*PI*(freq*(TIME-td)+phase/360)) This equation has both a "phase" and a "td" (time-delay) input. The V_SINUSOIDAL part in AWB, however, only includes a time delay parameter ("td"). When using "td", it is necessary to define it in terms of phase as : td = -phase/(360*frequency) This is the -ve of the definition that I found in the testcase that was sent. Brian 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 8
Using a summer and sine wave generators the filtered output waveform can be reconstructed using the DC component and first four harmonics. . . If this approach is used then you must make sure that all the sine waves have started at t=0. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 9
Or using a profile model the filtered output waveform can be reconstructed using the DC component and first four harmonics. . . This approach only requires a conversions to be made to radians and radians/second. 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 10
It is also possible to create a profile subcircuit which will allow add exactly what appears in the Spectrum Analyzer for magnitude, phase and frequency. . . Either approach could be placed in a subcircuit model which could adjust the DFT results as needed to produce the corrected reconstructed waveform. . . 3/12/02 AWB’s Spectrum Analyzer and the Fourier Series waveform reconstruction. . . 11
- Slides: 11