PAN101B PIXART | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 24
Technical content
Features
Single 3.0 volt power supply Optical motion estimation technology Complete 2-D motion sensor No mechanical parts Accurate motion estimation over a wide range of surfaces High speed motion detection up to 16+ inches/sec High resolution up to 800cpi Shutdown pin for low power dissipation. Power saving mode during times of no movement Serial Interface for programming and data transfer I/O pin 5.0 volt tolerance
Ordering Information
Order number I/O Resolution PAN101BOI-204 Open-drain output 400 cpi PAN101BOI-208 Open-drain output 800 cpi PAN101BSI-204 CMOS output 400 cpi PAN101BSI-208 CMOS output 800 cpi
1 VSS_LED GND LED ground
2 LED I/O LED control
3 OSCOUT OUT Resonator output
4 OSCIN IN Resonator input
5 VSSD GND Chip digital ground
6 VSSA GND Chip analog ground
9 VRB BYPASS Analog voltage reference
10 VRT BYPASS Analog voltage reference
11 VAY BYPASS Analog voltage reference
13 NC - No connection
16 NC - No connection
18 SCLK IN Serial interface clock
19 SDIO
20 PD IN Power down pin, active high
Figure 1. Top View Pinout Figure 2. Top View of Mouse
- Block Diagram and Operation
Figure 3. Block Diagram
PixArt Imaging Inc. PAN101B CMOS Optical Navigation Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 4 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, FEB. 2003 3. Registers and Operation The PAN101B can be programmed through registers, via the serial port, and DSP configuration and motion data can be read from these registers. All registers not listed are reserved, and should never be written by firmware.
3.1 Registers
Address Name R/W Default Data Type 0x00 Product_ID R 0x02 Eight bits number with the product identifier. 0x01 Reserved - - Reserved for future. 0x02 Motion_Status R - Bit field 0x03 Delta_X R - Eight bits 2’s complement number. 0x04 Delta_Y R - Eight bits 2’s complement number. 0x05 Operation_Mode R/W - Bit field
3.2 Register descriptions
0x00 Product_ID Bit 7 6 5 4 3 2 1 0 Field PID7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 Usage The value in this register can not change, it can be used to verify that the serial communications link is OK. 0x01 Reserved Bit 7 6 5 4 3 2 1 0 Field Reserved Usage Reserved for future
PixArt Imaging Inc. PAN101B CMOS Optical Navigation Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 5 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, FEB. 2003 0x02 Motion_Status Bit 7 6 5 4 3 2 1 0 Field Motion Reserved Reserved DYOVF DXOVF Reserved Reserved RES Usage Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If so, then the user should read registers 0x03 and 0x04 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. Field Name Description Motion 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 Reserved for future Reserved Reserved for future DYOVF Motion Delta Y overflow, ∆Y buffer has overflowed since last report 0 = no overflow (Default) 1 = Overflow has occurred DXOVF Motion Delta X overflow, ∆X buffer has overflowed since last report 0 = no overflow (Default) 1 = Overflow has occurred Reserved Reserved for future Reserved Reserved for future Notes RES Resolution in counts per inch 0 = 800 (Default @ PAN101BXX-208) 1 = 400 (Default @ PAN101BXX-204) 0x03 Delta_X Bit 7 6 5 4 3 2 1 0 Field X7 X6 X5 X4 X3 X2 X1 X0 Usage X movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128~+127. 0x04 Delta_Y Bit 7 6 5 4 3 2 1 0 Field Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Usage Y movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Report range –128~+127.
PixArt Imaging Inc. PAN101B CMOS Optical Navigation Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 6 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, FEB. 2003 0x05 Operation_Mode Bit 7 6 5 4 3 2 1 0 Field Reserved XY_enh RES Slp_enh Slp2au Slp2mu Slp1mu Wakeup Usage Register 0x05 allows the user to change the operation of the sensor. Shown below are the bits, their default values, and optional values. Operation_Mode[4:0] “0xxxx”=Disable sleep mode “10xxx”=Enable sleep mode “11xxx”=Enable sleep mode2 “1x100”=Force enter sleep23 “1x010”=Force enter sleep13 “1x001”=Force wakeup from sleep mode3 Notes: 1. Enable sleep mode, but disable automatic entering sleep2 mode, that is, only 2 modes will be used, normal mode and sleep1 mode. After 1 sec not moving during normal mode, the chip will enter sleep1 mode, and keep on sleep1 mode until moving is detected or wakeup is asserted. 2. Enable sleep mode full function, that is 3 modes will be used, normal mode, sleep1 mode and sleep2 mode. After 1 sec not moving during normal mode, chip will enter sleep1 mode, and keep on sleep1 mode until moving is detected or wakeup is asserted. And after 90 sec not moving during sleep1 mode, the chip will enter sleep2 mode, and keep on sleep2 mode until detect moving or force wakeup to normal mode. Mode Sampling rate @3000frame/sec Active duty cycle @3000frame/sec Sleep1 30/sec 20% Sleep2 3/sec 2% 3. Only one of these three bits slp2mu_enh, slp1mu_enh, and wakeup can be set to 1 at the same time, others have to be set to 0. After a period of time, the bits, which was set to 1, will be reset to 0 by internal signal. Field Name Description Reserved Reserved for future, Please set Reserved= “0” (Default) XY_enh XY quadrature output enable/disable 0=disable 1= enable (Default) RES Resolution in counts per inch 0 = 800 (Default @ PAN101BXX-208) 1 = 400 (Default @ PAN101BXX-204) Slp_enh Sleep mode enable/disable 0 = Disable 1 = Enable (Default) Slp2au Automatic enter sleep2 mode enable/disable 0 = Disable 1 = Enable (Default) Slp2mu Manual enter sleep2 mode, set “1” will enter sleep2 and this bit will be reset to “0” Slp1mu Manual enter sleep1 mode, set “1” will enter sleep2 and this bit will be reset to “0” Notes Wakeup Manual wake up from sleep mode, set “1” will enter wakeup and this bit will be reset to “0”
883 Method 3015
2.1 2.2 2.3 mm Refer to Figure 4. Figure 4. Distance from Lens Reference Plane to Surface
PixArt Imaging Inc. PAN101B CMOS Optical Navigation Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 8 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, FEB. 2003 AC Operating Condition Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD =3.0 V Symbol Parameter Min. Typ. Max. Unit Notes tPD Power Down 0.5 us From PD ↑. (Refer to Figure 5.) tPDW PD Pulse Width 1 us Pulse width to reset the serial interface. (Refer to Figure 5.) tPUPD Power Up from PD ↓ 42.8 ms From PD↓ to valid quad signals 200usec + 128frames. (Refer to Figure 5.) tPU Power Up from V DD↑ 41.7 ms From VDD↑ to valid quad signals. 400usec + 124frames. tHOLD SDIO read hold time 3 us Minimum hold time for valid data. (Refer to Figure 14.) tCOMPUTE Data delay after PD ↓ 4 ms After tCOMPUTE, all registers contain valid data from first image after PD↓. Note that an additional 128 frames for Auto-Exposure (AE) stabilization may be required if mouse movement occurred while PD was high. (Refer to Figure 8.) 500, 5 ns Pull-up 10Kohm (PAN101BOI) t r , t f Rise and Fall Times: SDIO 25, 20 ns C L = 30pf (PAN101BSI) 500, 5 ns Pull-up 10Kohm (PAN101BOI) t r , t f Rise and Fall Times: XA, XB, YA, YB 25, 20 ns C L = 30pf (PAN101BSI) t r , t f Rise and Fall Times: ILED 10, 10 ns LED bin:N ; R1=100ohm
PixArt Imaging Inc. PAN101B CMOS Optical Navigation Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 9 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, FEB. 2003 Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, V DD =3.0 V Symbol Parameter Min. Typ. Max. Unit Type: PWR IDD Supply Current Mouse moving (Normal) 15 mA XA, XB, YA, YB, SCLK, SDIO = no load IDD Supply Current Mouse not moving (sleep1) 5 mA IDD Supply Current Mouse not moving (sleep2) 2 mA IDDPD Supply Current (Power Down) 100 uA PD, SCLK, SDIO = high Type: SCLK, SDIO, PD VIH Input voltage HIGH 2 VIL Input voltage LOW 0.8 V VOH Output voltage HIGH 0.8 V DD V @I OH = 3mA (SDIO only) VOL Output voltage LOW 0.2V DD V @I OL = 3mA (SDIO only) Type: OSCIN VIH Input voltage HIGH 2 V When driving from an external source VIL Input voltage LOW 0.8 V When driving from an external source Type: LED VOL Output voltage LOW 150 mV @I OL = 25mA Type: XA, XB, YA, YB VOH Output voltage HIGH 0.8 V DD V @I OH = 3mA VOL Output voltage LOW 0.2V DD V @I OL = 3mA
output format is two channels quadrature (X and Y direction), which emulates encoder phototransistors. show the timing for positive X motion, to the right or positive Y motion, up.
6.1 Quadrature Output Timing
Figure 9. Quadrature Output Timing
6.2 Quadrature Output State Machine
that state 0 is entered after a power on reset. While the PD pin is asserted, the state machine is halted. movement will entry power saving mode, until mouse was moved.
6.3 Quadrature Output Waveform
1 MOTION COUNT
Figure 10. State Machine Figure 11. Quadrature Output Waveform
out the motion information instead of the quadrature data pins. SCLK: The serial clock line. It is always generated by the host micro-controller. SDIO: The serial data line used for write and read data. synchronization between the micro-controller and the PAN101B in case of an error.
7.1 Transmission Protocol
controller always initiates communication; the PAN101B never initiates data transfers. has a bit7 as its MSB to indicate data direction. The second byte contains the data.
7.1.1 Write Operation
reads SDIO on rising edges of SCLK.
7.1.2 Read Operation
after the last address data bit. The PAN101B will go to the high Z state after the last data bit. Figure 12. Transmission Protocol Figure 13. Write Operation
- Micro-controller send address to PAN101B.
- Micro-controller release and set SDIO to Hi-Z after the last address bit.
- PAN101B send data to Micro-controller .
- PAN101B release and set SDIO to Hi-Z after the last data bit.
7.2 Re-Synchronous Serial Interface
pin, and then toggle the SCLK line from high to low to high. The SDIO line will now be in the Hi-Z state. The PAN101B and the micro-controller might get out of synchronization due to following condition.
7.2.1 USB suspend
USB suspend interrupt during a read operation). To accomplish this the micro-controller should raise PD. prepared for the beginning of future transmissions after PD goes low.
7.2.2 Firmware flaws error, or others error
lowered, returning the PAN101B to normal operation. Figure 14. Read Operation
7.2.3 Power on problem
7.2.4 ESD events
The PAN101B and the micro-controller might get out of synchronization due to ESD events. ESD events. An easy way to solve this is to reset PAN101B.
7.3 Collision detection on SDIO
will not cause any communication difficulties).
7.4 Error detection and recovery
address and comparing written data to read data.
- The micro-controller can verify the synchronization of the serial port by periodically reading the
Figure 15. Power on reset to resync. PAN101B
- Referencing application circuit
8.1 Recommended typical application using serial interface
Figure 16. Application circuit using serial interface with PAN101BOI Figure 17. Application circuit using serial interface with PAN101BSI
Figure 18. Example printed circuit board layout. (PAN101BOI V.S CY7C63723-PC)
8.2 Application circuit using quadrature output pins
Figure 19. Application circuit using quadrature output pins with PAN101BOI Figure 20. Application circuit using quadrature output pins with PAN101BSI
Figure 21. Example printed circuit board layout. (PAN101BOI V.S CY7C63723-PC)
8.3 Typical application for PS/2 interface
Figure 22. Application circuit using PS/2 interface with PAN101BOI
Figure 24. Example printed circuit board layout. (PAN101BOI V.S EM84510FP)
8.4 PCB layout consideration
- Caps for pins 9, 10 MUST have trace lengths LESS than 5mm.
- The ground wires of pin1(VSS_LED), pin5(VSSD), pin6(VSSA) must be separated from PS2/USB
connector ground node in PCB layout.
- VSS_LED and VSSD must have trace lengths less than 100mm, VSSA must have trace lengths less
than 80mm, and typical trace width is 30mil.
- The trace lengths of OSCOUT, OSCIN must less than 6mm.
8.5 Recommended value for R1
Figure 26. Recommended value for R1 Figure 25. PCB layout consideration
9.1 Package Outline Drawing
- All dimensions in MM/INCH.
- All dimensions tolerance: +/- 0.10mm
Figure 27. Package Outline Drawing
9.2 Recommended PCB Mechanical Cutouts and Spacing
Figure 27. Package Outline Drawing 08/29/2002 Figure 27. Package Outline Drawing 10/02/2002
8.4 PCB layout consideration 10/14/2002
Figure 27. Package Outline Drawing 02/10/2003 Figure 28. Recommended PCB Mechanical Cutouts and Spacing