Color sensor S11059-01WT I2C interface-compatible color sensor The S11059-01WT is a color sensor that supports the I2C (inter-integrated circuit) interface. It is sensitive to red (O=615 nm), green (O=530 nm), blue (O=460 nm), and infrared (O=855 nm) light, and outputs detected results as 16-bit digital data for each color. The photodiode for each color is automatically switched sequentially to perform measurements. The sensitivity and integration time can be adjusted so that light measurements can be performed over a wide range. Features Applications I2C interface compatible LCD backlight adjustment for cell phones, notebook PC, etc. Sequential measurements of red, green, blue, and infrared light Energy-saving sensor for large-size TV, etc. 2-step sensitivity switching (sensitivity ratio 1 : 10) Various types of light detection or color adjustment Sensitivity adjustment by setting the integration time Low voltage (2.5 V or 3.3 V) operation Low current consumption: 75 NjA typ. Small package (WL-CSP: wafer level-chip size package) Internal infrared-cut ¿lter Wide dynamic range (Low gain: 1 to 10 klx) Feature 01 I C interface-compatible to allow direct connection to micro-controller 2 The sensor supports the I 2C interface and so can exchange data with the micro-controller using two signal lines jointly usable with Feature 02 WL-CSP makes the device even smaller and highly reliable The WL-CSP measures only 1.18 × 1.68 × 0.58 mm and lead-free reÀow solder (260 °C) can be used. other devices. The digital output makes it easy to install into electronic devices such as cell phones and Àat-panel TVs whose microcontroller is compatible with the I2C interface. The sensor supports I2C Fast mode (400 kHz) and operates on 2.25 to 3.63 V. Connection example of I2C interface Address 3 Address 2 EEP ROM LCD driver Cross section of WL-CSP Address 1 Glass Color sensor Si chip Infrared-cut filter Resin SDA SCL Through-hole electrode Solder bump Micro-controller SDA: serial data SCL: serial clock KPICC0164EA www.hamamatsu.com KPICC0171EA 1 Color sensor S11059-01WT Absolute maximum ratings (Ta=25 °C) Parameter Symbol Value Supply voltage Vdd -0.3 to +6 Load current Io ±10 Power dissipation P 100 Operating temperature Topr -40 to +85 Storage temperature Tstg -40 to +100 Reflow soldering conditions *1 Tsol Peak temperature 260 °C, 3 times *1: Moisture absorption and reÀow conditions: JEDEC J-STD-020D LEVEL2a Unit V mA mW °C °C - Recommended operating conditions Parameter Symbol Condition Supply voltage Vdd Vbus Rp *2=2.2 k: I2C bus pull-up voltage Vbust2.25 V, Vdd>2.75 High level input voltage Vih (SDA, SCL) Vbus<2.25 V, Vddd2.75 Vbust2.25 V, Vdd>2.75 Low level input voltage Vil (SDA, SCL) Vbus<2.25 V, Vddd2.75 Bus capacitance (SDA, SCL) Cbus *2: Pull-up resistor value is determined by Cbus and Vbus. V V V V Min. 2.25 1.65 0.7Vbus 0.8Vbus -0.5 -0.5 - Typ. - Max. 3.63 Vdd + 0.5 Vdd + 0.5 Vdd + 0.5 0.2Vbus 0.3Vbus 400 Unit V V V V pF Electrical and optical characteristics Sensor section [Ta=25 °C, Vdd=3.3 V, A light source, unless otherwise noted (initial setting: low gain, integration time: 546 ms/ch)] Parameter Spectral response range *3 Peak sensitivity wavelength O Op Condition Blue Green Red Infrared, more than 700 nm Blue Green Red Infrared, more than 700 nm E=0 lx (dark state), excluding output current E=0 lx (dark state) High gain/Low gain Blue Green Initial setting Red Infrared Blue Green Initial setting *4 Red Infrared Min. 30 0.1 2.01 4.57 5.69 2.51 5.71 7.11 2.12 0.93 0.33 19.0 45.7 56.7 23.8 57.2 70.9 2.24 0.93 0.31 Typ. 400 to 540 455 to 630 575 to 660 785 to 885 460 530 615 855 75 1.0 10 3.35 7.61 9.48 1.66 3.35 7.61 9.48 1.66 2.83 1.25 0.44 31.7 76.2 94.5 15.3 31.7 76.2 94.5 15.3 2.98 1.24 0.42 Max. Unit nm 150 3.0 5 4.69 10.66 13.28 4.19 9.52 11.85 3.54 1.56 0.55 44.4 106.7 132.4 39.7 95.3 118.2 3.73 1.55 0.52 nm Idd A Idds Dark count Sd counts Gain ratio rg Sbl Sgl Srl Sirl counts/lx Photo sensitivity Low gain Sbl Sgl Srl Sirl Red/Blue sensi. ratio Srl/Sbl Initial setting Red/Green sensi. ratio Low gain Srl/Sgl Same chip Blue/Green sensi. ratio Sbl/Sgl Sbh Blue Sgh Green Integration time: 546 ms/ch Srh Red Sirh Infrared Photo sensitivity High gain counts/lx Sbh Blue Sgh Green Integration time: 546 ms/ch *4 Srh Red Sirh Infrared Srh/Sbh Red/Blue sensi. ratio Integration time: 546 ms/ch Red/Green sensi. ratio High gain Srh/Sgh Same chip Blue/Green sensi. ratio Sbh/Sgh *3: Relative sensitivity=more than 10% *4: Integration time is measured and corrected. See "Compensation method for sensitivity variation". Integration time measurement accuracy is 0.36%. Current consumption Operating mode Standby mode Symbol 2 Color sensor S11059-01WT I2C section (Ta=25 °C, Vdd=3.3 V, unless otherwise noted) Parameter Symbol Condition Min. I2C address ADDR 7 bits I2C clock frequency fclk 1 High level Voh Rp=2.2 k: 0.7Vbus SDA, SCL output voltage Low level Vol Rp=2.2 k: 0 Input/output terminal capacitance Ci SDA/SCL output fall time *5 tf Rp=2.2 k:, Cp=400 pF *5: SCL/SDA output rise time is determined by a time constant of Cbus × Rp. Note: The I2C interface (SDA, SCL) timings conform to the "I2C bus speci¿cation version 2.1". Typ. 0x2A (0101010) - Max. Unit 400 0.4 20 250 kHz V V pF ns Register map Adrs 00 01 02 03 04 05 06 07 08 09 0A Function Control Manual timing register Sensor data (red) Sensor data (green) Sensor data (blue) Sensor data (infrared) register register register register bit 7 6 5 4 3 2 1 0 ADC reset Standby function Gain selection Integration mode Integration time setting Standby function 1: Reset 1: Standby mode 1: High gain 1: Manual setting mode (00) 87.5 Njs, (01) 1.4 ms monitor 0: Operation 0: Operating mode 0: Low gain 0: Fixed period mode (10) 22.4 ms, (11) 179.2 ms Integration time manual setting register (MSB) Integration time manual setting register (LSB) Output data (red, MSB) Output data (red, LSB) Output data (green, MSB) Output data (green, LSB) Output data (blue, MSB) Output data (blue, LSB) Output data (infrared, MSB) Output data (infrared, LSB) Adrs 00 bit 7: Asserting this bit to “1”, the ADC block is reset. The register data is not reset. To start the operation, set this bit to “0”. Adrs 00 bit 6: Asserting this bit to “1” the device goes into standby mode. The ADC block stops its operation. The register data is not reset. To start the operation, set this bit to “0”. Adrs 00 bit 5: This monitors auto standby function. “1” means standby mode. This is read only. Adrs 00 bit 3: Gain selection bit. “1” is high gain mode and “0” is low gain mode. This bit is selecting the photodiode area. The size ratio of high gain photodiode area and low gain photodiode area is 10 : 1. Therefore the gain ratio is 10 times from low to high. Adrs 00 bit 2: Asserting this bit to “1”, the device goes into manual setting mode. Deasserting this bit to 0, goes into ¿xed period mode. In manual setting mode, the S11059-01WT automatically goes to standby mode after a measurement is made. In ¿xed period mode, measurements are continuously repeated. Adrs 00 bit 1,0: These bits select the period of internal basis clock. The period is equal to integration time per color in ¿xed period mode. “00” is 87.5 us, “01” is 1.4 ms, “10” is 22.4 ms, “11” is 179.2 ms. In manual setting mode, “00” is 175 s, “01” is 2.8 ms, “10” is 44.8 ms, “11” is 368 ms. The integration time per color is set to multiple value (Adrs 01 & 02) with the period. Adrs 01 & 02: This is a multiple value setting in manual setting mode, and can be set to a minimum of 0x0000 and a maximum of 0xFFFF (65535). This is used to set how far to expand the integration time per color which speci¿ed by “Integration time setting” (Tint). For example, if you want to set the integration time per color to 546 ms, set 175 s by Tint=“00” and then set this register to N=3120 (0xC30). Integration time setting (Tint) 00 01 10 11 Fixed period mode 87.5 Njs 1.4 ms 22.4 ms 179.2 ms Manual setting mode 175 × N Njs 2.8 × N ms 44.8 × N ms 358.4 × N ms Adrs 03 to 0A: These bytes are register for sensor data. S11059-01WT measurement result is stored in these registers when the I2C command is changed to read mode. The values are kept until next read cycle. Mode Manual timing register (Adrs 01 & 02) Disabled N Initial setting [Low gain, manual setting mode, Tint=00 (175 Njs), integartion time 546 ms/ch] Adrs 00 01 02 Function Control Manual timing register bit 7 1 0 0 6 1 0 0 5 1 0 1 4 0 1 3 0 1 0 2 1 1 0 1 0 0 0 0 0 0 0 Hex 0xE4 0x0C 0x30 3 Color sensor S11059-01WT Program example Condition 1: Initial setting [manual setting mode, low gain, Tint=00 (175 Njs), integration time 546 ms/ch (0x0C30 is set in manual timing register)] Command Action Address call (0x2A) Register call (0x00) Register write (0x84) Address call (0x2A) Register call (0x00) Register write (0x04) S Sr Address call (0x2A) S Register call (0x03) Address call (0x2A) Sr Data read out (R: MSB) Data read out (R: LSB) Data read out (G: MSB) Data read out (G: LSB) Data read out (B: MSB) Data read out (B: LSB) Data read out (Infrared: MSB) Data read out (Infrared: LSB) 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 X X X X X X X X 1 0 1 X X X X X X X X 0 0 0 X X X X X X X X Data body 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 Wait longer than 1 0 1 0 0 0 1 0 1 X X X X X X X X X X X X X X X X X X X X X X X X Ack Remark 0 W A 7-bit address 0 0 A Calls control byte 0 0 A ADC reset, standby disabled 0 W A Restart, address 0 0 A Calls control byte 0 0 A P ADC reset disabled, bus release integration time (>2184 ms) 0 W A 7-bit address 1 1 A Calls output data byte 0 R A Changes to read mode X X A Red data output X X A X X A Green data output X X A X X A Blue data output X X A X X A Infrared data output X X A P S=Start condition, Sr=Restart condition, A=Acknowledge, A =Acknowledge by host, P=Stop condition, R=Read mode (1), W=Write mode (0), A =not acknowledge Format S 0x2A (7 bits) Sr W 0x2A (7 bits) 0x00 A W A A 0x84 A 0x00 A 0x04 A P Wait S 0x2A (7 bits) A 0x03 A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A from master to slave W Sr 0x2A (7 bits) R A P from slave to master 4 Color sensor S11059-01WT Condition 2 [¿xed period mode, high gain, Tint=01 (1.4 ms), integration time 1.4 ms/ch] Command Action Address call (0x2A) S Register call (0x00) Register write (0x89) Address call (0x2A) Sr Register call (0x00) Resistor write (0x09) Wait longer Address call (0x2A) S Register call (0x03) Address call (0x2A) Sr Data read out (R: MSB) Data read out (R: LSB) Data read out (G: MSB) Data read out (G: LSB) Data read out (B: MSB) Data read out (B: LSB) Data read out (Infrared: MSB) Data read out (Infrared: LSB) Data body Ack Remark 1 0 1 0 1 0 W A 7-bit address 0 0 0 0 0 0 0 A Calls control byte 0 0 0 1 0 0 1 A ADC reset, standby disabled 1 0 1 0 1 0 W A 7-bit address 0 0 0 0 0 0 0 A Calls control byte 0 0 0 1 0 0 1 A P ADC reset disabled, bus release integration time (> 5.6 ms). Within this period, repeat measurement is continued. 1 0 1 0 1 0 W A 7-bit address 0 0 0 0 0 1 1 A Calls output data byte 1 0 1 0 1 0 R A Changes to read mode A X X X X X X X Red data output X X X X X X X A X X X X X X X A Green data output A X X X X X X X X X X X X X X A Blue data output X X X X X X X A X X X X X X X A Infrared data output - P X X X X X X X A S=Start condition, Sr=Restart condition, A=Acknowledge, A =Acknowledge by host, P=Stop condition, R=Read mode(1), W=Write mode(0), A =not acknowledge 0 0 1 0 0 0 than 0 0 0 X X X X X X X X Format S 0x2A (7 bits) Sr W 0x2A (7 bits) A W 0x00 A 0x89 A A 0x00 A 0x09 A P Wait S 0x2A (7 bits) A 0x03 A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A Sensor data A from master to slave W Sr 0x2A (7 bits) R A P from slave to master 5 Color sensor S11059-01WT Compensation method for sensitivity variation Sensitivity variation can be decreased using the compensation coefficient which is calculated from the integration time measurement result. Explanation of compensation method is shown as follows. 1. Power on 2. Power on reset, initialization Integration time measurement method 3. ADC reset enable, standby disable In case of integration time measurement, it is necessary to set manual setting mode. The integration time measurement starts after “ADC reset” disabled. To measure the ¿nishing integration time (measurement) Tmeas, check “Standby monitor” bit until it becomes to “1”. 4. Measurement condition setting Gain, manual setting mode, integration time Compensation method 5. ADC reset disable The sensitivity compensation that used integration time is as follows: 6. Measurement start (integration time) No K= Tset Tmeas S' = S · K Standby monitor = “1”? K : compensation coef¿cient Tset : integration time (setting) Tmeas: integration time (measurement) S : photo sensitivity (measurement) S’ : photo sensitivity (compensation) Yes 7. Measurement end (integration time) 8. Data read out Measurement accuracy of integration time The measurement minimum resolution of Tmeas is de¿ned by the looping duration (Tunit). In case of default setting, the Tset is 2184 ms and assuming the Tunit to 7.8 ms, the accuracy of integration time is calulated by following formula. 9. Compensation Tunit 7.8 × 100 = × 100 = 0.36% Tset 2184 The speci¿cation of compensated sensitivity is de¿ned as 0.36% accuracy. Spectral response Count value vs. illuminance (typical example) (Typ. Ta=25 °C) 100 100 k Red [Initial setting (integration time 546 ms/ch, low gain), A light source] Red 9.48 counts/lx Green 60 10 k Count value (counts) Relative sensitivity (%) 80 Blue 40 Blue 3.35 counts/lx 100 Infrared 20 0 300 1k Green 7.61 counts/lx Infrared 1.66 counts/lx 10 400 500 600 700 800 900 1000 Wavelength (nm) 1 0.1 1 10 100 1k 10 k 100 k Illuminance (lx) KPICB0132EA KPICB0130EB 6 Color sensor S11059-01WT Block diagram ADC I C interface Register 16 SDA SCL GND 2 Current - frequency converter VDD Counter Infrared-cut filter B R Timer circuit G IR SDA: serial data SCL: serial clock KPICC0152EA Details of active area (unit: Njm) 135 110 High gain mode Low gain mode KPICC0153EA Timing chart of standby function Current consumption Idd Operating mode Idds Standby mode Time Integration time 2 IC command Initialization and measurement instruction Readout KPICC0158EA 7 Color sensor S11059-01WT Connection example Vbus Rp Rp Vdd Vdd 0.1 μF SCL Micro-controller S11059-01WT GND SDA KPICC0174EC Dimensional outline (unit: mm) [Top view] [Recommend land pattern] [Bottom view] Active area 0.5 0.5 Photosensitive surface 0.5 0.5 (6 ×) 0.3 Solder bump 0.58 ± 0.04 KPICC0174EC High gain 0.5 0.5 Metal pad (6 ×) 0.275 NSMD (non soldering mask defined) 0.45 Photosensitive surface Low gain 0.08 0.73 Max. Soldering mask opening (6 ×) 0.375 Index mark 1.68 1.18 Index mark Active area (40 ×) 0.11 × 0.135 Vdd NC GND SCL NC SDA Tolerance unless otherwise noted: ±0.05 Packing: reel (3000 pcs/reel) Active area for infrared detection KPICA0081EB KPICA0081EB Note: When using this product, please request our technical information (S11059 series) and ensure appropriate design according to the information. 8 Color sensor S11059-01WT Line-up of RGB color sensors (mm) (mm) 4 × 4.8 × 1.8t 6-pin (¿lter 0.75t) I2.0 S9032-02 Photodiode S9702 Photodiode 1.0 × 1.0 3 × 4 × 1.3t 4-pin (¿lter 0.75t) S10917-35GT Photodiode 1.0 × 1.0 3 × 1.6 × 1.0t COB (on-chip ¿lter) S10942-01CT Photodiode 1.0 × 1.0 3 × 1.6 × 1.0t COB (on-chip ¿lter) Peak sensitivity wavelength (nm) B 460 G 540 R 620 B 460 G 540 R 620 B 460 G 540 R 620 *6 B 465 G 540 R 615 B 460 t 2 1.68 × 1.18 × 0.58 I C interfaceG 530 1.22 × 0.56 S11059-01WT compatible WL-CSP R 615 color sensor (on-chip ¿lter) IR 855 *6: Refer to "Spectral response" of "Si photodiode S10942-01CT" datasheet. S9706 Digital Photo IC 1.2 × 1.2 4 × 4.8 × 1.8t 6-pin (¿lter 0.75t) Photo sensitivity B G R B G R B G R B G R B G R B G R IR Photo 0.18 (A/W) [O=460 nm] 0.23 (A/W) [O=540 nm] 0.16 (A/W) [O=620 nm] 0.18 (A/W) [O=460 nm] 0.23 (A/W) [O=540 nm] 0.16 (A/W) [O=620 nm] 0.2 (A/W) [O=460 nm] 0.23 (A/W) [O=540 nm] 0.17 (A/W) [O=620 nm] 0.21 (A/W) [O=460 nm] 0.25 (A/W) [O=540 nm] 0.45 (A/W) [O=640 nm] 0.21 (LSB/lx) B 1.9 (LSB/lx) 0.45 (LSB/lx) G 4.1 (LSB/lx) 0.64 (LSB/lx) R 5.8 (LSB/lx) 3.35 (counts/lx) B 31.7 (counts/lx) 7.61 (counts/lx) G 76.2 (counts/lx) 9.48 (counts/lx) R 94.5 (counts/lx) 1.66 (counts/lx) IR 15.3 (counts/lx) High Package High Active area size Low Type Low Type No. Information described in this material is current as of January, 2011. Product specifications are subject to change without prior notice due to improvements or other reasons. Before assembly into final products, please contact us for the delivery specification sheet to check the latest information. Type numbers of products listed in the delivery specification sheets or supplied as samples may have a suffix "(X)" which means preliminary specifications or a suffix "(Z)" which means developmental specifications. The product warranty is valid for one year after delivery and is limited to product repair or replacement for defects discovered and reported to us within that one year period. However, even if within the warranty period we accept absolutely no liability for any loss caused by natural disasters or improper product use. Copying or reprinting the contents described in this material in whole or in part is prohibited without our prior permission. www.hamamatsu.com HAMAMATSU PHOTONICS K.K., Solid State Division 1126-1 Ichino-cho, Higashi-ku, Hamamatsu City, 435-8558 Japan, Telephone: (81) 53-434-3311, Fax: (81) 53-434-5184 U.S.A.: Hamamatsu Corporation: 360 Foothill Road, P.O.Box 6910, Bridgewater, N.J. 08807-0910, U.S.A., Telephone: (1) 908-231-0960, Fax: (1) 908-231-1218 Germany: Hamamatsu Photonics Deutschland GmbH: Arzbergerstr. 10, D-82211 Herrsching am Ammersee, Germany, Telephone: (49) 8152-375-0, Fax: (49) 8152-265-8 France: Hamamatsu Photonics France S.A.R.L.: 19, Rue du Saule Trapu, Parc du Moulin de Massy, 91882 Massy Cedex, France, Telephone: 33-(1) 69 53 71 00, Fax: 33-(1) 69 53 71 10 United Kingdom: Hamamatsu Photonics UK Limited: 2 Howard Court, 10 Tewin Road, Welwyn Garden City, Hertfordshire AL7 1BW, United Kingdom, Telephone: (44) 1707-294888, Fax: (44) 1707-325777 North Europe: Hamamatsu Photonics Norden AB: Smidesvägen 12, SE-171 41 Solna, Sweden, Telephone: (46) 8-509-031-00, Fax: (46) 8-509-031-01 Italy: Hamamatsu Photonics Italia S.R.L.: Strada della Moia, 1 int. 6, 20020 Arese, (Milano), Italy, Telephone: (39) 02-935-81-733, Fax: (39) 02-935-81-741 Cat. No. KPIC1074E04 Jan. 2011 DN 9