Section 7. Installation
198
Note This instruction should not normally be inserted within a For/Next
construct with the Source and Destination parameters indexed and Reps
set to 1. Doing so will perform a single running average, using the values
of the different elements of the array, instead of performing an
independent running average on each element of the array. The results
will be a running average of a spatial average of the various source array
elements.
A running average is a digital low-pass filter; its output is attenuated as a function
of frequency, and its output is delayed in time. Degree of attenuation and phase
shift (time delay) depend on the frequency of the input signal and the time length
(which is related to the number of points) of the running average.
The figure Running-Average Frequency Response
(p. 200)
is a graph of signal
attenuation plotted against signal frequency normalized to 1/(running average
duration). The signal is attenuated by a synchronizing filter with an order of 1
(simple averaging): Sin(πX) / (πX), where X is the ratio of the input signal
frequency to the running-average frequency (running-
average frequency = 1 /
time length of the running average).
Example:
Scan period = 1 ms,
N value = 4 (number of poin
ts to average),
Running-
average duration = 4 ms
Running-
average frequency = 1 / (running
-
average duration = 250 Hz)
Input-
signal frequency = 100 Hz
Input frequency to running average (normalized frequency) = 100 / 250 = 0.4
Sin(0.4π) / (0.4π) = 0.757 (or r
ead from figure Running-Average Frequency
Response
(p. 200),
where the X axis is 0.4)
For a 100 Hz input signal with an amplitude of 10 V peak-to-peak, a running
average outputs a 100 Hz signal with an amplitude of 7.57 V peak-to-peak.
There is also a phase shift, or delay, in the AvgRun() output. The formula for
calculating the delay, in number of samples, is:
Delay in samples = (N
–1) / 2
Note N = number of points in running average
To calculate the delay in time, multiply the result from the above equation by the
period at which the running average is executed (usually the scan period):
Delay in time = (scan period) • (N
–1) / 2
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......