SMH-01B01_ND15013E00

SMH-01B01
PythPits series Infrared Array Sensor Module
OVERVIEW
The PythPits-series SMH-01B01 is a thermopile-type infrared array sensor module that features an 8×8 array of sensor elements to detect
and convert the infrared energy within an area to a signal for output.
It is equipped with a Si-lens optical system, and features an MCU with built-in A/D converter that generates digital output, on an I 2 C
interface, of both the converted emission temperature of each sensor element and the ambient temperature from a temperature sensor
mounted on the sensor chip.
FEATURES
▪ 8×8 structure, 64-element array
▪ Si lens optical system, approximately 35° total field-of-view
angle (between peak value of elements on both sides)
▪ Gain switching for measurement extension up to 250°C using
variable-gain preamplifier (25°C ambient temperature
environment)
▪ Built-in auto range function automatically adjusts the gain to
match the temperature within the area
▪ Switchable frame measurement speed: 4, 2, 1 fps
▪ Switchable voltage output and emission temperature
conversion output
▪ Changeable data readout order: top/bottom reversal and
left/right reversal to support horizontal/vertical rotation
▪ SMBUS standard PEC code support
▪ Emission temperature resolution: ±1.5°C
▪ Supply voltage: 5V ± 5%
▪ Current consumption: 7 mA (typ.)
BLOCK DIAGRAM
(Infrared Input)
SDA
Si-Lens
Sensor Control
8x8
Thermopile
Array Sensor
SCL
MCU
with
A/D-C
VDD
AMP
VSS
Sensor
Outputs(Ta,IR)
Figure 1 Block diagram
PIN LAYOUT
4pin SDA
3pin SCL
2pin VDD
1pin VSS
CN1
CN1: S4B-ZR-SM4A
Top view
Figure 2 Pin layout diagram
SEIKO NPC CORPORATION - 1
SMH-01B01
PIN DESCRIPTION
Pin No.
Name
I/O
Description
1
VSS
‐
Ground pin
2
VDD
‐
Supply pin
3
SCL
I
I 2 C interface clock input pin
4
SDA
I/O
I 2 C interface data input/output pin
ABSOLUTE MAXIMUM RATINGS
Parameter
Symbol
Condition
Rating
Unit
Notes
Supply voltage range
VDD
Between VDD - VSS
-0.3 to 6.0
V
*1
Input voltage range
VIN
Between input - VSS
-0.3 to VDD+0.3
V
*1,*2
Output voltage range
VIN
Between output - VSS
-0.3 to VDD+0.3
V
*1,*2
Maximum sink current
ISNK
Output pin = Low
10
mA
Storage temperature
TSTG
-40 to 100
°C
*1. Absolute maximum ratings are values not to be exceeded, not even momentarily. If a rating is exceeded, there is a risk of
deterioration in characteristics and decrease in reliability.
*2. VDD value is the operating voltage rating of the VDD pin in the recommended operating conditions.
RECOMMENDED OPERATING CONDITIONS
Parameter
Supply voltage
Operating temperature
Symbol
Condition
VDD
*1
Ta
No condensation
MIN
TYP
MAX
Unit
4.75
5.00
5.25
V
-20
-
70
°C
*1. Operation is supported at the storage temperature, but emission temperature correction cannot be confirmed if these ratings are exceeded.
ELECTRICAL CHARACTERISTICS
DC Characteristics
(Reference circuit under recommended operating conditions, unless otherwise noted)
Parameter
Symbol
Condition
MIN
TYP
MAX
Unit
-
7.0
10.0
mA
Current consumption
IDD
VDD = 5.25V
High-level input voltage
VIH
SDA, SCL
0.7VDD
-
VDD
V
Low-level input voltage
VIL
SDA, SCL
0
-
0.3VDD
V
High-level input leakage current
ILH
SDA, SCL (VIN=VDD)
-
-
1.0
µA
Low-level input leakage current
ILL
SDA, SCL (VIN=0V)
-
-
1.0
µA
Low-level output voltage
VOL
SDA=Low output, 5mA
0
-
0.6
V
SEIKO NPC CORPORATION - 2
SMH-01B01
AC Characteristics
Start/Stop Condition Bit Timing
tHD:STA
tSU:STA
tHD:STO
tSU:STO
SCL
SDA
S(Start Condition)
P(Stop Condition)
Figure 3 Start/Stop conditions bit timing
(Reference circuit under recommended operating conditions, unless otherwise noted)
Parameter
Symbol
Condition
MIN
TYP
MAX
Unit
Start condition setup time
tSU:STA
SCL, SDA pins
600
-
-
ns
Start condition hold time
tHD:STA
SCL, SDA pins
600
-
-
ns
Stop condition setup time
tSU:STO
SCL, SDA pins
600
-
-
ns
Stop condition hold time
tHD:STO
SCL, SDA pins
600
-
-
ns
Bus Data Timing
1/fSCL
(S)
tHIGH
tLOW
tr
(S)
tf
(P)
SCL
tBUF
tHD:DAT
tSU:DAT
SDA(IN)
tr
tVD:DAT
tf
SDA(OUT)
Figure 4 Bus data timing
(Reference circuit under recommended operating conditions, unless otherwise noted)
Parameter
Symbol
Conditions
MIN
TYP
MAX
Unit
SCL clock frequency
fSCL
-
-
400
kHz
SCL clock low-level cycle time
tLOW
1300
-
-
ns
SCL clock high-level cycle time
tHIGH
600
-
-
ns
SCL, SDA rise time 1
tr
fCLS > 100kHz
20+0.1×CB
-
300
ns
SCL, SDA rise time 2
tr
fCLS ≤ 100kHz
-
-
1000
ns
SCL, SDA fall time
tf
20+0.1×CB
-
300
ns
SCL, SDA data setup time 1
tSU:DAT
fCLS > 100kHz
100
-
-
ns
SCL, SDA data setup time 2
tSU:DAT
fCLS ≤ 100kHz
250
-
-
ns
SCL, SDA data hold time
tHD:DAT
Data input
0
-
900
ns
SCL, SDA data valid time
tVD:DAT
Data output
-
-
900
ns
SCL, SDA bus capacitance
CB
-
-
400
pF
SEIKO NPC CORPORATION - 3
SMH-01B01
FUNCTIONAL DESCRIPTION
I 2 C Interface
Writing and reading configuration data is performed using an I 2 C interface.
The device has a unique 7-bit address (slave address), and specifying the address is required.
Configuration data is in MSB-first, 8-bit format.
Start/Stop Conditions
SDA
SCL
START
STOP
Figure 5
Start/Stop Conditions
The Start condition occurs when SCL is “High” and SDA goes “High” → “Low”. Next, data is sent and received by the level
transitions on SDA while SCL is “Low”.
The Stop condition occurs when SCL is “High” and SDA goes “Low” → “High”, and the basic communication cycle ends.
To change slave address or read/write mode during communication, you can set SDA from “High” → “Low” when SCL is “High”
(Start condition) to restart the cycle in the same way.
Basic Cycle
[Command write cycle]
The basic write cycle starts with the Start condition, followed by the 7-bit address and write (W) bit. Then a command is sent and data is
written to the device.
S
1st Byte
Address+W
A
Command
A
DATA0-Low
A
DATA0-High
・・・・・・・・・
A
DATAn-Low
A
DATAn-High
A
(PEC)
A
A/
P
NA
Figure 6 Command write cycle diagram
[Command read cycle]
The basic read cycle is the same as the write cycle above up to the command, followed by the Start condition again. Then, the 7-bit
address and read (R) bit is sent, and then the data is read out.
S
1st Byte
Address+W
・・・・・・・・・
A
Command
A
DATAn-Low
A S
A
1st Byte
Address+R
DATAn-High
A
A
DATA0-Low
A
(PEC)
P
NA
DATA0-High
A
Figure 7 Command read cycle diagram
* In the diagrams above, the white areas indicate the SDA pin as in input, and the gray areas indicate the SDA pin as an output.
* The first bit after each 8-bit data is an acknowledge (ACK) bit. The receiver sets the ACK bit Low output (“A”) to indicate it is ready
to receive. The receiver sets the ACK bit High output (“NA” = No ACK) when it is not ready to receive.
SEIKO NPC CORPORATION - 4
SMH-01B01
1st Byte Data
The first byte of data after the Start condition comprises the address and the read/write bit.
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
AD7
AD6
AD5
AD4
AD3
AD2
AD1
R/W
(1)
This device uses the following address.
AD (7:1) 0001-010B: Configuration and data read out
1010-0xxB: (Reserved)
(2)
Read/Write
R/W
1: Data read
0: Data write
Command Data
(1)
Command = 00h
Write Only
Data bytes: None
Stop operation:
Stops temperature measurement operation.
* In one-shot mode, temperature measurement stops automatically after 1 frame measurement, without needing this command.
(2)
Command= 01h
Data bytes: None
Start operation:
Write Only
Starts temperature measurement operation.
(3)
Command=02h
Read Only
Data bytes: 128 bytes (2×64 elements)
Read the infrared output data (temperature/voltage).
Voltage is in mV units. Temperature output is 10 times the Celsius value, expressed in 2s complement format.
(4)
Command= 03h
Read Only
Data bytes: 2 bytes
Read the ambient temperature output data (temperature/voltage).
Voltage is in mV units. Temperature output is 10 times the Celsius value, expressed in 2s complement format.
(5)
Command=F0h
Read/Write
Data bytes: 1 byte
Specify the element read order. Sets the read order (1 to 64) of the sensor elements.
Bit [7:3]: Tied to 0 (Reserved)
Bit 2: Exchanges the vertical and horizontal directions.
0: Read elements from vertical direction to horizontal direction.
1: Read elements from horizontal direction to vertical direction.
Bit 1: Reverses the read order in the horizontal direction.
0: Natural order (TP8, TP16 … TP64 rows)
1: Reverse order (TP64, TP56 … TP8 rows)
Bit 0: Reverses the read order in the vertical direction.
0: Natural order (TP1, TP2 … TP8 columns)
1: Reverse order (TP8, TP7 … TP1 columns)
*If all 3 bits are set to “1”, it first reverses the horizontal direction and vertical direction, and then it exchanges the vertical and the
horizontal direction.
SEIKO NPC CORPORATION - 5
SMH-01B01
(F0h)=00h: Normal output
(F0h)=01h: Output with top/bottom reversed
(F0h)=02h: Output with left/right reversed
(F0h)=03h: Output with 180° rotation
(F0h)=04h: Output with image reflected across TP1 and TP64 diagonal axis
(F0h)=05h: Output with 90° clockwise rotation
(F0h)=06h: Output with 90° counterclockwise rotation
(F0h)=07h: Output with image reflected across TP8 and TP57 diagonal axis
(6)
Command=F1h
Read/Write
Data bytes:
1 byte
Specify amplifier gain.
0=200,
1= 500, 2=700,
3=1000
4=1200, 5=1500, 6=1700, 7=2000
The default value is 7 (gain of 2000).
(7)
Command=F2h
Read/Write
Data bytes:
2 bytes
Specify emission adjustment value: Sets correction value with fixed decimal point 1 bit below MSB (0.00006 to 1.99994).
Positive values only, using 2s complement format.
During emission temperature conversion, the object’s energy coefficient is used as-is in the multiplication.
The default value is 1.
(8)
Command=F7h Read/Write
Data bytes: Currently 1 byte only
Read: Status read
Bit 7: Monitor operation.
Bit 6: Infrared output format.
Bit 5: Ambient temperature output format
Bit 4: Gain setting.
Bit 3: PEC code
Bit 2: (Reserved: Default is 0)
Bit [1:0]: Frame rate
Write: Configuration data
Bit 7: Operating mode
Bit 6: Infrared output format
Bit 5: Ambient temperature output format
Bit 4: Gain setting
Bit 3: PEC code
Bit 2: (Reserved: Default is 0)
Bit [1:0]: Frame rate
1: Measuring
1: Voltage
1: Voltage
1: Auto adjust
1: Enable
0: Stopped
0: Temperature
0: Temperature
0: Set manually
0: Disable
0= (Off), 1=1fps,
2=2fps,
1: Continuous
1: Voltage
1: Voltage
1: Auto adjust
1: Enable
0: One-shot mode
0: Temperature
0: Temperature
0: Set manually
0: Disable
0= (No change),
1=1fps,
3=4fps
2=2fps,
3=4fps
* Default value is 8Ah (settings underlined above).
SEIKO NPC CORPORATION - 6
SMH-01B01
PEC Code
Polynomial generation (CRC8): Adds remainder derived from G(x) = x8 + x2 + x1 + x0 to detect errors.
Automatic Gain Adjustment Function
The gain is adjusted automatically when bit 4 of the Configuration Data (Command= 0F7h) is set to “1”.
(1) When power is applied initially, the maximum gain of 2000 is set by default.
(2) If the output from any sensor element exceeds the maximum level of the internal A/D converter during measurement,
the gain is initially switched to the minimum gain of 200.
(3) During measurement of the subsequent frame, the reference level is set to approximately half the maximum level of the
A/D converter. If the measurement values of all sensor elements do not exceed the reference value, the range is
increased one step at a time.
(Gain of 200 → 500 → 700 → 1000 → 1200 → 1500 → 1700 → 2000)
The increase in range stops when at least one sensor element exceeds the reference level AND all elements do not
exceed the maximum level at the current range setting.
If the output exceeds the maximum level during range switching, the gain is reduced to the minimum gain of 200 in a
single action (the gain is not reduced one step at a time).
When bit 4 of the Configuration Data (Command= 0F7h) is set to “0”, the gain is fixed and the gain setting switches to manual
adjustment mode.
ELEMENT ARRAY AND FIELD-OF-VIEW IMAGE
9.1cm
(Peak)
1
2
4.55cm
3
36.4cm
4
35°
5
6
35°
7
8
9
10
11
12
13
14
15
16
50cm
1m
72.8cm
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
41
49
57
(Peak)
50
35
58
43
51
36
59
44
52
37
60
45
53
38
61
46
54
39
62
47
55
40
63
48
56
64
(Peak)
42
Figure 8 Field-of-view image diagram
SEIKO NPC CORPORATION - 7
SMH-01B01
TYPICAL APPLICATION CIRCUIT
1k~4.7kΩ
(Infrared Input)
0~200Ω
SDA
Si-Lens
SCL
I2C-I/F
8x8
Thermopile
Array Sensor
Module
VDD
VSS
1μF~
50μF~ 0~390pF
(Components within dotted lines included/excluded and adjusted to suit the noise environment.)
Figure 9 Typical application circuit
* This typical application circuit is provided for reference only, and does not represent a circuit with guaranteed operation.
NPC will not be held liable for any loss due to the use of this circuit. Always conduct a thorough evaluation before use.
DIMENSIONS
Figure 10 External dimensions
SEIKO NPC CORPORATION - 8
SMH-01B01
Please pay your attention to the following points at time of using the products shown in this document.
1. The products shown in this document (hereinafter ”Products”) are designed and manufactured to the generally accepted standards of
reliability as expected for use in general electronic and electrical equipment, such as personal equipment, machine tools and
measurement equipment. The Products are not designed and manufactured to be used in any other special equipment requiring
extremely high level of reliability and safety, such as aerospace equipment, nuclear power control equipment, medical equipment,
transportation equipment, disaster prevention equipment, security equipment. The Products are not designed and manufactured to be
used for the apparatus that exerts harmful influence on the human lives due to the defects, failure or malfunction of the Products.
If you wish to use the Products in that apparatus, please contact our sales section in advance.
In the event that the Products are used in such apparatus without our prior approval, we assume no responsibility whatsoever for any
damages resulting from the use of that apparatus.
2. NPC reserves the right to change the specifications of the Products in order to improve the characteristics or reliability thereof.
3. The information described in this document is presented only as a guide for using the Products. No responsibility is assumed by us for any
infringements of patents or other rights of the third parties which may result from its use. No license is granted by implication or otherwise
under any patents or other rights of the third parties. Then, we assume no responsibility whatsoever for any damages resulting from that
infringements.
4. The constant of each circuit shown in this document is described as an example, and it is not guaranteed about its value of the mass
production products.
5. In the case of that the Products in this document falls under the foreign exchange and foreign trade control law or other applicable laws and
regulations, approval of the export to be based on those laws and regulations are necessary. Customers are requested appropriately take
steps to obtain required permissions or approvals from appropriate government agencies.
SEIKO NPC CORPORATION
1-9-9, Hatchobori, Chuo-ku,
Tokyo 104-0032, Japan
Telephone: +81-3-5541-6501
Facsimile: +81-3-5541-6510
http://www.npc.co.jp/
Email:[email protected]
ND15013-E-00 2015.09
SEIKO NPC CORPORATION - 9