EVERLIGHT ALS-PDIC17-57B-TR8

Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Features
‧Close to the human eye's response
‧15 bit effective resolution
‧50Hz/60Hz rejection
‧Low sensitivity variation across various light sources
‧Operating temperature performance, -40 C to 85 C
‧Wide supply voltage range, 2.7V to 5.5V
o
o
• Low power consumption, less than 2mW while operating
• Shut-down mode, current consumption less than 0.1uA
2
• I C serial port communication: (1) Standard 100kHz, (2) Fast 400kHz
High dynamic sensing range and from 0 to 88,000 Lux
Dimension: 2.0mm(L)x2.0mm(W)x0.6mm(H)
RoHS compliant and Pb Free
‧
‧
‧
Description
The ALS-PDIC17-57B/TR8 is a digital-output light sensor with a two-wire, I2C serial
interface that is compatible with SMBus operating at 100 KHz serial clock frequency. It
combines a photodiode and an analog-to-digital converter (ADC) on a single CMOS integrated
circuit to provide light measurements over an effective 15-bit dynamic range. One operation
modes are provided with constantly refreshing ADC. When working in “one time integration”
mode, no external resister is required. The integrating conversion technique used by
ALS-PDIC17-57B/TR8 effectively eliminates the effect of flicker from AC-powered lamps,
increasing the stability of the measurement. ALS-PDIC17-57B/TR8 is very close to human-eye
vision, having very low response to non-visible light, such as infrared and ultra-violet light.
Applications
• Detection of ambient light to control display backlighting
Mobile devices – Mobile phones, PDAs, Table PC and GPS
Computing device – TFT LCD monitor
Consumer device – TFT LCD TV, Plasma TV, Video camera, Digital camera, Toys
• Detection of ambient light for controlling the backlighting of TFT LCD display
• Automatic residential and commercial lighting management
• Automatic contrast enhancement for electronic signboard
• Ambient light monitoring device for daylight and artificial light
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
1
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Package Dimensions
Unit: mm
Tolerance: ±0.1mm
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
2
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Absolute Maximum Ratings (Ta=25℃
℃)
Parameter
Symbol
Min.
Max.
Units
Storage temperature
TSTG
-40
100
°C
Operating temperature
TOPR
-40
85
°C
Supply voltage
VDD
-0.3
6.0
V
Digital output voltage
Vo
-0.3
6.0
V
Digital output current
Io
-10
+10
mA
ESD tolerance, human body model
-
2
-
KV
Block Diagram & Pad Descriptions
I2C
Register
Figure 1 ALS-PDIC17-57B/TR8 Functional Block Diagram
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
3
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Electrical and Optical Characteristics (Ta=25℃
℃, VDD=3.3V)
Parameter
Symbol
Supply current
2
I C output low voltage
wavelength
Response in dark
environment
Response to fluorescent
lamp [Note1]
Response to incandescent
lamp [Note2]
Min.
Typ.
Max.
Units
IDD
Active mode
-
0.4
0.5
mA
IDDQ
VOL
Power-down mode
-
-
0.1
uA
Io = 4mA
-
-
0.4
V
Full scale
-
-
32,767
counts
Tint = 100mS
-
-
44,200
Lux
-
580
-
nm
-
-
1
count
44
73
102
counts
65
108
151
counts
Detection limit
Peak sensitivity
Test Conditions
λp
Rdark
Rfrst
Ricd
Ev= 0lux,
Tint = 100mS
Ev= 100lux
Tint = 100mS
Ev= 100lx
Tint = 100mS
Note:
1. Fluorescent light (Color Temperature = 6500K) is used as light source. However, White LED is substituted
in mass production.
2. Illuminance by CIE standard illuminant-A 2856K of incandescent lamp.
DC Characteristics of I2C Signals in Standard and Fast Mode
Parameter
Symbol
Power supply voltage (recommend)
Low level input voltage
VDD
VIL
High level input voltage
VIH
Hysteresis of Schmitt trigger inputs
(VDD > 2V)
Low level output voltage
(open drain) at 3mA sink current
(VDD > 2V)
Output fall time from VIHMIN to
VILMAX with a bus capacitance from
10pF to 400pF
Input current of each IO pins with
an input voltage between 0.1VDD
and 0.9VDD
Capacitance for each IO pin
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
Standard Mode
Min.
Max.
2.7
-0.5
5.5
1.0
VDDx0.6
Fast Mode
Min.
Max.
2.7
-0.5
[Note3]
5.5
1.0
VDDx0.6
[Note3]
Unit
V
V
V
Vhys
0.05VDD
-
0.05VDD
-
V
VOL1
0
0.4
0
0.4
V
tof
-
250
20+0.1Cb
250
[Note2]
[Note1]
[Note2]
II/P
-10
10
-10
10
uA
Ci
-
10
-
10
pF
4
http://www.everlight.com
Jun. 22, 2011
ns
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Notes:
1.
2.
3.
Cb = capacitance of one bus line in pF
The maximum tof for the I2C data and clock bus lines quoted in the AC table is longer
than the specified maximum tof for the output stages (250nS). This allows series
protection resistors (RS) to be connected between I2C data / clock pins and the I2C
data / clock bus lines without exceeding the maximum specified tof.
The I2C bus operation voltage is 1.8V, The ALS-PDIC17-57B supply voltage must 3V
(3Vx0.6=1.8V)
≦
AC Characteristics of I2C Signals in Standard and Fast Mode
Parameter
Symbol
I2C clock frequency
Hold time (repeated) START condition.
After this period, the first clock pulse is
generated.
Low period of I2C clock
High period of I2C clock
Set-up time for a repeated START
condition
Data hold time for I2C-bus devices
Data set-up time
Rise time of both I2C data and clock
signal’s
Fall time of both I2C data and clock
signal’s
Set-up time for STOP condition
Bus free time between STOP and
START condition
Capacitive load for each bus line
Standard Mode
Min.
Max.
fSCL
0
tHD;STA
100
Fast Mode
Min.
max.
Unit
0
400
KHz
4.0
0.6
-
us
tLOW
tHIGH
4.7
4.0
1.3
0.6
us
us
tSU;STA
4.7
0.6
us
tHD;DAT
tSU;DAT
0
250
3.45
-
0
100
0.9
-
us
ns
tr
-
1000
5
300
ns
tf
-
300
0.1
300
ns
tSU;STO
4.0
-
0.6
-
us
tBUF
4.7
-
1.3
-
us
Cb
-
400
-
400
pF
Figure 2 I2C Timing Diagram
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
5
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Typical Electrical and Optical Characteristics Curves
Fig 3 Light Output vs. Illuminance
Fig 4 Current Consumption vs. Illuminance
Fig 5 Current Consumption vs. Supply Voltage
Fig 6 Light Output vs. Supply Voltage
Fig 7 Light Output vs. Supply Voltage
Fig 8 Current Consumption vs. Temperature
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
6
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Fig 9 Light Output vs. Temperature
Fig 10 Light Output vs. Temperature
Fig 11 Spectrum
Fig 12 Relative Sensitivity vs. Angle
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
7
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Communication Protocol
ALS-PDIC17-57B contains an 8-bit command register that can be written and read via
the I C bus. The command register controls the overall operation of the device. There is a
two-byte word read-only register that contains the latest converted value of A/D converter. The
I2C slave address is hardwired internally as 0101001 (0x29, MSB to LSB, A6 to A0). All the
Send Byte protocol, the Receive Byte protocol and Receive Word protocol are implemented in
ALS-PDIC17-57B.
2
The Send Byte protocol allows single bytes of data to be written to the device (see Figure
13-a). The written byte is called the COMMAND byte. The Receive Byte protocol allows
one-byte data to be read from the device (see Figure 13-b). Two-byte data can be read by
following the Receive Word Protocol shown in Figure 13-c. In Figure 13, the clear area
represents data sent by the host (master) and the shaded area represents data returned by the
ambient light sensor (slave device).
1
S
7
Slave Address
1
WR
0
1
A
0
8
Command Byte
1
A
0
1
RD
1
1
A
0
8
Data
1
NA
1
1
P
(a) Send byte protocol
1
S
7
Slave Address
1
P
(b) Receive byte protocol
1 7
1
1
8
1
8
1
1
S Slave Address
RD
A
LS byte of ADC
A
MS byte of ADC
NA
P
1
0
0
1
(c) Receive word (two bytes) protocol
S = start condition
A = acknowledge
P = stop condition
NA = not acknowledge
Shaded = slave transmission
WR = write RD= read
Figure 13 Communication Protocol
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
8
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Communication Format
ALS-PDIC17-57B is capable of working as an I2C slave. Address of this device on I2C bus
is always 0x29 (hexadecimal number 29). Registers of the slave device can be programmed by
sending commands over I2C bus.
Figure 14 shows an I2C write operation. To write to an internal register of the slave
device a command must be sent by an I2C master. As illustrated in Figure 14, the I2C write
command begins with a start condition. After the start condition, seven bits of address are sent
with MSB going first. RD / WRn (=Low) command bit follows the address bits. Upon receiving a
valid address the slave device responds by driving SDA low for an ACK. After receiving an ACK,
I2C master sends eight bits of data with MSB first. Upon receiving eight bits of data the slave
device generates an ACK. I2C master terminates this write command with a stop condition.
Figure 14 I2C Timing Diagram for Send Byte Format
Figure 15 shows an I2C read command sent by the master to the slave device. I2C read
command begins with a start condition. After the start condition seven bits of address are sent
by the master with MSB going first. After the address bits, RD / WRn command bit is sent. For
a read command the RD / WRn bits is high. Upon receiving the address bits and RD / WRn
command bits the slave device responds with an ACK. After sending an ACK, the slave device
sends eight bits of data with MSB going first. After receiving the one byte data, the I2C master
terminates this transaction by issuing a NACK command to indicate that the master only
wanted to read one byte from the device. The master generates a stop condition to end this
transaction.
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
9
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Figure 15 I2C Timing Diagram for Receive Byte Format
Ambient light intensity count value can be obtained by reading registers of this device.
Ambient light intensity count is a 15-bit wide number plus a valid bit and hence word (two
bytes) read operation is needed, as shown in Figure 16. After receiving the two byte data, the
I2C master terminates this transaction by issuing a NACK command to indicate that the master
only wanted to read two bytes from the device. The master generates a stop condition to end
this transaction.
Figure 16 I2C Timing Diagram for Receive Word Format
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
10
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Theory of Operation
The photocurrent, generated by the built-in photodiode while being illuminated, is
proportionally converted to frequency; the digital frequency signal is then integrated by a
15-bit counter for a predetermined period of time (tint). This period of time is called integration
time. The converted data are read out through a two-wire, I2C Interface bus. Since the
photodiode has been specially processed to suppress the spectral response in infrared region,
the readout is very close to the photonic transfer function, V(λ), which is the mathematic
expression of human-eye's response to ambient light.
Address Option for I2C
The I2C address is determined before placing an order; the default address is 0x29.
ADC Register
The ADC register contains 16 bits with a 15-bit wide data from D0 to D14 and a valid bit
D15. The register is divided into two groups; D[15..8] is the most significant (MS) byte and
D[7..0] is the least significant (LS) byte. See Table 1 for details.
Table 1 ADC Register Structure
Valid Bit
D15
Data Bits
D14
D13 ~ D8
MSB
Most Significant (MS) byte
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
11
D7~D1
D0
LSB
Least Significant (LS) byte
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Device Command
There are eight command codes are provided for I2C master to control the ambient light
sensor. The specific function corresponding to each command code is elaborate in Table 2.
Table 2 Command Code List
Command
Function
Code
Shut-down mode, this is the default state after applying VDD power to
1xxx_xxxx
(binary code)
the device. During shut-down mode, users can do the communication
test. Except the MSB must be logic 1, the value written to the command
register will not change any function and can be read back via the I2C
bus by issuing Receive Byte Protocol.
Activate the ambient light sensor and put the device in [one time
0x04
integration mode]. The integration time is controlled by I2C commands,
start and stop integration.
Start integration: This command will reset the ADC register to 0x0000
0x08
and begin a new integration in [one time integration mode].
Stop integration: This command will stop the integration in [one time
0x30
0x34
integration mode] and set the valid bit (D[15]) high.
Reserved for future expansion.
Programming Sequence
External integration timing
(1). After being powered on, the device will initially be in the shut-down mode (default
setting).
(2). To operate the device, issue an Send Byte protocol (see Figure 13-a) with the device
address 0x29 followed by a command byte of 0x04 to activate the ambient light sensor
and put the device into "one time integration mode".
(3). I2C master sends a "start integration command" to the salve device by issuing Send
Byte protocol with the device address 0x29 followed by a command byte of 0x08.
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
12
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
(4). After a period of user defined integration time, I2C master sends a "stop integration
command" to the salve device by issuing Send Byte protocol with the device address
0x29 followed by a command byte of 0x30.
(5). To read the ADC conversion result, issue an Receive Word protocol (see Figure 13-c)
with the device address 0x29 followed by two-byte reading procedures.
(6). If the stop integration command is not received by the device, the valid bit (D[15])
will be “0” to indicate that the data is not valid. If there is a valid conversion result
available, the valid bit (D[15]) will be set logic high, and the remaining 15 bits will
represent valid data from the ADC register.
(7). Data may be read repeatedly from the ADC register, and although it will remain valid,
the ADC register will not be updated until a new complete integration cycle has been
carried out. In this cases, the power consumption of the device can be reduced by issue
a send Byte protocol with the device address 0x29 followed by a data byte of
1xxx_xxxx.(Binary code)
Noise Rejection and Integration Time
In general, integrating type ADC’s have an excellent noise rejection characteristics for
periodic noise sources whose frequency is an integer multiple of the integration time. For
instance, a 60Hz AC unwanted signal’s sum from 0ms to nx16.66ms (n = 1, 2...ni) is zero.
Similarly, setting the ALS-PDIC17-57B integration time to an integer multiple of periodic noise
signal greatly improves the light sensor output signal in the presence of noise. The maximum
detection range is inversely proportional to the integration time; that means the longer
integration time the lower detection range. (See Table 3)
Table 3 Detection Range Guide
Integration time
Detection range
Resolution
( mS )
( Lux )
( Lux / count )
50
88,400
2.7
100
44,200
1.35
200
22,200
0.68
300
14,500
0.45
400
11,100
0.34
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
13
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Power Supply Decoupling and Layout
The power supply lines must be decoupled with capacitors, 4.7uF and 0.1uF, placed as
close to the device package as possible. The bypass capacitor should have low effective series
resistance (ESR) and effective series inductance (ESI), such as the common ceramic types,
which provide a low impedance path to ground at high frequencies to handle transient currents
caused by internal logic switching. ALS-PDIC17-57B is relatively insensitive to layout. Like
other I2C devices, it is intended to provide excellent performance even in significantly noisy
environments. There are only a few considerations that will ensure best performance. Route
the supply and I2C traces as far as possible from all sources of noise. The pull up resister of
two line serial bus “SCL” and “SDA” are recommended to be around 4.7Kohm,
2.7V ~ 5.5V
Figure 17 Application Circuit
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
14
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Recommended method of storage
1. Do not open moisture proof bag before devices are ready to use.
2. Shelf life in sealed bag from the bag seal date:
18 months at 10°C~30°C and < 90% RH.
3. After opening the package, the devices must be stored at 10°C~30°C and ≤ 60%RH, and
used within 168 hours (floor life).
4. If the moisture absorbent material (desiccant material) has faded or unopened bag has
exceeded the shelf life or devices (out of bag) have exceeded the floor life, baking
treatment is required.
5. If baking is required, refer to IPC/JEDEC J-STD-033 for bake procedure or recommend the
following conditions:
192 hours at 40°C +5/–0°C and < 5 % RH (reeled/tubed/loose units) or
96 hours at 60°C ± 5°C and < 5 % RH (reeled/tubed/loose units) or
24 hours at 125°C ± 5°C, not suitable for reel or tubes.
Recommended Solder Profile
Notice:
(1) Reflow soldering should not be done more than two times.
(2) When soldering, do not put stress on the devices during heating.
(3) After soldering, do not warp the circuit board.
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
15
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Soldering Iron
℃
Each terminal is to go to the tip of soldering iron temperature less than 350
for 3
seconds within once in less than the soldering iron capacity 25W. Leave two seconds and more
intervals, and do soldering of each terminal. Be careful because the damage of the product is
often started at the time of the hand solder.
Repairing
Repair should not be done after the device have been soldered. When repairing is
unavoidable, a double-head soldering iron should be used (as below figure). It should be
confirmed beforehand whether the characteristics of the device will or will not be
damaged by
repairing.
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
16
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Packing Quantity Specification
2000 PCS/ 1 Reel
Label Format
CPN: Customer’s Production Number
P/N: Production Number
QTY: Packing Quantity
CAT: Ranks
HUE: Peak Wavelength
REF: Reference
LOT No: Lot Number
MADE IN TAIWAN: Production Place
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
17
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Reel Dimensions
Unit: mm
Tolerance: ±0.1
Tape Dimensions
W
E
F
D0
D1
P0
8.00±0.2
1.75±0.1
3.50±0.05
1.50+0.1/-0
1.00±0.1
P1
P2
t
A0
B0
4.00±0.05
K0
4.00±0.1
2.00±0.05
0.23±0.05
2.15±0.05
2.15±0.05
0.95±0.05
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
18
Unit: mm
http://www.everlight.com
Jun. 22, 2011
Surface - Mount
2
I C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Note:
1. Above specification may be changed without notice. EVERLIGHT will reserve authority on
material change for above specification.
2. When using this product, please observe the absolute maximum ratings and the
instructions for using outlined in these specification sheets. EVERLIGHT assumes no
responsibility for any damage resulting from use of the product which does not comply with
the absolute maximum ratings and the instructions included in these specification sheets.
3. These specification sheets include materials protected under copyright of EVERLIGHT
corporation. Please don’t reproduce or cause anyone to reproduce them without
EVERLIGHT’s consent.
Everlight Electronics Co., Ltd.
Document No: DLS-00000xx Rev0.1
19
http://www.everlight.com
Jun. 22, 2011