Color sensors S11059-02DT/-03DS I2C interface-compatible color sensor The S11059-02DT/-03DS is a digital color sensor that supports the I2C (inter-integrated circuit) interface. It is sensitive to red (λ=615 nm), green (λ=530 nm), blue (λ=460 nm), and infrared (λ=855 nm) light, and outputs detected results as 16bit 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 μA typ. With internal infrared-cut filter Wide dynamic range (Low gain: 1 to 10 klx) Standard packing state S11059-02DT: reel S11059-03DS: stick Absolute maximum ratings Parameter Symbol Condition Value Unit Supply voltage Vdd Ta=25 °C -0.3 to +6 V Output current Io Ta=25 °C ±10 mA Power dissipation P Ta=25 °C 300 mW Operating temperature Topr No dew condensation*1 -25 to +80 °C Storage temperature Tstg No dew condensation*1 -40 to +85 °C Reflow soldering conditions*2 Tsol Peak temperature 240 °C max., 1 time (see page 10) *1: When there is a temperature difference between a product and the surrounding area in high humidity environment, dew condensation may occur on the product surface. Dew condensation on the product may cause deterioration in characteristics and reliability. *2: Moisture absorption and reflow conditions: JEDEC J-STD-020D LEVEL5a Note: Exceeding the absolute maximum ratings even momentarily may cause a drop in product quality. Always be sure to use the product within the absolute maximum ratings. Recommended operating conditions Parameter Symbol Condition Min. Supply voltage Vdd 2.25 High level input voltage (SDA, SCL)*3 Vih 0.7Vdd Vil -0.5 Low level input voltage (SDA, SCL)*3 Bus capacitance (SDA, SCL) Cbus *3: Set so that Vdd=Vbus. Normal operation cannot be guaranteed unless used with this condition. www.hamamatsu.com Typ. - Max. 3.63 Vdd + 0.5 0.2Vdd 400 Unit V V V pF 1 Color sensors S11059-02DT/-03DS Electrical and optical characteristics Sensor section [Ta=25 °C, Vdd=Vbus=3.3 V, A light source, unless otherwise noted (initial setting: low gain, integration time: 546 ms/ch)]*4 Parameter Symbol 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*6 Red Infrared Min. Typ. Max. Unit 400 to 540 455 to 630 λ nm Spectral response range*5 575 to 660 785 to 885 460 530 Peak sensitivity wavelength λp nm 615 855 Operating mode Idd 30 75 150 Current consumption μA Standby mode Idds 0.1 1.0 3.0 Dark count Sd 5 counts Gain ratio rg 10 2.4 4.4 6.4 Sbl Sgl 4.6 8.3 12.0 Srl 6.2 11.2 16.3 Sirl 3.0 counts/lx Photosensitivity Low gain Sbl 3.3 4.4 5.5 Sgl 6.2 8.3 10.4 Srl 8.4 11.2 14.0 Sirl 3.0 Red/Blue sensi. ratio 1.9 2.6 3.2 Srl/Sbl Initial setting Red/Green sensi. ratio Low gain Srl/Sgl 1.0 1.4 1.7 Same chip Blue/Green sensi. ratio Sbl/Sgl 0.4 0.6 0.7 Sbh Blue 24.0 44.8 65.5 Sgh Green Integration time 46.5 85.0 123.5 546 ms/ch Srh Red 64.0 117.0 170.0 Sirh Infrared 30.0 Photosensitivity High gain counts/lx Sbh Blue 33.5 45.0 56.5 Sgh Green Integration time 63.5 85.0 106.5 546 ms/ch*6 Srh Red 88.0 117.0 146.5 Sirh Infrared 30.0 Red/Blue sensi. ratio 1.9 2.6 3.3 Srh/Sbh Integration time 546 ms/ch Red/Green sensi. ratio High gain Srh/Sgh 1.0 1.4 1.8 Same chip Blue/Green sensi. ratio Sbh/Sgh 0.4 0.6 0.7 *4: Provide light shielding so that no light enters from anywhere other than the top surface of the filter. *5: Relative sensitivity=more than 10% *6: Integration time is measured and corrected. See "Compensation method for sensitivity variation". Integration time measurement accuracy is 0.36%. I2C section (Ta=25 °C, Vdd=3.3 V, unless otherwise noted) Parameter Symbol Condition Min. Typ. I2C address ADDR 7 bits 0x2A (0101010) I2C clock frequency fclk 1 High level Voh Rp=2.2 kΩ 0.7 Vbus SDA, SCL output voltage Low level Vol Rp=2.2 kΩ 0 Input/output terminal capacitance Ci SDA/SCL output fall time*7 tf Rp=2.2 kΩ, Cp=400 pF *7: 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 specification version 2.1". Max. 400 0.4 20 250 Unit kHz V V pF ns 2 Color sensors S11059-02DT/-03DS Register map Adrs 00 01 02 03 04 05 06 07 08 09 0A bit 7 6 5 4 3 2 1 0 ADC reset Standby function Gain selection Integration mode Integration time setting Standby function Control 1: Reset 1: Standby mode 1: High gain 1: Manual setting mode (00) 87.5 μs, (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) Manual timing register Integration time manual setting register (LSB) Output data (red, MSB) Sensor data register (red) Output data (red, LSB) Output data (green, MSB) Sensor data register (green) Output data (green, LSB) Output data (blue, MSB) Sensor data register (blue) Output data (blue, LSB) Output data (infrared, MSB) Sensor data register (infrared) Output data (infrared, LSB) Function 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 fixed period mode. In manual setting mode, the S11059-02DT automatically goes to standby mode after a measurement is made. In fixed 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 fixed 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 specified 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) 01 10 11 Fixed period mode 1.4 ms 22.4 ms 179.2 ms Manual setting mode 2.8 × N ms 44.8 × N ms 358.4 × N ms Adrs 03 to 0A: These bytes are register for sensor data. S11059-02DT 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 00 87.5 μs 175 × N μs Initial setting [Low gain, manual setting mode, Tint=00 (175 μs), 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 sensors S11059-02DT/-03DS Program example Condition 1: Initial setting [manual setting mode, low gain, Tint=00 (175 μs), 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 Ack Remark 1 0 1 0 W A 7-bit address 0 0 0 0 0 A Calls control byte 0 0 1 0 0 A ADC reset, standby disabled 1 0 1 0 W A Restart, address 0 0 0 0 0 A Calls control byte 0 0 1 0 0 A P ADC reset disabled, bus release Wait longer than integration time (>2184 ms) 1 0 1 0 W A 7-bit address 0 0 0 1 1 A Calls output data byte 1 0 1 0 R A Changes to read mode X X X X X A Red data output A X X X X X X X X X X A Green data output A X X X X X X X X X X A Blue data output A X X X X X X X X X X A Infrared data output X X X 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 sensors S11059-02DT/-03DS Condition 2 [fixed period mode, high gain, Tint=01 (1.4 ms), integration time 1.4 ms/ch] Command Action Data body Ack Remark Address call (0x2A) S 0 1 0 1 0 1 0 W A 7-bit address Register call (0x00) 0 0 0 0 0 0 0 0 A Calls control byte Register write (0x89) 1 0 0 0 1 0 0 1 A ADC reset, standby disabled Address call (0x2A) Sr 0 1 0 1 0 1 0 W A 7-bit address Register call (0x00) 0 0 0 0 0 0 0 0 A Calls control byte Resistor write (0x09) 0 0 0 0 1 0 0 1 A P ADC reset disabled, bus release Wait longer than integration time (> 5.6 ms). Within this period, repeat measurement is continued. Address call (0x2A) S 0 1 0 1 0 1 0 W A 7-bit address Register call (0x03) 0 0 0 0 0 0 1 1 A Calls output data byte Address call (0x2A) Sr 0 1 0 1 0 1 0 R A Changes to read mode A Data read out (R: MSB) X X X X X X X X Red data output A Data read out (R: LSB) X X X X X X X X Data read out (G: MSB) X X X X X X X X A Green data output Data read out (G: LSB) X X X X X X X X A Data read out (B: MSB) X X X X X X X X A Blue data output Data read out (B: LSB) X X X X X X X X A Data read out (Infrared: MSB) X X X X X X X X A Infrared data output - P Data read out (Infrared: LSB) X 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 Format S 0x2A (7 bits) Sr W 0x2A (7 bits) 0x00 A W A A 0x89 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 sensors S11059-02DT/-03DS 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 finishing 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 coefficient 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 defined 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 calculated by following formula. 9. Compensation Tunit 7.8 × 100 = × 100 = 0.36% Tset 2184 The specification of compensated sensitivity is defined as 0.36% accuracy. Spectral response (typical example) Count value vs. illuminance (typical example) (Ta=25 °C) 100 100 k Red 10 k Green Count value (counts) Relative sensitivity (%) 80 [Initial setting (integration time 546 ms/ch, low gain), A light source] 60 Blue Infrared 40 1k Red 11.2 counts/lx Green 8.35 counts/lx Blue 4.4 counts/lx 100 10 Infrared 3.0 counts/lx 1 20 0.1 0 200 300 400 500 600 700 800 900 1000 Wavelength (nm) 0.01 0.1 1 10 100 1k 10 k 100 k Illuminance (lx) KPICB0169EA KPICB0170EA 6 Color sensors S11059-02DT/-03DS Block diagram ADC I C interface 16 SDA SCL GND 2 Current - frequency converter Register VDD Counter Infrared-cut filter B R Timer circuit G IR SDA: serial data SCL: serial clock KPICC0152EA Timing chart of standby function Current consumption Idd Operating mode Idds Standby mode Time Integration time 2 IC command Readout Initialization and measurement instruction KPICC0158EA Connection example Vbus Rp 3 kΩ Vdd Vdd Rp 3 kΩ SCL Rd 100 Ω 0.1 μF Micro-controller S11059-02DT Rd 100 Ω GND SDA Cd 30 pF Cd 30 pF KPICC0185EB 7 Color sensors S11059-02DT/-03DS 5.0 ± 0.3 0.1 1.3 0.15 0.55 3.0 2.0 Mirror area range 3.4 4.0* 1.0 ± 0.4 3.0* 3.0 Mirror area range 0.23 1.0 ± 0.4 Photosensitive surface Filter (3.0 × 2.0) 4.2 ± 0.2 Including burr 3.2 ± 0.2 Including burr 0.8 0.8 0.8 0.8 (9 ×) 0.3 (10 ×) 0.4 Dimensional outline (unit: mm) 0.05 Vdd (GND) (GND) (GND) GND SCL (GND) (GND) (GND) SDA 0.45 0.75 1.3 Tolerance unless otherwise noted: ±0.1, ±2° Shaded area indicates burr. Chip position accuracy with respect to package dimensions marked* X, Y≤±0.2, θ≤±2° Standard packing state S11059-02DT: reel (1500 pcs/reel) S11059-03DS: stick (100 pcs/stick) KPICA0090ED Details of photosensitive area (unit: μm) 135 110 High gain mode Low gain mode KPICC0153EA 8 Color sensors S11059-02DT/-03DS Recommended land pattern (unit: mm) 0.5 0.8 4.75 1.65 KPICC0223EA Standard packing specifications (S11059-02DT) Reel (conforms to JEITA ET-7200) Dimension 254 mm Hub diameter 80 mm Tape width 12 mm Material PS (polystyrene) Electrostatic characteristics Conductive 5.5 ± 0.05 +0.1 ϕ1.5 -0 0.3 ± 0.05 (4.5) 2 ± 0.05 4 ± 0.1 12 ± 0.3 8 ± 0.1 +0.1 ϕ1.5 -0 1.75 ± 0.1 Embossed tape (unit: mm, material: PS, conductive) (2.1) Reel feed direction (0.4) (2.5) (5.4) (3.0) KPICC0197EB Packing quantity 1500 pcs/reel Packing type Reel and desiccant in moisture-proof packaging (vacuum-sealed) 9 Color sensors S11059-02DT/-03DS Measured example of temperature profile with hot-air reflow oven for product testing 300 °C 240 °C max. Temperature 220 °C 190 °C 170 °C Preheating 70 to 90 s Actual heating 40 s max. Time KPICB0164EC ∙ This product supports lead-free soldering. After unpacking, store it in an environment at a temperature of 30 °C or less and a humidity of 60% or less, and perform soldering within 24 hours. ∙ The effect that the product receives during reflow soldering varies depending on the circuit board and reflow oven that are used. Before actual reflow soldering, check for any problems by testing out the reflow soldering methods in advance. Lineup of RGB color sensors Photodiode 1.0 × 1.0 3 × 1.6 × 1.0t COB (on-chip filter) * ϕ2.0 4 × 4.8 × 1.8t 6 pin (filter 0.75t) S10942-01CT Photodiode 1.0 × 1.0 3 × 1.6 × 1.0t COB (on-chip filter) S9706 Digital photo IC 1.2 × 1.2 4 × 4.8 × 1.8t 6 pin (filter 0.75t) S11012-01CR Digital photo IC 1.2 × 1.2 3.43 × 3.8 × 1.6t COB (on-chip filter) S11059-02DT /-03DS I2C compatible color sensor 0.56 × 1.22 3 × 4.2 ×1.3t 10 pin (on-chip filter) B G R B G R IR 465 540 615 Photosensitivity B G R B G R B G R B G R * Low (mm) 460 530 615 855 Low (mm) B G R B G R B G R IR Photo 0.18 (A/W) [λ=460 nm] 0.23 (A/W) [λ=540 nm] 0.16 (A/W) [λ=620 nm] 0.18 (A/W) [λ=460 nm] 0.23 (A/W) [λ=540 nm] 0.16 (A/W) [λ=620 nm] 0.2 (A/W) [λ=460 nm] 0.23 (A/W) [λ=540 nm] 0.17 (A/W) [λ=620 nm] 0.21 (A/W) [λ=460 nm] 0.25 (A/W) [λ=540 nm] 0.45 (A/W) [λ=640 nm] B 0.21 (LSB/lx) 1.9 (LSB/lx) G 0.45 (LSB/lx) 4.1 (LSB/lx) R 0.64 (LSB/lx) 5.8 (LSB/lx) B 0.3 (LSB/lx) 2.6 (LSB/lx) G 0.6 (LSB/lx) 5.3 (LSB/lx) R 12.9 (LSB/lx) 1.4 (LSB/lx) B 44.8 (count/lx) 4.4 (count/lx) G 85.0 (count/lx) 8.3 (count/lx) R 117.0 (count/lx) 11.2 (count/lx) IR 30.0 (count/lx) 3.0 (count/lx) High S10917-35GT Package High 1.0 × 1.0 Photodiode Photosensitive area High Photodiode S9032-02 Type Low S9702 3 × 4 × 1.3t 4 pin (filter 0.75t) Peak sensitivity wavelength (nm) B 460 G 540 R 620 B 460 G 540 R 620 B 460 G 540 R 620 Type no. * Refer to the spectral response of each product’s datasheet. 10 Color sensors S11059-02DT/-03DS Related information www.hamamatsu.com/sp/ssd/doc_en.html Precautions ∙ Disclaimer ∙ Metal, ceramic, plastic package products ∙ Surface mount type products Information described in this material is current as of February, 2016. Product specifications are subject to change without prior notice due to improvements or other reasons. This document has been carefully prepared and the information contained is believed to be accurate. In rare cases, however, there may be inaccuracies such as text errors. Before using these products, always contact us for the delivery specification sheet to check the latest 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, Bridgewater, N.J. 08807, 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: Torshamnsgatan 35 16440 Kista, 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-93581733, Fax: (39) 02-93581741 China: Hamamatsu Photonics (China) Co., Ltd.: B1201, Jiaming Center, No.27 Dongsanhuan Beilu, Chaoyang District, Beijing 100020, China, Telephone: (86) 10-6586-6006, Fax: (86) 10-6586-2866 Cat. No. KPIC1082E06 Feb. 2016 DN 11