Escolar Documentos
Profissional Documentos
Cultura Documentos
Accurate motion estimation over a wide range of System Clock surfaces High speed motion detection up to 21 inches/sec High resolution up to 800 CPI Register setting for low power dissipation Power saving mode during times of no movement Resolution Frame Rate Speed
Serial Interface for programming and data Operating transfer Current I/O pin 5.0 volt tolerance Package
Ordering Information Order Number PAW3101DB I/O CMOS output Resolution 800 CPI
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
RB
+Y
8 1 7
+X
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
VDD VSS
5V POWER
SERIAL INTERFACE
SCLK SDIO
SERIAL INTERFACE
VREF
VOLTAGE REFERENCE
CONTROL REGISTER
OSCILLATOR
OSCIN OSCOUT
RESONATOR
Figure 3. Block Diagram The PAW3101DB is a CMOS-process optical mouse sensor with DSP integration chip that serves as a nonmechanical motion estimation engine for implementing a computer mouse. It is based on new optical navigation technology, which measures changes in position by optically acquiring sequential surface images (frames) and mathematically determining the direction and magnitude of movement. The mouse sensor is in a 8-pin optical package. The current X and Y information are available in registers accessed via a serial port. The word "mouse sensor," instead of PAW3101DB, is used in the document.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
3.1 Registers
Address 0x00 0x01 0x02 0x03 0x04 0x05 | 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C | 0x3F 0x40 0x41 0x42 0x43 0x44 Name R/W Reset Value Operation_Mode1 R/W 0x00 Product_ID1 R 0x01 Delta_Y R Delta_X R Image_Quality R Product_ID2 Product_ID3 R R 0x10 0x1X 0x20 0x41 Data Type Bit field Bit field Eight bits 2s complement number Eight bits 2s complement number Eight bits unsigned integer Reserved for future use Eight bits 11:4] number with the product identifier Four bits[3:0] number with the product identifier Reserved[3:0] number is reserved for future use Bit field Eight bits 2s complement number Eight bits 2s complement number Eight bits unsigned integer Bit field Bit field Reserved for future use Bit field Bit field Eight bits 2s complement number Eight bits 2s complement number Eight bits unsigned integer
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Register 0x00 allows the user to change the operation of the mouse sensor. Shown below are the bits, their default values, and optional values. If Slp_enl = 0, after 1 sec not moving during normal mode, the mouse sensor will enter sleep mode, and keep on sleep mode until moving is detected or wakeup is asserted.
Notes
Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode MUST always be 00000 Sleep mode enable/disable 0 = Enable (Default) 1 = Disable Product_ID1
6 PID1[2:0]
0 Opstate
Reserved[3:0]
Product ID of the mouse sensor and operation state of the mouse sensor. Field Name PID1[2:0] Reserved[3:0] Opstate Description The product ID is 000 Reserved for future use Operation state 0 = Sleep state 1 = Normal state Delta_Y 7 Y7 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Delta_X 3 X3 2 X2 1 X1 0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127. Image_Quality 4 3 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). Product_ID2 7 6 5 4 PID2[11:4] The value in this register is fixed. It can be used to verify if the status of the serial communications link is OK. Product_ID3 7 6 PID2[3:0] 5 4 3 2 1 0 Reserved[3:0] 3 2 1 0 2 1 0
The value in this register is fixed. PID2[3:0] can be used to verify if the status of the serial communications link is OK. Reserved[3:0] is a value between 0x0 and 0xF, but it cant be used to verify the status of the serial communications.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Register 0x16 allows the user to determine if motion has occurred since the last time it was read. If so, then the user should read registers 0x17 and 0x18 to get the accumulated motion. It also tells if the motion buffers have overflowed since the last reading. The current resolution is also shown. Reading this register freezes the Delta_X and Delta_Y register values. Read this register before reading the Delta_X and Delta_Y registers. If Delta_X and Delta_Y are not read before the motion register is read a second time, the data in Delta_X and Delta_Y will be lost.
Notes
Description Motion since last report or PD 0 = No motion (Default) 1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers Reserved for future use Motion Delta Y overflow, Y buffer has overflowed since last report 0 = No overflow (Default) 1 = Overflow has occurred Motion Delta X overflow, X buffer has overflowed since last report 0 = No overflow (Default) 1 = Overflow has occurred Reserved for future use Resolution in counts per inch 0 = 800 (Default) 1 = 400 Delta_X
DXOVF Reserved[1:0] RES 0x17 Bit Field Usage 0x18 Bit Field Usage 7 Y7 7 X7
6 X6
5 X5
4 X4
3 X3
2 X2
1 X1
0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127. Delta_Y 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Image_Quality 4 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). Operation_Mode2 7 Reset 6 PD_enh 5 0 4 0 3 LEDsht_enh 2 Slp_enh 1 Slpmu_enh 0 Wakeup 3 2 1 0
Register 0x1A allows the user to change the operation of the mouse sensor. Shown below are the bits, their default values, and optional values. Operation_Mode2[2:0] 0xx = Disable sleep mode 110 = Force enter sleep 101 = Force wakeup from sleep mode Notes: 1. After 1 sec not moving during normal mode, the mouse sensor will enter sleep mode, and keep on sleep mode until moving is detected or wakeup is asserted. 2. Only one of these two bits Slpmu_enh and Wakeup can be set to 1 at the one time, and the other one has to be set to 0. Note that these bits are self-clear. Field Name Reset Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode Must always be 00 LED shutter enable/disable 0 = Disable 1 = Enable (Default) Sleep mode enable/disable 0 = Disable 1 = Enable (Default) Manual enter sleep mode, set 1 will enter sleep and this bit will be reset to 0 Manual wake up from sleep mode, set 1 will enter wakeup and this bit will be reset to 0
Notes
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Configuration 4 0 3 0 2 1 1 0 0 0
The Configuration register allows the user to change the configuration of the moue sensor. Shown below are the bits, their default values, and optional values. Field Name RES Bit [6:0] Description Output resolution setting 0 = 800 (Default) 1 = 400 Must always be 0100100 Operation_Mode3 7 Reset 6 PD_enh 5 LEDsht_enh 4
0
3
0
2
0
1
0
0 Slp_enl
Register 0x40 allows the user to change the operation of the mouse sensor. Shown below are the bits, their default values, and optional values. If Slp_enl = 0, after 1 sec not moving during normal mode, the mouse sensor will enter sleep mode, and keep on sleep mode until moving is detected or wakeup is asserted. Field Name Reset Description Full chip reset 0 = Normal operation mode (Default) 1 = Full chip reset Power down mode 0 = Normal operation mode (Default) 1 = Power down mode LED shutter enable/disable 0 = Disable 1 = Enable (Default) Must always be 0000 Sleep mode enable/disable 0 = Enable (Default) 1 = Disable
Notes
PD_enh
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Product ID of the mouse sensor and operation state of the mouse. Field Name PID3[3:0] Reserved[3:0] Opstate Description The product ID is 010 Reserved for future use Operation state 0 = Sleep state 1 = Normal state Delta_Y 7 Y7 6 Y6 5 Y5 4 Y4 3 Y3 2 Y2 1 Y1 0 Y0
0x42 Bit Field Usage 0x43 Bit Field Usage 0x44 Bit Field Usage Notes 7 6 5 7 X7 6 X6 5 X5 4 X4
Y movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127. Delta_X 3 X3 2 X2 1 X1 0 X0
X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range 128 ~ +127. Image_Quality 4 3 Imgqa[7:0] Image Quality is a quality level of the mouse sensor in the current frame. Report range 0 ~ 255. Field Name Imgqa[7:0] Description Image quality report range: 0(worst) ~ 255(best). 2 1 0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
tRESYNC Serial Interface RESYNC. tSIWTT tPDR Serial Interface Watchdog Timer Timeout PD Pulse Register
ms @3000 frame/sec (refer to Figure 9) us One frame time maximum after setting PD_enh bit in the Operation_Mode register @3000 frame/sec (refer to Figure 10).
Power Up from Deactivate the Power Down Mode Power Up from VDD Rise and Fall Times: SDIO Rise and Fall Times: ILED
30.5
After tPUPD, all registers contain valid data from first image after deactivate power down ms mode. @3000 frame/sec ms @3000 frame/sec ns ns CL = 30 pF LED bin grade: R; R1 = 100 ohm
3 25, 20 10, 10
30.5
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Type: SCLK, SDIO VIH VIL VOH VOL VIH VIL VOL
Type: OSCIN
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
5. Z and 2D Assembly
Z OBJECT SURFACE
Figure 4. Distance from Lens Reference Plane to Surface
+X
+Y
BASE PLATE
PLASTIC SPRING
CLIP
LED
Unit: mm
Figure 5. 2D Assembly
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
6. Serial Interface
The synchronous serial port is used to set and read parameters in the mouse sensor. SCLK: The serial clock line. It is always generated by the mouse controller. SDIO: The serial data line is used to write and read data.
MSB
LSB M SB
LSB
1 1
6 A2
10
11
12
13
14
15
16
DON'T CARE
A6 A5
A4 A3
A1 A0
D7 D6
D5 D4 D3 D2 D1 D0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
1 0
2 A6
3 A5
4 A4
5 A3
6 A2
7 A1
8
H i-Z
9 D7
10 D6
11 D5
12 D4
13 D3
14 D2
15 D1
16 D0
H i-Z _ R /W b it o f n ex t ad d ress
A0
N o te "A " 1. T he m ou se co ntroller send s add ress to the m o use sen so r. 2. T he m ou se co ntroller releases an d set S D IO to H i-Z after th e last ad dress bit. SCLK S D IO 7 A1 A0 tH O L D 3u s,m in N o te "B " 1. T he m o use sen so r sen ds data to th e m ou se con tro ller . 2. T he m o use sen so r releases and set S D IO to H i-Z after th e last data bit. SCLK S D IO 16 H i-Z D0 8 H i-Z D7 9
H i-Z
A D D R E S S (R /W ) DATA
Figure 9. Re-synchronous Serial Interface Using Watchdog Timer Timeout Note that this function is disabled when the mouse sensor is in the power down mode. If the user uses this function during the power down mode, it will get out of synchronization. The mouse sensor and the mouse controller also might get out of synchronization due to following conditions.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
Power On Problem - The problem occurs if the mouse sensor powers up before the mouse controller sets the SCLK and SDIO lines to be output. The mouse sensor and the mouse controller might get out of synchronization due to power on problem. An easy way to solve this is to use watchdog timer timeout. ESD Events - The mouse sensor and the mouse controller might get out of synchronization due to ESD events. An easy way to solve this is to use watchdog timer timeout.
Address = 0x00
1 0 0 0 0 0 0 0 0 1
Data = 0x40
0 0 0 0 0 0
1 frame, max
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
7. Referencing Application Circuit 7.1 5V Application Circuit with External LED Control
U1
11 VCC
C3 0.1uF
P0.6 16 15 9 10 17 18 1 7 6
1 2 3 4
X1 18.432MHz
U2
8 7 6 5
C1
1uF C4 0.1uF
R5 10
+
R3 100K
R1 D1 LED
C5
JP1
1 2 3 4
R2
10uF Q1 2N3906
1.3K
8 12 13
USB
Z1 3 COM Z2
2 1
2 3
ENSW1 ENCODER
CY7C63231
C3 0.1uF
P0.6 16 15 9 10 17 18 1 7 6
1 2 3 4
7 6 5
X1 18.432MHz
U2
8
C1
1uF C4 0.1uF
R3 10
+
R1 D1 LED
C5
JP1
1 2 3 4
R2
10uF
1.3K
8 12 13
USB
Z1 3 COM Z2
2 1
2 3
ENSW1 ENCODER
CY7C63231
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
U1
8
VREF OSCIN
X1 18.432MHz
2 VDD OSCOUT + 6 7
R1
C1 10uF
C2 0.1uF
D1 LED
To MCU's SDIO
VSS SDIO
To MCU's SCLK
LED SCLK
PAW3101DB
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
7.5.1 5V Application
R1 value (ohm) for external LED control, VDD = 5.0V (refer to Figure 11) LED Bin Grade N P Q Min. 27 27 27 Typ. 47 47 47 Max.
R1 value (ohm) for internal LED control, VDD = 5.0V (refer to Figure 12) LED Bin Grade N P Q Min. 47 47 47 Typ. 100 100 100 Max.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732
PAW3101
xxxxxxx
1 2 3 4
9.9 0.390
3.18 0.125
9.1 0.358
1.0 0.039
5.15 0.203 Max. 0.1 Max. 0.004 0.46 0.018 Max. 12 12.60 +/-0.2 0.496 2.0 0.078 1.01 0.040 1.0 0.039 1 2 3 4 4.55 0.179 0.25 0.010
1.42 0.056
8 4.45 0.175
5.0 0.196
NOTES: 1. 2. 3. 4. All dimensions in MM/INCH. All dimensions tolerance: +/- 0.10mm Maxmumflash: +0.2mm Angular tolerance: +/- 3.0degress
26.010 1.024
7.544 0.297
1.194 0.047
0 ref.
1.194 0.047 4.242 0.167 6.172 0.243 1 2 3 4 0.711 0.028 3.251 0.128
7.544 0.297
9. Update History
Version V2.0 V2.1 V2.2 V3.0 V3.2 Update Creation, Preliminary 1st version Re-typesetting Revise words Add an application for 3.3V operation voltage. Content revise Date 08/11/2006 09/08/2006 12/04/2006 05/09/2008 05/26/2008
Note: The Part No. of the Mouse Product with Prefix "PAN" shall NOT be made, sold, offered to sell, imported or used in or into USA, Canada, Japan and EU. For "PAN", PixArt has only gained territory-limited patent license from Avago. Avago reserve right to take legal action against our customers who fails to comply the above term. PLEASE NOTE THAT PixArt will NOT defend, indemnify, or provide any assistance to our customers who fail to comply the term. IF YOU DO NOT AGREE THE TERM, PIXART WILL NOT DELIVER "PAN" PRODUCTS TO YOU.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 509867, 530489, 529309, 560179, 526662, 554497, I230890, I287732