Escolar Documentos
Profissional Documentos
Cultura Documentos
PAS202BCB SINGLE-CHIP CMOS VGA COLOR DIGITAL IMAGE SENSOR PAS202BBB SINGLE-CHIP CMOS VGA B&W DIGITAL IMAGE SENSOR General Description
The PAS202BCB/PAS202BBB is a highly integrated CMOS active-pixel image sensor that has a VGA resolution of 644H x 484V . To have an excellent image quality, the PAS202BCB/PAS202BBB outputs 10-bit RGB raw data through a parallel data bus. It is available in color or monochrome and in 28-pin LCC. The PAS202BCB/PAS202BBB can be programmed to set the exposure time for different luminance condition via I2CTM serial control bus. By programming the internal register sets, it performs on-chip frame rate adjustment, offset correction DAC and programmable gain control.
Features
VGA(644 x 484 pixels) resolution, ~1/4 Lens Bayer-RGB color filter array On-chip 10-bit pipelined A/D converter Output format: 10-bit parallel RGB raw data On-chip 9-bit background compensation DAC On-chip programmable gain amplifier
q q
Key Specification
Supply Voltage Resolution Array diagonal Pixel Size Frame rate System clock Max. pixel rate Sensitivity PGA gain Color filter Exposure Time Scan Mode S/N Ratio Package 3.3V + 10% 644(H) x 484(V) 4.5mm (~1/4Optic) 5.6mX5.6m ~30 fps Up to 48 MHz 12MHz 0.6V/Lux-sec(green) 29.5 dB max. RGB Bayer Pattern ~ Frame time to 4 pxclk Progressive
>42 dB 28 pins LCC
Continuous variable frame time(1/2sec~1/30sec) Continuous variable exposure time I2C Interface Digitally programmable registers Single 3.3V supply voltage
100 mW low power dissipation 350 uW low power down dissipation Flash light timing Mirror output
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
1. Pin Assignment
PIN No. 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 PIN NAME VSSAY VLRST PXD<9> PXD<8> PXD<7> PXD<6> PXD<5> VDDQ VSSQ PXD<4> PXD<3> PXD<2> PXD<1> PXD<0> SYSCLK PXCLK HSYNC VSYNC SCL SDA VDDD VSSD CSB VCM VRT VRB VSSA VDDA Type GND BIAS OUT OUT OUT OUT OUT PWR GND OUT OUT OUT OUT OUT IN OUT OUT OUT IN I/O PWR GND IN BYPASS BYPASS BYPASS GND PWR Definition Analog ground Fixed bias input voltage, 1.65V Digital data output Digital data output Digital data output Digital data output Digital data output Digital VDD, 3.3V Digital ground Digital data output Digital data output Digital data output Digital data output Digital data output Master clock input Pixel clock output Horizontal Synchronization clock Vertical Synchronization clock I2C clock I2C bi-directional data Digital VDD, 3.3V Digital ground Chip select Analog voltage reference Analog voltage reference Analog voltage reference Analog ground Analog VDD, 3.3V
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
2. Block Diagram
dac[8:0]
Row Decoders
9-bit +/-1V DAC Sensor Array Color gain B,G,R 4-bits X3 Global gain 5-bits X5
I2C Interface
Register sets
Pxo<9:0> Vsync
Hsync PXCLK
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
13 dark pixel 540 dark pixel Row 485 Row 484 G G R G R G R R 13 R pixel R 13 G pixel G
13 dark pixel
13 dark pixel
13 B pixel B G
Dark pixel B G B G
R G R G
R R
B G G
B G
row lines
B G Row 1 Row 0
G R G Dark pixel 540 dark pixel R 13 R pixel G 13 G pixel 13 dark pixel B 13 B pixel 13 dark pixel
B G G B G
B G R B G
G R G B G B
R G
13 dark pixel
644
column lines
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
line time (min)= 120+4+2+640+2+4 = 772 pixclks Hsync. xxx xxxx Pixclk_a
2+640+2 pixels out x BGBG
Nov_by2*2-8 pixclks
x x x
x x x x Pixclk_a B
x x x x x x x x Nov_by2*2 pixclks
Vsync.
Dark
Hsync.
Dark
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
Pixclks
Hsync. Dark Dark Dark Dark
Row 0
Dark pixel
R 13 R pixel
G 13 G pixel
540
Dark pixel
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
4. I2C Bus
PAS202BCB/PAS202BBB supports I2C-bus transfer protocol and is acting as slave device. The 7 bits unique slave address is 1000000 and supports receiving / transmitting speed up to 400kHz.
Only two wires SDA (serial data) and SCL (serial clock) carry information between the devices connected to the I2C bus. Normally both SDA and SCL lines are open collector structure and pull high by external pull-up resistors.
Only the master can initiates a transfer (start), generates clock signals, and terminates a transfer (stop). Start and stop condition: A high to low transition of the SDA line while SCL is high defines a start condition. A low to high transition of the SDA line while SCL is high defines a stop condition. Please refer to Fig 4.1.
Valid data: The data on the SDA line must be stable during the high period of the SCL clock. Within each byte, MSB is always transferred first. Read/write control bit is the LSB of the first byte. Please refer to Fig 4.2.
Both the master and slave can transmit and receive data from the bus. Acknowledge: The receiving device should pull down the SDA line during high period of the SCL clock line when a complete byte was transferred by transmitter. In the case of a master received data from a slave, the master does not generate an acknowledgment on the last byte to indicate the end of a master read cycle.
SDA
SCL
S Start Condition
P Stop Condition
Fig 4.1
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
SDA
DATA STABLE
SCL
Valid Data
S : Start A : Acknowledge by slave P : Stop RW : The LSB of 1ST byte to decide whether current cycle is read or write cycle. RW=1 read cycle, RW=0 write cycle.
SUBADDRESS : The address values of PAS202BCB/PAS202BBB internal control registers (Please refer to PAS202BCB/PAS202BBB register description)
1ST BYTE 2ND BYTE n BYTEs + A
SLAVE ID (7 BIT)
RW
SUBADDRESS (8 BIT)
DATA
DATA
MSB
LSB=0
During write cycle, the master generates start condition and then places the 1st byte data that are combined slave address (7 bits) with a read/write control bit to SDA line. After slave(PAS202BCB/PAS202BBB) issues acknowledgment, the master places 2nd byte (sub-address) data on SDA line. Again follow the PAS202BCB/PAS202BBB acknowledgment, the master places the 8 bits data on SDA line and transmit to PAS202BCB/PAS202BBB control register (address was assigned by 2nd byte). After
PAS202BCB/PAS202BBB issue acknowledgment, the master can generate a stop condition to end of this write cycle. In the condition of multi-byte write, the PAS202BCB/PAS202BBB sub-address is automatically increment after each DATA byte transferred. The data and A cycles is repeat until last byte write. Every control
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
registers value inside PAS202BCB/PAS202BBB can be programming via this way. (Please refer to Fig 4.3.)
The sub-address was taken from previous write cycle The sub-address is automatically increment after each byte read Am : Acknowledge by master Note there is no acknowledgment from master after last byte read
1ST BYTE SLAVE ADDRESS (7 BITS) 2ND BYTE n BYTE
RW
DATA (8 BIT)
Am
DATA
Am
DATA
During read cycle, the master generates start condition and then place the 1st byte data that are combined slave address (7 bits) with a read/write control bit to SDA line. After issue acknowledgment, 8 bits DATA was also placed on SDA line by PAS202BCB/PAS202BBB. The 8 bit data was read from PAS202BCB/PAS202BBB internal control register that address was assigned by previous write cycle. Follow the master acknowledgment, the PAS202BCB/PAS202BBB place the next 8 bits data (address is increment automatically) on SDA line and then transmit to master serially. The DATA and Am cycles is repeat until the last byte read. After last byte read, Am is no longer generated by master but instead by keep SDA line high. The slave (PAS202BCB/PAS202BBB) must releases SDA line to master to generate STOP condition. (Please refer to Fig 4.3.)
SDA
SCL 1-7 S Start Condition Address R/W ACK from Receiver Data ACK from Receiver Data
ACK from Receiver
1-7
1-7
9 P Stop Condition
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
SDA tf tLOW SCL S tHD;STA t HD;DAT tSU;STA Sr tSU;STO P S tr tSU;DAT tf t HD;STA tSP tr t BUF
tHIGH
Fig 4.4 I2C Bus Timing 4.4 I2C Bus Timing Specification
STANDARD-MODE PARAMETER SCL clock frequency Hold tie (repeated) START condition. After this period, the first clock pulse is generated. Low period of the SCL clock HIGH period of the SCL clock Set-up time for a repeated START condition Data hold time. For I2C-bus device Data set-up time Rise time of both SDA and SCL signals Fall time of both SDA and SCL signals Set-up time for STOP condition Bus free time between a STOP and START Capacitive load for each bus line Noise margin at the LOW level for each connected device (including hysteresis) Noise margin at the HIGH level for each connected device (including hysteresis) Note 1: It depends on the "high" period time of SCL. SYMBOL MIN. MAX. UNIT
fscl tHD:STA tLOW tHIGH t SU;STA tHD;DAT t SU;DAT tr tf t SU;STO tBUF Cb VnL VnH
10 4.0 4.7 0.75 4.7 0 250 30 30 4.0 4.7 1 0.1 VDD 0.2 VDD
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
10
5. Specifications
Absolute Maximum Ratings Symbol Vdd Vin Vout Parameter DC supply voltage DC input voltage DC output voltage Min -0.5 0.5 -0.5 Max 3.8 Vdd+0.5 Vdd+0.5 Unit V V V
DC Electrical Characteristics (VDD=3.3V10%, Ta=0C~40C ) Symbol Type :PWR VDD Analog and digital operating voltage 3.00 3.3 30 2.0 0 VDD 0.8 10 1.0 Vdd-0.2 0.2 3.60 V mA V V pF uA V V IDD Operating Current Type :IN & I/O Reset and SYSCLK VIH VIL Cin Ilkg VOH VOL Input voltage HIGH Input voltage LOW Input capacitor Input leakage current Output voltage HIGH Output voltage LOW Parameter Min. Typ. Max. Unit
Type : OUT & I/O for PXD0:9, PXCLK, H/VSYNC & SDA, load 20pf, 3.3volts
Parameter
Min. 8
Typ.
Max. 48 12
Sensor Characteristics Parameter Photo response non-uniformity Saturation output voltage Dark output voltage Dark signal non-uniformity Sensitivity ( Red channel ) Sensitivity ( Green channel ) Sensitivity ( Blue channel ) Column non-uniformity Symbol PRNU Vsat. Vdark DSNU R G B Cnu Min. Typ. 1.7 1.2 53 2.79 0.8 0.6 0.6 1.56 Max. Unit % V mV/sec Lsb V/Lux-sec V/Lux-sec V/Lux-sec % Note
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
11
tLOW tHIGH tr tf Cb
PXCLK
tf t LOW tr
t HIGH
VDDD
VSSD
19
20
21
22
23
VCM
24
SDA
CSB
SCL
25
VRT
18
26
17
27
16
28
15
14
13
12
4 10 9 8 7 6 5
11
PXD<3>
PXD<4>
VDDQ
PXD<5>
PXD<6>
-- Bottom View --
PXD<7>
VSSQ
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
12
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
13
Optical Center
462um
51um
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
14
PXD<3>
PXD<4>
PXD<5>
11
10
PXD<6>
PXD<7>
U1
PXD<3>
PXD<4>
PXD<5>
PXD<6>
PXD<7>
VSSQ
VDDQ
VDDA PXD<8> PXD<9> 4 3 2 1 28 27 26 0.1uF 0.1uF L1 3.3UH C6 VDDD C11 10uF 1uF C12 10uF C13 10uF VDDA C14 1uF VDDA C3 C3 3.3V R2 300k PXD<8> PXD<9> R1 300k
12 13 14 15 16 17 18
PXD<2> PXD<1> PXD<0> SYSCLK PXCLK HSYNC VSYNC VDDD VSSD VCM SDA CSB VRT 25 SCL
PAS202BCB PAS202BBB
19
20
21
22
23 CSB
PAS202_28P
SCL
R3 4.7k S1 CSB
R3 4.7k
SDA
24
L2
3.3UH AGND
R3 300k
Title PAS202B-28P-APP.DSN Size A Date: Document Number <Doc> Friday, May 31, 2002 Sheet 1 of 1 Rev 2.0
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
15