PAC7312 PAC7312 VGA PC Camera Single-Chip with Audio General Description The PAC7312 is a single chip with an embedded VGA CMOS image sensor and USB 1.1 interface. It has JPEG image compression and image processing. The generic application is a PC camera. JPEG decoder and auto exposure are performed by software in PC side. And the optical size is 1/4” which can easily be embedded in LCD monitors, notebooks or PDA. It also provides high quality audio sampling function for sound recording. The audio function complies with USB audio device class 1.0. There are 4 IO-trapping pins with internal pull-low resistors. It is flexible for customers to set PID. It supports the interface to a serial-EEPROM. When the EEPROM function is enabled, the internal control registers can be power-up loaded from external EEPROM. This allows customization of VID, PID, product string. Features Key Specification z VGA resolution, ~1/4”Lens z Frame rate up to 30fps at following resolution format VGA format (640x480) with JPEG compression CIF format (352x288) with JPEG compression QVGA format (320x240) with JPEG compression QCIF format (176x144) without compression QQVGA format (160x120) without compression z RGB Bayer’s pattern raw data Up to 3fps @VGA format (640x480) Up to 12fps @CIF format (352x288) Up to 12fps @QVGA format (320x240) Up to 30fps @QCIF format (176x144) Up to 30fps @QQVGA format (160x120) z Standard JPEG compression engine comply to ISO/IEC 10918-1(JPEG) z AEC/AGC/AWB automatic z 4 IO-trapping pins to set USB PID z Support USB suspend mode z Support video data transfer through USB isochronous transfer z Snapshot control through USB interrupt pipe z USB Vendor ID, Product ID, device release number and the string descriptor index via a serial EEPROM (93C46) or by metal mask z Complete Universal Serial Bus® spec V1.1 compatibility z Built in 8bits mono audio ADC for audio recording through microphone, 16KHZ sampling rate, 8/16bits PCM format z USB audio device class 1.0 compatibility Supply Voltage 5.0V ± 10% Resolution 640 (H) x 480 (V) Array Diagonal 4.48mm Optical format 1/4“ Pixel Size 5.6um x 5.6um Frame Rate Up to 30fps System Clock 12MHz Color Filter RGB Bayer Pattern Scan mode Progressive Sensitivity 3.06 V/lux*sec PGA gain 23.52dB (Max.) S/N ratio >45dB Power consumption 65mA Package 48-pin PLCC / 37-pin CSP Ordering Information Order number Package Type Package Size(mm) PAC7312PE PAC7312CS 48-pin PLCC 37-pin CSP 11.43 x 11.43 5.06 x 5.55 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] 1 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 1. Pin Assignment 1.1 PLCC Package Pin# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Name NC MIC NC VRB VCM NC NC VRT VDDA VDDAY EPR_DO VSSQ VDDQ EPR_CS/TR2 EPR_CK/TR3 EPR_DI/TR1 VSSAY NC NC GPO/TR0 LED NC TEST2 EPR_EN IOTRAP# KEY# NC VSSQ VDDD PWR_5V NC VDDQ GPIO TEST1 NC RESET# VSSQ XOUT XIN DP DN NC VDDQ VDDP VDDAD VDDAV VSSA PWR_5V Type IN BYPASS BYPASS BYPASS BYPASS BYPASS IN GND BYPASS OUT OUT OUT GND OUT OUT IN IN IN IN GND BYPASS PWR BYPASS IO IN IN GND OUT IN I/O I/O BYPASS BYPASS BYPASS BYPASS GND PWR Description No Connection Microphone input No Connection Analog voltage reference Analog voltage reference No Connection No Connection Analog voltage reference Analog power for AD/DA/PGA, 2.5V Sensor reset power reference Data output of EEPROM Ground for I/O and PHY Power for I/O and PHY Chip Select of EEPROM; (IO trap pin for PID2, internal pull-down 100Kohm) Serial clock of EEPROM; (IO trap pin for PID3, internal pull-down 100Kohm) Data input of EEPROM; (IO trap pin for PID1, internal pull-down 100Kohm) Sensor ground No Connection No Connection General purpose output; (IO trap pin for PID0, internal pull-down 100Kohm) LED driver No Connection Test pin, internal pull-up 100Kohm Enable signal of EEPROM (1: enable, 0: disable), internal pull-down 100Kohm I/O trap enable signal (0: enable, 1: disable, internal pull-down 100Kohm) Snapshot control signal (Active Low, internal pull-up 100Kohm) No Connection Ground for I/O and PHY Logic power for mixed-mode circuit, 2.5V Main power, USB bus power No Connection Power for I/O and PHY, 3.3V General purpose input/output, internal pull-down 100Kohm Test pin. Connect to GND in normal operation mode No Connection Chip power up reset Ground for I/O and PHY Crystal output Crystal input DP for USB1.1 PHY DN for USB1.1 PHY No Connection Power for I/O and PHY Analog power for PLL Analog voltage reference power for core logic, 2.5V Analog voltage reference Analog ground Main power, USB bus power 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] 2 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 1.2 CSP Package Pin# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 Name MIC VRB VCM VRT VDDA VDDAY EPR_DO VSSQ VDDQ EPR_CS/TR2 EPR_CK/TR3 EPR_DI/TR1 VSSAY GPI/TR0 LED EPR_EN IOTRAP# KEY# NC VSSQ VDDD PWR_5V VDDQ GPIO TEST1 RESET# VSSQ XOUT XIN DP DN VDDQ VDDP VDDAD VDDAV VSSA PWR_5V Type IN BYPASS BYPASS BYPASS BYPASS BYPASS IN GND BYPASS OUT OUT OUT GND OUT OUT IN IN IN GND BYPASS PWR BYPASS IO IN IN GND OUT IN I/O I/O BYPASS BYPASS BYPASS BYPASS GND PWR Description Microphone input Analog voltage reference Analog voltage reference Analog voltage reference Analog power for AD/DA/PGA, 2.5V Sensor reset power reference Data output of EEPROM Ground for I/O and PHY Power for I/O and PHY Chip Select of EEPROM; (IO trap pin for PID2, internal pull-down 100Kohm) Serial clock of EEPROM; (IO trap pin for PID3, internal pull-down 100Kohm) Data input of EEPROM; (IO trap pin for PID1, internal pull-down 100Kohm) Sensor ground General purpose output; (IO trap pin for PID0, internal pull-down 100Kohm) LED driver Enable signal of EEPROM (1: enable, 0: disable), internal pull-down 100Kohm I/O trap enable signal (0: enable, 1: disable, internal pull-down 100Kohm) Snapshot control signal (Active Low, internal pull-up 100Kohm) No Connection Ground for I/O and PHY Logic power for mixed-mode circuit, 2.5V Main power, USB bus power Power for I/O and PHY General purpose input/output, internal pull-down 100Kohm Test pin. Connect to GND in normal operation mode Chip power up reset Ground for I/O and PHY Crystal output Crystal input DP for USB1.1 PHY DN for USB1.1 PHY Power for I/O and PHY, 3.3V Analog power for PLL Analog voltage reference power for core logic, 2.5V Analog voltage reference Analog ground Main power, USB bus power 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] 3 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 2. Block Diagram VGA Sensor Image Processing Engine PLL Audio Analog Circuits Audio Control Interface JPEG Compression Engine Rate Control USB Controller ASIC Register Bank Sensor Register Bank Regulator EEPROM Controller PAC7312 is a single-chip USB camera. It includes a VGA sensor based on PixArt VGA sensor with enhanced image quality and sensitivity, a 48MHz PLL, internal regulators, JPEG image compression, image processing schemed, control registers, on-chip SRAM for image data buffer and USB controller. All register parameters are set by USB interface. And the JPEG compressed image data is transmitted by USB 1.1 isochronous pipe. 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] 4 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 3. Function Description 3.1 Analog Data Path The PixArt VGA sensor is a 1/4inch CMOS imaging sensor with 644x488 physical pixels. The active region of sensor array is 644x484. The sensor array is cover with Bayer pattern color filters and micro lens. After a programmable exposure time, the image is sampled first with CDS (Correlated Double Sampling) block to improve S/N ration and reduce fixed pattern noise. Three analog gain stages are implemented before signal transferred by the 10bit ADC. The front gain stage (FG) can be programmed to fit the saturation level of sensor to the full-range input of ADC. The programmable color gain stage (CG) is used to balance the luminance response difference between B/G/R. The global gain stage (GG) is programmed to adapt the gain to the image luminance. The fine gained signal will be digitized by the on-chip 10bit ADC. After the image data has been digitized, further alteration to the signal can be applied before the data is output. The gain stage can be set by digital register, please refer to the following equation to get the mapping gain. Front Gain = 2 + (n/4), n = 0, 1, 2, …7 Color Gain = 1 + (m/16), m= 0, 1, 2, …15 Global Gain = 1 + (q/16), q = 0, 1, 2, …15 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] 5 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 4. Specifications Absolute Maximum Ratings Exposure to absolute maximum rating may affect device reliability. Symbol Parameter Min Max Unit VDD DC supply voltage -0.5 5.5 V VIN DC input voltage 0.5 3.8 V VOUT DC output voltage -0.5 3.8 V TSTG Storage temperature 0 70 ℃ Notes Recommend Operating Condition Symbol Parameter TA Operating Temperature VDD Power supply voltage FCLK System clock frequency Min Typ. Max Unit Notes 0 - 40 °C 4.25 5.0 5.5 V - 12 - MHz Max. Unit Notes mA @30 frame/sec DC Electrical Characteristics (Typical values at 25°C, VDD =5.0 V) Symbol Parameter Min. Typ. Type: PWR IDD Operating Current 65 Type: IN & I/O, Reset VIH Input voltage HIGH 2.0 VDDQ V VIL Input voltage LOW 0 0.8 V CIN Input capacitor 10 pF ILKG Input leakage current 1.0 uA Type: OUT & I/O VOH Output voltage HIGH VOL Output voltage LOW VDDQ-0.2 0.2 V CL= 10pf, RL=1.2kΩ V CL= 10pf, RL=1.2kΩ Sensor Characteristics (Light source: 3200K halogen lamp; 8bit resolutions) Symbol Parameter Min. Typ. Max. Unit PRNU Photo response non-uniformity - 1.3 - % VSAT Saturation output voltage - 0.832 - V Dark output voltage - 0.055 - V/sec Dark signal non-uniformity - 0.001 - V R Sensitivity (Red channel) - 4.590 - V/Lux*sec G Sensitivity (Green channel) - 3.060 - V/Lux*sec B Sensitivity (Blue channel) - 2.448 - V/Lux*sec VDARK DSNU Notes 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] 6 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 5. Package Information 5.1 PLCC Pin Assignment and Optical Center Information Note: Sensor Array Center = Package Center --TOP VIEW— 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] 7 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 5.2 PLCC Package Outline Dimension 18 7 6 19 1 48 43 30 31 42 -- TOP VIEW -- 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] 8 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio VSSAY EPR_DI/TR1 EPR_CK/TR3 VDDQ EPR_CS/TR2 VSSQ EPR_DO VDDAY VRT VDDA Leads & BGA Formation VRT VDDA EPR_DO VDDAY VSSQ VDDQ EPR_CK/TR3 EPR_CS/TR2 EPR_DI/TR1 VSSAY 5.3 CSP Pin Assignment Pad Extension Formation GPO/TR0 VCM VCM GPO/TR0 LED VRB VRB LED MIC MIC EPR_EN EPR_EN Sensor Area IOTRAP# PWR_5V VSSA KEY# PWR_5V IOTRAP# VSSA KEY# NNN NNN Top view (Bumps down) Step Size:5061 × 5551 um Die Size:4841 × 5331 um Ball Pitch:650 um Ball Diameter:300 um Scribe Line:360 um NC VDDQ GPIO VSSQ TEST1 VSSQ RESET# XOUT XIN DP PWR_5V DN VDDD VDDQ DP VDDP VDDQ DN VDDP XIN VDDD PWR_5V XOUT VDDAD VSSQ VDDAD RESET# VSSQ TEST1 VDDAV GPIO VDDAV VDDQ NC Buttom view (Bumps up) Package Size:4966 × 5456 um Marking Code:NNNNNN - Datecode 5.4 Recommend PCB Layout 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] 9 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 5.5 CSP Package Dimensions and Ball Matrix Table 1 2 3 4 5 6 A VSSAY(PIN 13) EPR_DI/TR(PIN 12) EPR _CS/TR2(PIN 10) VSSQ(PIN 8) VDDAY(PIN 6) VRT(PIN 4) B LED(PIN 15) GPO/TR0(PIN 14) VDDQ(PIN 9) EPR _D0(PIN 7) VCM(PIN 3) VRB(PIN 2) C VSSQ/EPR_EN(PIN 16) EPR _CK/TR3(PIN 11) VDDA(PIN 5) MIC(PIN 1) PWR_5V(PIN 37) D IOTRAP# (PIN 17) KEY# (PIN 18) VDDAV(PIN 35) VSSA(PIN 36) E NC(PIN 19) VSSQ(PIN 20) VDDP(PIN 33) VDDAD(PIN 34) F VDDD(PIN 21) PWR_5V(PIN 22) RESET# (PIN 26) XOUT(PIN 28) DP(PIN 30) VDDQ(PIN 32) G VDDQ(PIN 23) GPIO(PIN 24) TEST1(PIN 25) VSSQ(PIN 27) XIN(PIN 29) DN(PIN 31) A E S1 2 3 4 5 6 J1 6 5 4 3 2 1 886.095 A B A J2 F S2 1 B C C D 158.28 E E F F G G NNN NNN Center of BGA= Center of package Center of sensor Top view (Bumps down) Bottom view (Bumps up) C3 B D C1 C C2 Marking Code:NNNNNN - Datecode Side view Package Body Dimension X Package Body Dimension Y Package Height Ball Height Package Body Thickness Thickness of Glass surface to wafer Ball Diameter Total Pin Count Pin Count X axis Pin Count Y axis Pins Pitch X axis Pins Pitch Y axis Edge to Pin Center Distance analog X Edge to Pin Center Distance analog Y Edge to Optical Center Distance analog X Edge to Optical Center Distance analog Y Symbol Nominal A B C C1 C2 C3 D N N1 N2 J1 J2 S1 S2 E F 4966 5456 800 160 640 415 300 37 6 7 650 650 858 778 2325 1842 Min. µm 4941 5431 740 130 605 395 270 Max. 4991 5481 860 190 675 435 330 828 748 2300 1817 888 808 2350 1867 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] 10 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 6. Reference Application Circuit 6.1 PLCC Package (PAC7312PE) VRB KEY 3 MIC 1 48 VDD5V 47 VSSA VDDAV 45 VDDAD 44 VDDP 43 VDDQ C13 1uF 1uF VDDP C3 1uF + 4.7uF + X2 MICROPHONE R7 1M 4.7K R14 100k R15 R17 22K C21 4.7uF 10k + C18 + C19 1K 22uF 0.001uF 1uF VDDAV C7 1uF VDDAD C8 1uF VRT C9 1uF C11 1uF VCM C12 1uF VDDAY C15 0.1uF L3 Short / 3.3uH R21 27 ohm L4 Short / 3.3uH VSSQ 1.5K VDD5V 9 8 GND2 NC + +5V C31 C32 20pF 20pF C33 0.1uF VSSQ C30 + R22 L2 Open/3.3uH VDD5V C22 VSSAY VSSA 10uF C23 0.1uF C24 10uF C25 0.1uF C26 10uF C28 10uF USBGND VSSA VSSAY 0.1uF 10M 4.7nF 3.3uH C27 10uF C35 L1 HC4 HC3 R20 27 ohm 1uF VSSQ VDDQ 6 7 DP DN 5 4 3 2 1 C10 HC1 HC2 R19 VSSQ C6 R18 47 CON1 MINI USB 5P 47pF VDDA VSSA VDDQ C5 MIC R13 R16 27K 47pF X1 12MHz XIN R12 GPO/TR0 C20 + C4 XOUT Q1 2N3904 C17 C1 1uF KEY + 46 S1 C2 C16 VSSA LED LED VDDD 100pF 4.7K EPR_DI/TR1 10k RST# + 2 NC DN 4 42 DP 41 VCM DN XOUT XIN DP 40 39 R6 51k 5 VRB 1K 10uF Q2 2N3904 6 + R9 10k R4 R5 1K VSSQ C14 + R10 XIN RST# XOUT 38 VSSQ RESET# 37 36 NC 35 GPIO 34 33 NC 32 31 TEST1 VDDQ VDDQ VDDP PWR_5V 2k R3 + VRT VDDAD VDDD R8 EPR_CS/TR2 C29 0.1uF C34 10uF C36 + 8 VDDA 7 VDDA VRT 9 VDDAV VSSQ EPR_CK/TR3 10k NC VDDAY 10 VDDAY PWR_5V VSSA VDDQ R11 NC PAC7312PE VSSQ 29 30 10uF EPR_DO NC NC 28 22K 11 12 VSSQ VDDQ EPR_CS/TR2 13 14 EPR_CS/TR2 EPR_CK/TR3 VCM KEY # 27 VDD5V NC MIC IOTRAP# 26 10k R2 D1 VRB EPR_EN R1 U1 TEST2 25 VDD5V VDDQ NC 24 VDDD VDDQ LED 23 VSSQ EPR_CK/TR3 EPR_DI/TR1 GPO/TR0 22 KEY EPR_DI/TR1 NC 21 LED 16 17 VSSAY 18 NC 19 GPO/TR0 20 VSSQ 15 VSSAY 0.1uF VSSQ 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] 11 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 6.2 CSP Package (PAC7312CS) VDDQ VDDQ VSSQ 10k EPR_CK/TR3 R2 10k EPR_CS/TR2 R3 10k LED R6 51k PAC7312CS KEY 3 2 1 37 36 35 34 33 32 VCM VRB MIC PWR_5V VSSA VDDAV VDDAD VDDP VDDQ VCM VRB MIC VDDAV VDDAD VDDP VDD5V VSSA 2k R9 VDDQ C13 1uF R15 R17 22K C21 4.7uF - 1uF VDDAV C7 1uF VDDAD C8 1uF VRT C9 1uF C11 1uF VCM C12 1uF VDDAY C15 0.1uF VRB + C18 + C19 1K 22uF 0.001uF R16 27K R18 47 VSSQ 1.5K VDD5V C31 C32 20pF 20pF C33 0.1uF VSSQ L1 3.3uH L2 Open/3.3uH VSSQ VDD5V 5 4 3 2 1 C30 + 9 8 GND2 NC + +5V R22 C22 VSSAY VSSA 10uF C23 0.1uF C24 10uF C25 0.1uF C26 10uF C27 0.1uF C28 10uF 10M 10uF C35 VSSA VSSAY HC4 HC3 Short / 3.3uH 1uF VDDQ 6 7 L4 C10 MIC R13 CON1 MINI USB 5P R19 R21 27 ohm VSSQ C6 HC1 HC2 VDDQ Short / 3.3uH 47pF VDDA VSSA L3 C5 + 100k R20 27 ohm 47pF X1 12MHz R12 4.7K 10k DP DN C4 R7 1M + 4.7uF X2 MICROPHONE R14 C3 4.7nF + C17 GPO/TR0 Q2 2N3904 VDDP Q1 2N3904 + VSSA + 10uF 1uF 100pF C20 + 1uF C16 10uF 4.7K C2 XIN 1K 22K R11 VDDD VSSQ C14 + R10 C1 1uF KEY USBGND + R8 S1 C29 0.1uF C34 10uF C36 + VDD5V RST# XOUT 23 24 25 RST# 26 27 XOUT 28 XIN 29 DP 30 DN 31 VDDQ LED U1 VDDQ GPIO TEST1 RESET# VSSQ XOUT XIN DP DN VDD5V GPO/TR0 LED EPR_EN IOTRAP# KEY # NC VSSQ VDDD PWR_5V 10k D1 13 12 11 10 9 8 7 6 5 4 VSSQ VSSAY EPR_DI/TR1 EPR_SK/TR3 EPR_CS/TR2 VDDQ VSSQ EPR_DO VDDAY VDDA VRT GPO/TR0 14 LED 15 16 17 KEY 18 19 20 VDDD 21 22 EPR_DI/TR1 R4 R5 1K VDDAY VDDA VRT EPR_DI/TR1 EPR_CK/TR3 EPR_CS/TR2 VSSAY R1 0.1uF VSSQ 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] 12 V1.5 Oct. 2005 PixArt Imaging Inc. PAC7312 VGA PC Camera Single-Chip with Audio 7. Update History Version V1.0 V1.1 V1.2 V1.3 V1.4 V1.5 Update Creation, Preliminary 1st version 4. Specifications 5. Package information 4. Specifications 5. Package information 4. Specifications 5. Package information 6. Reference Application Circuit 5. Package information 6. Reference Application Circuit General Description 5. Package information 6. Reference Application Circuit (Change list: C4, C5, C13, C14, C17, C19, C20, C21, R8, R9, R10, R11, R12, R15, R18, L2) 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] Date 10/27/2004 10/29/2004 11/04/2004 06/28/2005 07/01/2005 10/07/2005 13 V1.5 Oct. 2005