
5 Functionality
A/B Trigger Debounce
A debouncing logic can be enabled by setting
ABTriggerDeBounce
=
True
. It is implemented with a
watermark value of the EncoderCounter (see Fig. 5.21). Suppose
ABTriggerDirection
=
fwd
, then
the watermark value is increased with the increments of the EncoderCounter. If
EncoderCounter decreases, e.g. Due to bouncing problems, the watermark value is hold
unchanged. Triggers are then only generated when the watermark value increases.
B
o u n c i n g
A
B
G r a y C o u n t e r
E n c o d e r C o u n t e r
T r i g g e r F w d
W
a t e r m a r k
0
1
3
3
1
0
1
2
2
2
0
3
3
5
2
4
0
1
2
5
4
3
0
3
4
3
Figure 5.21: A/B Trigger Debouncing, example with ABMode=quad
The A/B Trigger Debounce mode can also be used for another issue:
In some applications the conveyor belt may stop between parts. In practice the conveyor belt
stops and retraces by a small amount which may cause a misalignment in the system. If
ABTriggerDirection=fwd
is used and the Debounce mode is enabled and the conveyor belt starts
again in forward direction, no triggers are generated for the amount that the conveyor belt
retraced (see Fig. 5.22). The highest value of the EncoderCounter is stored as the watermark.
Triggers are only generated when the EncoderCounter is at the watermark level.
Q
u a d A / B M o d e , D e b o u n c i n g
f o r w a r d m o v e m e n t
h i g h w a t e r m a r k i s s a v e d
b a c k w a r d m o v e m e n t
f o r w a r d m o v e m e n t
t r i g g e r w h e n w a t e r m a r k i s e x c e e d e d
A
B
G r a y C o u n t e r
E n c o d e r C o u n t e r
T r i g g e r F w d
W
a t e r m a r k
0
1
0
1
2
0
1
3
0
1
2
3
0
1
2
2
3
3
4
4
5
5
0
3
2
1
0
1
2
3
0
1
2
3
0
1
6
6
7
7
8
8
9
9
8
7
6
5
4
5
2
6
7
8
9
1 0
1 1
1 2
1 3
1 4
1 0
1 1
1 2
1 3
1 4
Figure 5.22: A/B Trigger Debouncing, example with ABMode=quad; example for encoder retracing
.
58 of 139
MAN077 11/2017 V1.0
Summary of Contents for MV1-D1280-L01-1280-G2-12
Page 1: ...Photonfocus MV1 D1280 L01 Camera Series CMOS camera with GigE interface MAN077 11 2017 V1 0...
Page 10: ...1 Preface 10 of 139 MAN077 11 2017 V1 0...
Page 84: ...5 Functionality 84 of 139 MAN077 11 2017 V1 0...
Page 88: ...6 Precautions 88 of 139 MAN077 11 2017 V1 0...
Page 120: ...8 Software 120 of 139 MAN077 11 2017 V1 0...
Page 130: ...12 Support and Repair 130 of 139 MAN077 11 2017 V1 0...
Page 132: ...13 References 132 of 139 MAN077 11 2017 V1 0...
Page 136: ...B Camera Revisions 136 of 139 MAN077 11 2017 V1 0...
Page 138: ...C Feature Matrix 138 of 139 MAN077 11 2017 V1 0...