OSRAM SFH5712

Hochgenauer Umgebungslichtsensor mit I²C Bus Schnittstelle
High Accuracy Ambient Light Sensor with I²C Bus Interface
Lead (Pb) Free Product - RoHS Compliant
SFH 5712
Wesentliche Merkmale
Features
• Gut an die Augenempfindlichkeit (Vλ)
angepasst
• Hohe Genauigkeit von 3 - 65.000lx
• I²C Bus Schnittstelle
100kbit/s; 400kbit/s; 1,0 Mbit/s und 3,4 Mbit/s
• Niedriger Temperaturkoeffizient der
Fotoempfindlichkeit
• Good match to Human Eye Sensitivity (Vλ)
Anwendungen
Applications
für Consumer und Mobilegeräte
for consumer and mobile applications
• Umgebungslicht Messung
• Steuerung von Displayhinterleuchtungen
• Sonnenlicht Sensor
• Ambient light measurement
• Control of display backlighting
• Sunlight sensor
Typ
Type
Bestellnummer
Ordering code
SFH 5712-2/31) Q65110A8485
1)
• High accuracy from 3 - 65,000lx
• I²C bus Interface
100kbit/s; 400kbit/s; 1.0 Mbit/s and 3.4 Mbit/s
• Low temperature coefficient of photosensitivity
Digitaler Ausgang, Ev= 1000lx, (white LED)
Digital out
Out
500-1600
Nur eine Gruppe innerhalb einer Verpackungseinheit (Streuung kleiner als 2:1)
Only one bin within one packing unit (variation lower 2:1)
2010-03-31
1
SFH 5712
Application diagram and basic operation
VIO = 1.8V
VDD = 2.5V
VDD
1
pull-up
pull-up
100nF
SDA
IIO
3
MCU
SFH 5712
SCL
4
2
GND
Proposed size for the pull-up resistor is 560W
Basic operation
Register address
Command
Action
switch VDD on
Wait >1ms
0x80
Write 03
Ambient Light Sensor in ACTIVE mode
Wait >250 ms
0x8C
Read data
read LSB data from ambient light measurement
(LSB = least significant Byte of 16bit output)
0x8D
Read data
read MSB data from ambient light measurement
(MSB = most significant Byte of 16bit output)
0x80
Write 00
Ambient Light Sensor in STAND-BY mode
2010-03-31
2
SFH 5712
Addressing for basic operation
S Address 0x29 W A Register 0x80 A
0x03
A P
0x00
A P
S Address 0x29 W A Register 0x8C A P
S Address 0x29 R A
LSB DATA
NA P
S Address 0x29 W A Register 0x8D A P
S Address 0x29 R A
MSB DATA NA P
S Address 0x29 W A Register 0x80 A
Communication from master to SFH 5712
Communication from SFH 5712 to master
W= Master writes
R = Master reads
A = acknowledge
LSB = least significant byte
NA= not acknowledge
S = START condition
P = STOP condition
MSB = most significant byte
I2C interface
• 1.8V IO-logic level for SDA and SCL
• IO-pins are open drain type and logic high level is set with external pull-up resistor
• SFH 5712-1/2 operates always as slave, address is 0x29 (7bits). Bit 0 is used to change between
Read (R/W bit =1) and Write mode (R/W bit =0)..
Address 0x29
Bit
7
6
5
4
3
2
1
Address
default
0
1
0
1
R/W bit
0
0
• Designed for the I2C-High Speed modes (3.4Mbit/s)
• see I2C Bus specification UM10204 from NXP for detailed information
• Spikes up to 10 ns are suppressed on SDA & SCL
2010-03-31
3
0
1
X
SFH 5712
Modes
OFF
If VDD = 0 or not connected the device is inactive. Other units may use the I2C bus
without any restrictions; I/O pins are in Z state.
STAND-BY
This is the initial mode after power-up. IDD is below 2.5μA. No measurement is
performed. Only register 0x80 can be read and written. Device can be activated by
I2C bus communication.
ACTIVE
Measurements are triggered internally by SFH5712. The measurement repetition
rate is 2/s. Measurement results can be read from the data register
VDD= 0V
VDD = 0V
OFF
STAND-BY
activation
VDD connected
2010-03-31
deactivation
4
ACTIVE
SFH 5712
Maximum Ratings
Parameter
Symbol
Value
Unit
Storage temperature
Tstg
– 40 … + 85
°C
Supply voltage
VDD
-0.3 ... +4.5
V
I²C - Bus voltage
VIO
-0.3 ... +2.5
V
Electrostatic discharge
Human Body Model according to
EOS/ESD-5.1-1993
ESDhbm
2
kV
Electrostatic discharge
charge device model according to
JEDEC JESD22-C101D
ESDcdm
500
V
Operating Conditions
Parameter
Symbol
Value
min.
typ.
Unit
max.
Operating temperature
Top
-15
70
°C
Supply voltage
VDD
2.3
3.0
V
Supply voltage ripple
(frequency: 0...100Mhz, sinus wave)
dVDD
100
mV
Digital output range
Out
3
65k
counts
VIO
1.6
2.0
V
IIO
3
12
mA
I²C - Bus voltage
1)
Output current „Low“
1)
FAST MODE PLUS: requirement of Iout_low 20mA is not met.
2010-03-31
5
SFH 5712
Characteristics
Parameter
Symbol
Value
min.
Unit
typ.
max.
200
μA
Mean current consumption
ACTIVE mode, EV = 0lx, VDD = 2.5 V
IDD
145
Mean current consumption
ACTIVE mode, EV = 1000lx, VDD = 2.5 V
IDD
170
Mean current consumption
STAND-BY mode, VDD = 2.5 V
IDD
Spectral range of sensitivity
λ20%
400 ...
680
nm
Wavelength of max. photosensitivity
λs max
500
nm
Dimensions of radiant sensitive area
LxW
0.4 x
0.4
mm x mm
I²C power up time after Vdd “ON“
(see Appendix 1: flicker reduction and timing)
ton
40
µs
Output update time for first measurement
(see Appendix 1: flicker reduction and timing)
tupd
1
Resolution of the digital output signal
(3lx ....65klx)
Out
1
count/lx
± 10
counts
Digital output signal variation
for VDD = VDD, min to VDD, max; EV = 1000lx
Deviation from linear output characteristics1)
X = 100-65klx
X = 10-100lx
X = 3-10lx
flin
Temperature coefficient of the output signal
Top= 0...50°C
Top= -15...0°C & 50...70°C
(1000lx; Norm light A)
TCEV
2.5
1.5
μA
ms
%
±5
±10
±20
%/K
<0.2
<0.25
Flicker reduction at the output
(noise frequency: 50...60Hz)
(see Appendix 1: flicker reduction and timing)
2010-03-31
μA
13
6
dB
SFH 5712
1)
The deviation of the linear output characteristic is referenced to 1000lx and follows the formula:
YX
1000lx
f lin = ⎛ ------------------ × ------------------ – 1⎞ × 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
f lin
25%
15%
5%
-5%
-15%
-25%
1
10
100
1000
10000
100000
EV / lx
OHF04370
2010-03-31
7
SFH 5712
VDD
Address
fixed
Photodiode
Digital & data
register
A/D
converter
A
D
Amplifier
Two wire serial interface I 2 C
SDA
GND
SCL
OHF04366
Figure 1
Circuitry
Pin functions
Pin
Description
VDD
supply voltage
GND
ground
SCL
I²C bus clock serial I/O terminal (SCL)
SDA
I²C bus serial data I/O terminal (SDA)
Binning (TA = 25 °C)
Parameter
Symbol
Output signal
EV = 1000lx (white LED LW 541C) Out
2010-03-31
Value
Unit
-2
-3
500...1000
800...1600
8
count
SFH 5712
Relative Spectral Sensitivity
Srel = f (λ); TA = 25 °C
Directional Characteristics
Srel = f (φ); TA = 25 °C
OHF04364
100
Srel %
40˚
30˚
20˚
10˚
ϕ
OHF04367
50˚
Vλ
80
0˚
1.0
0.8
70
60˚
60
0.6
50
SFH 5712
70˚
0.4
80˚
0.2
40
30
20
0
90˚
10
0
400 500 600 700 800 900
nm 1100
100˚
λ
Output
Out = f (EV); TA = 25 °C
0.8
0.6
0.4
Current Consumption
IDD = f (VDD); TA = 25 °C; VDD = 2.5V;
ACTIVE mode
OHF04363
105
1.0
Idd
Out
OHF04365
150
µA
148
104
147
146
103
145
144
102
143
142
101
141
100 0
10
140
101
102
103
2.2
2.4
2.6
104 lx 105
3 V 3.2
Vdd
EV
2010-03-31
2.8
9
0˚
20˚
40˚
60˚
80˚
100˚
120˚
SFH 5712
Appendix 1: Flicker reduction and timing
Sensor is smoothing the output signal by averaging up to 32 single measurements. Flicker caused by
artificial light sources e.g. from fluorescent lamps usually occurs at 100Hz or 120Hz. Oscillation of the
optical input signal will be reduced by 13dB at the output for sinus signals. E.g. the sensor output varation
will only be 5% of the optical input peak to peak variation from fluorescent light. The flicker reduction is
calculated by the relative variation of the optical input signal (a/A) compared to the sensor output (b/B),
see figure 2.
Average signal level of
optical input (A) and
SFH 5712 out (B)
Actual light level
SFH 5712 Out
a
b
10log [(b/B) / (a/A)]
Time
OHF04362
Figure 2 flicker reduction (average of 32 measurements)
To achieve the maximum flicker reduction performance the 32fold averaged output value should be
used. Typically 186ms (max. 250ms) after sensor activation the first full averaged signal can be read at
the sensor output. The sensor allows to read intermediate signal output values prior to 250ms (see
figure 3):
- single measurement after typ. 1ms
- average of 8 measurements after typ 45ms
- average of 16 measurements after typ 92ms
After the first full averaged measurement value (t>250ms) the output will be refreshed automatically
twice a second with 32fold averaged values. Single, 8 and 16fold averaged measurements are only
performed after activation of the sensor.
2010-03-31
10
SFH 5712
.
Operation mode
Avg. of 8 measurements
Avg. of 32 measurements Avg. of 2 nd
1 measurement
32 measurements
Avg. of 16 measurements
st
Output
actualisation
Delay time until sensor
can be addressed
tupd
ACTIVE
No additional avg.
values in between
for following readings
STAND-BY
ton
Vdd off
t
typ. 45 ms
max. 65 ms
typ. 1 ms
max. 1.5 ms
typ. 92 ms
max. 125 ms
typ. 186 ms
max. 250 ms
typ. 565 ms
max. 750 ms
typ. 40 µs
OHF04371
Figure 3: SFH 5712 averaging and timing
Appendix 2: Digital Interface characteristics
Interface and control is accomplished through a two-wire I²C bus serial interface. The sensor works in
multi-master/multi-slave environment, multiple devices may be connected to the same bus. The device
conforms to I²C interface specification version 3.0 Rev. 03 dated 19 June 2007.
http://www.standardics.nxp.com/support/documents/i2c/pdf/ics.bus.specification.pdf
The device implements the I²C write protocol as well as the I²C read (combined mode) protocol. In block
read mode (as slave) the device will transmit registers in a cyclic manner until master issues a stop condition. E.g. if host uses block read and starts from register Ch, slave will return the following sequence
of register values:
Ch, Dh, 0h, Ah, Bh, Ch, Dh, 0h,....
until host issues a stop condition.
The address counter always increases the register address after output of register content. This is also
valid, if the device is powered down (stand-by mode) between readings.
2010-03-31
11
SFH 5712
Control of ambient light sensor modes
R/W-Register 0x80
Bit
7
6
5
4
3
2
1
not used
0
mode of ambient lightsensor
default 00000
00 STAND-BY
00 STAND-BY
11 ACTIVE
Part number and revision identification
R-Register 0x8A
Bit
7
6
5
4
3
Part number ID
2
1
0
Revision ID
1000
XXXX (start with 0001)
Manufacturer identification
R-Register 0x8B
Bit
7
6
5
4
3
2
1
0
3
2
1
0
3
2
1
0
Manufacturer Identification
0000
0011
Ambient light measurement data (LSB 8bit)
R-Register 0x8C
Bit
7
6
5
4
LSB data
default
00000000
Ambient light measurement data (MSB 8bit)
R-Register 0x8D
Bit
7
6
5
4
MSB data
default
00000000
The result of the ambient light sensor is a 16bit word split in MSB and LSB and is stored in two registers.
The upper byte data registers can only be read following a read to the corresponding lower byte register.
When the lower byte register is read, the upper byte is stored in a temporary register, which is read by a
2010-03-31
12
SFH 5712
subsequent read to the upper byte register. The upper register will contain the correct value even if additional integration cycles end between the reading of the lower and upper registers.
Example:
LSB data and MSB data neet to be combined to a 16bit word as follows:
LSB data = 0xF0 (1111 0000)
MSB data = 0x83 (1000 0011)
-> in hex: out = 83F0 = 33776 counts
-> in binary: out= 1000 0011 combined with 1111 0000: 1000 0011 1111 0000 = 33776 counts
I2C bus address
7 bit sensor address
binary: 0101001 / hex: 29
If the I²C bus master sends a not specified register address (e.g. Eh see table 1), the device (slave) will
not send ACKNOWLEDGE and go to an idle mode and wait for another command.
2010-03-31
13
SFH 5712
0.35 (0.014)
Pin 3
Pin 2
1.1 (0.043)
0.55 (0.022)
1.3 (0.051)
Package Outlines
Bottom view
0.5 (0.020)
0.7 (0.028)
Pin 4
Pin 1
1.45 (0.057)
1.25 (0.049)
Package center
Photosensitive
area 0.16 mm 2
Pin 2
Pin 3
Dimensions in mm (inch)
Pin configuration
Pin #
Description
1
VDD
2
GND
3
SDA
4
SCL
2010-03-31
14
1.8 (0.071)
1.8 (0.071)
Pin 4
2.2 (0.087)
Pin 1
0.6 (0.024)
2.2 (0.087)
0.8 (0.031)
Side view
Top view
OHPY4195
SFH 5712
Recommended Solderpad Design
Dimensions in mm
Taping
Label
Direction of unreeling
Direction of unreeling
Gurtende: 160mm
Gurtvorlauf: 400mm
Gurtende: 160 mm
Trailer: Trailer:
160mm160 mm
Leader:
2010-03-31
Reel size: 180 mm
Quantity: 3000 pcs
400mm
15
OHAY4288
SFH 5712
Soldering Conditions
Preconditioning acc. to JEDEC Level 3
Reflow Soldering Profile for lead free soldering
(acc. to J-STD-020C)
OHLA0687
300
Maximum Solder Profile
Recommended Solder Profile
Minimum Solder Profile
˚C
255 ˚C
240 ˚C
T 250
˚C
260 ˚C +0
-5 ˚C
245 ˚C ±5 ˚C
˚C
235 ˚C +5
-0 ˚C
217 ˚C
10 s min
200
30 s max
Ramp Down
6 K/s (max)
150
100 s max
120 s max
100
Ramp Up
3 K/s (max)
50
25 ˚C
0
0
50
100
150
200
250
s
300
t
Published by
OSRAM Opto Semiconductors GmbH
Leibnizstrasse 4, D-93055 Regensburg
www.osram-os.com
© All Rights Reserved.
The information describes the type of component and shall
not be considered as assured characteristics.
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.
2010-03-31
16
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Osram Opto Semiconductor:
SFH 5712-2/3