Page 44
DEWE-ORION-1616-10x
3.2.1.8 Quadrature Encoder
In the first case X1 decoding is explained. When
Input A
leads
Input B
in a quadrature cycle, the counter
increments on rising edges of
Input A
. When
Input B
leads
Input A
in a quadrature cycle, the counter decre-
ments on the falling edges of
Input A
. At every
Sample Clock
(
1
,
2
, …,
9
) the counter value is read out.
Figure 18 shows the resulting increments and decrements for X1 encoding.
0
2
3
9
7
6
Sample Clock
Input A
Synchronized Value
Input B
Counter Value
1
2
3
4
8
7
6
5
4
...
...
...
1
2
3
7
8
9
Figure 18: Quadrature Encoder X1 Mode
For X2 encoding the rising edges and the falling edges of
Input A
are used to increment or decrement. The
counter increments if
Input A
leads
Input B
and decrements if
Input B
leads
Input A
. This is shown in Figure
19.
12
15
18
12
9
6
Sample Clock
Input A
Synchronized Value
Input B
Counter Value
13
14
15
16
17
18
19
11
10
9
8
7
6
5
4
3
...
...
...
1
2
3
7
8
9
Figure 19: Quadrature Encoder X2 Mode
Similarly, the counter increments or decrements on each edge of
Input A
and
Input B
for X4 decoding. The
condition for increment and decrement is the same as for X1 and X2.
Содержание DEWE-ORION-1616-10 Series
Страница 56: ...C2 Notes...