PAN3501UI PAN3501UI USB OPTICAL MOUSE SENSOR SINGLE CHIP General Description PAN3501UI is a CMOS process optical mouse sensor single chip with USB interface that serves as a nonmechanical motion estimation engine for implementing a computer mouse. Key Specification Features USB interface Single 5.0 volt power supply Compatible with Microsoft® Windows 2000® Interface and 5-button Wheel Mouse Optical motion estimation technology Complete 2-D motion sensor Power Supply Optical Lens Wide operating supply range 4.25V~5.5V USB 1:1 System Clock Accurate motion estimation over a wide range of surfaces Speed 28 inches/sec High speed motion detection up to 28 Acceleration inches/sec 20g High resolution up to 800cpi 400/600/800 CPI Power saving mode during times of no Frame Rate movement Supports five buttons (R, M, L, B4, B5) and three axes (X, Y, Z) output Operating Current Z-axis can support two kinds of scroller input (Opto-mechanical and mechanical). Package Complete Universal Serial Bus® spec V1.1 compatibility Resolution Complete USB HID spec V1.1 compatibility Integrated USB transceiver and 1.5Mbps USB serial interface engine 18.000 MHz 3000 frames/sec 12mA @Mouse moving (Normal) 8mA @Mouse not moving (Sleep) 480uA @USB suspend (Suspend) Shrunk DIP24 Ordering Information Part Number PAN3501UI PAN3501UI-P2 PAN3501UI-P4 CPI Sensor Rotate Device Type Z-axis Type 400/600/800 400/600/800 400/600/800 0˚/+90˚/-90˚ 0˚/+90˚/-90˚ 0˚/+90˚/-90˚ 2D2B/3D3B/3D5B 2D2B/3D3B/3D5B 2D2B/3D3B/3D5B Mechanical (Z/2) Optical (Z/2) Optical (Z/4) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 1 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 1. Pin Configuration 1.1 Pin Assignment 24 1 LB +Y 12 13 RB 1 24 12 13 +X Figure 2. Top View of Mouse Figure 1. Top View Pinout 1.2 Pin Description Pin # Name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Z1 Z2 SR IRCTL BM BL DT B4 B5 CPI VSSLED LED VREFB VREFA VDD5V VSS VDDQ OSCIN OSCOUT D+ DBR RFU TEST Type Definition IN IN IN OUT IN IN IN IN IN IN GND I/O BYPASS BYPASS PWR GND BYPASS IN OUT I/O I/O IN IN IN Z axis, support two kinds of scroller input, opto-mechanical and mechanical Z axis, support two kinds of scroller input, opto-mechanical and mechanical Sensor rotate (0, 1, floating) => (-90°, +90°, 0°), 3-states input IR LED control Button middle key input, normal pull-high (50k), press connect to low Button left key input, normal pull-high (50k), press connect to low Device type (0, 1, floating) => (3D3B, 2D2B, 3D5B), 3-states input Button 4 key input, normal pull-high (50k), press connect to low Button 5 key input, normal pull-high (50k), press connect to low CPI select to (0, 1, floating)=> (800, 600, 400), 3-states input LED ground LED control Analog voltage reference Analog voltage reference Chip power VDD, 5.0V Chip ground IO voltage reference Oscillator input, connect to 18.000MHz crystal or resonator Oscillator output, connect to 18.000MHz crystal or resonator USB D+ USB DButton right key input, normal pull-high (50k), press connect to low Reserve for future use, PAN3501UP used the pin to switch USB or PS/2 Test pin. It is needed to connect to GND in normal operation mode All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 2 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 2. Block Diagram and Operation BL BM BUTTON BR B4 B5 USB INTERFACE D+ D- CMOS IMAGE SENSOR DIGITAL SIGNAL PROCESSOR USB MOUSE CONTROLLER VOLTAGE REGULATOR AND POWER CONTROL Z2 POWER ON RESET Z-AXIS COUNTER Z1 WHEEL LED DRIVER DEBUNCE LED VDD5V VSS VSSLED VREFA VREFB VDDQ OSCILLATOR 5V POWER OSCIN OSCOUT VOLTAGE REFERENCE 18MHZ RESONATOR Figure 3. Block diagram PAN3501UI supports X, Y, Z three axes, and L, R, M, B4, B5 five buttons under USB mode. It is a CMOS process optical mouse sensor single chip with USB interface that serves as a non-mechanical motion estimation engine for implementing a computer mouse. PAN3501UI is in a 24-pin optical package and comes with the resolution of 400/600/800 counts per inch (cpi) and the rate of motion up to 28 inches per second. It include USB interface so that no mouse controller is needed to interface through USB. PAN3501UI can receive command and echo status or data format, both complete Universal Serial Bus® spec V1.1 and USB HID spec V1.1 compatibility. It is also a cost effective solution to support USB Mouse. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 3 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 3. Specifications Absolute Maximum Ratings Exposure to absolute maximum rating may affect device reliability. Symbol Parameter Min. Max. Unit Notes TSTG Storage temperature -40 85 ℃ TA Operating Temperature -15 55 °C - 260 °C For 10 seconds, 1.6mm below seating plane. - 2 kV All pins, human body model MIL 883 Method 3015 Lead Solder Temp ESD VDD DC supply voltage -0.5 5.5 V VIN DC input voltage -0.5 5.5 V All I/O pin Min. Typ. Max. Unit 0 - 40 °C 4.25 5.0 5.5 V Recommend Operating Condition Symbol Parameter TA Operating Temperature VDD Power supply voltage VN Supply noise - - 100 mV FCLK Clock Frequency - 18.000 - MHz FR Frame Rate - 3000 - Frames/sec Z Distance from lens reference plane to surface 2.3 2.4 2.5 mm S Speed 0 14 28 Inches/sec A Acceleration - - 20 g R Resolution - 400 800 cpi Notes Peak to peak within 0-100 MHz Refer to Figure 4. Package Lid Lens Z OBJECT SURFACE Figure 4. Distance from lens reference plane to surface 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip +X +Y ESD LENS RING CLIP PLASTIC SPRING BASE PLATE LED SURFACE IS 0 REF. PCB SENSOR BASE PLATE ALIGNMENT POST Unit: mm Figure 5. 2D assembly Z1 Z2 Tr Tp Tf Figure 6. Photo-couples pulse width 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip DC Electrical Characteristics Electrical characteristics over recommended operating conditions. Typical values at 25 °C, VDD =5.0 V Symbol Parameter Type: USB Mouse PWR Supply Current IDD Mouse moving (normal) Supply Current IDD Mouse not moving (sleep1) Supply Current IDD Suspend current (suspend) Type: BL, BM, BR, B4, B5 RPH Internal Pull-up Resistance Min. Typ. Max. Unit Notes - 12 - mA - 8 - mA - - 480 uA - 50 - Kohm - 50 - PAN3501UI built-in internal pull-down Kohm resistance. PAN3501UI-PX needs external pull-down resistance. Type: Z1, Z2 RPD Internal Pull-down Resistance Type: BL, BM, BR, B4, B5, Z1, Z2 VIH Input High Voltage 2.0 - - V VIL Input Low Voltage - - 0.8 V Type: USB DP, DN RPH Internal Pull-up Resistance - 1.5 - Kohm VOL Output Low Voltage - - 0.3 V 2.0 - - 0.5 V V - - 360 Type: OSCIN VIH Input High Voltage VIL Input Low Voltage When driving from an external source When driving from an external source Type: LED VOL Output Voltage LOW mV I OL = 25mA 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 4. USB Interface 4.1 USB Command Set Description (USB Descriptor) The USB HOST detect USB mouse plug-in and assigns a new unique address to the USB mouse, then ask USB mouse device for information about the device description, configuration description, HID report description during enumeration period. After enumeration, the USB device is transfer motion and button value to the USB host. Descriptor Type Device Descriptor (18 bytes) Configuration Descriptor (9 bytes) Interface Descriptor (9 bytes) Human Interface Device Descriptor (9 bytes) Endpoint Descriptor (7 bytes) Human Interface Device Report Descriptor (72 bytes, 3D3B) Byte 12 3A 00 09 Byte 01 09 01 02 Byte 10 00 Byte 01 25 Byte 00 00 Byte 00 01 Byte 00 01 Byte 08 02 22 00 01 01 04 A0 04 00 00 01 03 01 02 21 10 01 00 01 22 48 05 01 01 03 05 00 7F 09 15 B1 81 09 29 75 81 09 75 38 00 22 03 02 03 01 03 30 08 95 25 95 04 A1 15 81 05 09 95 01 01 07 00 01 00 02 01 31 02 81 75 B1 0A 05 25 95 09 15 81 06 01 01 09 01 01 01 81 06 09 95 C0 32 09 00 09 00 07 05 19 95 75 A1 25 C0 3C 01 4.2 USB Data Report Format The USB report has two data formats, depending on boot or report protocol is selected. One kind of data format is the boot protocol used in legacy environment as 4.2.1. The other kind of data format is USB report protocol format and sends the additional wheel movement data in the fourth byte as 4.2.2. The wheel is moved forward the fourth byte data is 01H, the wheel is moved backward the fourth byte data is FFH, and the wheel is idle the fourth byte data is 00H. 4.2.1 USB Boot Protocol for Legacy Operation Byte 1 2 Bit 0 1 2~7 0-7 Symbol BL BR NC X0~X7 3 0-7 Y0~Y7 Description 1 = Left button pressed 1 = Right button pressed Reserved X data (D0 - D7). A positive value indicates motion to the right; a negative value indicates motion to the left. Bit 0=LSB. Y data (D0 - D7). A positive value indicates device motion upward; a negative value indicates motion downward. Bit 0=LSB. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 7 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 4.2.2 USB Report Protocol Byte 1 2 Bit 0 1 2 3 4 5~7 0-7 Symbol BL BR BM B4 B5 NC X0~X7 3 0-7 Y0~Y7 4 0-7 Z0~Z7 Description 1 = Left button pressed 1 = Right button pressed 1 = Middle button pressed 1 = B4 button pressed 1 = B5 button pressed Reserved X data (D0 - D7). A positive value indicates motion to the right; a negative value indicates motion to the left. Bit 0=LSB. Y data (D0 - D7). A positive value indicates device motion upward; a negative value indicates motion downward. Bit 0=LSB. Z-wheel motion data (D0 - D7). A positive value indicates device motion downward; a negative value indicates motion upward. The Z0-Z7 limit value is ±7. Bit 0=LSB. 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 5. Referencing Application Circuit 5.1 Typical Application for PAN3501UI with Mechanical Encoder U1 ENSW1 VCC_5V 3 VCC_5V R2 0? R3 0? ENCODER Z1 COM Z2 2 1 1 2 3 4 VCC_5V R4 R5 SW2 BM 5 SW3 BL 6 0? 7 0? SW4 VCC_5V R6 R7 B4 SW5 8 B5 9 0? 10 0? 11 VCC_5V 12 R1 D1 LED Z1 TEST Z2 RFU SR BR IRCTL D- BM D+ BL OSCOUT DT OSCIN B4 VDDQ B5 VSS CPI VDD5V VSSLED VREFA LED VREFB PAN3501UI RFU DD+ VCC_5V 24 23 RFU 22 SW1 21 D- R8 1M D+ R9 1M 20 PIN3(SR): PULL LOW => -90 degree PULL HIGH => +90 degree FLOATING => 0 degree BR 19 PIN7(DT) PULL LOW => 3D3B PULL HIGH => 2D2B FLOATING => 3D5B X1 18.000MHZ 18 VDDQ 17 + 16 C1 1uF VCC_5V 15 14 13 + C5 C4 C3 1uF 0.1uF + PIN10(CPI) PULL LOW => 800CPI PULL HIGH => 600CPI FLOATING => 400CPI C2 10uF 0.1uF J1 1 2 3 4 5 USB CABLE Note: Please connect the RFU pin to USB connector shell PAN3501UP used the pin to switch USB or PS/2. for future use, Figure 7. Application circuit for PAN3501UI (Mechanical Encoder) 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 5.2 Typical Application for PAN3501UI-PX with Optical Encoder U1 VCC_5V R2 0? R3 0? Z1 1 Z2 2 3 IRCTL VCC_5V R4 4 SW2 BM 5 SW3 BL 6 0? 7 0? R5 SW4 VCC_5V B4 SW5 R6 R7 8 B5 9 0? 10 0? 11 VCC_5V 12 R1 D1 LED Z1 TEST Z2 RFU SR BR IRCTL D- BM D+ BL OSCOUT DT OSCIN B4 VDDQ B5 VDD5V VSSLED VREFA 23 RFU 22 SW1 21 D- R8 1M 20 D+ R9 1M PIN3(SR): PULL LOW => -90 degree PULL HIGH => +90 degree FLOATING => 0 degree BR 19 PIN7(DT) PULL LOW => 3D3B PULL HIGH => 2D2B FLOATING => 3D5B X1 18.000MHZ 18 VDDQ 17 + 16 VSS CPI LED 24 C1 1uf VCC_5V 15 PIN10(CPI) PULL LOW => 800CPI PULL HIGH => 600CPI FLOATING => 400CPI 14 13 VREFB + C5 C4 C3 1uF 0.1uF + C2 10uF 0.1uF PAN3501UI-PX VCC_5V IRCTL Q1 2N3906 RFU DD+ 2 D1 U2 IR PT 3 1 Z1 VCC_5V J1 1 2 3 4 5 USB CABLE Z2 R6 R4 R5 470 5.1K 5.1K Note: 1. Please connect the RFU pin to USB connector shell for future use, PAN3501UP used the pin to switch USB or PS/2. 2. For resistor value selection, refer to high or low input level of Z1 and Z2 in the D.C. Electrical Characteristics table. The recommended value for R2 is 470ohm. The recommended value for R3/R4 is 5.1Kohm. Figure 8. Application circuit for PAN3501UI-PX (Optical Encoder) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 10 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 5.3 PCB Layout Consideration 1. Caps for pins 13, 14, 17 MUST have trace lengths LESS than 5mm. 2. The trace lengths of OSCOUT, OSCIN must less than 6mm. 5.4 Recommended Value for R1 Radiometric intensity of LED Bin limits (mW/Sr at 20mA) LED Bin Grade Min. Typ. Max. N 14.7 - 17.7 P 17.7 - 21.2 Q 21.2 - 25.4 Note: Tolerance for each bin will be ± 15% R1 value (ohm), VDD=5.0V LED Bin Grade Min. Typ. Max. N 51 100 - P 51 100 - Q 51 100 - All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 11 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 6. Package Information 6.1 Package Outline Drawing 24 13 1 12 Θ 1 12 24 13 Θ Figure 9. Package outline drawing 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: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 6.2 Recommended PCB Mechanical Cutouts and Spacing 4.064 0.160 15.494 0.610 10.998 0.433 6.985 0.275 27.153 1.069 2.286 0.090 0 ref. 26.010 1.024 16.942 0.667 7.544 0.297 4.445 0.175 1.194 0.047 0.711 0.028 Optical Center 0 ref. 1.194 0.047 4.445 0.175 6.985 0.275 0.711 0.028 7.544 0.297 3.251 0.128 All Dimensions : mm / inch Figure 10. Recommended PCB mechanical cutouts and spacing All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 13 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005 PixArt Imaging Inc. PAN3501UI USB Optical Mouse Sensor Single Chip 7. NSTL Compatibility Test PAN3501UI has passed the NSTL Compatibility Test Program, which conducts an objective quality assurance test suite to verify correct operation, functionality, and compatibility of system products. "The NSTL standard testing methodologies assessed the compatibility of PAN3501UI at the NSTL/ALLION Labs testing facility. And, it shows that it is getting along great and operated correctly with various software applications and add-on devices under a variety of Operating Systems." cited from the NTSL Test Report. Accordingly, PAN3501UI fully meets NTSL Compatibility Test Standard and is able to carry the NTSL Seal. 8. Update History Version V1.0 Update Creation, Preliminary 1st version Date 04/06/2005 All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 14 PixArt Imaging Inc. E-mail: [email protected] V1.0, APR. 2005