ChecksInFixedWindow_withFFT package
Requirements.Examples.Elementary.ChecksInFixedWindow_withFFT
· source
Library of check blocks that inspect properties in a fixed time window using FFT (Fast Fourier Transform)
Extends Modelica.Icons.ExamplesPackage
Examples of the blocks of package ChecksInFixedWindow_withFFT.
A rising edge of the Boolean input condition triggers a Fast Fourier Transform of the Real input
u, whose amplitude spectrum is then checked. The analysed signal is the sum of a constant and sines of
known amplitude and frequency, so the expected spectrum is known. WithinAbsoluteDomain checks the amplitudes against a
frequency-dependent limit, WithinRelativeDomain against a limit relative to the amplitude of the base frequency, and
MaxTotalHarmonicDistortion checks the total harmonic distortion. The examples ending in 1 perform one FFT (the
WithinAbsoluteDomain1 and WithinRelativeDomain1 examples terminate the simulation when it has finished), those ending
in 2 perform two FFTs, the second one after a further sine has been switched on.
Revisions
| Date | Description |
|---|---|
| Nov. 29, 2015 | Initial version implemented by
Martin R. Kuhn and Martin Otter
(DLR Institute of System Dynamics and Control) The research leading to these results has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2016) for the Clean Sky Joint Technology Initiative under grant agreement no. CSJU-GAM-SGO-2008-001. |
Contents
| Name | Kind | Description | |
|---|---|---|---|
| WithinAbsoluteDomain1 | model | Example for WithinAbsoluteDomain block with one FFT computation (a rising condition input triggers an FFT calculation. The amplitudes of the FFTs must be below a frequency dependent limit) | |
| WithinAbsoluteDomain2 | model | Example for WithinAbsoluteDomain block with two FFT computations (a rising condition input triggers an FFT calculation. The amplitudes of the FFTs must be below a frequency dependent limit) | |
| WithinRelativeDomain1 | model | Example for RelativeDomain block with one FFT computation (a rising condition input triggers an FFT calculation. The amplitudes of the FFTs must be below a frequency dependent limit that is defined relative to the amplitude of the base frequency) | |
| WithinRelativeDomain2 | model | Example for RelativeDomain block with two FFT computations (a rising condition input triggers an FFT calculation. The amplitudes of the FFTs must be below a frequency dependent limit that is defined relative to the amplitude of the base frequency) | |
| MaxTotalHarmonicDistortion1 | model | Example for MaxTotalHarmonicDistortion block with one FFT computation (a rising condition input triggers an FFT calculation. The Total Harmonic Distortion (THD) of the FFTs must be below the given limit) | |
| MaxTotalHarmonicDistortion2 | model | Example for MaxTotalHarmonicDistortion block with two FFT computations (a rising condition input triggers an FFT calculation. The Total Harmonic Distortion (THD) of the FFTs must be below the given limit) |