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.11). 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.11: 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.12). 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.12: A/B Trigger Debouncing, example with ABMode=quad; example for encoder retracing
.
44
Содержание MV1-R1280-50-G2 Camera Series
Страница 6: ...CONTENTS 6...
Страница 10: ...2 Introduction 10...
Страница 14: ...3 How to get started GigE G2 Figure 3 3 PFInstaller components choice 14...
Страница 26: ...4 Product Specification Figure 4 1 Photonfocus MV1 R1280 GigE camera series with C mount lens 26...
Страница 30: ...4 Product Specification 30...
Страница 51: ...Figure 5 19 Crosshairs Example with different grey values 5 6 Crosshairs 51...
Страница 72: ...6 Hardware Interface 72...
Страница 84: ...7 Software 84...
Страница 88: ...9 Warranty 88...
Страница 90: ...10 References 90...
Страница 94: ...B Camera Revisions 94...
Страница 95: ...C Document Revision History Revision Date Changes 1 0 April 2015 First version 95...