beautypg.com

Debounce, Chapter, E in chapter – ALLIED Vision Technologies Pike F-1600 User Manual

Page 213

background image

Controlling image capture

PIKE Technical Manual V5.1.2

213

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

Debounce time

on page

214.

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
Trigger_Mode_0 to ON.

This feature works with external Trigger_Mode_0 only.

Figure 112: Example of debounce time for trigger

Trigger

signal

Debounce time

This manual is related to the following products: