SECTION 10. PROCESSING INSTRUCTIONS
10-7
*** 60 FAST FOURIER TRANSFORM ***
THEORY
Instruction 60 performs a Fast Fourier
Transform (FFT) on a set of data contained in
contiguous locations in Input Storage. The FFT
is used to obtain information on the relative
magnitudes and phases of the various frequency
components in a time varying signal. FFT theory
requires that the signal be sampled at a
frequency that is at least two times faster than
the highest frequency component in the signal.
For example, a signal representing ocean waves
with a maximum frequency of 0.125 Hz would
need to be sampled at a rate of 0.25 Hz or
greater. The measurements must be made at
the appropriate sampling rate and stored in
contiguous input locations before the FFT can
be applied. The measured data stored in
sequential input locations is also referred to as
the "original time series data".
The results of the FFT can be expressed as: 1)
the power spectrum, 2) the real and imaginary
components, or 3) the magnitude and phase
components. The power spectrum results
indicate the amount of power at the different
frequencies but do not contain any phase
information. The real and imaginary results are
analogous to the orthogonal (east and north)
representation of a wind vector. The magnitude
and phase results are analogous to the polar
(speed and direction) representation of a wind
vector.
If desired, the original time varying signal can be
reconstructed by taking the Inverse Fourier
Transform of either the real and imaginary or the
magnitude and phase results.
PROGRAMMING
The FFT Instruction is a Processing Instruction
and will not output data to final memory or any
data storage device. FFT results are
transferred to Final Memory by setting the
Output Flag and sampling the input locations
which contain the FFT results.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Log base 2 of N, where
N is the number of
samples in the original
data; e.g., this
parameter is 11 for
2048 samples or 12 for
4096 samples
(maximum).
02:
2
FFT Option
0X = Power Spectrum
1X = Real & Imaginary
2X = Magnitude & Phase
X0 = No Taper
X1 = Taper
03:
2
Log base 2 of the number
of adjacent bins to
average; e.g., this
parameter is 3 for
averaging 8 adjacent bins.
04:
4
Input location containing
the first value in the original
time series. After this
program has executed, this
location will contain the first
spectral bin or bin average
of the result.
05:
FP
Multiplier for scaling
FFT results.
Input storage locations: Equal to the number of
values in the original time series data.
Intermediate locations required: N/8+2
Execution time in seconds:
POWER SPECTRUM
= 0.00035*N*LOG
10
(N)/LOG
10
(2)+0.01
MAGNITUDE AND PHASE
= 0.00035*N*LOG
10
(N)/LOG
10
(2)+0.14
REAL AND IMAGINARY
= 0.00072*N*LOG
10
(N)/LOG
10
(2)+1.44
PARAMETER 1 is an integer from 1 to 12. The
number 2, raised to the power of Parameter 1, is
equal to the number of data values in the
original time series data, N. For example, if
Parameter 1=12, then N=4096. Maximum value
for Parameter 1 is 12 (4096).
PARAMETER 2, the FFT Option, is a two digit
parameter. The first digit specifies which results
are to be generated and the second digit
specifies whether or not a "taper" is applied.
First Digit: A "
0
" in the first digit specifies that
the FFT result be expressed as the power
spectra. Bin averaging is allowed with this
option. A "
1
" in the first digit specifies that the
FFT result be expressed as the real and
imaginary components. Bin averaging is not
allowed with this option. A "
2
" in the first digit
specifies that the FFT result be expressed as
Summary of Contents for CR23X
Page 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Page 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Page 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Page 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Page 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Page 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Page 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Page 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Page 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Page 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Page 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Page 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Page 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Page 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Page 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Page 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Page 278: ...This is a blank page ...
Page 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Page 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Page 300: ...This is a blank page ...
Page 302: ...This is a blank page ...
Page 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Page 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Page 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Page 342: ...This is a blank page ...
Page 373: ...This is a blank page ...