Edge Selection
The DBK7 determines the frequency by measuring the time between successive rising or falling edges of
the input signal. Which edge is electrically cleaner depends on the application and related components. If
rising edges are used, the edge-selection circuit does not modify the signal. If falling edges are used, the
circuit inverts the signal so falling edges appear as rising edges to the subsequent circuits. Through
software, each channel can be independently set for rising- or falling-edge.
Debouncing
Debouncing is a process of ignoring signals too short to be real events. When a relay or switch closes, the
electrical contacts may not initially make good contact. Mechanical vibrations can occur, and contact is
made and broken several times stabilizing. Counting all these signals would yield too high a frequency.
The debounce circuit solves this problem by ignoring rising edges not preceded by a sustained low signal.
The sustain interval can be set in software to 0, 0.6, 2.5, or 10 ms for each channel. Debouncing may be
disabled (0 ms) for clean, high-frequency signals. Long debounce times will limit high-frequency response
(e.g., a 10 ms debounce will limit the frequency to about 100 Hz). In general, use “0” (debounce disabled)
for clean, high-frequency signals; increase the debounce as needed for noisy, low-frequency signals from
switches and relays.
The figure shows the effect of 10 ms debouncing on a noisy signal. To be counted, a rising edge must be
preceded by a low sustained for at least 10 ms without any other edges. Rising edges
a
and
f
are counted
because they are preceded by low signal levels sustained for at least 10 ms (the debounce time). All other
rising edges (
b
,
c
,
d
, and
e
) are ignored. Any falling edge makes (or keeps) the debounced output low,
regardless of preceding edges. Thus, the DBK7 can detect short pulses even with debouncing.
Frequency Measurement
After debouncing, the signal’s frequency is ready to be measured. Frequencies are measured to 12-bit
accuracy between a minimum frequency (F
min
) and maximum frequency (F
max
). This frequency range can
be programmed individually for each channel. The limitations on F
min
and F
max
are:
•
The frequency range must be within 0 to 1 MHz.
•
F
max
- F
min
must be at least 1 Hz.
•
F
max
/ F
min
must be at least 100/99 (1.010101).
Based on F
min
and F
max
, the DBK7 measures the frequency by counting input cycles during a variable time
interval. The length of the interval depends on the difference between F
min
and F
max
.
•
For a wide range (when F
min
and F
max
are far apart), each bit of the 12-bit result represents a
large frequency change and can be measured quickly.
•
For a narrow range (when F
min
and F
max
are close together), each bit of the 12-bit result
represents a small frequency change and takes longer to measure.
DBK Option Cards and Modules
879895
DBK7, pg. 11
Summary of Contents for OMB-DBK-34A
Page 6: ...ii...
Page 10: ...viii 917594 DBK Option Cards Modules User s Manual This page is intentionally blank...
Page 32: ...pg 22 DBK Basics 967794 Daq Systems...
Page 60: ...2 10 System Connections Pinouts 877095 DBK Option Cards and Modules...
Page 84: ...5 8 Troubleshooting Tips 967094 DBK Option Cards and Modules...
Page 94: ...DBK200 Series Boards DBK200 DBK201 DD 10 949794 Dimensional Drawings...
Page 96: ...DBK205 DBK205 DD 12 949794 Dimensional Drawings...
Page 97: ...DBK206 Dimensional Drawings 949794 DD 13...
Page 99: ...DBK208 Dimensional Drawings 949794 DD 15...
Page 100: ...DBK209 DD 16 949794 Dimensional Drawings...
Page 101: ...Dimensions for Miscellaneous Components DIN 1 Dimensional Drawings 949794 DD 17...
Page 102: ...DIN 2 DD 18 949794 Dimensional Drawings...
Page 105: ...DBK Cards Modules Part 1 of 2...
Page 106: ...DBK Cards Modules...
Page 108: ...DBK Cards Modules...
Page 148: ...DBK7 pg 14 879895 DBK Option Cards and Modules...
Page 168: ...DBK15 pg 6 889094 DBK Option Cards and Modules...
Page 182: ...DBK16 pg 14 879895 DBK Option Cards and Modules...
Page 200: ...DBK16 pg 32 879895 DBK Option Cards and Modules...
Page 206: ...DBK17 pg 6 879895 DBK Option Cards and Modules...
Page 218: ...DBK20 and DBK21 pg 6 879795 DBK Option Cards and Modules...
Page 232: ...DBK24 pg 8 879795 DBK Option Cards and Modules...