Umgebungslicht- und Naherungssensor mit IR Emitter Ambient Light and Proximity Sensor with Integrated IR Emitter Lead (Pb) Free Product - RoHS Compliant SFH 7773 Preliminary datasheet Wesentliche Merkmale Features * Naherungssensor- Detektionsbereich bis 150mm - 850nm Emitter, im Gehause integriert - Umgebungslicht-unempfindlich * Umgebungslichtsensor - 0.03lx - 65000lx - Gute Linearitat - Spektrale Empfindlichkeit ahnlich dem menschlichen Auge * I2C interface - 100kHz / 400kHz und 3.4MHz Mode - verschiedene Messmoden programmierbar (Standby, Triggered, Free-running) - IC-Adresse: 0111 000X * typ 2A Stromverbrauch im Standby Mode * Proximity sensor (PS) - Detection-range up to 150mm - 850nm IR emitter integrated in package - Insensitive to ambient light * Ambient light sensor (ALS) - 0.03lx - 65000lx - High linearity - Srel well matched to the human eye Anwendungen Applications * * * * * * * * * I2C interface - 100kHz / 400kHz and 3.4MHz mode - Measurement modes programmable (Standby, Triggered, Free-running) - IC slave address: 0111 000X * Current consumption typ. 2A in Standby mode Mobiltelefone PDAs und Notebooks Kameras Consumer-Produkte Typ Type SFH 7773 2012-02-20 Mobile phones PDAs and notebooks Cameras Consumer products Bestellnummer Ordering Code Q65111A1258 1 SFH 7773 Application diagram and basic information * Blocking capacitors for VDD and VLED are required for proper operation of the device. Based on the power supply quality the capacitor values can be reduced. * Proposed size for the pull-up resistors is 560 Ohm. Short Evaluation program Adress Command Action 0x80 Write 03 Ambient light Sensor in FREE-RUNNING mode 0x81 Write 03 Proximity Sensor in FREE-RUNNING mode 0x8C Read data read LSByte data from ambient light measurement 0x8D Read data read MSByte data from ambient light measurement 0x8F Read data read data from proximity measurement Wait 110 ms 2012-02-20 2 SFH 7773 I2C interface * * * * * * 1.8V I/O-logic level for SDA and SCL I/O-pins are open drain type and logic high level is set with external pull-up resistor SFH 7773 operates in slave mode with address 0x38. Designed for the I2C-modes: Standard (100 kb/s), Fast (400 kb/s) and High Speed (3.4 Mb/s) Combined format is supported (see I2C Bus specification UM10204 from NXP) for data reading Block READ and WRITE modes are available. In these modes several registers can be read or written during a single I2C traffic period. Registers are returned in a cyclic manner until the bus master sends the stop condition. E.g. if master uses block read and starts from register 0x8C, the slave returns the following register values: 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94 and so on until the master sends stop condition. * Interrupt pin (INT): open-drain output (like SDA and SCL) VDD 3 7 SDA I2C Analog / amplifier 6 SCL digital 5 INT + proximity ambient light dataregister LED 1 VLED driver 4 GND 2012-02-20 2 GNDLED 3 8 CATH SFH 7773 Measurement modes IDD is below 2A and the device is inactive. Other units may use the I2C bus without OFF any restrictions; I/O pins and INT are in Z state. There is no sink current through the LED STAND-BY This is the initial mode after power-up. IDD is below 5A. No measurement is performed. Device can be activated by I2C bus communication. Data registers can be read and written. The data will be stored in the registers when the device goes from TRIGGERED or FREE-RUNNING to STAND-BY. TRIGGERED Every measurement is separately initiated by MCU. This mode can be used for ambient light sensor and proximity sensor. Measurement data are available in the registers after a defined delay time. FREE-RUNNING Measurements are triggered internally by SFH7773. This mode can also be used for ambient light sensor and proximity sensor. The measurement repetition rate and current through the LED is defined by MCU. Measurement results can be read from the data register, the status from the interrupt register. Proximity Sensor GE RE D TR IG (ALS) (PS) TR IG Ambientlight Sensor NG NI UN -R EE FR STAND_BY G NIN UN -R EE FR STAND-BY GE RE D OFF If VDD exceeds the threshold-voltage , the sensor will switch from OFF mode to STAND-BY mode. As shown in the transition-diagram above it is possible to switch between all modes without any restriction. The transition time between modes (ttrans) is < 10ms. The delay time between STAND-BY and start of measurement is max. 10ms for the ambient light sensor. 2012-02-20 4 SFH 7773 Maximum limits Parameter Symbol Value min. typ. Unit max. Storage temperature Tstg - 40 + 85 C Supply voltage (between VDD and GND) VDD - 0.3 + 4.5 V Maximum Voltage of SDA, SCL and INT to GND Vdig - 0.3 + 3.6 V Maximum Voltage of VLED to GND VLED - 0.3 + 5.5 V Maximum Voltage between GND and GNDLED VLED - 0.5 + 0.5 V Electrostatic discharge - Human Body Model (according to JESD22-A114-E; Class2 ) ESD 2 kV Operating conditions Parameter Symbol Value min. typ. Unit max. Operation temperature Top - 20 85 C Supply Voltage VDD 2.3 3.1 V Ripple on Supply Voltage (VDD min and max must stay in the VDD range, DC ... 100MHz) VDD,rip 10 mV Voltage for I/O (SDA, SCL, INT)1) VI/O 1.6 2.1 V Supply Voltage LED VLED 2.3 4.25 V TBD TBD mV mV Ripple VLED 1) DC... 30kHz VLED,rip 30kHz ... 100MHz The limits for the logic levels of SCL and SDA pins are the same as in the IC bus specification from NXP (UM10204 IC bus specification and user manual", Rev. 03 - 19 June 2007). The same limits are valid for the logic levels of the interrupt pin (INT): the maximum level for logic LOW" level is 30% of the I/O voltage VI/O, the minimum level for logic HIGH" level is 70% of the I/O voltage VI/O. 2012-02-20 5 SFH 7773 Characteristics (Ta = 25C) Parameter Symbol Value min. typ. Unit max. General Conditions for OFF mode1) 1) On-time (from OFF to STAND-BY mode) 1) Threshold level for STAND-BY mode VDD,off 1.4 V ton 0.2 s VDD,on 2.0 V Transition time between modes ttrans (STAND-BY ...TRIGGERED ...FREE-RUNNING) 10 ms STAND-BY mode current consumption IDD,stby 5 A OFF mode current consumption IDD,off 2 A Interrupt voltage level in LOW state (VI/O=1.8V) VINT,low 0.5 V Interrupt voltage level in HIGH state (VI/O=1.8V) VINT,high 1.7 V Proximity Sensor (PS) Wavelength of max. sensitivity Spectral range of sensitivity (50% of Smax) LED centroid wavelength (If = 100mA) Spectral bandwidth (If = 100mA) Temperature coefficient of LED emission Sensor signal (pseudo-logarithmic) S,max S,50% centroid 850 nm tbd nm 850 nm 42 nm TC -0.5 %/K 0 ... 255 count 2) LED current, programmable, ( only when VLED - Vf >= 0.4V) ILED 5 200 mA Accuracy of LED current source ILED -20 +20 % 300 A Mean current consumption, FREE-RUNNING Iact ( LED ON", If=100mA, trep = 100ms, Vdd=2.65V, without LED current) Modulation frequency of LED current fmod Switching distance (Iled=200mA; t_int=750s; R=90%; A=10x10cm) z Repetition time in free-running mode programmable trep Length of a single LED burst, programmable (burst length = integration time) tburst 2012-02-20 6 667 kHz 5 10 ... 2000 100 cm ms 2500 s SFH 7773 Parameter Symbol Value min. Update of register data after MCU request t Insensitive to sunlight up to 2012-02-20 10 50 7 typ. Unit max. ms klx SFH 7773 1) Start-up sequence VDD 2.0V 1.4V upper threshold limit lower threshold llimit ton t on <0.2s <0.2s MODE: OFF undefined STAND-BY undefined STAND-BY time The threshold limit where the device switches from OFF to STAND-BY mode is between VDD =1.4V and VDD =2.0V. Within 0.2s after exceeding the threshold voltage the device will switch from OFF to STAND-BY mode. 2) Output signal of the proximity sensor The proximity sensor delivers output values in the range from 0 to 255, depending on integration time settings. Low output values correspond to low irradiance of the sensor, while high values indicate high irradiance. A threshold level for the proximity switch can be programmed via the I2C bus. 2012-02-20 8 SFH 7773 Characteristics (Ta = 25C) Parameter Symbol Value min. typ. Unit max. Ambient Light Sensor (ALS) Wavelength of max. sensitivity Spectral range of sensitivity (10% of Smax) S max S10% Illuminance measurement range, programmable Resolution of the digital output signal (0.1lx ... 6.5klx)1) Out Deviation from linear output characteristics2) X = 10-6500lx X = 1-10lx X = 0.3-1lx flin Temperature coefficient for EV measurement 0C ... 50C -15C ... 70C TcEv Update of register data after MCU request1) t 555 tbd tbd nm 0.03 65000 lx 0.1 100 Measurement repetition time in FREE-RUNNING trep mode, programmable tint Mean current consumption, trep = 500ms; tint = 10ms; Vdd=2.65V; Ev=1000lx Iact Current consumption in STAND-BY mode Istby Error by Flicker noise (caused by bulbs or fluorescent lamps) (f = 50 or 60Hz, 100% modulation) 1) count/lx % 5 10 30 - 0.20 - 0.25 integration time, programmable1) nm + 0.20 + 0.25 %/K %/K 120 ms 100 ... 2000 10 2 -5 ms 1000 ms 200 A 5 A +5 % The absolute resolution range of the ALS depends on the integration time. This can be set in register 0x26. Default value is 100ms resulting in a resolution range of 0.3 lx ... 6500 lx. To access register 0x26, register 0x20 must first be set to 0x01. After changing the integration time it is recomended to set register 0x20 back to 0x00. 2012-02-20 9 SFH 7773 2) The deviation of the linear output characteristic is referenced to 1000lx and follows the formula: YX f lin = ------------------ x 1000lx ------------------ - 1 x 100% Y 1000lx X X: sensor illumination level in lux YX: sensor output / measurement value at illumination level X Y1000lX: sensor output / measurement value at illumination level 1000lx 2012-02-20 10 SFH 7773 Note: Some of the following registers are marked as unused. They can still be accessed by block write and read procedures. Integration Time access register Note: After setting bit '0' there must be stop condition to confirm writing. R/W-Register 0x20 Bit 7 6 5 4 3 2 1 0 not used default 0 0 0 0 0 0 0 0 not accessible 0 not accessible 1 accessible Ambient light sensor Integration Time Note: Register 0x26 is only accessible if access-bit '0' of register 0x20 is set to '1'. Integration time can then be changed. It is recommended to set access-bit '0' of the Integration Time Access register afterwards back to '0'. When reading or writing in block-read/-write mode, it is recomended to start at reister 0x26 and stop at register 0x27, as there are other registers accessible which are not intended for user access. Afterwards set the access bit of register 0x20 back to 0. Note that the absolut ambient light sensor range depends on the integration time. I.e. default setting range is 0.3 lx to 6.5 klx with resolution of 0.1 lx per count, whereas 10 ms results in a range of 3 lx to 65 klx with 1 lx resolution per count. R/W-Register 0x26 Bit 7 6 5 4 3 2 not used default 0000000 2012-02-20 1 ALS integration time 000 100 ms 000 100 ms 001 200 ms 010 500 ms 011 1000 ms 100 10 ms 101 20 ms 110 50 ms 111 50 ms 11 0 SFH 7773 Proximity sensor Integration Time Note: Register 0x27 is only accessible if access-bit '0' of register 0x20 is set to '1'. Integration time can then be changed. It is recommended to set access-bit '0' of the Integration Time Access register afterwards back to '0'. When reading or writing in block-read/-write mode, it is recomended to start at reister 0x26 and stop at register 0x27, as there are other registers accessible which are not intended for user access. Afterwards set the access bit of register 0x20 back to 0. Note that the PS Integration Time sets the absolute PS signal count. I.e. an integration time of 1000 us delivers a signal count which is around 50 counts higher compared to an integration time of 100 us. A factor of 10 in signal level (resp. integration time) corresponds to around an increase of 50 counts (pseudo-logarithmic relationship). R/W-Register 0x27 Bit 7 6 5 4 3 2 not used default 0000000 2012-02-20 1 PS integration time 010 300 us 000 100 us 001 200 us 010 300 us 011 500 us 100 750 us 101 1000 us 110 1500 us 111 2500 us 12 0 SFH 7773 Software reset and control of ambient light sensor R/W-Register 0x80 Bit 7 6 5 4 3 not used 2 1 complete SW reset default 00000 0 mode of ambient light sensor 0 00 STAND-BY 1 SW reset 00 STAND-BY 01 STAND-BY 10 TRIGGERED (by MCU) 11 FREE-RUNNING (internally triggered) SW reset (Bit 3 H") sets all registers to default (same as POWER UP). The bit is set back to L" by SFH7773 automatically. Control of proximity sensor R/W-Register 0x81 Bit 7 6 5 4 3 2 not used 1 0 mode of Proximity Sensor default XXXXXX 00 STAND-BY 00 STAND-BY 01 STAND-BY 10 TRIGGERED by MCU 11 FREE-RUNNING (internally triggered) 2012-02-20 13 SFH 7773 Emitter current setting R/W-Register 0x82 Bit 7 6 activation of LEDs default 00 00 LED active 5 4 3 2 1 not used setting LED pulse current 011 011 50 mA XXX 000 5 mA 001 10 mA 010 20 mA 011 50 mA 100 100 mA 101 150 mA 110 200 mA 0 Register is not used, but might be read during block read mode R/W-Register 0x83 Bit 7 6 5 4 Not used 2 Not used default 00000 2012-02-20 3 011 14 1 0 SFH 7773 MCU-triggered measurement (for ambient light sensor and proximity sensor) R/W-Register 0x84 Bit 7 6 5 4 3 2 not used default XXXXXX 1 0 trigger ambient light trigger proximity 1 1 If 1" is set a new measurement will start after I2C stop commmand from MCU. As soon as the measurement is finished the corresponding bit of the register will be set to 0" automatically by the SFH7773 Proximity measurement: time interval settings (repetition time) for FREE-RUNNING mode R/W-Register 0x85 Bit 7 6 5 4 3 2 not used time-interval default XXXX 0101 100 ms 0000 10 ms 0001 20 ms 0010 30 ms 0011 50 ms 0100 70 ms 0101 100 ms 0110 200 ms 0111 500 ms 1000 1000 ms 1001 2000 ms 2012-02-20 1 15 0 SFH 7773 Ambient light measurement: time interval settings (repetition time) for FREE-RUNNING mode R/W-Register 0x86 Bit 7 6 5 4 3 2 not used 1 0 time-interval default XXXXX 010 500 ms 000 100 ms 001 200 ms 010 500 ms 011 1000 ms 100 2000 ms Part number and revision Identification R-Register 0x8A Bit 7 6 5 4 3 Part number ID 2 1 0 Revision ID 1001 0111 Manufacturer Identification R-Register 0x8B Bit 7 6 5 4 3 Manufacturer Identification 0000 2012-02-20 0011 16 2 1 0 SFH 7773 Ambient light measurement data (0x8C: LSB , 0x8D: MSB ) R-Register 0x8C Bit 7 6 5 4 3 2 1 0 3 2 1 0 LSB data default 00000000 R-Register 0x8D Bit 7 6 5 4 MSB data default 00000000 The result of the ambient light sensor is a 16bit word with MSB and LSB and is stored in two registers.. The binary data can be converted directly to decimal lx" values (max. 65535lx) Status of measurement data for ambient light sensor (ALS) and proximity sensor (PS) R-Register 0x8E Bit 7 6 ALS ALS threshold data default 5 4 3 2 Not used 00 1 0 PS LED PS LED threshold data 0000 00 When the measurement is available in the register the corresponding statusbit (bit 6 for ambient-light; bit 0 for proximity) in register 0x8E is set to 1"; when the measurement has been read by the MCU the statusbit is automatically set back to 0". Bit 7 is set 1" when the measured ALS value is outside the threshold level settings (register 0x96... 0x99). Bit 1 is set when the measured PS value is above the threshold level (register 0x93). The status of register 0x8E will always be updated when a new measurement is available. Proximity measurement data (8bit, logarithmic scale) R-Register 0x8F Bit 7 6 5 4 3 data default 00000000 2012-02-20 17 2 1 0 SFH 7773 Register is not used, but might be read during block read mode R-Register 0x90 Bit 7 6 5 4 3 2 1 0 2 1 0 Not used default 00000000 Register is not used, but might be read during block read mode R-Register 0x91 Bit 7 6 5 4 3 Not used default 00000000 Interrupt register / INT output. R/W-Register 0x92 Bit R/W 7 6 5 4 3 2 1 0 not used Interrupt trigger source not used Output mode Output polarity Interrupt mode (triggered by..) not used R only not used R/W R/W R/W default X 00 X 1 0 00 00 ALS 0 latched 0 active L 00 Z state 01 PS 1 not latched 1 active H 01 only PS 10 only ALS 11 PS and ALS In Bit6/5 the source which triggers the interrupt is noted. Data from Status Register (0x8E) are used. In latched mode (set by bit3) this remains unchanged until the Interrupt register has been read by the MCU, afterwards it is set to 0 automatically. In unlatched mode it is updated after every measurement. The Output polarity (pin 5 of the SFH7773) can be changed by bit 2. Interrupt can be triggered by the ambient light sensor and / or by the proximity sensor; this can be set in the Interrupt mode (bit 1/bit 0); when bit 1 and bit 0 is set to 0 the INT Output is in the Z state (high impedance). 2012-02-20 18 SFH 7773 Threshold level for Proximity Sensor RW-Register 0x93 Bit 7 6 5 4 3 2 1 0 2 1 0 2 1 0 data default 11111111 Register is not used, but might be read during block read mode RW-Register 0x94 Bit 7 6 5 4 3 Not used default 11111111 Register is not used, but might be read during block read mode RW-Register 0x95 Bit 7 6 5 4 3 Not used default 11111111 2012-02-20 19 SFH 7773 Upper threshold level for ambient light Sensor (LSB) RW-Register 0x96 Bit 7 6 5 4 3 2 1 0 2 1 0 2 1 0 2 1 0 LSB data (upper threshold) default 11111111 Upper threshold level for ambient light Sensor (MSB) RW-Register 0x97 Bit 7 6 5 4 3 MSB data (upper threshold) default 11111111 Lower threshold level for ambient light Sensor (LSB) RW-Register 0x98 Bit 7 6 5 4 3 LSB data (lower threshold) default 00000000 Lower threshold level for ambient light Sensor (MSB) RW-Register 0x99 Bit 7 6 5 4 3 MSB data (lower threshold) default 00000000 2012-02-20 20 SFH 7773 Package Outlines IRED 0.8 2.9 5.4 4.0 5.2 1.6 2.4 2.4 2.6 8 1 7 2 6 3 5 4 1.1 1.8 1.3 Proximity sensor Ambient light sensor PIN 1: VLED (Anode) PIN LEDLED Driver PIN 2:1:GND PIN GND LED PIN 3:2:VDD PIN 3: VDD PIN 4: GND PIN INT PIN 5:4:INT PIN 5: SCL PIN 6: SCL PIN SDA PIN 7:6:SDA PIN 7: GND PIN 8: LED Cathode PIN 8: Cathode Dimensions in mm Tolerance of package dimensions is +/- 0.1mm if not stated otherwise. 2012-02-20 21 SFH 7773 Recommended solderpad design Dimensions in mm [inch] 2012-02-20 22 SFH 7773 Soldering Conditions Reflow Soldering Profile for lead free soldering Preconditioning acc. to JEDEC Level 3 (acc. to J-STD-020-D.01) OHA04525 300 C T 250 Tp 245 C 240 C tP 217 C 200 tL 150 tS 100 50 25 C 0 0 50 100 150 200 250 s 300 t Cleaning / Washing In general, OSRAM Opto Semiconductors does not recommend a wet cleaning process for components like the OSTAR SMT, OSTAR Compactand SFH777x 3in1 as the package is not hermetically sealed. Due to the open design, all kind of cleaning liquids can infiltrate the package and cause a degradation or a complete failure of the LED / ASIC. It is also recommended to prevent penetration of organic substances from the environment which could interact with the hot surfaces of the operating chips. Ultrasonic cleaning is generally not recommended for all types of LEDs (see also the application note "Cleaning of LEDs"). As is standard for the electronic industry, OSRAM Opto Semiconductors recommends using low-residue or no-clean solder paste, so that PCB cleaning after soldering is no longer required. In any case, all materials and methods should be tested beforehand in order to determine whether the component will be damaged in the process. 2012-02-20 23 SFH 7773 Pb-Free (SnAgCu) Assembly Profile Feature Recommendation Max. Ratings Ramp-up Rate to Preheat*) 25C to 150C 2C / sec 3C / sec Time ts from TSmin to TSmax (150C to 200C 100s min. 60sec max. 120sec Ramp-up Rate to Peak*) TSmax to TP 2C / sec 3C / sec Liquidus Temperture TL 217C Time tL above TL 80sec max. 100sec Peak Temperature TP 245C max. 260C Time tP within 5C of the specified peak temperature TP - 5K 20sec min. 10sec max. 30sec Ramp-down Rate* TP to 100C 3C / sec 6C / sec maximum Time 25C to Peak temperature max. 8 min. All temperatures refer to the center of the package, measured on the top of the component * slope calculation T/t: t max. 5 sec; fulfillment for the whole T-range Published by OSRAM Opto Semiconductors GmbH Leibnizstr. 4, D-93055 Regensburg www.osram-os.com (c) All Rights Reserved. The information describes the type of component and shall not be considered as assured characteristics. Due to the special conditions of the manufacturing processes of Sensor, the typical data or calculated correlations of technical parameters can only reflect statistical figures. These do not necessarily correspond to the actual parameters of each single product, which could differ from the typical data and calculated correlations or the typical characteristic line. If requested, e.g. because of technical improvements, these typ. data will be changed without any further notice. Terms of delivery and rights to change design reserved. Due to technical requirements components may contain dangerous substances. For information on the types in question please contact our Sales Organization. Packing Please use the recycling operators known to you. We can also help you - get in touch with your nearest sales office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport. For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs incurred. Components used in life-support devices or systems must be expressly authorized for such purpose! Critical components 1 , may only be used in life-support devices or systems 2 with the express written approval of OSRAM OS. 1 A critical component is a component usedin a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain human life. If they fail, it is reasonable to assume that the health of the user may be endangered. 2012-02-20 24