AKM AK9754AE Specification

AKM AK9754AE Specification
[AK9754]
AK9754
Ultra-small IR Sensor IC with I2C I/F
1. General Description
The AK9754 is an ultra-low power and ultra-small quantum infrared-ray (IR) sensor module with signal
processing circuits and Human Approach Detection algorithm. It can detect a human approach and
outputs a signal from interrupt pins. An integral analog-to-digital converter provides 16-bits data outputs.
Human detection can be easily realized by using built-in Human Approach Detection algorithm. The
AK9754 is suitable for human sensing application.
2. Features
Quantum-type IR Sensor
Integrated Temperature Sensor:
-30 to 85ºC Output on I2C bus
16-bits Digital Outputs to I2C Bus
Integrated Digital Filters:
IR Sensor:
Cut-off Frequency 0.9Hz, 0.445Hz
Temperature Sensor:
Cut-off Frequency 0.9Hz, 0.445Hz
* Only with 10Hz of Data Output Rate(ODR)
I2C Interface:
Support Standard mode(100Hz) and Fast modes(400Hz).
*Pull-up resistors must be connected to the same level as the power supply of the AK9754.
Multiple Synchronization Connection:
Eight devices can be connected in synchronization at maximum, and setting I2C bus slave
addresses for each.
Interrupt Function:
INTN pin goes to active when detecting a human approach or measurement data is ready to be
read.
Power Supply:
1.71 to 3.63V
Low Consumption Current:
10 µA (Max.)
10Hz of Data Output Rate (Low-noise Mode OFF)
5 µA (Typ.)
10Hz of Data Output Rate (Low-noise Mode OFF)
*TOPT[1:0] = 11B
Ultra-small and Thin Package:
8-pin SON
2.2mm x 2.2mm x t0.6mm
018006915-E-00
2018/06
-1-
[AK9754]
3. Table of Contents
1. General Description................................................................................................................................ 1
2. Features ................................................................................................................................................. 1
3. Table of Contents ................................................................................................................................... 2
4. Block Diagram and Functions ................................................................................................................ 3
4.1. Block Diagram ................................................................................................................................. 3
4.2. Functions ......................................................................................................................................... 3
5. Pin Configurations and Functions .......................................................................................................... 4
5.1. Pin Configurations ........................................................................................................................... 4
5.2. Functions ......................................................................................................................................... 4
6. Absolute Maximum Ratings.................................................................................................................... 5
7. Recommended Operating Conditions.................................................................................................... 5
8. Power Supply Conditions ....................................................................................................................... 5
9. Electrical Characteristics ........................................................................................................................ 6
9.1. Total Characteristics ........................................................................................................................ 6
9.2. Digital Characteristics...................................................................................................................... 6
9.2.1. DC Characteristics ................................................................................................................... 6
9.2.2. AC Characteristics (1): Standard Mode (100 kHz) .................................................................. 7
9.2.3. AC Characteristics (2): Fast Mode (400 kHz).......................................................................... 7
9.2.4. AC Characteristics (3): INTN ................................................................................................... 8
10. Functional Descriptions........................................................................................................................ 9
10.1. Power Supply States ..................................................................................................................... 9
10.2. Reset functions .............................................................................................................................. 9
10.3. Operation Mode ........................................................................................................................... 10
10.4. Operation Modes ..........................................................................................................................11
10.4.1. Stand...............................................................................................11
10.4.2.
...........................................................................................11
10.5. Synchronization Function ............................................................................................................ 12
10.6. Sampling Data Storage Function ................................................................................................ 12
10.7. Measurement Data Read ............................................................................................................ 13
10.8. Data Read Sequence Example ................................................................................................... 17
10.9. Internal Algorithm......................................................................................................................... 19
11. Serial Interface.................................................................................................................................... 20
11.1. Data Transfer ............................................................................................................................... 20
11.1.1.Changing state of the SDA line .............................................................................................. 20
11.1.2.Start / Stop Conditions ........................................................................................................... 20
11.1.3.Acknowledge .......................................................................................................................... 21
11.1.4.Slave Address ........................................................................................................................ 22
11.1.5.Write Command ..................................................................................................................... 22
11.1.6.Read Command ..................................................................................................................... 23
12. Memory Map ...................................................................................................................................... 25
13. Register Definitions ............................................................................................................................ 26
14. Spectrum Sensitivity (Reference) ...................................................................................................... 36
15. Field of View (Reference)................................................................................................................... 37
16. IR Sensor Output Characteristics (Reference) .................................................................................. 38
17. Recommended External Circuits ....................................................................................................... 39
18. Package.............................................................................................................................................. 40
18.1. Outline Dimensions ..................................................................................................................... 40
18.2. Pad dimensions ........................................................................................................................... 41
18.3. Marking ........................................................................................................................................ 42
19. Orgering Guide................................................................................................................................... 42
20. Revision History ................................................................................................................................. 42
IMPORTANT NOTICE .......................................................................................................................... 43
018006915-E-00
2018/06
-2-
[AK9754]
4. Block Diagram and Functions
4.1. Block Diagram
IR
Sensor

IR
AFE
Digital
Filter 
ADC
Digital
2

I C I/F 
OSC

TSENS
POR
Detection
Algorithm 
VDD
SYNC
VSS
CAD0
SDA
SCL
INTN
CAD1
Figure 4.1. AK9754 Block Diagram
4.2. Functions
Block
IR Sensor
OSC
TSENS
IR AFE
ADC
Digital Filter
Detection
Algorithm
I2C I/F
POR
Table 4.1. Functions
Function
IR Sensor Element.
Built-in Oscillator.
Built-in Temperature Sensor.
Convert current from the IR sensor element into voltage signal.
Cancel offset of the sensor signal.
Convert analog outputs of IR AFE and TSENS into digital signals.
Digital filter (LPF) for ADC output. Two types of cut-off frequencies (Fc) are
selectable for IR sensor and built-in temperature sensor. In addition, it is
possible to bypass this filter.
Human Approach Detection algorithm is executed.
Interface to external host MCU. The SCL and SDA pins are available for I2C
interface. Support Standard Mode (100kHz) and Fast Mode (400kHz).
Power-On Reset Circuit.
018006915-E-00
2018/06
-3-
[AK9754]
5. Pin Configurations and Functions
5.1. Pin Configurations
IR receiving surface
VSS
1
8
SCL
SCL
8
1
VSS
VDD
2
7
SDA
SDA
7
2
VDD
CAD0
3
6
INTN
INTN
6
3
CAD0
CAD1
4
5
SYNC
SYNC
5
4
CAD1
Top View
Bottom View
Exposed Pad
Note: The exposed pad is internally connected to the VSS pin.
Figure 5.1. Pin Configurations
5.2. Functions
Table 5.1 Functions
Pin
No.
1
2
Pin Name
I/O
Function
VSS
VDD
-
3
CAD0
I
4
CAD1
I
5
SYNC
I/O
6
INTN
O
7
SDA
I/O
8
SCL
I
GND Pin
Power Supply Pin
Slave Address Input Pin
A slave address is assigned by setting this pin non-connect or
connecting to VDD or VSS. Make sure that there are no devices with the
same slave address on the same data bus.
Slave Address Input Pin
A slave address is assigned by setting this pin non-connect or
connecting to VDD or VSS. Make sure that there are no devices with the
same slave address on the same data bus.
Synchronize sampling timing between AK9754s.
Please non-connect when SYNC pin is not used.
Interrupt Pin
It goes to L in the following cases.
(1) When detecting a human approach.
(2) ADC output is ready to be read.
The INTN pin is an open drain output (N-type transistor). This pin must be
connected to the same level as the power supply of the AK9754 via a
pull-up resistor.
I2C Data Input / Output Pin
A bidirectional pin which is used to transmit data into and out of the
device. It is composed of a signal input and an open drain output (N-type
transistor). SDA pin is connected to the power supply line via a pull-up
resistor.
I2C Clock Input Pin
Signal processing is executed on a rising and falling edge of SCL clock.
SCL pin is connected to the power supply line via a pull-up resistor.
018006915-E-00
2018/06
-4-
[AK9754]
6. Absolute Maximum Ratings
(VSS=0V)
Parameter
Power Supply
Input Current
Output Current
VDD pin
All pins
All pins
SDA pin, SCL pin, INTN pin,
CAD0 pin, CAD1 pin, SYNC pin
Input Voltage
Symbol
VDD
Iin
Iout
Min.
-0.3
-10
-10
Max.
4.3
10
10
Unit
V
mA
mA
Vin
-0.3
4.3
V
Storage Temperature
Tst
-40
85
WARNING: Operation at or beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
ºC
7. Recommended Operating Conditions
(VSS=0V)
Parameter
Power Supply
Operating Temperature
Symbol
VDD
Ta
Min.
1.71
-30
8. Power Supply Conditions
(Unless otherwise specified, VDD=1.71 to 3.63V, Ta= -30 to 85ºC)
Parameter
Symbol
Power Supply Rise Time
(* 1,* 2)
Power-On Reset Time
(* 1,* 2)
Shutdown Voltage
(* 2, * 3)
Power Supply Interval Time
(* 1,* 2, * 3)
Time until VDD is set to
the operating voltage
from 0.2V.
Time until AK9754
becomes Stand-by Mode
after PSUP.
Shutdown Voltage for
POR re-starting.
Voltage retention time
below SDV for POR
re-starting.
Typ.
3.3
25
Min.
Max.
3.63
85
Typ.
Unit
V
ºC
Max.
Unit
VDD
pin
PSUP
50
ms
VDD
pin
PORT
100
µs
VDD
pin
SDV
0.2
V
VDD
pin
PSINT
100
µs
Note:
* 1. Reference data only, not tested in production.
* 2. Power-On Reset circuit detects the rising edge of VDD, resets the internal circuit, and initializes
the registers. After POR circuit works, AK9754 is set to Stand-by Mode.
* 3. Unless this condition is satisfied, the reset may not be correctly performed.
VDD
PORT: 100µs
Stand-by Mode
SDV: 0.2V
0V
PSUP: 50ms
PSINT: 100µs
Figure 8.1. Power Supply Conditions
018006915-E-00
2018/06
-5-
[AK9754]
9. Electrical Characteristics
9.1. Total Characteristics
(VDD=1.71 to 3.63V, Ta= -30 to 85ºC, unless otherwise specified , TYP: Ta = 25 ºC VDD = 3.3V)
Symbol
Min.
Typ.
Max.
Parameter
IR output resolution
16
Temperature sensor output resolution
16
Ta = - 30 ºC
-27726
Temperature sensor output
Ta = 25 ºC
-1515
0
1515
code
*VDD = 3.3V
Ta = 85 ºC
30247
Temperature sensor resolution
Average Current Consumption
Low-Noise Mode ON
Ta 35ºC
TOPT[1:0] = 11B
Average Current Consumption
Low-Noise Mode OFF
Ta 35ºC
TOPT[1:0]=11B
Unit
bit
bit
Code
ºC/
0.00198
Stand-by Mode
IDD0
1.1
3.0
Code
µA
Continuous Mode
(ODR = 10Hz)
IDD1
35.0
100.0
µA
Stand-by Mode
IDD2
1.1
3.0
µA
Continuous Mode
(ODR = 10Hz)
IDD3
5.0
10.0
µA
9.2. Digital Characteristics
9.2.1.
DC Characteristics
(VDD=1.71 to 3.63V, Ta= -30 to 85ºC, unless otherwise specified)
Parameter
Symbol
Min.
SCL pin,
High level input Voltage
VIH
70%VDD
SDA pin
SCL pin,
Low level input Voltage
VIL
SDA pin
Input Current Vin=VSS / VDD
All pins
IIN
-10
Hysteresis Input Voltage1 (* 4)
SCL pin,
VHS1
5%VDD
(VDD 2V)
SDA pin
Hysteresis Input Voltage2 (* 4)
SCL pin,
(VDD<2V)
SDA pin
Low level output
IOL= 3mA
SDA pin
Voltage 1
IOL= 300µ A INTN pin
(VDD 2V)
Low level output
IOL= 3mA
SDA pin
Voltage 2
IOL= 300µ A INTN pin
(VDD<2V)
Note:
* 4. Reference data only, not tested in production.
VHS2
Typ.
Max.
Unit
V
30%VDD
V
10
µA
V
10%VDD
V
VOL1
0.4
V
VOL2
20%VDD
V
018006915-E-00
2018/06
-6-
[AK9754]
9.2.2.
AC Characteristics (1): Standard Mode (100 kHz)
(VDD=1.71 to 3.63V, Ta= -30 to 85ºC, unless otherwise specified)
Parameter
Symbol
SCL Frequency
fSCL
SDA bus idle time to the next
tBUF
command input
Start condition Hold time
tHD:STA
Clock Low period
tLOW
Clock High period
tHIGH
Start condition set-up time
tSU:STA
Data hold time
tHD:DAT
Data set-up time
tSU:DAT
Rise time
SDA pin,
tR
SDA, SCL (* 5)
SCL pin
Fall time
SDA pin,
tF
SDA, SCL (* 5)
SCL pin
Stop condition set-up time
tSU:STO
Note:
* 5. Reference data only, not tested in production.
9.2.3.
AC Characteristics (2): Fast Mode (400 kHz)
(VDD=1.71 to 3.63V, Ta= -30 to 85ºC, unless otherwise specified)
Parameter
Symbol
SCL frequency
fSCL
Noise suppression time
tSP
SDA bus idle time to the next
tBUF
command input
Start condition Hold time
tHD:STA
Clock Low period
tLOW
Clock High period
tHIGH
Start condition set-up time
tSU:STA
Data hold time
tHD:DAT
Data set-up time
tSU:DAT
Rise time
SDA pin,
tR
SDA, SCL (* 6)
SCL pin
Fall time
SDA pin,
tF
SDA, SCL (* 6)
SCL pin
Stop condition set-up time
tSU:STO
Note:
* 6. Reference data only, not tested in production.
018006915-E-00
Min.
Typ.
Max.
100
Unit
kHz
4.7
µs
4.0
4.7
4.0
4.7
0
250
µs
µs
µs
µs
µs
ns
1.0
µs
0.3
µs
4.0
Min.
µs
Typ.
Max.
400
50
Unit
kHz
ns
1.3
µs
0.6
1.3
0.6
0.6
0
100
µs
µs
µs
µs
µs
ns
0.6
0.3
µs
0.3
µs
µs
2018/06
-7-
[AK9754]
tF
tHIGH
tR
tLOW
tSP
SCL
tSU:STA
tHD:STA
tHD:DAT
tSU:DAT
tSU:STO
SDA IN
tHD:DAT
tBUF
SDA OUT
Figure 9.1. Bus Timing
9.2.4.
AC Characteristics (3): INTN
(Unless otherwise specified, VDD=1.71 to 3.63V, Ta= -30 to 85ºC)
Parameter
Symbol
Rise time (* 7, * 8)
INTN pin
tR
Fall time (* 7, * 8)
INTN pin
tF
Note:
* 7. Reference data only, not tested in production.
* 8. When the load circuit of Figure 9.2 is connected
Min.
Typ.
Max.
2
0.25
Unit
µs
µs
VDD
INTN
RL
RL= 24k (Max.)
CL= 50pF (Max.)
CL
Figure 9.2. INTN Output Load Circuit
018006915-E-00
2018/06
-8-
[AK9754]
10. Functional Descriptions
10.1. Power Supply States
When VDD turns on from the OFF state (0V), all registers are initialized since Power-On Reset (POR) is
automatically executed, and the AK9754 is set to Stand-by Mode.
State
1
VDD pin
OFF(0V)
2
1.71V to 3.63V
Table 10.1. Power Supply States and Functions
I2C
INTN pin
Analog Circuit
Disable
Unfixed
Power Down
Power Down
Enable
H (* 9)
except POR circuit
IDD
Not specified
Max. 3.0µA
* Ta
35ºC
Note:
* 9. H level output by a pull-up resistor
10.2. Reset functions
The AK9754 is initialized in the following conditions,
(1) Power-On Reset (POR)
When VDD turns on, AK9754 is reset by Power-On Reset (POR) until VDD reaches the operation
voltage. After POR, The AK9754 is in Stand-by mode and all registers are set to their initial values.
Register accesses should be made after releasing POR.
(2) Software Reset
The AK9754 is reset by writing software reset register.
After software reset, the AK9754 generates an acknowledgement and becomes the same state as
after releasing POR.
018006915-E-00
2018/06
-9-
[AK9754]
10.3. Operation Mode
It is assumed that the AK9754 is connected to a Host MCU.
INTN
AK9754
SCL
SDA
HOST
MCU
I2C Interface
Figure 10.1. Connection Diagram
The AK9754 and a Host MCU should be connected with the I2C interface (SCL and SDA pins).
The operation mode of the AK9754 can be controlled and the data can be readout from the AK9754 via
the I2C interface. The slave address is determined by setting the CAD0 and CAD1 pins.
Table 10.2. Slave Address Settings
CAD1
CAD0
Slave Address
VSS
VSS
60H
VSS
non-connected
61H
VSS
VDD
62H
non-connected
VSS
64H
non-connected
non-connected
65H
non-connected
VDD
66H
VDD
VSS
68H
VDD
non-connected
69H
VDD
VDD
Do Not Use
INTN pin output can be used as interrupt control signal.
Refer to Recommended External Circuits (Figure 17.1) for details.
There are two operation modes.
(1) Stand-by Mode
(2) Continuous Mode
018006915-E-00
2018/06
- 10 -
[AK9754]
10.4. Operation Modes
10.4.1. Stand-by Mode (MODE = 0 )
The AK9754 goes to Stand-by Mode by resetting (POR or Software RST) or setting the operating mode
setting register. All circuits are powered down except for POR circuit. All registers can be accessed in
this mode.
Parameters and measurement data in registers are retained, and INTN is set to the initial state( H ) in
this mode.
10.4.2. Continuous Mode (MODE = 1 )
When Continuous Mode (MODE = 1 ) is selected, the measurement is automatically repeated at the
period of 100ms (typ.). The read-out registers will be updated every after completion of a measurement.
This mode is terminated by setting Stand-by Mode (MODE = 0 ).
When MODE is changed during a measurement, the measurement is interrupted. Then the last data is
retained in the registers.
Register Change
Register Change
MODE
0
1
Analog Circuti
Power Down
0
Power ON
Power Down
1.7ms (typ.)
Digital Calculation
Wait
Measurement
Measurement
Measurement
Measurement
Measuring Time
Analog Stabilizing Time
Measurement
Wait
When changing mode,
measurement is interrupted.
100ms
Last data is retained in the registers.
Figure 10.2. Continuous Mode
018006915-E-00
2018/06
- 11 -
[AK9754]
10.5. Synchronization Function
When using multiple AK9754s, the data sampling of each device can be synchronized by connecting the
SYNC pins.
INTN
AK9754
#1
SCL
SDA
HOST
MCU
I2C Interface
SYNC
AK9754
#2
AK9754
#3
Figure 10.3. SYNC Pin Connection Example
The AK9754 should be set by the host MCU for synchronization. There are a master and slave devices
for synchronization communication. Figure 10.3 shows an example of when the AK9754(#1) is a master
device, and the AK9754(#2) and the AK9754(#3) are slave devices. Master/Slave mode setting of each
device is set by the synchronization setting register (SYNCM[1:0], Address 21H).
10.6.
Sampling Data Storage Function
The AK9754 has a streaming buffer that can store maximum 10 samplings of IR sensor data. Only the
data from IR sensor is stored to the streaming buffer and the data from temperature sensor will not be
stored.
The AK9754 starts storing the data by writing 1 to SBEN bit (Address: 2AH). In this time, the data
previously stored to the streaming buffer will be deleted. When the data storing is executed for more than
10 samplings, the oldest data is deleted and the newest data is stored. Therefore, the streaming buffer
always stores 10 newest sampling data.
Data update of the streaming buffer will be stopped by writing 0 to SBEN bit or when the internal
algorithm detects a human approach (Stop/Continue setting of the data update on Human Approach
Detection can be set by SBHBD). When data update is stopped, data stored in the streaming buffer is
kept. Therefore, maximum 10 sampling data before Human Approach Detection can be readout.
When using multiple AK9754s at the same time, start storing of the streaming buffer data and stop timing
of the data update can be set independently for each device. AK9754s stop data update simultaneously
when detecting a human approach. Refer to 10.7 Measurement Data Read for storing data of the
streaming buffer and readout sequence of the data.
018006915-E-00
2018/06
- 12 -
[AK9754]
10.7.
Measurement Data Read
Measurement data of the AK9754 can be read out by reading Measurement Data Registers or
Streaming Buffers.
Measurement Data Register Read
Measurement data that is updated in every Measurement Cycle of the AK9754 is read out.
There are two kinds of measurement data: IR sensor and internal temperature sensor. The
latest data of these can be read out by this function.
Streaming Buffer Read
Streaming Buffer that is able to store the measurement data for 10 samples at maximum can
be read out. Only the IR sensor measurement data is read out by this operation. Write 1 to
SBEN bit (address: 2AH) to start storing measurement data to the Streaming Buffer when using
this function.
Use Measurement Data Register Read when reading the latest Measurement Data.
Use Streaming Buffer Read when reading the latest data (10 samples at maximum) from detecting
Human approach.
1. Read Measurement Data Registers
The latest Measurement Data is read out.
DRDY bit of ST1 register changes to 1 when Measurement Data read becomes available after the
data is stored and updated. This is called Data Ready status.
HBDR1 bit of ST1 register changes to 1 when the internal algorithm of the AK9754 detects a human
approach. The INTN pin can be set to output L by interrupt register settings, HBDIEN and DRIEN
bits (Address: 2AH), when these changes are occurred.
Table 10.3. Measurement Data Register Read
Register
Address
Data
ST1
04H
DRDY, HBDR1
IRL
05H
IR[7:0]
IRH
06H
IR[15:8]
TMPL
07H
TMP[7:0]
TMPH
08H
TMP[15:8]
ST2
09H
DOR, HBDR2
(1) Read ST1 Register
DRDY:
Indicate data ready status. When this bit is 1 , the AK9754 is in data ready status.
HBDR1:
Indicate whether the algorithm detected a human approach.
This bit changes to 1 and the value is kept when the AK9754 detects a human
approach.

By reading these bits, interruption factor of the INTN pin output L can be determined.
(2) Read Measurement Data Registers
Read out IR sensor or internal temperature sensor data.
When read out these registers, measurement data is transferred to read registers and saved.
The INTN pin output returns to H after reading out the IR sensor data.
018006915-E-00
2018/06
- 13 -
[AK9754]
(3) Read ST2 Register
DOR:
Indicate if there is data that was not read before the data that is read out.
When this bit is 0 , there is no data that was not read out from the previous data read.
When this bit is 1 , there is data that was not read out.
HBDR2:
Indicate whether the algorithm detected a human approach in the latest measurement
data. This bit changes to 1 when the AK9754 detects a human approach.
The AK9754 recognizes that a data read out has finished by read out the ST2 registers.
Measurement data is not updated during data read since it is protected. This data protection is
released by reading ST2 register. It must be read out after reading the Measurement Data
Registers.
By reading this register, DRDY and HBDR1 bits return to 0 automatically.
Procedure for reading "Measurement Data Register"
M e a s ur em e n t
R ea d -o ut R eg iste r
detect
(N+1)th
Meas.
(N)th
Meas.
(N-1)th data
(N+2)th
Meas.
(N)th data
(N+1)th data
(N+2)th data
DRDY
DOR
HBDR1
HBDR2
IN T N p in ou tp ut
S D A pin out put
ST1
(N)th data
ST2
ST1
(N+1)th data
ST2
Figure 10.2. Interruption by Human Detection
(HBDIEN
,DRIEN= 0 )
M e a s ur em e n t
R ea d -o ut R eg iste r
(N)th
Meas.
(N+1)th
Meas.
(N-1)th data
(N+2)th
Meas.
(N)th data
(N+1)th data
Meas. Result of (N)th data
Meas. Result of (N+1)th data
(N+2)th data
DRDY
DOR
HBDR1
Meas. Result of (N)th data
HBDR2
Meas. Result of (N+1)th data
IN T N p in ou tp ut
S D A pin out put
ST1
(N)th data
ST2
ST1
(N+1)th data
ST2
Figure 10.3. Interruption by Data Ready
(HBDIEN 0 ,DRIEN= 1 )
018006915-E-00
2018/06
- 14 -
[AK9754]
2. Read Streaming Buffer
To store measurement data in the Streaming Buffer, set SBEN = "1" (Address 2AH D [2]).
By setting SBHBD = "1" (Address 2AH D [3]), data update in the Streaming Buffer can be stopped
when the internal algorithm detects human approach.
By reading the Streaming Buffer at the above setting, it is possible to read the latest data (10 samples
at maximum) from detecting Human approach.
SBEN bit returns to 0 automatically when data updating of the Streaming Buffer is stopped.
SBNMB[3:0] bits shows the number of measurement data stored in the Streaming Buffer.
HBDR3 bit (ST3 Register) changes to 1 when detecting a human approach.
Register
ST3
SB0L
SB0H
SB9L
SB9H
ST4
Table 10.4. Streaming Buffer Read
Address
Data
0AH
HBDR3, SBNMB[3:0]
0BH
SB0[7:0] (latest)
0CH
SB0[15:8] (latest)
1DH
1EH
1FH
SB9[7:0] (9 samples before)
SB9[15:8] (9 samples before)
HBDR4
(1) Read ST3 Register
SBNMB[3:0]: Indicate the number of data that stored in the Streaming Buffer. (Max. 10)
The number of valid data can be confirmed by reading these bits.
HBDR3:
Indicate whether the algorithm detected a human approach.
This bit changes to 1 and the value is kept when the AK9754 detects a human
approach.
(2) Read Streaming Buffer
Read out Streaming Buffer data.
Once starting to read this register, measurement data obtained during register read will not be
stored to the Streaming Buffer.
(3) Read ST4 Register
HBDR4:
Indicate whether the algorithm detected a human approach in the latest measurement
data. This bit changes to 1 when the AK9754 detects a human approach.
The AK9754 recognizes that a data read out has finished by read out the ST4 registers.
Measurement data is not updated during data read since it is protected. This data protection is
released by reading ST4 register.
SBNMB[3:0] and HBDR3 bits and measurement data stored in the Streaming Buffer is reset by
setting SBEN bit = 1 .
In order to return the INTN pin output to H , read the measurement data of the IR sensor(Address 05H).
After reading the IR register, read the ST2 register(Address 09H).
018006915-E-00
2018/06
- 15 -
[AK9754]
Procedure for reading "Streaming Buffer"


        
   










 







 













   




   
   
  
        
 
       
   
Figure 10.4. Stop SB update at Human Detection"
(HBDIEN= 1 ,SBHBD= "1")
detect
Measurement
SB Buffer
#0
#1
#0

SBNMB
1
#2
#0~1
2
#9
#8~0
9
#10
#11
#12
#13
#14
#9~0 #10~1 #11~2 #12~3
#15
#16
#17
#16,
#12~4
#18
#19
#20
#21
#22
#23
#24
#25
10
HBDR3
HBDR4
SBEN
INT Npin output
SDApin output
ST3 #12~3
ST4 IRL ST2
Figure 10.5. "Update SB at Human Detection"
(HBDIEN= 1 ,SBHBD= "0")
018006915-E-00
2018/06
- 16 -
#26
#17~16, #18~16, #19~16, #20~16, #21~16, #22~16, #23~16, #24~16,
#25~16
#12~5
#12~6
#12~7
#12~8
#12~9 #12~10 #12~11
#12
[AK9754]
10.8. Data Read Sequence Example
Data read sequence of the AK9754 is shown below.
Table 10.5. Data read sequence setting
Address
Name
DATA
21H
CNTL2
FCH
SYNCM[1:0]: Synchronization Mode Setting
No Synchronization (default)
22H
CNTL3
A9H
LNM: Low Noise Mode
Low-noise Mode Disable (default)
ODR[1:0]: Data Output Rate(Frequency) Setting
FCTMP[1:0]: Low Pass Filter Cutoff Frequency (Fc) Setting for internal
temperature sensor
FCIR[1:0]: IR Sensor Low Pass Filter Cutoff Frequency (Fc)
23H
CNTL4
F8H
24H
CNTL5
80H
25H
CNTL6
FAH
26H
CNTL7
F0H
27H
CNTL8
81H
28H
CNTL9
2CH
29H
CNTL10
81H
2AH
CNTL11
F2H
TOPT[2]: Automatic threshold adjustment according to signal
temperature characteristics.
0: Disable
TOPT[1:0]: Optimize noise and current consumption with Built-in
Temperature Sensor.

Disable
TMPOFS[6:0]: Temperature Sensor Offset Setting
0000000:0 ºC
IRGAIN[4:0]
11010
IRINV: Human Approach Detection algorithm input signal Invert Setting
Normal (default)
IDLET[2:0]: Human Approach Detection algorithm Idling Time Setting
0sec (default)
DTCT[6:0]: Detection Time Setting
0000001
: 1 (default)
Threshold of Human Approach Detection Algorithm (Lower)
Default : HBDTH[7:0] 00101100
Threshold of Human Approach Detection Algorithm (Upper)
Default : HBDTH[14:8
0000001
HBDEN : Human Approach Detection Enable
1 : Human Approach Detection Algorithm ON
SBHBD: Update of Streaming Buffer (SB) by Human Approach
Detection
0 : Do Not Stop Updating SB (default)
SBEN: Streaming Buffer (SB) Enable
OFF (default)
HBDIEN : Interrupt Enable on Human Sensing
1 : Interrupt Setting Enable
DRIEN : Interrupt Enable on Data Ready
0 : Interrupt Setting Disable (default)
018006915-E-00
2018/06
- 17 -
[AK9754]
Power On
Wait Time 100 µs
Register Write
(1) Soft Reset
Address:20H Data:FFH
(2) SYNCM[1:0]
Address:21H Data:FCH
(3) Low Noise Mode, ODR, FC setting
Address:22H Data:A9H
(4) TOPT setting
Address:23H Data:F8H
(5) TMP offset setting
Address:24H Data:80H
(6) IR Gain setting
Address:25H Data:FAH
(7) IRINV,IDLET setting
Address:26H Data:F0H
(8) DTCT setting
Address:27H Data:81H
(9) HBDTH setting
Address:28H Data:2CH
Address:29H Data:81H
(10)HBDIEN,DRIEN setting
Address:2AH Data:F2H
(11) Mode setting
Address:2BH Data:FFH
Wait INTN = L
Register Read
(11) Status 1
Address : 04H
(12) A/D Converted data of IR
Address : 05H, 06H
(13) A/D Converted data of
Integrated Temperature Sensor
Address : 07H, 08H
(14) Status2
Address : 09H
018006915-E-00
2018/06
- 18 -
[AK9754]
10.9. Internal Algorithm
The AK9754 integrates a Human Approach Detection algorithm. The outline of this algorithm is shown as
below. When HBDEN bit set to "1" ,changing the bit of MODE to "1" starts this algorithm. After this
algorithm start to working, the AK9754 is idled to being set time. When the IDLE time is over, the
Threshold Judgment is carried out  for the IR measurement data. If it exceeds the threshold
continuously for more than a certain number of times, it is judged that a human approached. HBDR* bit
 At this time, if the HBDIEN bit is
 
Start of
IDLE
IDLE
End of
IDLE *1)
Judgment in progress
Continuous Judgment
Counter Reset
IR Data
Waiting for measurement completion

Threshold
Judgment *2)


Continuous Judgment
Counter Increment
Continuous Judgment

Counter==DTCT Register
*3)


*1) The IDLE time is set by the
IDLET Register
*2) The threshold Judgment
level is set by the HBDTH
Judgment of Approach Detection
HBDR*=1
INTN pin Assert *4)
*3) The continuous Judgment times
are set by the DTCT Register
*4) The INTN pin assert setting
is set by the HBDIEN
Figure 10.6 Outline of Human Approach Detection Algorithm
018006915-E-00
2018/06
- 19 -
[AK9754]
11. Serial Interface
The I C bus interface of the AK9754 supports Standard Mode (Max. 100kHz) and Fast Mode (Max.
400kHz)
2
11.1. Data Transfer
Access AK9754 through the I2C bus after POR.
Initially the Start Condition should be input to access the AK9754 through the bus. Next, send a one byte
slave address, which includes the device address. The AK9754 compares the slave address, and if
these addresses match, the AK9754 generates an acknowledge signal and executes a read / write
command. The Stop Condition should be input after executing a command.
11.1.1. Changing state of the SDA line
The SDA line state should be changed only while the SCL line is L . The SDA line state must be
maintained while the SCL line is H . The SDA line state can be changed while the SCL line is H , only
when a Start Condition or a Stop Condition is input.
SCL
SDA
Constant
Changing Stare
Enable
Figure 11.1.Changing state of SDA line
11.1.2. Start / Stop Conditions
A Start Condition is generated when the SDA line state is changed from H to L while the SCL line is
H . All command start from a Start Condition.
A Stop condition is generated when the SDA line state is changed from L to H while the SCL line is
H . All command end after a Stop Condition.
SCL
SDA
Start Condition
Stop Condition
Figure 11.2. Start / Stop Conditions
018006915-E-00
2018/06
- 20 -
[AK9754]
11.1.3. Acknowledge
The device transmitting data will release the SDA line after transmitting one byte of data (SDA line state
is H ). The device receiving data will pull the SDA line to L during the next clock. This operation is
called Acknowledge . The Acknowledge signal can be used to indicate successful data transfers.
The AK9754 will output an acknowledge signal after receiving a Start Condition and the slave address.
The AK9754 will output an acknowledge signal after receiving each byte, when the write instruction is
transmitted.
The AK9754 will transmit the data stored in the selected address after outputting an acknowledge signal,
when a read instruction is transmitted. Then the AK9754 will monitor the SDA line after releasing the
SDA line. If the master device generates an Acknowledge instead of Stop Condition, the AK9754
transmits an 8-bit data stored in the next address. When the Acknowledge is not generated, transmitting
data is terminated.
Clock pulse for
Acknowledge
SCL of Master
Device.
1
8
9
Data Output of
Transmitter
Non-Acknowledge
Data Output
of Receiver
Start Condition
Acknowledge
Figure 11.3. Acknowledge
018006915-E-00
2018/06
- 21 -
[AK9754]
11.1.4. Slave Address
A slave address of the AK9754 is determined by connecting the CAD0 pin and the CAD1 pin to VDD or
VSS, or leaving them to open.
Table 11.1. Setting of CAD0 and CAD1 Pins, and Slave Address
CAD1
CAD0
Slave Address
VSS
VSS
60H
VSS
non-connected
61H
VSS
VDD
62H
non-connected
VSS
64H
non-connected
non-connected
65H
non-connected
VDD
66H
VDD
VSS
68H
VDD
non-connected
69H
VDD
VDD
Do Not Use
When the first one byte data including the slave address is transmitted after a Start Condition, the
device, which is specified as the communicator by the slave address on bus, is selected.
After transmitting the slave address, the device that has the corresponding device address will execute a
command after transmitting an Acknowledge signal. The 8-bit (Least Significant bit-LSB) of the first one
byte is the R/W bit.
When the R/W bit is set to 1 , a read command is executed. When the R/W bit is set to 0 , a write
command is executed.
MSB
1
LSB
1
0
0/1
0/1
0/1
0/1
R/W
Figure 11.4. Slave Address
11.1.5. Write Command
When the R/W bit set to 0 , the AK9754 executes a write operation. The AK9754 will output an
Acknowledge signal and receive the second byte, after receiving a Start Condition and first one byte
(slave address) in a write operation. The second byte has an MSB-first configuration, and specifies the
address of the internal control register.
MSB
A7
LSB
A6
A5
A4
A3
A2
A1
A0
Figure 11.5. Register Address
The AK9754 will generate an Acknowledge and receive the third byte after receiving the second byte
(Register Address).
The data after the third byte are the control data. The control data consists of 8-bit and has an MSB-first
configuration. The AK9754 generates an Acknowledge for each byte received. The data transfer is
terminated by a Stop Condition, generated by the master device.
MSB
D7
LSB
D6
D5
D4
D3
D2
D1
D0
Figure11.6. Control data
018006915-E-00
2018/06
- 22 -
[AK9754]
Two or more bytes can be written at once. The AK9754 generates an Acknowledge and receives the
next data after receiving the third byte (Control Data). When the following data is transmitted without a
Stop Condition, after transmitting one byte, the internal address counter is automatically incremented,
and data is written in the next address.
This automatic address increment works for the registers of CNTL1 to CNTL12 (20H to 2BH).
The address counter returns to address 20H after reaching address 2BH.
R/W= 0
SDA S Slave
Register
Address
Address(n)
DATA(n)
DATA(n+1)
DATA(n+x)
P
Figure 11.7. Write Operation
11.1.6. Read Command
When the R/W bit is set to 1 , the AK9754 executes a read operation. When the AK9754 transmits data
from the specified address, the master device generates an Acknowledge instead of a Stop Condition
and the next address data can be read out.
This automatic address increment works for the registers which store ST1, IR measurement data,
Temperature Sensor data, ST2 data (04H to 09H), ST3, SB and ST4 data (0AH to 1FH) and setting
registers of CNTL1 to CNTL12 (20H to 2BH).
The address counter returns to address 04H after reaching address 09H, returns to 0AH after 1FH and
returns to 20H after 2BH.
The AK9754 supports both current address read and random address read
(1) Current Address Read
The AK9754 has an integrated address counter. The data specified by the counter is read out in the
current address read operation. The internal address counter retains the next address which is accessed
at last. For example, when the address which was accessed last is n , the data of address n+1 is read
out by the current address read instruction.
The AK9754 will generate an Acknowledge after receiving the slave address for a read command (R/W
bit = 1 ) in the current address read operation. Then the AK9754 will start to transmit the data specified
by the internal address counter at the next clock, and will increment the internal address counter by one.
When the AK9754 generates a Stop Condition instead of an Acknowledge after transmitting the one byte
data, a read out operation is terminated.
R/W= 1
SDA
S Slave
Address
DATA(n)
DATA(n+1)
DATA(n+2)
DATA(n+x)
P
Figure 11.8. Current Address Read
018006915-E-00
2018/06
- 23 -
[AK9754]
(2) Random Read
Data from an arbitrary address can be read out by a random read operation. A random read requires the
input of a dummy write instruction before the input of the slave address of a read instruction (R/W bit =
1 ). To execute a random read, first generate a Start Condition, then input the slave address for a write
instruction (R/W bit = 0 ) and a read address, sequentially.
After the AK9754 generates an Acknowledge in response to this address input, generate a Start
Condition and the slave address for a read instruction (R/W bit = 1 ) again. The AK9754 generates an
Acknowledge in response to the input of this slave address. Next, the AK9754 output the data at the
specified address, then increments the internal address counter by one.
When a Stop Condition from the master device is generated in generated instead of an Acknowledge
after the AK9754 outputs data, Read operation stops.
R/W= 0
SDA S Slave
Address
Register
Address(n)
R/W= 1
Slave
S Address
DATA(n)
DATA(n+1)
DATA(n+x)
P
Figure 11.9. Random Read
018006915-E-00
2018/06
- 24 -
[AK9754]
12. Memory Map
Table 12.1. Register Map
Name
Address
Soft Reset
R/W
WIA1
WIA2
INFO1
INFO2
00H
01H
02H
03H
Disable
Disable
Disable
Disable
R
R
R
R
ST1
04H
Enable
R
IRL
IRH
TMPL
TMPH
ST2
05H
06H
07H
08H
09H
Enable
Enable
Enable
Enable
Enable
R
R
R
R
R
ST3
0AH
Enable
R
SB0L
SB0H
SB1L
SB1H
SB2L
SB2H
SB3L
SB3H
SB4L
SB4H
SB5L
SB5H
SB6L
SB6H
SB7L
SB7H
SB8L
SB8H
SB9L
SB9H
ST4
CNTL1
CNTL2
0BH
0CH
0DH
0EH
0FH
10H
11H
12H
13H
14H
15H
16H
17H
18H
19H
1AH
1BH
1CH
1DH
1EH
1FH
20H
21H
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
RW
RW
CNTL3
22H
Enable
RW
CNTL4
23H
Enable
RW
CNTL5
CNTL6
CNTL7
CNTL8
CNTL9
CNTL10
24H
25H
26H
27H
28H
29H
Enable
Enable
Enable
Enable
Enable
Enable
RW
RW
RW
RW
RW
RW
CNTL11
2AH
Enable
RW
CNTL12
2BH
Enable
RW
Data
Contents
Address
Increment
Company code
Device ID
Information
Information
HBDR1: Detection result,
DRDY: Data ready flag
IR measurement data low bit
IR measurement data high bit
Integrated temperature sensor measurement data low bit
Integrated temperature sensor measurement data high bit
HBDR2: Detection result, DOR: Data overrun flag
HBDR3: Detection result,
SBNMB[3:0]: Number of Valid Data in SB
SBNL: (N+1)-th latest IR measurement data low bit
SBNH: (N+1)-th latest IR measurement data high bit
HBDR4: Detection result,
SRST: Soft reset
SYNCM[1:0]: Synchronized operation mode setting
LNM: Low noise mode setting, ODR[1:0]: Output data rate setting,
FCTMP[1:0]: TMP data lowpass filter setting, FCIR[1:0]: IR data
lowpass filter setting
TOPT: Mode setting of optimized operation by integrated
temperature sensor
TMPOFS: Offset value of integrated temperature sensor
IRGAIN[4:0]: IR signal gain setting.
IRINV: Inversion setting of IR, IDLET[2:0]: Idling time setting
DTCT[6:0]: Detection time setting
HBDTH[7:0]: Human detection threshold setting low bit
HBDTH[15:8]: Human detection threshold setting high bit
HBDEN: Enabling of Human Approach Detection,
SBHBD: Enabling of streaming buffer, HBDIEN: Enabling of
interrupt caused by Human Approach Detection result,
DRIEN: Enabling of interrupt caused by data ready
MODE:
018006915-E-00
Measurement start setting
2018/06
- 25 -
[AK9754]
13. Register Definitions
Table 13.1. Register Map
Address
Name
D7
D6
D5
D4
D3
D2
D1
D0
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
0FH
10H
11H
12H
13H
14H
15H
16H
17H
18H
19H
1AH
1BH
1CH
1DH
1EH
1FH
20H
21H
22H
23H
24H
25H
26H
27H
28H
29H
2AH
2BH
WIA1
WIA2
INFO1
INFO2
ST1
IRL
IRH
TMPL
TMPH
ST2
ST3
SB0L
SB0H
SB1L
SB1H
SB2L
SB2H
SB3L
SB3H
SB4L
SB4H
SB5L
SB5H
SB6L
SB6H
SB7L
SB7H
SB8L
SB8H
SB9L
SB9H
ST4
CNTL1
CNTL2
CNTL3
CNTL4
CNTL5
CNTL6
CNTL7
CNTL8
CNTL9
CNTL10
CNTL11
CNTL12
0
0
0
0
1
IR[7]
IR[15]
TMP[7]
TMP[15]
1
1
SB0[7]
SB0[15]
SB1[7]
SB1[15]
SB2[7]
SB2[15]
SB3[7]
SB3[15]
SB4[7]
SB4[15]
SB5[7]
SB5[15]
SB6[7]
SB6[15]
SB7[7]
SB7[15]
SB8[7]
SB8[15]
SB9[7]
SB9[15]
1
1
1
1
1
1
1
1
1
1
0
0
0
1
IR[6]
IR[14]
TMP[6]
TMP[14]
1
1
SB0[6]
SB0[14]
SB1[6]
SB1[14]
SB2[6]
SB2[14]
SB3[6]
SB3[14]
SB4[6]
SB4[14]
SB5[6]
SB5[14]
SB6[6]
SB6[14]
SB7[6]
SB7[14]
SB8[6]
SB8[14]
SB9[6]
SB9[14]
1
1
1
0
0
0
0
1
IR[5]
IR[13]
TMP[5]
TMP[13]
1
1
SB0[5]
SB0[13]
SB1[5]
SB1[13]
SB2[5]
SB2[13]
SB3[5]
SB3[13]
SB4[5]
SB4[13]
SB5[5]
SB5[13]
SB6[5]
SB6[13]
SB7[5]
SB7[13]
SB8[5]
SB8[13]
SB9[5]
SB9[13]
1
1
1
0
1
0
0
HBDR1
IR[4]
IR[12]
TMP[4]
TMP[12]
HBDR2
HBDR3
SB0[4]
SB0[12]
SB1[4]
SB1[12]
SB2[4]
SB2[12]
SB3[4]
SB3[12]
SB4[4]
SB4[12]
SB5[4]
SB5[12]
SB6[4]
SB6[12]
SB7[4]
SB7[12]
SB8[4]
SB8[12]
SB9[4]
SB9[12]
HBDR4
1
1
1
0
0
0
1
IR[3]
IR[11]
TMP[3]
TMP[11]
1
0
1
0
0
1
IR[2]
IR[10]
TMP[2]
TMP[10]
1
0
0
0
0
1
IR[1]
IR[9]
TMP[1]
TMP[9]
1
0
1
0
0
DRDY
IR[0]
IR[8]
TMP[0]
TMP[8]
DOR
SBNMB[3]
SBNMB [2]
SBNMB[1]
SBNMB [0]
SB0[3]
SB0[11]
SB1[3]
SB1[11]
SB2[3]
SB2[11]
SB3[3]
SB3[11]
SB4[3]
SB4[11]
SB5[3]
SB5[11]
SB6[3]
SB6[11]
SB7[3]
SB7[11]
SB8[3]
SB8[11]
SB9[3]
SB9[11]
1
1
1
SB0[2]
SB0[10]
SB1[2]
SB1[10]
SB2[2]
SB2[10]
SB3[2]
SB3[10]
SB4[2]
SB4[10]
SB5[2]
SB5[10]
SB6[2]
SB6[10]
SB7[2]
SB7[10]
SB8[2]
SB8[10]
SB9[2]
SB9[10]
1
1
1
SB0[1]
SB0[9]
SB1[1]
SB1[9]
SB2[1]
SB2[9]
SB3[1]
SB3[9]
SB4[1]
SB4[9]
SB5[1]
SB5[9]
SB6[1]
SB6[9]
SB7[1]
SB7[9]
SB8[1]
SB8[9]
SB9[1]
SB9[9]
1
1
SB0[0]
SB0[8]
SB1[0]
SB1[8]
SB2[0]
SB2[8]
SB3[0]
SB3[8]
SB4[0]
SB4[8]
SB5[0]
SB5[8]
SB6[0]
SB6[8]
SB7[0]
SB7[8]
SB8[0]
SB8[8]
SB9[0]
SB9[8]
1
SRST
SYNCM[1]
SYNCM[0]
LNM
ODR[1]
ODR[0]
FCTMP[1]
FCTMP[0]
FCIR[1]
FCIR[0]
Note:
1
1
1
1
TOPT[2]
TOPT[1]
TOPT[0]
TMPOFS[6]
TMPOFS[5]
TMPOFS[4]
TMPOFS[3]
TMPOFS[2]
TMPOFS[1]
TMPOFS[0]
1
1
DTCT[6]
1
1
DTCT[5]
IRGAIN[4]
IRGAIN[3]
IRGAIN[2]
IRGAIN[1]
IRGAIN[0]
1
DTCT[4]
IRINV
DTCT[3]
IDLET[2]
DTCT[2]
IDLET[1]
DTCT[1]
IDLET[0]
DTCT[0]
HBDTH[7]
HBDTH[6]
HBDTH[5]
HBDTH[4]
HBDTH[3]
HBDTH[2]
HBDTH[1]
HBDTH[0]
1
1
1
HBDTH[14]
HBDTH[13]
HBDTH[12]
HBDTH[11]
HBDTH[10]
HBDTH[9]
HBDTH[8]
1
1
1
1
HBDEN
1
SBHBD
1
SBEN
1
HBDIEN
1
DRIEN
MODE
written in 20H to 2BH
regardless of the write value.
018006915-E-00
2018/06
- 26 -
[AK9754]
[Functional Descriptions]
1). WIA1: Company Code (Read Only Register)
Address Name
D7
D6
D5
00H
WIA1
0
1
0
D4
0
D3
1
D2
0
D1
0
D0
0
D4
1
D3
0
D2
1
D1
0
D0
1
D4
0
D3
0
D2
0
D1
0
D0
0
D4
0
D3
0
D2
0
D1
0
D0
0
D4
D3
1
1
D2
1
1
D1
1
1
D0
DRDY
0
One Byte fixed code as Company code of AKM. (48H)
2). WIA2: Device ID (Read Only Register)
Address
Name
D7
D6
D5
01H
WIA2
0
0
0
One Byte fixed code as AKM device ID. (15H)
3). INFO1: Information1 (Read Only Register)
Address
Name
D7
D6
D5
02H
INFO1
0
0
0
INFO1 [7:0]: Information for AKM use only.
4). INFO2: Information2 (Read Only Register)
Address
Name
D7
D6
D5
03H
INFO2
0
0
0
INFO2 [7:0]: Reserve
5). ST1: Status1 (Read Only Register)
Address
Name
D7
D6
04H
ST1
1
1
Reset
1
1
D5
1
1
HBDR1
0
HBDR1: Human Approach Detection result 1
Initial Value (default)
Human Approach Detect
HBDR1 bit becomes 1 when detecting a human approach. It returns to 0 when readout of the
measurement data buffer is completed.
DRDY: Data Ready
0 : Normal State (default)
1 : Data Ready
DRDY bit changes to 1 when measurement data is ready to be read. This bit returns to 0 when ST2
register is read out.
018006915-E-00
2018/06
- 27 -
[AK9754]
6). IR: Measurement data of IR Sensor (Read Only Register)
Address
Name
D7
D6
D5
D4
05H
IRL
IR[7]
IR[6]
IR[5]
IR[4]
06H
IRH
IR[15]
IR[14]
IR[13]
IR[12]
Reset
0
0
0
0
D3
IR[3]
IR[11]
0
D2
IR[2]
IR[10]
0
D1
IR[1]
IR[9]
0
D0
IR[0]
IR[8]
0
Measurement data of IR Sensor
IR[7:0]: Lower 8-bit of output data
IR[15:8]: Upper 8-bit of output data
16-bit data is stored in 2 s compliment format.
Table 13.2. Measurement data of IR Sensor(2 s compliment)
Measurement data of IR Sensor [15:0]
Output current of
IR Sensor
Bin
Hex
Dec
0111 1111 1111 1111
7FFF
32767
15000 or more
0010 0111 0001 0000
2710
10000
4578
0000 0011 1110 1000
03E8
1000
457.8
0000 0000 0110 0100
0064
100
45.78
0000 0000 0000 0001
0000 0000 0000 0000
1111 1111 1111 1111
0001
0000
FFFF
1
0
-1
0.4578
0
-0.4578
1111 1111 1001 1100
FF9C
-100
-45.78
1111 1100 0001 1000
FC18
-1000
-457.8
1101 1000 1111 0000
D8F0
-10000
-4578
1000 0000 0000 0001
8001
-32767
-15000 or less
Unit
pA
Output current of IR Sensor (pA) = 0.4578 × Measurement data of IR Sensor (Decimal)
018006915-E-00
2018/06
- 28 -
[AK9754]
7). TMP: Measurement data of Temperature Sensor (Read Only Register)
Address
Name
D7
D6
D5
D4
D3
D2
07H
TMPL
TMP[7]
TMP[6]
TMP[5]
TMP[4]
TMP[3]
TMP[2]
TMPH
TMP[15] TMP[14] TMP[13] TMP[12] TMP[11] TMP[10]
08H
Reset
0
0
0
0
0
0
D1
D0
TMP[1]
TMP[9]
TMP[0]
TMP[8]
0
0
Measurement data of Integrated Temperature Sensor
TMP[7:0]: Lower 8-bit of output data
TMP[15:8]: Upper 8-bit of output data
16-bit data is stored in 2 s compliment format.
Table 13.3. Measurement data of Temperature Sensor(2 s compliment)
Measurement data of Temperature Sensor [15:0]
Temperature
Bin
Hex
Dec
0111 1111 1111 1111
7FFF
32767
90 or more
0011 0001 0011 1011
313B
12603
50
0000 0000 0000 0001
0000 0000 0000 0000
1111 1111 1111 1111
0001
0000
FFFF
1
0
-1
25.00198
25
24.99802
1001 0011 1011 0010
93B2
-27726
-30
1000 0000 0000 0001
8001
-32767
-40 or less
Unit
ºC
Indicated value of Temperature Sensor (ºC) =
0.0019837 × Measurement data of Temperature Sensor (Decimal) + 25
8). ST2: Status 2 (Read Only Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
D0
09H
ST2
1
1
1
HBDR2
1
1
1
DOR
Reset
1
1
1
0
1
1
1
0
Note:
ST2 register must be read out after reading out measurement data. Otherwise, measurement data
would not be updated.
HBDR2: Human Approach Detection result 2
Initial Value (default)
Human Approach Detect
HBDR2 bit indicates Human Approach Detection result when finish receiving measurement buffer data.
DOR: Data Overrun
0 : Normal State (default)
1 : Data Overrun
DOR changes to 1 when data skipping happens, and returns to 0 after reading out ST2 register.
018006915-E-00
2018/06
- 29 -
[AK9754]
9). ST3: Status 3 (Read Only Register)
Address
Name
D7
D6
0AH
ST3
1
1
Reset
1
1
D5
1
1
D4
D3
D2
D1
D0
HBDR3
SBNMB[3]
SBNMB[2]
SBNMB[1]
SBNMB[0]
0
0
0
0
0
HBDR3: Human Approach Detection result 3
Initial Value (default)
Human Approach Detect
HBDR3 bit becomes 1 when detecting a human approach. It returns to 0 when readout of the
measurement data buffer is completed.
SBNMB[3:0]: Number of Valid Data in SB (Streaming Buffer)
Initial Value (default)
N Data until SB[N-1]L, SB[N-1]H are valid
SBNMB[3:0] bits show the number of stored measurement data of SB. The default value is 0 and the
value increments by 1 until 10 by storing measurement result each time. When SBNMB[3:0] bits value is
N (!=0), valid measurement result is from SB[0] to SB[N-1].
10). SBL, SBH: Streaming Buffer (Read Only Register)
Address
Name
D7
D6
D5
D4
0BH
SB0L
SB0[7]
SB0[6]
SB0[5]
SB0[4]
0CH
SB0H
SB0[15] SB0[14] SB0[13] SB0[12]
D3
SB0[3]
SB0[11]
D2
SB0[2]
SB0[10]
D1
SB0[1]
SB0[9]
D0
SB0[0]
SB0[8]
15H
16H
SB5L
SB5H
SB5[7]
SB5[15]
SB5[6]
SB5[14]
SB5[5]
SB5[13]
SB5[4]
SB5[12]
SB5[3]
SB5[11]
SB5[2]
SB5[10]
SB5[1]
SB5[9]
SB5[0]
SB5[8]
1DH
1EH
SB9L
SB9H
Reset
SB9[7]
SB9[15]
0
SB9[6]
SB9[14]
0
SB9[5]
SB9[13]
0
SB9[4]
SB9[12]
0
SB9[3]
SB9[11]
0
SB9[2]
SB9[10]
0
SB9[1]
SB9[9]
0
SB9[0]
SB9[8]
0
Measurement result is stored here.
Initial values are all 0 .
018006915-E-00
2018/06
- 30 -
[AK9754]
11). ST4: Status 4 (Read Only Register)
Address
Name
D7
D6
1FH
ST4
1
1
Reset
1
1
D5
1
1
D4
HBDR4
0
D3
1
1
D2
1
1
D1
1
1
D0
1
1
HBDR4: Human Approach Detection result 4
Initial Value (default)
Human Approach Detect
HBDR4 bit indicates Human Approach Detection result of when finish receiving SB0 data.
12). CNTL1: Soft Reset (Read/Write Register)
Address
Name
D7
D6
D5
20H
CNTL1
1
1
1
Reset
1
1
1
D4
1
1
D3
1
1
D2
1
1
D1
1
1
D0
SRST
0
SRST: Soft Reset
Normal State
Reset
Analog circuit, INTN output, SDA output and all registers are reset when setting 1 to SRST.
SRST automatically returns to 0 after reset.
It is possible to write CNTL1 during measurement.
13). CNTL2: Synchronization Mode Setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
21H
CNTL2
1
1
1
1
1
Reset
1
1
1
1
1
D2
1
1
D1
D0
SYNCM [1]
SYNCM [0]
0
0
SYNCM[1:0]: Synchronization Mode Setting
No Synchronization (default)
Master Synchronized
Slave Synchronized
Do Not Use
018006915-E-00
2018/06
- 31 -
[AK9754]
14). CNTL3: Low-noise Mode, ODR, Filter Cutoff Frequency Setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
FCTMP[1]
FCTMP[0]
ODR[1]
ODR[0]
FCIR[1]
22H
CNTL3
1
LNM
Reset
1
0
1
0
1
0
0
D0
FCIR[0]
1
LNM: Low Noise Mode
Low-noise Mode Disable (default)
Low-noise Mode Enable
ODR[1:0]: Data Output Rate(Frequency) Setting
00 : ODR 1 Hz
01 : ODR 2 Hz
10 : ODR 10 Hz (default)
11 : ODR 50 Hz
FCTMP[1:0]: Low Pass Filter Cutoff Frequency (Fc) Setting for internal temperature sensor
00 : No Filter
01 : Fc =0.9 Hz
10 : Fc =0.445 Hz (default)
11 : Do Not Use
This setting is only valid when the data output frequency setting is 10 Hz (ODR bit setting).
If the setting of data output frequency is other than 10 Hz, low pass filter is not applied regardless of
FCTMP[1:0] bits setting.
FCIR[1:0]: IR Sensor Low Pass Filter Cutoff Frequency (Fc)
00 : No Fc
01 : Fc =0.9 Hz (default)
10 : Fc =0.445 Hz
11 : Do Not Use
This setting is only valid when the data output frequency setting is 10 Hz (ODR bit setting).If the setting
of data output frequency is other than 10 Hz, low pass filter is not applied regardless of FCIR[1:0] bits
setting.
15). CNTL4: Optimum operation mode setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
23H
CNTL4
1
1
1
1
1
Reset
1
1
1
1
1
D2
D1
D0
TOPT[2]
TOPT[1]
TOPT[0]
1
1
1
TOPT[2]: Automatic threshold adjustment according to signal temperature characteristics.
0 : Disable
1 : Enable (default)
TOPT[1:0]: Optimize noise and current consumption with Built-in Temperature Sensor.
Disable
Reserved
Reserved
Enable (default)
018006915-E-00
2018/06
- 32 -
[AK9754]
16). CNTL5: Offset Setting of Internal Temperature Sensor (Write/Read register)
Address
Name
D7
D6
D5
D4
D3
D2
24H
CNTL5
Reset
1
1
D1
D0
TMPOFS
[6]
TMPOFS
[5]
TMPOFS
[4]
TMPOFS
[3]
TMPOFS
[2]
TMPOFS
[1]
TMPOFS
[0]
0
0
0
0
0
0
0
TMPOFS[6:0]: Temperature Sensor Offset Setting
Table 13.4. Temperature Sensor Offset Setting(2 s compliment)
TMPOFS[6:0]
Adding Offset
Bin
Hex
Dec
011_1111
3F
63
31.5
000_0001
000_0000
111_1111
1
0
7F
1
0
-1
0.5
0
-0.5
100_0000
40
-64
-32
Unit
ºC
Temperature Sensor Offset (ºC) = 0.5 × TMPOFS value (Decimal)
17). CNTL6: IR Sensor Gain Setting (Write/ Read Register)
Address
Name
D7
D6
D5
D4
IRGAIN[4]
25H
CNTL6
1
1
1
Reset
1
1
1
1
Bin
0_1111
0_1110
D3
D2
D1
D0
IRGAIN[3]
IRGAIN[2]
IRGAIN[1]
IRGAIN[0]
1
0
1
0
Table 13.5. IR Sensor Gain Setting(2 s compliment)
IRGAIN[4:0]
GAIN
Hex
Dec
0F
15
205
0E
14
200
0_0001
0_0000
1_1111
1
0
1F
1
0
-1
135
130
125
1_1010
1A
-6
100
1_0000
10
-16
50
Unit
%
IR Sensor Gain Setting (%) = 5 × IRGAIN Setting Value (Decimal) + 130
018006915-E-00
2018/06
- 33 -
[AK9754]
18). CNTL7: IR Signal Invert Setting, Idling Time Setting (Write /Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
IDLET[2]
26H
CNTL7
1
1
1
1
IRINV
Reset
1
1
1
1
0
0
D1
D0
IDLET[1]
IDLET[0]
0
0
IRINV: Human Approach Detection algorithm input signal Invert Setting
: Normal (default)
: Invert
IDLET[2:0]: Human Approach Detection algorithm Idling Time Setting
000 : 0 sec (default)
: 5 sec
: 10 sec
: 30 sec
1XX : 300 sec
19). CNTL8: Detection Time Setting (Write/ Read Register)
Address
Name
D7
D6
D5
D4
DTCT[6]
DTCT[5]
DTCT[4]
27H
CNTL8
1
Reset
1
0
0
0
D3
D2
D1
D0
DTCT[3]
DTCT[2]
DTCT[1]
DTCT[0]
0
0
0
1
The AK9754 detects a human approach when the Human Approach Detection signal exceeds the
threshold of internal algorithm for the number of samples set by DTCT[6:0] bits.
DTCT[6:0]: Detection Time Setting
0000000 : 1 time
0000001 : 1 time (default)
0000010 : 2 times
1111111 : 127 times
20). CNTL9: Threshold of Human Approach Detection Algorithm (Lower) Setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
D0
HBDTH[7]
HBDTH[6]
HBDTH[5]
HBDTH[4]
HBDTH[3]
HBDTH[2]
HBDTH[1]
HBDTH[0]
28H
CNTL9
Reset
0
0
1
0
1
1
0
0
Threshold of Human Approach Detection Algorithm (Lower)
default: HBDTH[14:0] bits = 012Ch
21). CNTL10: Threshold of Human Approach Detection Algorithm (Upper) Setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
D0
29H
CNTL10
Reset
1
HBDTH
[14]
HBDTH
[13]
HBDTH
[12]
HBDTH
[11]
HBDTH
[10]
HBDTH
[9]
HBDTH
[8]
1
0
0
0
0
0
0
1
Threshold of Human Approach Detection Algorithm (Upper)
default: HBDTH[14:0] bits = 012Ch
018006915-E-00
2018/06
- 34 -
[AK9754]
22). CNTL11: Detailed Setting of Human Approach Detection Algorithm (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
HBDEN
SBHBD
SBEN
HBDIEN
2AH
CNTL11
1
1
1
Reset
1
1
1
0
0
0
0
D0
DRIEN
0
HBDEN: Human Approach Detection Enable
0 : Human Approach Detection Algorithm OFF (default)
1 : Human Approach Detection Algorithm ON
SBHBD: Update of Streaming Buffer (SB) by Human Approach Detection
0 : Do Not Stop Updating SB (default)
1 : Stop Updating SB
SBEN: Streaming Buffer (SB) Enable
0 : SB OFF (default)
1 : SB ON
Valid/Invalid setting of SB operation. This bit becomes 0 automatically when SB is stopped by Human
Approach Detection.
HBDIEN: Interrupt Enable on Human Sensing
0 : Interrupt Setting Disable (default)
1 : Interrupt Setting Enable
Interrupt setting with Human Approach Detection is available.
DRIEN: Interrupt Enable on Data Ready
0 : Interrupt Setting Disable (default)
1 : Interrupt Setting Enable
Interrupt setting with Data ready status is available.
It is possible to write CNTL11 during measurement.
23). It is possible to write CNTL11 during measurement.CNTL12: Mode Setting (Write/Read Register)
Address
Name
D7
D6
D5
D4
D3
D2
D1
D0
2BH
CNTL12
1
1
1
1
1
1
1
MODE
Reset
1
1
1
1
1
1
1
0
MODE: Operation Mode Setting
0 : Stand-by Mode (default)
1 : Continuous Measurement Mode
It is possible to write CNTL12 during measurement.
018006915-E-00
2018/06
- 35 -
[AK9754]
14. Spectrum Sensitivity (Reference)
Figure 14.1. Spectrum Sensitivity
018006915-E-00
2018/06
- 36 -
[AK9754]
15. Field of View (Reference)
Field of View (FOV) of sensor itself is 180 º. On the other hand, actual FOV is determined and limited by
a hole in a mounting board. Measurement result is shown below in case that the hole is designed for
FOV to be 115 º (Typ.).
1.2

1.0
0.8
0.6
0.4
0.2
0.0
-90 -80 -70 -60 -50 -40 -30 -20 -10 0
10 20 30 40 50 60 70 80 90

Figure 15.1. Field of View
[Measurement Conditions]
Ambient temperature (Ta)
Light source
Field of View (FOV)
Distance between sensor and light source
25ºC
Cavity Blackbody 22.2mm, 500K
115 º (determined by a hole)
100mm
 
 
 

 






 
 

 
 
Figure 15.2. Measurement Environment
018006915-E-00
2018/06
- 37 -
[AK9754]
16. IR Sensor Output Characteristics (Reference)
A relationship between the object temperature (Tobj) and IR sensor output code is shown below.
These are reference values of when the ambient temperature (Ta) is 25 ºC and Field of View (FOV) of
the sensor is 115 º.
40,000
Ta=25ºC
FOV=115º
30,000
20,000
10,000
0
-10,000
-20,000
-30,000
-40,000
0
10
20
30
40
50
Tobj [ºC]
Figure 16.1. IR Sensor Output Characteristics
[Measurement Conditions]
Ambient Temperature (Ta)
25ºC
Light Source
Cavity Blackbody
Field of View (FOV)
115 º (Determined by a hole)
Distance between sensor and light Source 20mm
 
 
 



 
 
 
Figure 16.2. IR Sensor Output Measurement Environment
018006915-E-00
2018/06
- 38 -
[AK9754]
17. Recommended External Circuits
VDD : 1.71~3.63V
VSS
VDD
0.1µF
SCL
AKM
SDA
CAD0
CAD1
I2C I/F
INTN
AK9754
INTN
SYNC
HOST
MCU
VSS
*When CAD0, CAD1 pin are not connected, the allowable load capacitance is less than 3pF.
Figure 17.1. AK9754 Recommended External Circuit 1
VDD : 1.71~3.63V
VSS
VDD
0.1µF
SCL
AKM
SDA
CAD0
CAD1
INTN
AK9754
VSS
VDD
0.1µF
INTN
SYNC
HOST
MCU
SCL
AKM
SDA
CAD0
CAD1
2
I C I/F
INTN
AK9754
SYNC
VSS
*When CAD0, CAD1 pin are not connected, the allowable load capacitance is less than 3pF.
*The allowable wiring capacitance of SYNC pin is less than 50 pF.
Figure 17.2. AK9754 Recommended External Circuit 2
Note: When using different power supplies, check the MCU specifications.
018006915-E-00
2018/06
- 39 -
[AK9754]
18. Package
18.1. Outline Dimensions
8-pin SON (Unit: mm)
Unless otherwise specified : ±0.1mm
TOP View
BOTTOM View
Figure 18.1. AK9754 Outline Dimensions
018006915-E-00
2018/06
- 40 -
[AK9754]
18.2. Pad dimensions
(Unit: mm)
 

 ±0.1
<Device >
<Board >
Exposed pad
Do not draw a wiring under the package
Figure 18.2. AK9754 Land Pattern
Note:
The exposed pad on the bottom surface of the package must not be soldered on the board.
It is necessary to make a hole through the board FOV.
Do not apply plating at the inside of this hole.
The exposed pad is internally connected to the VSS.
Do not draw a wiring under the package to avoid shorting with the exposed pad.
018006915-E-00
2018/06
- 41 -
[AK9754]
18.3. Marking
IR receiving surface is on the opposite side of the marking surface.
   
Upper 4 digits
Product Name
   
Lower 4 digits
Year / Month / Day / Lot
Figure 18.3. AK9754 Marking
19. Orgering Guide
AK9754AE
-30 to 85ºC
8-pin SON
20. Revision History
Date (Y/M/D)
Revision
Reason
Page
-
018006915-E-00
Contents
-
2018/06
- 42 -
[AK9754]
IMPORTANT NOTICE
0. Asahi Kasei Microdevices Corporation
reserves the right to make changes to the
information contained in this document without notice. When you consider any use or
application of AKM product stipulated in this document ( Product ), please make inquiries the
sales office of AKM or authorized distributors as to current status of the Products.
1. All information included in this document are provided only to illustrate the operation and
application examples of AKM Products. AKM neither makes warranties or representations with
respect to the accuracy or completeness of the information contained in this document nor
grants any license to any intellectual property rights or any other rights of AKM or any third party
with respect to the information in this document. You are fully responsible for use of such
information contained in this document in your product design or applications. AKM ASSUMES
NO LIABILITY FOR ANY LOSSES INCURRED BY YOU OR THIRD PARTIES ARISING FROM
THE USE OF SUCH INFORMATION IN YOUR PRODUCT DESIGN OR APPLICATIONS.
2. The Product is neither intended nor warranted for use in equipment or systems that require
extraordinarily high levels of quality and/or reliability and/or a malfunction or failure of which
may cause loss of human life, bodily injury, serious property damage or serious public impact,
including but not limited to, equipment used in nuclear facilities, equipment used in the
aerospace industry, medical equipment, equipment used for automobiles, trains, ships and
other transportation, traffic signaling equipment, equipment used to control combustions or
explosions, safety devices, elevators and escalators, devices related to electric power, and
equipment used in finance-related fields. Do not use Product for the above use unless
specifically agreed by AKM in writing.
3. Though AKM works continually to improve the
you are
responsible for complying with safety standards and for providing adequate designs and
safeguards for your hardware, software and systems which minimize risk and avoid situations
in which a malfunction or failure of the Product could cause loss of human life, bodily injury or
damage to property, including data loss or corruption.
4. Do not use or otherwise make available the Product or related technology or any information
contained in this document for any military purposes, including without limitation, for the design,
development, use, stockpiling or manufacturing of nuclear, chemical, or biological weapons or
missile technology products (mass destruction weapons). When exporting the Products or
related technology or any information contained in this document, you should comply with the
applicable export control laws and regulations and follow the procedures required by such laws
and regulations. The Products and related technology may not be used for or incorporated into
any products or systems whose manufacture, use, or sale is prohibited under any applicable
domestic or foreign laws or regulations.
5. Please contact AKM sales representative for details as to environmental matters such as the
RoHS compatibility of the Product. Please use the Product in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including
without limitation, the EU RoHS Directive. AKM assumes no liability for damages or losses
occurring as a result of noncompliance with applicable laws and regulations.
6. Resale of the Product with provisions different from the statement and/or technical features set
forth in this document shall immediately void any warranty granted by AKM for the Product and
shall not create or extend in any manner whatsoever, any liability of AKM.
7. This document may not be reproduced or duplicated, in any form, in whole or in part, without
prior written consent of AKM.
Rev.1
018006915-E-00
2018/06
- 43 -
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement