Pike Technical Manual
V5.2.0
207
Controlling image capture
Debounce
Only for input ports:
There is an adjustable debounce time for trigger: separate for each input pin. The
debounce time is a waiting period where no new trigger is allowed. This helps
you to set exact one trigger.
The debounce feature is applied in cases of bad signals. The aim is to let the trig-
ger run, when the signal is debounced.
To set this feature in an advanced register: see Chapter
To set this feature in SmartView:
Trig/IO
tab,
Input pins
table,
Debounce
col-
umn.
Low pass
Debounce acts like a low-pass filter with debounce time acting as resistance-
capacitance element. That means: with increasing debounce time trigger will
release later.
Example
Debounce time set to 20 μs.
A switch debounces with 5 μs high pulse and 1 μs low pulse. During high pulse
an internal counter adds one cycle, during low pulse the counter subtracts one
cycle. Therefore high pulses at input pin have to be
20 μs.
Internal counter sees: 5 μs - 1 μs = 4 μs
Number of periods during debounce time: 20 μs / 4 μs = 5
That means 5 periods x 6 μs = 30 μs
The trigger starts after 30 μs while the debounce time was set to 20 μs.
Note
•
Switching trigger delay to ON also switches external Trig-
ger_Mode_0 to ON.
•
This feature works with external Trigger_Mode_0 only.
Figure 111: Example of debounce time for trigger
Trigger
signal
Debounce time