AS7221 [AMSCO]
Calibrated XYZ tri-stimulus color sensing for direct translation to CIE 1931/1976 standard observer color MAPS;型号: | AS7221 |
厂家: | AMS(艾迈斯) |
描述: | Calibrated XYZ tri-stimulus color sensing for direct translation to CIE 1931/1976 standard observer color MAPS |
文件: | 总36页 (文件大小:893K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
AS7221
Calibrated XYZ Chromatic Manager for
Network Enabled Smart Lighting
The AS7221 Smart Lighting Manager device is part of the ams
Cognitive Lighting™ family of products that enable lights to be
“aware” and adapt to their surroundings, autonomously
adapting to human lighting and energy conservation needs.
The device is equipped with an advanced Cognitive Lighting
Engine (CLE) to optimize, chromatic white/color tuning,
daylight harvesting and lumen maintenance via a combination
of PWM and/or 0-10V controls with dimming ballasts. Direct
connection to a local sensor network (LSN), enables
connectivity with standard occupancy sensors, dimmers or
communications bridges.
General Description
AS7221 XYZ chromatic white/color sensing provides mapping
to x, y (z) of the CIE 1931 2-dimensional color gamut coordinates
and scales the coordinates to the CIE 1976 u’v’ coordinate
system. The AS7221 integrates standard observer filters into
standard silicon via nano-optic deposited interference filters
which deliver high-stability over time and temperature. The
LGA package includes a built in aperture to control light
entering the sensor array. Integrated intelligence enables
lifetime CCT calibration to within 2-4 Macadam steps.
The AS7221 connects to standard 0-10V dimmers inputs and
drives 0-10V dimming ballasts/drivers to enable a highly
cost-effective white tunable current-steering luminaire design
with a single-channel constant current ballast. Direct PWM
inputs can also interface to standard LED drivers or
multi-channel ballasts for constant voltage LED lighting
architectures.
A UART interface is provided for configuration, control and
management of the CLE. This UART interface responds to simple
Smart Lighting Set commands.
Ordering Information and Content Guide appear at end of
datasheet.
ams Datasheet
Page 1
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − General Description
Key Benefits & Features
The benefits and features of this device are listed below:
Figure 1:
Added Value of Using AS7221
Benefits
Features
• Calibrated XYZ tri-stimulus color sensing for direct
translation to CIE 1931/1976 standard observer color
maps
• Accurate control of variable CCT and spectrally
tunable lighting
• Autonomous color point and lumen output
adjustment resulting in automatic spectral and
lumen maintenance
• Automatic spectral and lumen maintenance
over temperature and time
• Simple UART interface for connection to network
hardware clients for protocols such as Bluetooth,
ZigBee and WiFi
• Direct serial interface for connection to
standard networks
• Smart Lighting Command Set (SLCS) uses simple
text-based commands to control and configure a
wide variety of functions
• Simple lamp or luminaire configuration and
commissioning using defined command set
• Compatible with standard dimmer controls and
occupancy sensors
• Directly interfaces to 0-10V dimmer controls and
standard occupancy sensors
• Built-in PWM generator to dim LED lamps and
luminaires
• Directly interfaces to LED driver via PWM
• Directly interfaces to ballast via 0-10V
• 12-bit resolution for precise dimming down to 1%
• 0-10V analog output for control of conventional
dimming ballasts in a current steering design
• 20-pin LGA package 4.5mm x 4.7mm x 2.5mm with
integrated aperture
• -40°C to 85°C
• Small package, wide operating range with
critical optics built-in
Applications
Autonomous, networked solid-state lighting manager for
variable CCT and daylight harvesting:
• Integrated smart lighting control of variable CCT white
lighting solutions
• Luminaires intended to meet California Title 24
daylighting requirements
• Commercial, retail, and residential white/color changing
LED lighting systems
• Networked lighting systems with IoT sensor expandability
Page 2
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − General Description
Block Diagram
Figure 2:
Functional Blocks of AS7221
VDDHV
VDD
Outputs
VDD
VDDHV
0-10V
VDD
Optional Inputs
VDDHV
DAC
PWM_1 / 0_10V_O
Cognitive Lighting
Engine (CLE)
PWM
VDD
PWM
PWM_2
PWM_3
Generator
0_10V_DIM
AUX
Dimming&
Auxiliary Mode
VDD
Chromatic White
XYZ Sensors
SYNC / RESN
MODE
SDA_M
SCL_M
I2C Master
X
Y
Z
Setup
LED_IND
°C
Network Access
VDD
VDD
OSC
16MHz
RX
TX
MISO
UART
SPI
Master
MOSI
SCK
CSN_SD
GND
Functional Blocks of AS7221: The AS7221 provides closed loop chromatic white sensing and PWM tuning while
interfacing to local and network controls.
ams Datasheet
Page 3
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Pin Assignments
Pin Assignments
Figure 3:
Pin Diagram of AS7221 (Top View)
20
16
1
15
5
11
6
10
Figure 4:
Pin Description of AS7221 (20 Pin LGA)
Pin Number
Pin Name
Description
1
PWM_3
Digital PWM 3
SYNC
RESN
SCK
SYNC input
2
Reset pin, active low
SPI serial clock
SPI MOSI
3
4
MOSI
MISO
CSN_EE
CSN_SD
AUX
5
SPI MISO
6
Chip select for the required external serial flash memory, active low
7
Chip select for SD Card interface, active low
Auxiliary mode input pin
I²C master clock pin
8
9
SCL_M
SDA_M
RX
10
11
12
I²C master data pin
UART RX pin
TX
UART TX pin
Page 4
Document Feedback
amsDatasheet
[v1-01] 2016-Dec-08
AS7221 − Pin Assignments
Pin Number
Pin Name
Description
13
14
15
16
17
18
0_10V_DIM
VDDHV
MODE
0-10V input dimming pin
High Voltage Supply
Mode selection pin
Ground
GND
VDD
Low Voltage Supply
LED_IND
PWM_1
0_10V_O
PWM_2
LED Driver output for Indicator LED, current sink
Digital PWM 1
19
20
0-10V output pin
Digital PWM 2
ams Datasheet
Page 5
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Absolute Maximum Ratings
Stresses beyond those listed under Absolute Maximum Ratings
may cause permanent damage to the device. These are stress
ratings only. Functional operation of the device at these or any
other conditions beyond those indicated under Electrical
Characteristics is not implied. Exposure to absolute maximum
rating conditions for extended periods may affect device
reliability. The device is not designed for high energy UV
(ultraviolet) environments, including upward looking outdoor
applications, which could affect long term optical performance.
Absolute Maximum Ratings
Figure 5:
Absolute Maximum Ratings
Symbol
Parameter
Min
Max
Units
Comments
Electrical Parameters
Pin VDD to GND,
Low Voltage pin
V
Supply Voltage VDD
-0.3
5
V
V
DD_MAX
Pin VDDHV to GND,
High Voltage pin
V
Supply Voltage VDDHV
-0.3
-0.3
20
DDHV_MAX
V
Input/Output Pin Voltage
Input/Output Pin Voltage
VDD + 0.3
V
V
Low Voltage pins to GND
High Voltage pins to GND
DD_IO
V
-0.3 VDDHV + 0.3
100
DDHV_IO
Input Current
(latch-up immunity)
I
mA
JESD78D
SCR
Electrostatic Discharge
Electrostatic Discharge
HBM
ESD
V
V
JS-001-2014
JSD22-C101F
1000
HBM
Electrostatic Discharge
CDM
ESD
500
CDM
Temperature Ranges and Storage Conditions
T
Storage Temperature
-40
85
°C
strg
IPC/JEDEC J-STD-020. The reflow
peak soldering temperature (body
temperature) is specified
according IPC/JEDEC J-STD-020
“Moisture/Reflow Sensitivity
Classification for Non hermetic
Solid State Surface Mount
Devices”
Package Body
Temperature
T
260
°C
body
Relative Humidity
(non-condensing)
RH
5
85
%
NC
Represents a 168 hour max. floor
lifetime
MSL
Moisture Sensitivity Level
3
Page 6
Document Feedback
amsDatasheet
[v1-01] 2016-Dec-08
AS7221 − Electrical Characteristics
All limits are guaranteed with VDD = 3.3V, VDDHV = 12V,
= 25ºC. The parameters with min and max values are
Electrical Characteristics
T
AMB
guaranteed with production tests or SQC (Statistical Quality
Control) methods. If VDD and VDDHV are to be the same
voltage, they must be sourced by the same 2.97-3.6V supply.
Figure 6:
Electrical Characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
General Operating Conditions
Low Voltage Operating
Supply
VDD
2.97
3.3
3.6
15
V
V
High Voltage Operating
Supply
VDDHV
VDD
-40
12
25
T
Operating Temperature
Operating Current
85
5
°C
AMB
I
mA
VDD
Internal RC Oscillator
Internal RC Oscillator
Frequency
F
15.7
16
16.3
1.2
MHz
ns
OSC
(1)
Jitter
@25°C
t
JITTER
0-10V Output (0_10V_O pin)
R
I
Resistive Load
Source Current
Sink Current
1
kΩ
mA
mA
OUT_10
I
10
-10
S_10
SINK_10
VIN=12V, DAC &
PWM1 both
disabled
I
HV Output Leakage Current
0.73
1.6
mA
LEAK_HV
C
Capacitive Load
Output Swing
100
10
pF
V
LOAD_10
(2)
0
V
OUT_10
0-10V Input
VDDHV ≥ 12V
R
Analog Input Resistance
138
200
315
8.5
kΩ
°C
IN_HV
Temperature Sensor
Absolute Accuracy of the
Temperature Measurement
D
-8.5
TEMP
ams Datasheet
[v1-01] 2016-Dec-08
Page 7
Document Feedback
AS7221 − Electrical Characteristics
Symbol
Parameter
Conditions
Indicator LED
1, 2, 4 or 8
Min
Typ
Max
Unit
I
1
8
mA
%
LED Current
IND
I
Accuracy of Current
-30
30
ACC
Voltage Range of Connected
LED
V
Vds of current sink
0.3
VDD
V
LED
Digital Inputs and Outputs
I , I
Logic Input Current
Vin=0V or VDD
-1
-1
1
μA
IH IL
I
Logic Input Current
(SYNC/RESN pin)
IL
Vin=0V
-0.2
mA
SYNC/RESN
V
CMOS Logic High Input
CMOS Logic Low Input
CMOS Logic High Output
CMOS Logic Low Output
Current Rise Time
0.7* VDD
0
VDD
0.3* VDD
VDD-0.4
0.4
V
V
IH
V
IL
V
I=1mA
V
OH
V
I=1mA
V
OL
(1)
C(Pad)=30pF
5
ns
t
RISE
(1)
Current Fall Time
C(Pad)=30pF
5
ns
t
FALL
Note(s):
1. Guaranteed, not production tested
2. For VDDHV>10.5, output max is 10V, else output max tracks VDDHV
Page 8
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Electrical Characteristics
Figure 7:
AS7221 I²C Master Timing Characteristics
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
I²C Interface
f
100
400
kHz
μs
SCL Clock Frequency
SCLK
Bus Free Time Between a STOP
and START
t
1.3
BUF
t
Hold Time (Repeated) START
LOW Period of SCL Clock
HIGH Period of SCL Clock
Setup Time for a Repeated START
Data Hold Time
0.6
1.3
0.6
0.6
0
μs
μs
μs
μs
μs
ns
ns
ns
μs
HD:STA
t
LOW
t
HIGH
t
SU:STA
t
0.9
HD:DAT
t
Data Setup Time
100
20
SU:DAT
t
Rise Time of Both SDA and SCL
Fall Time of Both SDA and SCL
Setup Time for STOP Condition
300
300
R
t
20
F
t
0.6
SU:STO
CB — total capacitance
of one bus line in pF
C
Capacitive Load for Each Bus Line
I/O Capacitance (SDA, SCL)
400
10
pF
pF
B
C
I/O
Figure 8:
I²C Master Timing Diagram
tLOW
tR
tF
SCL
tHIGH
P
S
S
P
tSU:DAT
tSU:STA
tHD:STA
tHD:DAT
tSU:STO
VIH
VIL
SDA
tBUF
Stop
Start
ams Datasheet
[v1-01] 2016-Dec-08
Page 9
Document Feedback
AS7221 − Electrical Characteristics
Figure 9:
AS7221 SPI Timing Characteristics
Symbol
Parameter
Conditions
Min
Typ
Max Unit
SPI Interface
f
0
40
40
5
16
MHz
ns
Clock Frequency
Clock High Time
Clock Low Time
SCK Rise Time
SCK Fall Time
SCK
t
SCK_H
t
ns
SCK_L
t
ns
SCK_RISE
t
5
ns
SCK_FALL
Time between CSN high-low
transition to first SCK high transition
t
CSN Setup Time
CSN Hold Time
50
ns
ns
CSN_S
Time between last SCK falling edge
and CSN low-high transition
t
100
CSN_H
t
CSN Disable Time
Data-Out Setup Time
Data-Out Hold Time
Data-In Valid
100
5
ns
ns
ns
ns
CSN_DIS
t
DO_S
t
5
DO_H
t
10
DI_V
Figure 10:
SPI Master Write Timing Diagram
tCS N_DIS
CSN
tCSN_H
tSCK_RISE
tSCK_FALL
tCSN_S
SCK
tDO_S
tDO_H
MOSI
MISO
MSB
LSB
HI-Z
HI-Z
Page 10
Document Feedback
amsDatasheet
[v1-01] 2016-Dec-08
AS7221 − Electrical Characteristics
Figure 11:
SPI Master Read Timing Diagram
CSN_xx
tSCK_H
tSCK_L
SCK
tDI_V
Dont care
MOSI
MISO
MSB
LSB
Figure 12:
Typical Spectral Responsivity
CIE
2.0
1.8
1.6
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0
X
Y
Z
ams Datasheet
Page 11
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Electrical Characteristics
Figure 13:
AS7221 Optical Characteristics
Typ (1)
Symbol
Parameter
Conditions
Min
Max
Unit
Color Measurement White Light CCT=2700K,
(2)
0.002
du’v’
Color_m
Z_count
Accuracy
3500K, 4500K and 5700K
counts/
Z Channel Count
Accuracy
White light CCT = 5700K
3.375
4.5
5.625
2
(μW/cm )
Note(s):
1. Typical values at Lux ≥50, Integration time=400.4ms, Gain=1x, TAMB = 25ºC.
2. Calibration and measurements are made using diffused light.
Figure 14:
AS7221 LGA Package Field of View
Page 12
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Detailed Description
Detailed Description
AS7221 Smart Lighting Manager - Overview
The Cognitive Light Engine (CLE) is the “brains” of the Smart
Lighting Manager. The CLE constantly processes information
from the calibrated XYZ chromatic white/color sensor, network
access and inputs while controlling outputs. AS7221 initial
setup and ongoing parameter storage is automatically done by
software within the required external serial flash memory, via
SPI bus.
A luminaire solution for chromatic white/color maintenance
with lumen maintenance requires only the AS7221. A luminaire
solution with chromatic white color/maintenance, lumen
maintenance and daylighting requires just the addition of an
ams TSL4531 single chip ambient light sensor, connected via
I²C. Refer to the table in the Figure below.
Overall AS7221 timing generation uses an on chip 16MHz
temperature compensated oscillator for master clock timing.
Refer to the separate AS7221 User Guide as well as the ams
Smart Lighting Command Set document for additional usage
and setup information.
Figure 15:
AS7221 Solution Chart
Device Orientation
(from luminaire light source)
Solution Required
Chromatic Color
Maintenance
Lumen
Maintenance
TSL4531
(optional)
Daylighting
AS7221
↑
×
√
√
√
√
×
(into luminaire)
(not required)
↑
↓
√
(into luminaire)
(into room)
ams Datasheet
[v1-01] 2016-Dec-08
Page 13
Document Feedback
AS7221 − Detailed Description
XYZ Chromatic White Color Sensor
The XYZ chromatic white/color sensor, part of the AS7221
Cognitive Light Engine (CLE), is a next-generation digital color
sensor device. The sensor contains an integrating
analog-to-digital converter (16-bit resolution ADC), which
integrates current from photodiodes. Upon completion of the
conversion cycle, the result is transferred to the corresponding
data registers. Transfers are double-buffered to ensure integrity
of the data is maintained.
Standard observer interference filters realize the XYZ response,
which enables both a no life-time drift and very high
temperature stability. Note the AS7221 LGA package contains
an internal aperture that provides a package field of view
(PFOV) of 20.5°. External optics can be used as needed to
expand or reduce this built in PFOV.
AS7221 Inputs
Figure 16:
VDDHV Based Settings for Inputs
VDDHV
Dimming
10.5-15V
Direct input for 0_10V_DIM, dimming input
External 5:1 resistor divider for 0-10V_DIM, dimming input
(1)
(2)
2.97-10V
Note(s):
1. For VDDHV <= 3.6V, VDDHV and VDD should be tied together.
2. With external dividers connected to 0-10V inputs, the max voltage to the device input is 2V.
For the AS7221, dimming can be accomplished from either the
input pin (0_10V_DIM) or network command via the UART. For
network commanded dimming, using the AS7221 Smart
Lighting Command set, the UART interface is used.
Local hardware inputs can be provided by, for example, a slide
control dimmer. The 0-10V DIM analog input signal is
downscaled by the AS7221 with an internal voltage divider and
converted to a 10 bit digital value, 0V=full dimming, 10V=no
dimming. When using the internal voltage divider the voltage
at the VDDHV pin has to be higher than 10V.
If a second supply is not available, VDDHV and VDD are tied
together and the downscale has to be done by an external
resistor divider. The maximum range in the downscaled input
is limited to 2V. Hence to accept a full range 10V signal the input
resistor divider has to be 5:1 ratio. Dependent on the level at
pin VDDHV the Smart Lighting Manager automatically selects
either the internal or the external voltage divider. Refer to the
Figures above and below. If the 0_10V_DIM pin is not used, an
external resister pull-up connecting it to VDDHV is
recommended.
Page 14
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Detailed Description
Figure 17:
0-10V Dimming Pin Input
12V
VDDHV
3.3V
3.3V
VDD
10V
VDD
VDDHV
10V
0
0
0_10V_DIM
0_10V
5:1
MODE
MODE
Rin=200k typ.
CLE
CLE
ADC
ADC
0_10V_DIM
RMO DE
0-10V Analog Input
AS7221
0-10V Analog Input
AS7221
RMO DE
The auxiliary sensor input (AUX) can be configured for 0-10V
analog sensing using a 5:1 resistor divider. Or, AUX can be
configured for digital sensing. Both types are common for
external occupancy sensors. If the AUX pin is not used, an
external resistor pull-up connecting it to VDD is recommended.
External sensors with native support by the AS7221, include
ams temperature/humidity sensing (ENS-210), and ams
ambient light sensing (TSL4531) can be added via the I²C master
interface. The TSL4531 is used to add daylighting to the AS7221.
Synchronization and Reset
Figure 18:
Synchronization and Reset Circuit
Opto Coupler
AC Main
SYNC/
RESN
10k
CLE
optional
SYNC and Reset
Push > 100ms
Synchronization and Reset Circuit: This figure shows the basic
diagram when using reset and synchronization function
together.
AS7221 provides optional synchronization of the PWMs. This
sync signal can be derived from the AC mains to enable all
luminaires in a room to be synchronized to prevent beat
frequency flicker. If the SYNC pin is left open, synchronization
is automatically disabled.
ams Datasheet
Page 15
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Detailed Description
Refer to the Figure above. When pulled down for more than
100ms the SYNC/RESN pin will reset the AS7221 Smart Lighting
Manager. In this case the push-button “overrides” the output of
the opto-coupler. Therefore a resistor should be placed in series
with the opto-coupler.
AS7221 Outputs
The AS7221 outputs, used to control dimming and LED
warm/cool strings, can be configured as either three PWM
outputs, two PWMs and one analog output, or two PWMs. The
PWMs are 12 bit and factory set to 888 Hz. Refer to the Figure
below.
The three PWM outputs, PWM_1, PWM_2 and PWM_3 all switch
with the same frequency, but are not simultaneous for better
EMI performance.
The PWM_1 output can be set to either analog (0-VDDHV) or
digital (0-VDDHV) dimming. Analog dimming range is 10-100%.
Digital Dimming range is 1-100%. PWM2 and PWM3 are used
for cool white and warm white LED color controlling. Either
string can be warm or cool as the AS7221 automatically
configures string color type. Range is 0-100% for both PWM2
and PWM3.
To set the desired device operation MODE use the appropriate
R
resistor, also shown in the Figure below.
MODE
Figure 19:
Outputs
Outputs
RMODE
MODE
Setting
PWM_1/0_10V_O
PWM_2 and PWM_3
Digital PWMs (0-VDD)
(1)
0
1
2
100 ꢀ
470 ꢀ
0-10V analog
0-10V digital
Analog 0-VDDHV
(1)
Digital PWMs (0-VDD)
Digital PWM (0-VDDHV)
1000 ꢀ
Digital 2-CH color tuning n.a.
Digital PWMs (0-VDD), w/Dimming
Note(s):
1. For VDDHV>10.5, output max is 10V, else output max tracks VDDHV.
Indicator LED
An LED, connected to pin LED_IND, is used to indicate
programming progress of the device. During programming of
the AS7221 via an external SD card the indicator LED starts.
When programming is finished the indicator LED is off.
The LED_IND pin is set for 1mA operation by the AS7221 factory
firmware, and is not under user control.
Refer to the separate ams document for a complete description
of AS7221 Firmware Update Methodology.
Page 16
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Detailed Description
UART and Smart Lighting Command Interface
The UART block implements the TX and RX signals as defined
in the RS-232 / V.24 standard communication protocol.
UART Feature List
• Full Duplex Operation (Independent Serial Receive and
Transmit Registers) with FIFO buffer of 8 bytes for each.
• Factory set to 115.2k Baud
• Supports Serial Frames with 8 Data Bits, no Parity and
1 Stop Bit.
Operation
Transmission
If data is available in the transmit FIFO, it will be moved into the
output shift register and the data will be transmitted at the
configured Baud Rate, starting with a Start Bit (logic zero) and
followed by a Stop Bit (logic one).
Reception
At any time, with the receiver being idle, if a falling edge of a
start bit is detected on the input, a byte will be received and
stored in the receive FIFO. The following Stop Bit will be checked
to be logic one.
Figure 20:
UART Protocol
Data Bits
D0
TX
D7
D7
D5
D5
D6
D6
D3
Tbit=1/Baude Rate
D4
D1
D1
D2
D0
Start Bit
Stop Bit Next Start
Always High
Always Low
RX
D0
D3
D4
D2
D0
Start Bit detected
After Tbit/2: Sampling of Start Bit
After Tbit: Sampling of Data
Sample Points
ams Datasheet
Page 17
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Detailed Description
Smart Lighting Command Interface
The network interface on the Smart Lighting Manager
supporting the Smart Lighting Commands is the UART
interface. The Smart Lighting Manager adapts the concept of a
simple command set for lighting control and configuration. The
Smart Lighting Manager uses a text-based serial command
interface as popularized by the “AT Command” model used in
early Hayes modems.
For example:
• Set the desired daylight LUX level target:
ATLUXT = 500 >> OK
The “Smart Lighting Command Interface”, shown below
between the network interface and the core of the system,
provides access to the Smart Lighting Manager’s lighting
control and configuration functions
Figure 21:
Smart Lighting Command Interface
BLE
Wi-Fi
ZigBee
BacNet
KNX
RX
Network
Bridge
Smart Lighting Commands
UART
CLE
TX
Smart Lighting Command Interface
AS7221
Refer to the separate ams AS7221 Smart Lighting Command Set
document for the complete command set and usage.
Page 18
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Detailed Description
I²C Master Interface (Local Sensor Interface)
The I²C Master interface can be used to connect external sensors
(such as daylight, occupancy, CO sensors, etc.). Refer to the
separate ams Application Note for external sensor usage with
the AS7221.
I²C Feature List
Clock is set to 100kHz
7+1-bit addressing mode.
Write formats: Single-Byte-Write, Page-Write
Read formats: Random-Read, Sequential-Read
SDA input delay and SCL spike filtering by integrated
RC-components.
I²C Protocol
Figure 22:
I²C Symbol Definition
Symbol
Definition
RW
R
Note
S
Sr
Start condition after stop
Repeated start
1 bit
R
1 bit
Slave address
Slave address
8 bit
SW
SR
Slave address for write
Slave address for read
Word address
R
R
WA
A
R
Acknowledge
W
R
1 bit
N
No acknowledge
Data/write
1 bit
Data
Data (n)
P
R
8 bit
Data/read
W
R
8 bit
Stop condition
1 bit
WA++
Slave increment word address
R
During acknowledge
The above I²C symbol definition table describes the symbols
used in the following mode descriptions.
ams Datasheet
[v1-01] 2016-Dec-08
Page 19
Document Feedback
AS7221 − Detailed Description
I²C Write Access
Byte Write and Page Write formats are used to write data to the
slave.
Figure 23:
I²C Byte Write
SW
WA
Data
S
A
A
A P
Write WA++
Figure 24:
I²C Page Write
SW
WA
Data 1
……..
Data n
S
A
A
A
A
A P
Write WA++
Write WA++
Write WA++
The transmission begins with the START condition, which is
generated by the master when the bus is in IDLE state (the bus
is free). The device-write address is followed by the word
address. After the word address any number of data bytes can
be sent to the slave. The word address is incremented internally,
in order to write subsequent data bytes on subsequent address
locations.
For reading data from the slave device, the master has to change
the transfer direction. This can be done either with a repeated
START condition followed by the device-read address, or simply
with a new transmission START followed by the device-read
address, when the bus is in IDLE state. The device-read address
is always followed by the 1st register byte transmitted from the
slave. In Read Mode any number of subsequent register bytes
can be read from the slave. The word address is incremented
internally.
Page 20
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Detailed Description
I²C Read Access
Random, Sequential and Current Address Read are used to read
data from the slave.
Figure 25:
I²C Random Read
S
r
SW
WA
SR
Data
S
A
A
A
N P
read WA++
WA++
Random Read and Sequential Read are combined formats. The
repeated START condition is used to change the direction after
the data transfer from the master.
The word address transfer is initiated with a START condition
issued by the master while the bus is idle. The START condition
is followed by the device-write address and the word address.
In order to change the data direction a repeated START
condition is issued on the 1st SCL pulse after the acknowledge
bit of the word address transfer. After the reception of the
device-read address, the slave becomes the transmitter. In this
state the slave transmits register data located by the previous
received word address vector. The master responds to the data
byte with a not-acknowledge, and issues a STOP condition on
the bus.
ams Datasheet
[v1-01] 2016-Dec-08
Page 21
Document Feedback
AS7221 − Detailed Description
Figure 26:
I²C Sequential Read
S
r
S
SW
A
WA
A
SR
A
Data 1
A
Data n
N P
read WA++
read WA++
WA++
I²C Sequential Read: Shows the format of an I²C sequential read access.
Sequential Read is the extended form of Random Read, as more
than one register-data bytes are transferred subsequently. In
difference to the Random Read, for a sequential read the
transferred register-data bytes are responded by an
acknowledgement from the master. The number of data bytes
transferred in one sequence is unlimited (consider the behavior
of the word-address counter). To terminate the transmission the
master has to send a not-acknowledge following the last data
byte and generate the STOP condition subsequently.
The AS7221 is compatible to the NXP two wire specifications.
www.nxp.com/documents/user_manual/UM10204.pdf
Version 4.0 Feb 2012 for standard mode and fast mode.
Page 22
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Application Information
Application Information
Schematics
Figure 27:
Chromatic Color Tuning with Networking and Spectral Sensing
Constant Current
LED Driver
AC
Dimming
Control
12V
BLE
Wi-Fi
ZigBee
BacNet
KNX
3.3V
10uF
100nF
VDD
VDDHV
RX
TX
Network
Bridge
PWM_1
PWM_2
PWM_3
AS7221
0..10V
Dimmer
(Inward Looking)
MODE
0_10V_DIM
OCC
MOSI
MISO
Occupancy
Sensor
Flash
Memory
3.3V
SCK
CSN_EE
ams Daylighting &
Spectral Sensing
Devices
SDA_M
SCL_M
LED_IND
GND
Figure 28:
LED Chromatic Color Tuning with Daylighting
Constant Current
LED Driver
AC
Dimming
Control
12V
BLE
3.3V
10uF
Wi-Fi
ZigBee
BacNet
KNX
100nF
VDD
VDDHV
RX
TX
Network
Bridge
PWM_1
PWM_2
PWM_3
AS7221
0..10V
Dimmer
(Inward Looking)
MODE
0_10V_DIM
OCC
MOSI
MISO
Occupancy
Sensor
Flash
Memory
3.3V
SCK
CSN_EE
SDA_M
SCL_M
ams
TSL4531
LED_IND
GND
ams Datasheet
[v1-01] 2016-Dec-08
Page 23
Document Feedback
AS7221 − Application Information
PCB Layout
Figure 29:
Typical Layout Routing
As shown, trace routing feedthroughs with exposure directly
under the AS7221 should be avoided.
The AS7221 Smart Lighting Integration Kit (SLIK) demo board
with schematic and PCB layout documentation is available from
ams for additional design information.
Page 24
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Package Drawings & Markings
Package Drawings & Markings
Figure 30:
Package Drawing
AS7221
RoHS
Green
Note(s):
1. XXXXX = tracecode
2. Unless otherwise specified, all dimensions are in millimeters.
3. Tolerances: Angular ( 0.5°), Two Place Decimal ( 0.015), Three Place Decimal ( 0.010)
4. Contact finish is Au.
5. This package contains no lead (Pb).
6. This drawing is subject to change without notice.
ams Datasheet
[v1-01] 2016-Dec-08
Page 25
Document Feedback
AS7221 − PCB Pad Layout
Suggested PCB pad layout guidelines for the LGA package are
shown. Flash Gold is recommended as a surface finish for the
landing pads.
PCB Pad Layout
Figure 31:
Recommended PCB Pad Layout
0.30
0.65
Unit: mm
1
4.40
Note(s):
1. Unless otherwise specified, all dimensions are in millimeters.
2. Dimensional tolerances are 0.05mm unless otherwise noted.
3. This drawing is subject to change without notice.
Page 26
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Tape & Reel Information
Tape & Reel Information
Figure 32:
Tape & Reel Information
ꢋꢓ
ꢋꢖ
ꢗꢎꢍ ꢍꢎꢌꢔꢄꢄꢕ
ꢁꢌ
ꢌꢎꢙꢐ ꢍꢎꢌ
ꢏꢖ
ꢃ
ꢓꢎꢍ ꢍꢎꢍꢐꢔꢄꢕ
ꢝ
ꢌꢎꢐꢇꢑꢇ ꢍꢎꢌꢍ
ꢍꢎꢜꢍ ꢍꢎꢍꢜ
ꢏꢌ
ꢌꢎꢐꢍꢇꢒꢄꢆꢎ
ꢈ
ꢈ
ꢇꢛꢍꢎꢜꢇꢃꢝꢋꢎꢇ
ꢝ
ꢇ ꢖꢇ
ꢀꢁꢂꢃꢄꢅꢆꢇꢝꢉꢝ
ꢇꢋꢌꢇ
ꢇꢚꢖꢇ
ꢀꢁꢂꢃꢄꢅꢆꢇꢈꢉꢈ
ams Datasheet
[v1-01] 2016-Dec-08
Page 27
Document Feedback
AS7221 − Soldering & Storage Information
Soldering & Storage
Information
Solder Reflow Profile
The module has been tested and has demonstrated an ability
to be reflow soldered to a PCB substrate. The solder reflow
profile describes the expected maximum heat exposure of
components during the solder reflow process of product on a
PCB. Temperature is measured on top of component. The
components should be limited to a maximum of three passes
through this solder reflow profile.
Figure 33:
Recommended Reflow Soldering Profile
Profile Feature
Average temperature gradient in preheating
Soak Time
Reference
Device
2.5°C/s
t
2 to 3 minutes
Max 60s
SOAK
t
Time above 217°C (T1)
1
t
Time above 230°C (T2)
Max 50s
2
t
Time above Tpeak - 10°C (T3)
Peak temperature in reflow
Temperature gradient in cooling
Max 10s
260°C
3
Tpeak
Max - 5°C/s
Figure 34:
Soldering Profile Graph
Page 28
Document Feedback
amsDatasheet
[v1-01] 2016-Dec-08
AS7221 − Soldering & Storage Information
Manufacturing Process Considerations
The AS7221 package is compatible with standard reflow
no-clean and cleaning processes including aqueous, solvent or
ultrasonic techniques. However, as an open-aperture device,
precautions must be taken to avoid particulate or solvent
contamination as a result of any manufacturing processes,
including pick and place, reflow, cleaning, integration assembly
and/or testing. Temporary covering of the aperture is allowed.
To avoid degradation of accuracy or performance in the end
product, care should be taken that any temporary covering and
associated sealants/debris are thoroughly removed prior to any
optical testing or final packaging.
Storage Information
Moisture sensitivity optical characteristics of the device can be
adversely affected during the soldering process by the release
and vaporization of moisture that has been previously
absorbed into the package. To ensure the package contains the
smallest amount of absorbed moisture possible, each device is
baked prior to being dry packed for shipping. Devices are dry
packed in a sealed aluminized envelope called a
moisture-barrier bag with silica gel to protect them from
ambient moisture during shipping, handling, and storage
before use.
Shelf Life
The calculated shelf life of the device in an unopened moisture
barrier bag is 12 months from the date code on the bag when
stored under the following conditions:
• Shelf Life: 12 months
• Ambient Temperature: <40°C
• Relative Humidity: <90%
Rebaking of the devices will be required if the devices exceed
the 12 month shelf life or the Humidity Indicator Card shows
that the devices were exposed to conditions beyond the
allowable moisture region.
Floor Life
The module has been assigned a moisture sensitivity level of
MSL 3. As a result, the floor life of devices removed from the
moisture barrier bag is 168 hours from the time the bag was
opened, provided that the devices are stored under the
following conditions:
• Floor Life: 168 hours
• Ambient Temperature: <30°C
• Relative Humidity: <60%
ams Datasheet
Page 29
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Soldering & Storage Information
If the floor life or the temperature/humidity conditions have
been exceeded, the devices must be rebaked prior to solder
reflow or dry packing.
Rebaking Instructions
When the shelf life or floor life limits have been exceeded,
rebake at 50°C for 12 hours.
Page 30
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Ordering & Contact Information
Ordering & Contact Information
Figure 35:
Ordering Information
Ordering
Description
Code
Delivery
Form
Delivery
Quantity
Package
Marking
Calibrated XYZ Chromatic
AS7221- BLGT Manager for Network
Enabled Smart Lighting
20-pin LGA
AS7221
Tape & Reel
2000 pcs/reel
Note(s):
1. Required companion serial flash memory (must be ams verified) is ordered from the flash memory supplier
(e.g. AT25SF041-SSHD-B from Adesto Technologies).
2. AS7221 flash memory software is available from ams.
Online product information is available at:
www.ams.com/AS7221
Buy our products or get free samples online at:
www.ams.com/ICdirect
Technical Support is available at:
www.ams.com/Technical-Support
Provide feedback about this document at:
www.ams.com/Document-Feedback
For further information and requests, e-mail us at:
ams_sales@ams.com
For sales offices, distributors and representatives, please visit:
www.ams.com/contact
Headquarters
ams AG
Tobelbader Strasse 30
8141 Premstaetten
Austria, Europe
Tel: +43 (0) 3136 500 0
Website: www.ams.com
ams Datasheet
Page 31
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − RoHS Compliant & ams Green Statement
RoHS: The term RoHS compliant means that ams AG products
fully comply with current RoHS directives. Our semiconductor
products do not contain any chemicals for all 6 substance
categories, including the requirement that lead not exceed
0.1% by weight in homogeneous materials. Where designed to
be soldered at high temperatures, RoHS compliant products are
suitable for use in specified lead-free processes.
RoHS Compliant & ams Green
Statement
ams Green (RoHS compliant and no Sb/Br): ams Green
defines that in addition to RoHS compliance, our products are
free of Bromine (Br) and Antimony (Sb) based flame retardants
(Br or Sb do not exceed 0.1% by weight in homogeneous
material).
Important Information: The information provided in this
statement represents ams AG knowledge and belief as of the
date that it is provided. ams AG bases its knowledge and belief
on information provided by third parties, and makes no
representation or warranty as to the accuracy of such
information. Efforts are underway to better integrate
information from third parties. ams AG has taken and continues
to take reasonable steps to provide representative and accurate
information but may not have conducted destructive testing or
chemical analysis on incoming materials and chemicals. ams AG
and ams AG suppliers consider certain information to be
proprietary, and thus CAS numbers and other limited
information may not be available for release.
Page 32
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Copyrights & Disclaimer
Copyright ams AG, Tobelbader Strasse 30, 8141 Premstaetten,
Austria-Europe. Trademarks Registered. All rights reserved. The
material herein may not be reproduced, adapted, merged,
translated, stored, or used without the prior written consent of
the copyright owner.
Copyrights & Disclaimer
Devices sold by ams AG are covered by the warranty and patent
indemnification provisions appearing in its General Terms of
Trade. ams AG makes no warranty, express, statutory, implied,
or by description regarding the information set forth herein.
ams AG reserves the right to change specifications and prices
at any time and without notice. Therefore, prior to designing
this product into a system, it is necessary to check with ams AG
for current information. This product is intended for use in
commercial applications. Applications requiring extended
temperature range, unusual environmental requirements, or
high reliability applications, such as military, medical
life-support or life-sustaining equipment are specifically not
recommended without additional processing by ams AG for
each application. This product is provided by ams AG “AS IS”
and any express or implied warranties, including, but not
limited to the implied warranties of merchantability and fitness
for a particular purpose are disclaimed.
ams AG shall not be liable to recipient or any third party for any
damages, including but not limited to personal injury, property
damage, loss of profits, loss of use, interruption of business or
indirect, special, incidental or consequential damages, of any
kind, in connection with or arising out of the furnishing,
performance or use of the technical data herein. No obligation
or liability to recipient or any third party shall arise or flow out
of ams AG rendering of technical or other services.
ams Datasheet
Page 33
[v1-01] 2016-Dec-08
Document Feedback
AS7221 − Document Status
Document Status
Document Status
Product Status
Definition
Information in this datasheet is based on product ideas in
the planning phase of development. All specifications are
design goals without any warranty and are subject to
change without notice
Product Preview
Pre-Development
Information in this datasheet is based on products in the
design, validation or qualification phase of development.
The performance and parameters shown in this document
are preliminary without any warranty and are subject to
change without notice
Preliminary Datasheet
Datasheet
Pre-Production
Production
Information in this datasheet is based on products in
ramp-up to full production or full production which
conform to specifications in accordance with the terms of
ams AG standard warranty as given in the General Terms of
Trade
Information in this datasheet is based on products which
conform to specifications in accordance with the terms of
ams AG standard warranty as given in the General Terms of
Trade, but these products have been superseded and
should not be used for new designs
Datasheet (discontinued)
Discontinued
Page 34
amsDatasheet
Document Feedback
[v1-01] 2016-Dec-08
AS7221 − Revision Information
Revision Information
Changes from 0-92 (2016-Sep-27) to current revision 1-01 (2016-Dec-08)
0-92 (2016-Sep-27) to 1-00 (2016-Dec-02)
Initial production version for release
Page
Completely revised version
1-00 (2016-Dec-02) to 1-01 (2016-Dec-08)
Updated General Description
1
7
Updated Figure 6 and notes below
Updated Figure 17
15
23
Updated Figure 27 and Figure 28
Note(s):
1. Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
2. Correction of typographical errors is not explicitly mentioned.
ams Datasheet
[v1-01] 2016-Dec-08
Page 35
Document Feedback
AS7221 − Content Guide
1
2
2
3
General Description
Key Benefits & Features
Applications
Content Guide
Block Diagram
4
6
7
Pin Assignments
Absolute Maximum Ratings
Electrical Characteristics
13 Detailed Description
13 AS7221 Smart Lighting Manager - Overview
14 XYZ Chromatic White Color Sensor
14 AS7221 Inputs
15 Synchronization and Reset
16 AS7221 Outputs
16 Indicator LED
17 UART and Smart Lighting Command Interface
17 UART Feature List
17 Operation
17 Transmission
17 Reception
18 Smart Lighting Command Interface
19 I²C Master Interface (Local Sensor Interface)
19 I²C Feature List
19 I²C Protocol
20 I²C Write Access
21 I²C Read Access
23 Application Information
23 Schematics
25 Package Drawings & Markings
26 PCB Pad Layout
28 Soldering & Storage Information
28 Solder Reflow Profile
29 Manufacturing Process Considerations
29 Storage Information
29 Shelf Life
29 Floor Life
30 Rebaking Instructions
31 Ordering & Contact Information
32 RoHS Compliant & ams Green Statement
33 Copyrights & Disclaimer
34 Document Status
35 Revision Information
Page 36
Document Feedback
amsDatasheet
[v1-01] 2016-Dec-08
相关型号:
SI9130DB
5- and 3.3-V Step-Down Synchronous ConvertersWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1-E3
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135_11
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9136_11
Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130CG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130LG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130_11
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137DB
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137LG
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9122E
500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification DriversWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
©2020 ICPDF网 联系我们和版权申明