ISL29038IROZ-EVALZ

ISL29038
10
FN7851.1
January 23, 2015
Submit Document Feedback
Registers 0x01, 0x02 are used to configure the primary proximity
and ALS parameters. Register 0x03 is used for optimizing IR
compensation in ALS measurements. A procedure to optimize IR
compensation is described in
ALS IR Compensation” on page 11.
Register 0x04 is the Interrupt Configuration and Status Register,
and is used primarily to indicate interrupt events from proximity
and ALS measurements. A PWR_FAIL bit to indicate a
‘Brown-Out’ event is available and is set in case of a power supply
interruption. A ‘Brown-Out’ event does not generate a hardware
interrupt. The host micro-controller must clear this bit by writing a
‘0’ to Reg 0x04[4].
Register 0x04 is also used to configure ALS and Proximity
interrupt persistency and the operation of the INT
pin.
Registers 0x05 and 0x06 are used to set the proximity ‘LOW’ and
‘HIGH’ threshold for proximity interrupt event generation.
Registers 0x07, 0x08 and 0x09 are used to set the ALS ‘LOW’
and ‘HIGH’ threshold. Two 12-bit numbers span three address
locations as shown in Table 1
.
Data registers 0x0A holds result of proximity conversion. The
proximity result should be validated by ‘Washout’ bit in Reg
0x0D[0]. Registers 0x0B and 0x0C hold results of an ALS
measurement.
The ALS data is 12 bits wide. Least Significant Byte of the ALS
data is available at address 0x0C and Most Significant Byte
(MSB) of ALS data is available at address 0x0B. The MSB is right
justified, i.e., the upper nibble is always zero and lower nibble
contains four data bits.
Register 0x0D[7:1] contains ambient IR measurement in
proximity measurement phase. This measurement is for
detecting ambient Washout condition, which is indicated by Reg
0x0D[0] being ‘HIGH’. Proximity ‘Washout’ is described in
Proximity Ambient Washout Detection” on page 11.
A software reset can be initiated by writing 0x38 to Reg 0x0E.
ISL29038 Operation
Photodiodes and ADCs
The ISL29038 contains two photodiode arrays, which convert
photons (light) into current. The ALS photodiodes are designed to
mimic the human eye’s wavelength response curve to visible light.
The ALS photodiodes’ current output is digitized by a 12-bit ADC.
The ALS ADC output is accessed by reading from Reg 0x0B and
0x0C when the ADC conversion is completed.
The ALS ADC converter uses a charge-balancing architecture.
Charge-balancing is best suited for converting small current signals
in the presence of periodic AC noise. The ISL29038 targets an
integration time of 90ms, which can vary ±15% from nominal. The
ALS integration time is intended to minimize 60Hz flicker.
The proximity sensor uses an 8-bit ADC, which operates in a
similar fashion. The IRDR pin drives (pulses) an infrared LED, the
emitted IR reflects off an object back into the ISL29038, and the
photo diodes convert the reflected IR to a current signal in
0.5ms. The ADC subtracts the IR reading before and after the
LED is driven to remove ambient IR contribution.
The ALS runs continuously with new data available every 90ms.
The proximity sensor runs continuously with a time between
conversions controlled by PROX_SLP (Reg 0x01[6:4]).
Ambient Light Sensing
The ISL29038 is set for ambient light sensing when Register bit
ALS_EN = 1. Four measurement ranges from 125 Lux to 4000 Lux
are available. The ALS measurement range is configured via Reg
0x02[1:0].
Proximity Sensing
When proximity sensing is enabled (PROX_EN = 1), the external
IR LED is driven for 100µs by the built-in IR LED driver through
the IRDR pin.
The IR LED current depends on PROX_DRV (Reg 0x01[1:0]). Drive
current settings are as shown in Table 1
. IR LED drive is in high
impedance state when not active.
When the IR from the LED reaches an object and gets reflected
back to the ISL29038, the reflected IR light is converted into a
current. This current is converted to digital data using an 8-bit
ADC. The proximity measurement takes 0.5ms for one
conversion including the 90μs LED drive time. The period
between proximity measurements is determined by PROX_SLP
(sleep time) in Reg 0x01[4:2].
Average LED driving current consumption is given by Equation 1
.
A typical IRDR scheme is 250mA pulses every 400ms, averaging
about 56μA DC.
Total Current Consumption
Total current consumption is the sum of I
DD
and I
IRDR
. The IRDR
pin sinks current and the average IRDR current is calculated using
Equation 1
. The I
DD
depends on voltage and the mode of
operation. For simplicity, Equation 1
ignores proximity ADC
conversion time since it is much smaller than the sleep time.
I
lRDR AVE;
I
lRDR PEAK;
90s
T
SLEEP
-----------------------------------------------------
=
(EQ. 1)
ISL29038
11
FN7851.1
January 23, 2015
Submit Document Feedback
ALS IR Compensation
The ISL29038 is designed for operation under dark glass cover.
Glass or plastic covers can significantly attenuate visible light
and pass the Infrared light without much attenuation.
Consequently, the ISL29038 under a glass cover experiences an
IR rich environment.
The on-chip ALS passive optical filter on the ISL29038 is designed
to block most of the IR incident on the ALS photo diodes. In
addition, the ISL29038 provides a programmable active IR
compensation that subtracts residual IR still reaching the sensor.
The ALS_IR_COMP register (Reg 0x03[4:0]) allows fine tuning of
the residual infrared component from the ALS output.
The recommended procedure for determining ALS IR
compensation is as follows:
Illuminate the ISL29038 based product with a light source
without IR, such as a white LED. Record the ALS measurement
and the Lux level.
Illuminate the device with an IR LED and the White LED. Take
an ALS measurement and Lux level measurement.
Adjust the ALS_IR_COMP register (Reg 0x03, bits 4:0) to
compensate for the IR contribution.
Repeat steps above until the IR light source contribution to the
ALS measurement is under 10 percent assuming no change in
Lux level due to IR light source.
Proximity Offset
Systems built with a protective glass cover over the ISL29038
can provide light ‘leakage’ or ‘crosstalk’ from the IR LED by
reflection from the glass saturating the proximity sensor
measurement system (Figure 11
).
Saturation can occur when the reflection from the glass with no
object in the proximity detection space exceeds the full scale of
the measurement system. The ISL29038 proximity system
provides a user programmable proximity offset correction to
compensate for this reflection.
The PROX_IR_COMP register (Reg 0x02[6:3]) applies a corrective
offset to the received signal prior to ADC conversion, which
allows the signal to be brought within the usable range of the
proximity measurement system.
Proximity Ambient Washout Detection
Optical proximity sensor can saturate when illuminated with
excessive ambient light. The ISL29038 provides a warning flag
when the proximity measurement may be erroneous due to
excessive ambient light. The PROX_WASH register (Reg 0x0D[0])
reports this condition.
Interrupts Events
The ISL29038 interrupts are designed to minimize host
microcontroller overhead of continuous polling. The ISL29038
can generate interrupts on the results of an ALS measurement or
proximity measurement.
The ALS interrupt event ALS_FLAG (Reg 0x04[3]) is governed by
Reg 0x07 through 0x09. Two-12 bit high and low threshold
values are written to these registers. The ISL29038 will set the
ALS interrupt flag if the ADC conversion count in Registers 0x0B
and 0x0C are outside the programmed thresholds. The
ALS_FLAG is cleared by writing a ‘0’ to Reg 0x04[3].
A proximity interrupt event (PROX_FLAG) is governed by the high
and low thresholds in Reg 0x05 and 0x06 (PROX_LT and
PROX_HT) and is indicated by Reg 0x04[7]. PROX_FLAG is set
when the measured proximity data is more than the higher
threshold. The proximity interrupt flag is cleared when the
proximity data is lower than the low proximity threshold or by
writing a ‘0’ to Reg 0x04[7].
The Proximity interrupt generation can be selected between
‘out-of-window’ threshold and hysteresis schemes. When the
PROX_INT_ALG register (Reg 0x02, Bit 7) is set to 0, proximity
uses a window comparator scheme; when set to 1, proximity
uses a hysteresis scheme.
In hysteresis mode, the interrupt event is generated if the
proximity ADC count is higher than the PROX_HT threshold and
the interrupt event is cleared when the proximity ADC count is
less than the PROX_LT threshold. The interrupt event flag can
also be cleared by writing a ‘0’ to Reg 0x04[7].
INTERRUPT PERSISTENCE
To minimize interrupt events due to ‘transient’ conditions, an
interrupt persistency option is available for both ALS and proximity
measurements. Persistency requires ‘X-consecutive’ interrupt flags
before the INT
pin is driven low. Both ALS and PROX have their own
independent interrupt persistency options. ALS_PRST and
PROX_PRST configuration are controlled from Reg 0x04.
Power-Up and ‘Brown-Out’ Reset
The ISL29038 has an enhanced power-on-reset system. A
‘Brown-Out’ detector flag in Reg 0x04[4] informs the system that
the device has powered-up properly. This flag should be reset as
part of the initialization sequence.
A ‘Brown-Out’ condition is defined as an operating condition
when the power supply voltage is not within the specified limits.
During the brown-out period at power-up, the I
2
C interface and
the IR LED driver are inactive. Following brown-out, the I
2
C
interface is re-initialized and the configuration registers are set to
power-up default values. After power-up and during device
initialization, host should examine that the PWR_FAIL flag
FIGURE 11. PROXIMITY SET-UP HIGHLIGHTING CROSSTALK
REFLECTED FROM COVER GLASS
LEDSENSOR
PCB
GLASS COVER
ISL29038
12
FN7851.1
January 23, 2015
Submit Document Feedback
(Reg 0x04[4]) is set and then clear the flag by writing ‘0’ to Reg
0x04[4].
Following power-up, a ‘Brown-Out’ condition, if detected, is
reported by PWR_FAIL flag by Reg 0x04[4]. Device configuration
registers are not set to their power-up default after ‘Brown-Out’.
PWR_FAIL flag should be periodically monitored to detect post
power-up power supply interruption.
Power-Down
Setting ALS_EN (Reg 0x02[2]) and PROX_EN (Reg 0x01[5]) to ‘0’
puts the ISL29038 into a power-down state with power supply
current dropping to less than 1µA. All configuration registers are
maintained in power-down mode.
Soft Reset
A software reset to ISL29038 can be initiated by writing 0x38 to
Reg 0x0E. Following reset, all configuration registers are set to
their default power-up state. After soft reset, the ISL29038
defaults to the power-down configuration.
ALS Data Count Read Out
A 2 byte I
2
C read from ALS_DATA_HB outputs MSB 1
st
data on
SDA. This data is LSB justified with a zero fill for unused bits.
NOTE: That the MSB byte address precedes the LSB byte address. The
ALS count is 256*(ALS_DATA_HB) + ALS_DATA_LB.
Proximity Detection of Various Objects
Proximity sensing relies on the amount of IR reflected back from
objects. A perfect black object would absorb all incident light and
reflect no photons. The ISL29038 is sensitive enough to detect
black ESD foam, which reflects only 1% of IR. Blonde hair typically
reflects more than brown hair and skin tissue is more reflective
than human hair.
IR penetrates into the skin and is reflected from within. As a
result, the proximity count generally peaks at contact and
monotonically decreases as skin moves away. The reflective
characteristics of skin are very different from that of a inanimate
object such as paper.
Typical Application Circuit
A typical application circuit for the ISL29038 is shown in
Figure 12
. The ISL29038’s I
2
C address is internally hard wired as
‘1000100x’, with x representing the R/W bit. The device can be
connected to a system’s I
2
C bus together with other I
2
C
compliant devices. It is important to ensure that there is no
address conflict with other I
2
C devices on the bus.
The SCL, SDA and INT
pins on ISL29038 are open drain and
require pull-up resistors for proper system operation. Values of
the pull-up resistors is system dependent and can range from
2.2k to 10k depending upon the number of I
2
C devices on the
bus.
The proximity sensing system can be powered using a dual power
supply or using a single power supply. In dual supply
configuration, the IR LED and the ISL29038 are powered from
separate power supplies. The V
DD
IRLED can range from 2.25V to
5.0V and the V
DD
_ANALOG can range from 2.25V to 3.63V. In
dual supply configuration, resistor R
2
should not be installed.
In single supply configuration, the IR LED and the ISL29038 are
powered from the same power source. The V
DD
_IRLED can range
from 2.25V to 3.63V and the V
DD
_Analog is derived from
V
DD
_IRLED using resistor R
2
.
In either power supply configuration, a 1µF decoupling capacitor
should be installed close to the AVDD pin, and another 1µF
decoupling capacitor should be placed close to the IR LED anode.
FIGURE 12. TYPICAL APPLICATIONS CIRCUIT
VDD_IRLED
VDD_ANALOG
R
2
100
C
1
1µF
C
2
1µF
R
1
499k
1
2
3
4
8
7
6
5
GNDIR
AVDD
AGND
RExt
IRDR
INT
SDA
SCL
D
1
IRLED
U1
ISL29038
VDD_PULLUP
SCL, SDA AND
INT
SDA
SCL
INT PULL UPs
SMBus MASTER
R
1
: 499k 1% RESISTOR
R
2
: 100Ω 5% RESISTOR
C
1
, C
2
: 1µF CERAMIC 10V CAPACITOR
D
1
: OSRAM SFH4650 INFRARED LED

ISL29038IROZ-EVALZ

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Optical Sensor Development Tools ISL29038IROZ-EVALZ (PB-Free ) EVALUATION BOARD - ROHs Compli
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet