Revision History Rev. DRN # History Initiator Effective Date Initiator

advertisement
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
1
of
18
Revision History
Rev. DRN #
History
Initiator
Effective Date
V01
Initial document
江廷尉
2015/06/05
V02
Revise package information
江廷尉
2015/07/28
V021
Add ADC output count charts
張志航
2015/07/28
V030
Revise ADC output count charts.
張志航
2015/08/18
V031
Modify H_SELB (Reg03H)
張志航
2015/09/02
張志航
2016/04/06
Add Lux calculation formula
Add R_RDY description
V04
Revise ADC count value
Revise Typical Application
Add TEM_EN (Reg03H)
Modify STATUS (Reg20H)
Modify SENSE (Reg21~24H)
Modify Lux calculation formula
Add Temperature calculation formula
V041
Revise Typical Application
張志航
2016/04/14
V042
Revise Features and Description
張志航
2016/04/18
張志航
2016/07/04
Revise Temperature compensation diagram
Revise Temperature calculation formula
Revise TIG_SEL and GAIN default
Revise Basic Operation
Add SMD1026 package
Add Temperature sensor variation diagram
Remove PLCC4 package
V043
Remove DIP4L package
Revise the title
Revise ADC count for light sensing
Modify Lux calculation formula
Initiator: 江廷尉
Approvals:
(IC) 余正亮
Check by: 劉貴忠
(SYS) 黃宗文
(PM)
* Signature on file in DCC*
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
AP1522S
Ambient Light Sensor
with I2C Interface
SUPPLIER: HSI-BAO CORPORATION 訢寶企業股份有限公司
TEL:886 2 8912 1515 MAIL: sales@hsinbo.com.tw
Agent:
This article is subject to change without notice.
Page:
2
of
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
3
of
18
FEATURES
An empirical formula can be used to derive
 Light to digital conversion
ambient illumination (in Lux) to approximate the
 Temperature to digital conversion
human eye response. AP1522 is suitable for low
 Infrared immunity support
light intensity applications, especially 0~5 Lux.
 50/60Hz lighting ripple rejection
 Spectral response close to human eye’s
Besides, AP1522 supports temperature detection
too, detection range from -40℃ to 100℃, good
response
 Good light intensity sensitivity
temperature linearity allowing users to know the
 Good temperature detection
real ambient temperature.
 Excellent temperature compensation: -40 to
850C
With 4-lead SMD package, AP1522 is suitable to
 20-bit resolution output
be adopted in various applications.
 2.7V to 3.6V operating voltage range
 I2C TM interface to an external host
 4-lead SMD package
APPLICATIONS
 Surveillance cameras
 Camcorder
 Note Book
DESCRIPTION
AP1522 is an advanced ambient light sensor
used for high definition surveillance cameras,
camcorder and notebook applications. With
built-in 2-channel photodiodes, amplifiers and
analog circuits, AP1522 offers the best spectral
sensitivity close to human eyes. With built-in
excellent
temperature
compensation
circuit,
AP1522 is suitable for the applications with wide
temperature range.
The 20-bit conversion output is available through
I2C interface (up to 400KHz) to an external host.
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
4
of
PIN CONFIGURATION (SMD 1206)
ORDERING INFORMATION
MODEL
PACKAGE
AP1522D
4-Lead 5Φ flat top lamp package
AP1522S
4-Lead SMD1026-3.2mm*1.6mm package
SMD4L
Pin #
Mnemonic
I/O
Description
1
VDD
-
Power supply
2
GND
-
Ground
3
SCL
I/O
I2C SCL line
4
SDA
I
I2C SDA line
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Absolute Maximum Ratings
Page:
5
of
18
(unless otherwise specified, Temperature=25 oC)
Characteristic
Symbol
Rating
Unit
Supply Voltage
VDD
3.6
V
Operating Temperature Range
TOPR
-40~85
°C
Storage Temperature Range
TSTO
-40~100
°C
ESD Tolerance (HBM)
VHBM
5000
V
Electrical Characteristics (unless otherwise specified, Temperature=25 oC & VDD=3.3V)
Limit
Characteristic
Sym.
Condition
Supply Voltage
VDD
-
Unit
Min.
Typ.
Max.
2.7
3.3
3.6
V
I2C Interface Line (SCL, SDA)
Input Low Voltage
VIL
VDD=3.3V
-0.5
-
0.8
V
Input High Voltage
VIH
VDD=3.3V
2.1
-
3.6
V
Output Low Voltage
VOL
VDD=3.3V and ISINK=3mA
-
-
0.3
V
Min.
Limit
Typ.
Max.
Solder Characteristics (SMD package)
Characteristic
Condition
Unit
IR Reflow Temperature Time
above Liquidus
Temperature = 250°C
-
-
10
sec
IR Reflow Max Temperature Time
Temperature = 260°C
-
-
3
sec
Hand solder Max Temperature Time
Temperature = 350°C
-
-
3
sec
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
6
of
18
Operating Characteristics (unless otherwise specified, Temperature=25oC & VDD=3.3V)
Parameter
Condition
Limit
Min.
Typ.
Max.
ADC Count Value
0 Lux
(for Light Sense)
500 Lux(white LED)
6750
7500
8250
Counts
25℃
27430
27630
27830
Counts
ADC Count Value
(for Temperature Sense)
5
Unit
Counts
Normal*
250
uA
Power-Down
6
uA
Operating Current
*: SCL/SDA current not included
**: use temperature sense, the TIG must be fixed 100ms.
Typical Application:
0Ω
Note
TIG=100ms
Gain=64
TIG=100ms
Gain=64
TIG=100ms**
Gain=64
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
7
of
18
…
I2C Interface Protocol
Write Burst Protocol
S
Slave address
Wr
A Register address=N A
Data N
A
Data N+1
A
Data N+1
A
Data N+2
A
P
Read Byte Protocol
S
Slave address
Wr
A Register address=N A
S
Slave address
Rd
A
Data N
A
P
Read Burst Protocol
S
Slave address
Wr
A Register address=N A
S
Slave address
Rd
A
Data N
Note:
Slave Address[7:1]: preset to 0x10
A: Acknowledge (0:ACK, 1:NACK)
S: Start condition
P: Stop condition
Rd: 1(read)
Wr: 0(write)
: slave to master
: master to slave
A
…
P
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Register Table
Register
Address *
Acronym
Register Description
03h
MODE
Operation mode configuration
04h
TIG_SEL
Integration time selection
05h
GAIN
Integration gain control
20h
STATUS
Integration action done flag
21h
22h
23h
24h
Sense (light/temp.)
Low byte
Sense (light/temp.)
High byte
Dark (light/temp.)
Low byte
Dark (light/temp.)
High byte
Integration counter (Low byte)
Integration counter (High byte)
Integration counter (Low byte)
Integration counter (High byte)
* Do not use the register addresses not listed in the above table.
Page:
8
of
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
9
of
18
Register Description
MODE( 03h ),RW: operation mode setting
Addr
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Default
03h
MODE
0
0
0
H_SELB
0
TEM_EN
PD
RESET
00h
H_SELB: High-word result selection bit.
The light sense integration result is 32-bit wide. H_SELB is used to indicate the current integration count result (in
21h, 22h, 23h and 24h registers) stands for high-word or low-word result.
H_SELB: 1 -> result [15:0] (low word)
H_SELB: 0 -> result [31:16] (high word)
TEM_EN: temperature mode selection bit
TEM_EN: 0->light sense mode
TEM_EN: 1->temperature sense mode
PD: power-down enable bit
PD: 0->normal active mode
PD: 1->power down
RESET: chip reset bit.
Write “1” to reset the chip. It is recommended to assert RESET bit before writing TIG_SEL(04h) and GAIN(05h)
registers, and de-assert PD bit after the writing is done.
TIG_SEL( 04h),RW: integration time(TIG) selection
Addr
Name
04h
TIG_SEL
Bit7
Bit6
Bit5
Bit4
Bit3
TIG_SEL
Integration time (TIG) setting for light sense measurement.
TIG_SEL
Integration time(TIG)
0x00
1.536ms
0x01
3.072ms
0x20
50ms
0x41
100ms
0X82
200ms
0XFF
400ms
Note: for temperature sense, the TIG must be fixed 100ms
Bit2
Bit1
Bit0
Default
41h
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
10
of
18
GAIN( 05h), RW: integration gain control
Addr
Name
Bit7
Bit6
Bit5
Bit4
Bit3
05h
GAIN
-
-
-
-
-
Bit4
Bit3
Bit2
Bit1
Bit0
GAIN
Default
06h
Setting integration gain for light/temperature sensitivity:
GAIN
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Result gain
1x
2x
4x
8x
16x
32x
64x
128x
STATUS(20h ),RO: status register
Addr
Name
20h
STATUS
Bit7
Bit6
Bit5
Bit2
Bit1
IREF_OV SEN_OV
Bit0
Default
R_RDY
00h
SEN_OV: Sense result overflow flag
IREF_OV: standard average result overflow flag
R_RDY: integration counter result (in 21h, 22h, 23h and 24h registers) register ready flag.
SENSE ( 21h, 22h ),RO: Light or Temperature sense CH0 count result register
Addr
Name
21h
Sense (light/Temp)
Low byte
22h
Bit7
Bit6
Bit5
Sense (light/Temp)
High byte
Bit4
Bit3
Bit2
Bit1
Bit0
Default
CH0_LB[7:0]
00h
CH0_HB[15:8]
00h
When TEM_EN=0, the result is for light sense. When TEM_EN=1, the result is for temperature sense.
SENSE ( 23h, 24h ),RO: Light or Temperature sense CH1 count result register
Addr
Name
23h
Dark (light/Temp)
Low byte
24h
Dark (light/Temp)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Default
CH1_LB[7:0]
00h
CH1_HB[15:8]
00h
High byte
When TEM_EN=0, the result is for light sense. When TEM_EN=1, the result is for temperature sense.
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Basic Operation
Lux Calculating formula (for white LED):
Lux  (CH 0  CH 1) 
128 400ms

 8.1151103
GAIN
TIG
Temperature sense calculating formula: (TIG must be fixed 100ms)
Temp (℃)  [(CH 0  CH 1) 
128
1
 50801] 
GAIN
178.18
Page:
11
of
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
12
of
18
Temperature Compensation
AP1522 supports built-in temperature compensation function to eliminate the temperature effects of light
sensing. No extra circuits are needed to implement temperature compensation by users. The measurement
result shows that, comparing with the result in 25°C, the light sensor average counts(normalized) was showed
as below curve, when the temperature ranges from -40°C to 85°C.
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
TIG vs. Sensitivity (High Light Condition, Gain=64, TIG=400ms)
TIG vs. Sensitivity (Low Light Condition, Gain=64, TIG=400ms)
13
of
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
14
of
18
ADC Count Values vs Light Intensity (at 0~10 lux performance)
Temperature Sensor Variation
AP1522 supports built-in temperature sensor function to detect the ambient temperature. No extra
components are needed to implement circuit by user. The measurement result shows that, comparing each
temperature, the temperature sensor average variation was showed as below curve, when the temperature
ranges from -40°C to 100°C.
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
15
of
18
ADC Count Values vs Temperature sense (Condition: Gain=128, TIG=100ms)
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Page:
16
of
18
Spectrum Profile
The package of AP1522 is designed to contain near infrared cutting material for optical encapsulation purpose.
The spectrum profile is shown as below.
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
Wave Soldering Profile Condition Suggestion
Page:
17
of
18
Document No.
Title
Rev.: V0.4.3
AP1522S – Ambient Light Sensor with I2C interface
DIMENSION (SMD1026-4L, in unit of mm)
Page:
18
of
18
Download