![Campbell CR3000 Micrologger Скачать руководство пользователя страница 410](http://html1.mh-extra.com/html/campbell/cr3000-micrologger/cr3000-micrologger_operators-manual_489090410.webp)
Section 8. Operation
410
TimerIO()
instruction measures frequencies of ≤ 1 kHz with higher frequency
resolution over short (sub-second) intervals. In contrast, sub-second frequency
measurement with PulseCount() produce measurements of lower resolution.
Consider a 1 kHz input. Table Frequency Resolution Comparison
(p. 410)
lists
frequency resolutions to be expected for a 1 kHz signal measured by TimerIO()
and PulseCount() at 0.5 s and 5.0 s scan intervals.
Increasing a measurement interval from 1 s to 10 s, either by increasing the scan
interval (when using PulseCount()) or by averaging (when using PulseCount()
or TimerIO()), improves the resulting frequency resolution from 1 Hz to 0.1 Hz.
Averaging can be accomplished by the Average(), AvgRun(), and AvgSpa()
instructions. Also, PulseCount() has the option of entering a number greater than
1 in the POption parameter. Doing so enters an averaging interval in
milliseconds for a direct running-average computation. However, use caution
when averaging. Averaging of any measurement reduces the certainty that the
result truly represents a real aspect of the phenomenon being measured.
Frequency Resolution Comparison
0.5 s Scan
5.0 s Scan
PulseCount(), POption
=
1
FR = 2 Hz
FR = 0.2 Hz
TimerIO(), Function
=
2
FR = 0.0011 Hz
FR = 0.00011 Hz
8.1.3.3.2 Frequency Measurement Q & A
Q: When more than one pulse is in a scan interval, what does TimerIO() return
when configured for a frequency measurement? Does it average the measured
periods and compute the frequency from that (f = 1/T)? For example,
Scan
(50,mSec,10,0)
TimerIO
(WindSpd(),11111111,00022000,60,Sec)
A: In the background, a 32-bit-timer counter is saved each time the signal
transitions as programmed (rising or falling). This counter is running at a fixed
high frequency. A count is also incremented for each transition. When the
TimerIO() instruction executes, it uses the difference of time between the edge
prior to the last execution and the edge prior to this execution as the time
difference. The number of transitions that occur between these two times divided
by the time difference gives the calculated frequency. For multiple edges
occurring between execution intervals, this calculation does assume that the
frequency is not varying over the execution interval. The calculation returns the
average regardless of how the signal is changing.
8.1.3.4 Switch Closure and Open-Collector Measurements
Switch closure and open-collector signals can be measured on P or C terminals.
Mechanical-switch closures have a tendency to bounce before solidly closing.
Unless filtered, bounces can cause multiple counts per event. The CR3000
automatically filters bounce. Because of the filtering, the maximum switch
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......