
5.2 Trigger and Strobe
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.19). 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.19: 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.20). 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.20: A/B Trigger Debouncing, example with ABMode=quad; example for encoder retracing
.
MAN069 12/2018 V1.1
53 of 123
Summary of Contents for MV1-D4096 Series
Page 1: ...Photonfocus MV1 D4096 Camera Series CMOS camera with GigE interface MAN069 12 2018 V1 1 ...
Page 10: ...1 Preface 10 of 123 MAN069 12 2018 V1 1 ...
Page 12: ...2 Introduction 12 of 123 MAN069 12 2018 V1 1 ...
Page 32: ...4 Product Specification 32 of 123 MAN069 12 2018 V1 1 ...
Page 94: ...6 Hardware Interface 94 of 123 MAN069 12 2018 V1 1 ...
Page 108: ...7 Software 108 of 123 MAN069 12 2018 V1 1 ...
Page 110: ...8 Mechanical Considerations 110 of 123 MAN069 12 2018 V1 1 ...
Page 112: ...9 Troubleshooting 112 of 123 MAN069 12 2018 V1 1 ...
Page 118: ...12 Support and Repair 118 of 123 MAN069 12 2018 V1 1 ...
Page 120: ...13 References 120 of 123 MAN069 12 2018 V1 1 ...
Page 124: ...B Camera Revisions 124 of 123 MAN069 12 2018 V1 1 ...