English
Language : 

PAN101B Datasheet, PDF (12/24 Pages) Pixart Imaging Inc. – CMOS OPTICAL NAVIGATION SENSOR
PixArt Imaging Inc.
PAN101B
CMOS Optical Navigation Sensor
6.2 Quadrature Output State Machine
The following state machine shows the states of the quadrature output pins. The three things to note are
that state 0 is entered after a power on reset. While the PD pin is asserted, the state machine is halted.
Once PD is de-asserted, the state machine picks up from where it left off. During times of mouse no
movement will entry power saving mode, until mouse was moved.
PD
POWER ON RESET
+ DIREC-TDIIORNECTION
STATE 0
(0,0)
- DIREC+TIDOINRECTION
PD
STATE 1
(0,1)
STATE 3
(1,0)
PD
+ DIRECTI-ODNIRECTION
STATE 2
(1,1)
- DIREC+TDIOIRNECTION
X/Y output
STATE
XA/YA XB/YB
0
0
0
1
0
1
2
1
1
3
1
0
PD
Figure 10. State Machine
6.3 Quadrature Output Waveform
The following diagrams show the waveform of the two channel quadrature outputs. If the X, Y is
motionless, the (XA, XB), (YA, YB) will keep in final state. Each state change (ex. STATE2 → STATE3)
is one count.
XA/YA
XB/YB
XA/YA
X MOTION TO THE RIGHT
Y MOTION UP
( + DIRECTION )
STATE3
(1,0)
STATE0
(0,0)
STATE1
(0,1)
STATE2
(1,1)
STATE3
(1,0)
STATE0
(0,0)
+
1
+
1
+
1
+
1
+
1
MOTION COUNT
X MOTION TO THE LEFT
Y MOTION DOWN
( - DIRECTION )
XB/YB
STATE1
(0,1)
STATE0
(0,0)
STATE3
(1,0)
STATE2
(1,1)
STATE1
(0,1)
STATE0
(0,0)
-
-
-
-
-
1
1
1
1
1
Figure 11. Quadrature Output Waveform
MOTION COUNT
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
12
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
V1.4, FEB. 2003