Datasheet

2SMPB-02A
Digital Barometric Pressure Sensor
High accuracy and small size
barometric pressure sensor
with low current consumption
• Measure barometric pressure and temperature with high accuracy
• Built in low noise 24 bit ADC
• Digital control and output via I2C/SPI interface
• Automatically power down non-working circuit
to minimize power consumption
• Individual calibration parameters stored in OTP*
* One Time Programmable - ROM
RoHS compliant
Application Example
• Indoor navigation (floor detection)
• Car navigation (to distinguish highway and frontage road)
• Altimeter
• Activity monitor (to detect up and down of stairs)
• Life log
• Weather forecast
Target Devices Example
• Smart Phones / Tablet PCs
• Wearable devices, such as watch type, band type, clip type or glasses type
2SMPB-02A
• GPS devices
• Healthcare devices such as pedometer
Packaging Information
■ Standard Models with Surface Mounting Terminals
Structure
Packaging
Model
Minimum Packing Unit
LGA 9 pin
Tape and Reel
2SMPB-02A
3,500
1
2SMPB-02A
Digital Barometric Pressure Sensor
Table of Contents
Application Example ....................................................................................................................................... 1
Target Devices Example ................................................................................................................................. 1
Packaging Information .................................................................................................................................... 1
■ Standard Models with Surface Mounting Terminals .......................................................................................................... 1
Table of Contents ............................................................................................................................................ 2
Ratings / Specifications / Function ................................................................................................................ 3
■ Use conditions and recommended operating conditions ................................................................................................ 3
■ Absolute Maximum Ratings ................................................................................................................................................ 3
■ Operating Ratings ................................................................................................................................................................ 3
■ Electrical Characteristics .................................................................................................................................................... 3
■ Digital Interface Characteristics ......................................................................................................................................... 3
■ Characteristics by Oversampling setting (Force mode) .................................................................................................. 4
■ rms Noise by IIR Filter Selection ........................................................................................................................................ 4
■ Bandwidth by IIR Filter Selection ....................................................................................................................................... 4
■ Filter selection based on use cases ................................................................................................................................... 4
Connection ....................................................................................................................................................... 5
■ Block Diagram ...................................................................................................................................................................... 5
■ Pin Description and Layout ................................................................................................................................................. 5
■ Typical Connection Diagram ............................................................................................................................................... 6
Dimensions ...................................................................................................................................................... 7
■ Package ................................................................................................................................................................................. 7
■ Outline Dimension ................................................................................................................................................................ 7
■ Mounting PAD Dimensions ................................................................................................................................................. 7
2SMPB-02A
■ Marking structure ................................................................................................................................................................. 7
Operations ........................................................................................................................................................ 8
■ Communication Mode .......................................................................................................................................................... 8
■ Power Mode .......................................................................................................................................................................... 8
■ Compensation of Pressure and Temperature ................................................................................................................... 9
■ Implementing Register List ................................................................................................................................................11
■ I2C Protocol ......................................................................................................................................................................... 14
■ SPI Protocol ........................................................................................................................................................................ 15
■ Interface specifications ..................................................................................................................................................... 15
■ Reset Function ................................................................................................................................................................... 16
Packaging ....................................................................................................................................................... 17
■ Configuration of shipment ................................................................................................................................................ 17
■ Taping ................................................................................................................................................................................. 17
■ Reel ..................................................................................................................................................................................... 18
■ Individual packaging
......................................................................................................................................................... 18
Recommended Soldering Method ............................................................................................................... 19
■ Soldering method .............................................................................................................................................................. 19
■ Condition of Temperature ................................................................................................................................................. 19
■ Recommended Soldering Method ..................................................................................................................................... 19
Safety Precautions ........................................................................................................................................ 20
2
2SMPB-02A
Digital Barometric Pressure Sensor
Ratings / Specifications / Function
■ Use conditions and recommended operating conditions
Type of Pressure
Absolute pressure
Medium
Air *
Operating Pressure Range
30 kPa to 110 kPa
* Never use corrosive gases.
■ Absolute Maximum Ratings
Item
Symbol
Rating
Unit
4.0
V
Remark
Power Supply Voltage
Vddmax
Input Voltage (other than power)
Vmax
-0.2 to Vopr+0.2
V
Maximum Pressure
Pmax
160
kPa
Storage Temperature
Tstr
-40 to 85
°C
with no condensation or icing
Storage Humidity
Hstr
10 to 95
%RH
with no condensation or icing
ESD (HBM)
Vhbm
±2000
V
ESD (MM)
Vmm
±200
V
ESD (CDM)
Vcdm
±500
V
■ Operating Ratings
Item
Operating Voltage
Operating Temperature
Min.
Typ.
Max.
Unit
Vopr
Symbol
1.71
1.8
3.6
V
VDD
Remark
Vio
1.71
1.8
3.6
V
VDDIO
Topr
-40
-
85
°C
Item
Average Current *
Operating Current Consumption
Symbol
Condition
Min.
Typ.
Max.
Unit
-
21.4
-
µA
Ihp
1 sample/s force-mode
Ultra High Accuracy
Iddp
Pressure mode
-
640
800
µA
Iddt
Temperature mode
-
410
520
µA
-
1.1
2.3
µA
30
-
110
kPa
-100
-
100
Pa
-
±3.9
-
Pa
Pa
Sleep Mode Current Consumption
Isleep
Measureable Pressure Range
Popr
Absolute Pressure Accuracy
Pabs1
90 to 110 kPa, 0 to 40°C
Relative Pressure Accuracy *
Prel1
Ultra High Accuracy
rms Noise *
Pnois
Ultra High Accuracy
-
1.3
-
Absolute Temperature Accuracy
Tabs
90 to 110 kPa, 0 to 40°C
-2
-
2
°C
Pressure Resolution *
Pres
-
0.06
-
Pa
Temperature Resolution *
Tres
-
0.0002
-
°C
-9.4
-
9.4
Pa
Power Supply Rejection Ratio (DC)
Ppsrr
101.3 kPa, 0 to 40°C, 1.71 to 3.6 V
Base on VDD = 1.8 V
2SMPB-02A
■ Electrical Characteristics (At Ta = 25°C, VDD = 1.8 V, unless otherwise noted)
* Above characteristics are guaranteed by design.
■ Digital Interface Characteristics
Min.
Typ.
Max.
Unit
Digital Input Low Voltage
Item
Vil_d
Symbol
Condition
-
-
Vio×0.2
V
Digital Input High Voltage
Vih_d
Vio×0.8
-
-
V
Digital Input Hysterisis Voltage
Vidhys
0.24
-
-
V
Digital Output Low Voltage (I2C)
Vol_d1
Io = 3 mA (SDI) *
0
-
0.4
V
Digital Output Low Voltage (SPI)
Vol_d2
Io = 1 mA (SDI, SDO) *
0
-
0.4
V
Digital Output High Voltage
Voh_d
Io = 1 mA (SDI, SDO) *
Vio×0.8
-
-
V
Leakage Current at Output OFF
Iol_d
SDI, SDO
-10
-
10
µA
70
120
190
kΩ
-
-
400
pF
Internal Pullup Resistor
Rpullup
CSB
I2C Load Capacitance
Cb
SDI, SCK
Load Capacitance of Reset Terminal
Crst
-
-
20
pF
Pulse Width of Asynchronous Reset
Trst
100
-
-
µsec
Power On Startup Time
Tstart
-
-
10
msec
* “Io” is the load current of the output terminal.
Note: Undescribed items are compliant with the I2C specification.
About detailed I2C bus information, please refer to the I2C bus specification and user manual presented by NXP.
3
2SMPB-02A
Digital Barometric Pressure Sensor
■ Characteristics by Oversampling setting (Force mode)
(At Ta = 25°C, VDD = 1.8 V, CPU Clock Frequency = 300 kHz, unless otherwise noted)
Oversampling setting
Pressure
oversampling
unit
High speed
ODR
@ standby 1 ms Typ.
Average Current Typ.
@ 1 sample/sec
force-mode
Temperature
oversampling
Measurement
time Typ.
-
-
msec
Hz
µA
Pa
2
1
6.5
133
4.1
5.2
rms Noise Typ.
Low power
4
1
8.2
108
5.2
3.7
Standard
8
1
11.6
79
7.3
2.6
High accuracy
16
2
19.3
49
12.0
1.8
Ultra High accuracy
32
4
34.7
28
21.4
1.3
Note 1: These characteristics are guaranteed by design.
Note 2: ODR is defined as Output data rate at standby time 1 msec.
■ rms Noise by IIR Filter Selection (At Ta = 25°C, VDD = 1.8 V, unless otherwise noted)
Typical rms Noise in Pressure [Pa]
Oversampling setting
IIR filter coefficient
off
2
4
8
16
32
High speed
5.2
2.5
1.6
1.1
0.8
0.5
Low power
3.7
1.8
1.1
0.8
0.5
0.4
Standard
2.6
1.3
0.8
0.5
0.4
0.3
High accuracy
1.8
0.9
0.6
0.4
0.3
0.3
Ultra High accuracy
1.3
0.6
0.4
0.3
0.3
0.2
Note 1: IIR; Infinite impulse response
Note 2: These characteristics are guaranteed by design.
Note 3: Initial setting of the IIR filter coefficient is 32.
■ Bandwidth by IIR Filter Selection (At Ta = 25°C, VDD = 1.8 V, unless otherwise noted)
Typical Bandwidth [Hz]
2SMPB-02A
Oversampling setting
IIR filter coefficient
off
2
4
8
16
32
High speed
133
30.7
12.8
5.9
2.9
1.4
Low power
108
24.9
10.4
4.8
2.3
1.1
Standard
79
18.2
7.6
3.5
1.7
0.8
High accuracy
49
11.3
4.7
2.2
1.1
0.5
Ultra High accuracy
28
6.5
2.7
1.2
0.6
0.3
Note 1: These characteristics are guaranteed by design.
Note 2: Initial setting of the IIR filter coefficient is 32.
■ Filter selection based on use cases (At Ta = 25°C, VDD = 1.8 V, unless otherwise noted)
Example use case Oversampling setting
Pressure over
sampling times
Temp. over
sampling times
Specification (Typ.)
Current
IIR filter coefficient
consumption [µA]
ODR [Hz]
(Example)
rms Noise [Pa]
Weather monitoring
High speed
×2
×1
off
1.2
0.05
5.2
Drop detection
Low power
×4
×1
off
407
100
3.7
Elevator detection
Standard
×8
×1
4
63.4
10
0.8
Stair detection
High accuracy
×16
×2
8
219
20
0.4
Indoor navigation
Ultra high accuracy
×32
×4
32
570
28
0.2
Note: These characteristics are guaranteed by design.
4
2SMPB-02A
Digital Barometric Pressure Sensor
Connection
■ Block Diagram
VDD
SB
GND
RST
CLK Gen.
Voltage Supply
POR
Sp
Pressure/
Temperature
sensing
element
Sm
ADC
It
MUX
Analog front-end
Logic
CSB
SDI
I/O
GND
SCK
NVM
SDO
VPP
VDDIO
■ Pin Description and Layout
Pin 1 indicator
9
1
1
7
2
2
7
6
3
3
6
5
4
4
5
Top View
Pin No.
*1.
*2.
9
8
2SMPB-02A
8
Bottom View
Description
Symbol
I2C
SPI
1
RST
Asynchronous Reset *1
2
CSB
CSB
3
SDI
SDI/SDO
SDA
4
SCK
SCK
SCL
5
SDO
SDO
ADDR
6
VDDIO
Power Terminal for Digital IO
7
GND
Ground Terminal
8
VDD
Power Terminal
9
VPP
NVM Writing Terminal *2
VDDIO
If you do not need the reset function, please just have the layout design of PCB of connecting both No. 1 (RST) pin and No. 7 (GND) pin into the ground of PCB.
Please refer 4.8 Reset Function for the case of using the reset function.
Pin 9 is only used internally in OMRON. Please leave the pin disconnected.
If Pin 9 is connected with any other Pin electrically, the sensor will not work properly.
5
2SMPB-02A
Digital Barometric Pressure Sensor
■ Typical Connection Diagram
I2C mode (Corresponding to 100 Kbit/s (at Standard Mode) and 400 Kbit/s (at Fast Mode))
VPP
VDD
GND
RST
1
9
8
CSB
2
7
2SMPB-02A
Top View
VDDIO
SDO
6
3
5
4
RST
SDI
SDA
SCK
SCL
1 µF
Slave address SEL (gnd or VDDIO)
1 µF
VDDIO
VDD
4-wire SPI mode (Corresponding to 400 Kbit/s)
VPP
VDD
GND
1
9
8
2
7
2SMPB-02A
Top View
VDDIO
SDO
6
3
5
4
RST
CSB
SDI
SCK
RST
CSB
SDI
SCK
1 µF
SDO
2SMPB-02A
1 µF
VDD
VDDIO
3-wire SPI mode (Corresponding to 400 Kbit/s)
VPP
VDD
GND
VDDIO
SDO
1 µF
1 µF
VDDIO
6
VDD
8
9
1
2
7
2SMPB-02A
Top View
6
3
5
4
RST
CSB
SDI
SCK
RST
CSB
SDI/SDO
SCK
2SMPB-02A
Digital Barometric Pressure Sensor
Dimensions (Unit: mm)
■ Package
Package Type: LGA (Land Grid Array) 9 pin
Package Size: 2.00 × 2.50 × 0.85 mm
■ Outline Dimension
9-0.35
0.46±0.05
0.20±0.05 dia.
0.35
5-(0.10)
8-(0.10)
0.71±0.05
2.32±0.03
2.50±0.10
2-P0.65×3=1.95
(2.17)
9-0.35
1.45
2.00±0.10
1.82±0.03
(1.67)
0.85±0.10
■ Mounting PAD Dimensions
Recommended (Top View)
0.65 PITCH
2SMPB-02A
0.35
0.10
0.50
0.55
2.00
2.50
■ Marking structure
Pin 1 indicator
PB2A
XXXXX
Pressure Port
7
2SMPB-02A
Digital Barometric Pressure Sensor
Operations
■ Communication Mode
This sensor is corresponding to I2C and SPI communication.
Digital interface terminal functions for each communication mode are as below.
Communication mode
CSB
SDI
SCK
SDO
VDDIO
SDA
SCL
0/1
SPI 3 Wires
CSB
SDI/O
SCK
-
spi3w Register = 1
SPI 4 Wires
CSB
SDO
SCK
SDO
spi3w Register = 0
I2C
Remark
SDO = 0 → 70h, SDO = 1 → 56h
When changing the communication mode, also see Typical Connection Diagram section.
• I2C mode becomes effective by pulling CSB up to VDDIO.
• SPI mode becomes effective by pulling CSB down to GND.
• Once CSB is pulled down, SPI mode would not be changed unless otherwise Power on Reset (POR) or Asynchronous Reset.
Switching between SPI 3-Wire mode and SPI 4-Wire mode can be configured with the register value of “spi3w”. Refer to
IO_SETUP register section for more detail.
• Default mode after POR or Asynchronous Reset will be I2C mode.
■ Power Mode
This sensor has three power modes and it can be switched by setting CTRL_MEAS register.
Refer to the “CTRL_MEAS” register section for more detail.
• Sleep mode
• Normal mode
• Forced mode
Transition diagram for each mode is as follows.
Power ON
POR
Asynchronous Reset
(Reset [ 7 : 0 ] = E6h)
2SMPB-02A
Down load OTP
Power_mode[1:0]=11
Sleep Mode
Normal Mode
Power_mode[1:0]=00
Power_mode[1:0]=01 or 10
Power_mode[1:0]=01 or 10
Forced Mode
Sleep Mode (Power Reduction Mode)
No measurements are performed.
I2C/SPI interface and each register can be accessed even if the sensor is in sleep mode.
Forced Mode
In case of Forced Mode, a single measurement is performed. When the set up measurement is finished, the sensor returns to Sleep
Mode after storing the measurement data to the register.
Power On
Power Off . .
POR
Download OTP
Read COE_**
sleep
Temperature Measurement x temp_average[2:0]
Pressure Measurement x temp_average[2:0]
power_mode[1:0] = 01 or 10
sleep
Temperature Measurement x temp_average[2:0]
...
power_mode[1:0] = 01 or 10
Normal Mode
In case of Normal Mode, the measurements are performed repeatedly between a measurement period and a standby period. The
standby time can be configured by “t_stanby[1:0]” register. Be sure to consider that the data must be read from the master side after a
Normal Mode.
Power On
Power Off . .
POR
Download OTP
Read COE_**
8
sleep
Temperature Measurement x temp_average[2:0]
power_mode[1:0] = 11
Pressure Measurement x temp_average[2:0]
sleep
t_stanby[s]
Temperature Measurement x temp_average[2:0]
...
2SMPB-02A
Digital Barometric Pressure Sensor
■ Compensation of Pressure and Temperature
This section describes a typical measurement procedure and a calculation method after POR. This sensor has compensation coefficients in internal Non Volatile Memory (NVM). The compensated pressure can be calculated by using these values.
START
(1) Configure IO mode setting
by “IO_STUP” register
: Read/Write Values through Digital I/F
: Calculation by User MCU
(2) Read Compensation
Coefficients from N.V.M.
(3) Configure Averaging
Times and Power Mode
(4) Read Uncompensated
Temperature Value
(5) Read Uncompensated
Pressure Value
2SMPB-02A
(6) Compensate
Temperature Value
(7) Compensate
Pressure Value
(1) Configure IO mode setting. Refer to IO_SETUP register section for more detail.
(2) Read compensation coefficients which are stored in NVM. This procedure is sufficient just once after POR.
These values are used for a compensation calculation at the step (6) and (7).
(3) Configure averaging times and power mode. Refer to CTRL_MEAS register section for more detail.
(4) Read raw temperature data which are stored in TEMP_TXDx registers.
(5) Read raw pressure data which are stored in PRESS_TXDx registers.
(6) Compensated temperature can be calculated by using the below formula and the values of the step (2) and (4).
Tr =
- ba - ba2 - 4aa (ca - Dt)
Tr :
Dt :
aa :
ba :
ca :
2aa
Calculation Result of Temperature [256 degreeC]
Raw Temperature Data [digit] ( 22-24bits measurement value of TEMP_TXDx Reg. )
Compensation Coefficient of PTAT ( Coefficient made from COE_PTAT31 and COE_PTAT32 Reg. )
Compensation Coefficient of PTAT ( Coefficient made from COE_PTAT21 and COE_PTAT22 Reg. )
Compensation Coefficient of PTAT ( Coefficient made from COE_PTAT11 and COE_PTAT13 Reg. )
9
2SMPB-02A
Digital Barometric Pressure Sensor
(7) Correction pressure without temperature compensation can be calculated by using the below formula and the values of the step (2)
and (5).
Pl =
- bp + bp2 - 4ap (cp - Dp)
Pl :
Dp :
ap :
bp :
cp :
2ap
Calculation result of Pressure [Pa]
Raw Pressure Data [digit] ( 22-24bits measurement value of PRESS_TXDx Reg. )
Compensation Coefficient of Pressure ( Coefficient made from COE_PR31 and COE_PR32 Reg. )
Compensation Coefficient of Pressure ( Coefficient made from COE_PR21 and COE_PR22 Reg. )
Compensation Coefficient of Pressure ( Coefficient made from COE_PR11 and COE_PR13 Reg. )
(8) The compensated pressure for temperature can be calculated by using the below formula and the results of step (3), (6) and (7).
Pl
Po =
2
at × Tr + bt × Tr + (ct + 1)
Po :
at :
bt :
ct :
Final compensated Pressure. This result is an absolute pressure value. [Pa]
Compensation Coefficient of Temperature ( Coefficient made from COE_TEMP31 and COE_TEMP32 Reg. )
Compensation Coefficient of Temperature ( Coefficient made from COE_TEMP21 and COE_TEMP22 Reg. )
Compensation Coefficient of Temperature ( Coefficient made from COE_TEMP11 and COE_TEMP12 Reg. )
How to get compensation coefficients
Each compensation coefficients (ap, bp, at, bt, ct, aa, ba) can be calculated by using the below formula and conversion factors. The other
coefficients (cp, ca) are 24 bits offset value, so raw digit stored in registers can be used.
K=A+
Conversion factor
K
2SMPB-02A
aa
S × OTP
32767
A
OTP
S
0.00E+00
4.20E-04
ba
-1.60E+02
8.00E+00
ca
Offset value with 24 bits length
ap
0.00E+00
3.00E-05
bp
3.00E+01
1.00E+01
cp
Offset value with 24 bits length
at
0.00E+00
bt
ct
23-16 bit
COE_PTAT11
COE_PR11
15-8 bit
7-0 bit
COE_PTAT31
COE_PTAT32
COE_PTAT21
COE_PTAT22
COE_PTAT12
COE_PTAT13
COE_PR31
COE_PR32
COE_PR21
COE_PR22
COE_PR12
COE_PR13
8.00E-11
COE_TEMP31
COE_TEMP32
-6.60E-06
1.60E-06
COE_TEMP21
COE_TEMP22
4.00E-02
8.50E-03
COE_TEMP11
COE_TEMP12
TEMP(PRESS)_TXDx : Temperature and Pressure data : TXD0, TXD1 or TXD2
This sensor holds ADC data with 22 to 24 bits accuracy. It can be obtained as each 24 bits data. If there are redundant data, the low
order positions will be filled by zero (0). The shaded regions as shown below are valid data area.
Only TEMP_TXD0 and PRESS_TXD0 can be accessed by the memory mapper method.
24
23
22
...
5
4
3
2
1
Note
22 bits output
bit
D21
D20
D19
...
D2
D1
D0
0
0
Temp/Press_ave = 001
23 bits output
D22
D21
D20
...
D3
D2
D1
D0
0
24 bits output
D23
D22
D21
...
D4
D3
D2
D1
D0
Temp/Press_ave = 010
Temp/Press_ave = 011 to 111
Note: 1. Dn (D23 to D0) : Sensor Data ……The value of n bit (1 or 0)
Note: 2. The raw measurement values are unsigned 24 bits values. The values need to do subtraction with 223 at 24 bits output mode. Here is a programing example
for Dt and Dp calculation.
Dt = ((TEMP_TXD2) <<16) + ((TEMP_TXD1) << 8) + (TEMP_TXD0) - pow(2,23)
Dp = ((PRESS_TXD2) <<16) + ((PRESS_TXD1) << 8) + (PRESS_TXD0) - pow(2,23)
10
2SMPB-02A
Digital Barometric Pressure Sensor
■ Implementing Register List
I2C
SPI
Addr. Addr.
TEMP_TXD0
0xFC 0x7C
R/-
t_txd0[7:0]
Temperature DATA [8:1] in 24 bits
00h
TEMP_TXD1
0xFB 0x7B
R/-
t_txd1[7:0]
Temperature DATA [16:9] in 24 bits
00h
TEMP_TXD2
0xFA 0x7A
R/-
t_txd2[7:0]
Temperature DATA [24:17] in 24 bits
00h
PRESS_TXD0
0xF9
R/-
p_txd0[7:0]
Pressure DATA [8:1] in 24 bits
00h
PRESS_TXD1
0xF8
0x78
R/-
p_txd1[7:0]
Pressure DATA [16:9] in 24 bits
00h
PRESS_TXD2
0xF7
0x77
R/-
p_txd2[7:0]
Pressure DATA [24:17] in 24 bits
00h
IO_SETUP
0xF5
0x75
R/W
t_stanby[2:0] : Standby time setting
spi3w : SPI mode setting (4-wire, 3-wire)
spi3_sdim
: Select output type of SDI terminal
00h
0x79
R/W
CTRL_MEAS
0xF4
0x74
R/W
DEVICE_STAT
0xF3
0x73
R/-
bit7
bit6
bit5
bit4
bit3
bit1
press_average[2:0]
measure
Descriptions
bit0
spi3_sdim
t_stanby[2:0]
temp_average[2:0]
bit2
spi3w
temp_average[2:0]
: Temperature Averaging Times
press_average[2:0]
power_mode[1:0]
: Pressure Averaging Times
power_mode[1:0]
: Power mode setting
otp_update
I2C_SET
0xF2
0x72
R/W
master_code[2:0]
IIR
0xF1
0x71
R/W
filter[2:0]
RESET
0xE0
0x60
-/W
reset[7:0]
CHIP_ID
0xD1
0x51
R/-
chip_id[7:0]
measure : Status of measurement
otp_update : Status of OTP data access
Initial
00h
00h
Master code setting at I2C HS mode
01h
IIR filter co-efficient setting
05h
When inputting "E6h", a software reset will be
occurred.
00h
CHIP_ID1 : 5C
5Ch
COE_PTAT32
0xB4
0x34
R/-
coe_ptat32[7:0]
2nd order correction coefficient of PTAT
: aa[7:0] in 16 bits
COE_PTAT31
0xB3
0x33
R/-
coe_ptat31[7:0]
2nd order correction coefficient of PTAT
: aa[15:8] in 16 bits
–
COE_PTAT22
0xB2
0x32
R/-
coe_ptat22[7:0]
correction coefficient of PTAT
: ba[7:0] in 16 bits
–
COE_PTAT21
0xB1
0x31
R/-
coe_ptat21[7:0]
correction coefficient of PTAT
: ba[15:8] in 16 bits
–
COE_PTAT13
0xAF 0x2F
R/-
coe_ptat13[7:0]
Offset value of PTAT
: ca[7:0] in 24 bits
–
COE_PTAT12
0xAE 0x2E
R/-
coe_ptat12[7:0]
Offset value of PTAT
: ca[15:8] in 24 bits
–
COE_PTAT11
0xAD 0x2D
R/-
coe_ptat11[7:0]
Offset value of PTAT
: ca[23:16] in 24 bits
–
COE_TEMP32
0xAC 0x2C
R/-
coe_temp32[7:0]
2nd order correction coefficient of Temperature
: at[7:0] in 16 bits
–
COE_TEMP31
0xAB 0x2B
R/-
coe_temp31[7:0]
2nd order correction coefficient of Temperature
: at[15:8] in 16 bits
–
COE_TEMP22
0xAA 0x2A
R/-
coe_temp22[7:0]
1st order correction coefficient of Temperature
: bt[7:0] in 16 bits
–
COE_TEMP21
0xA9
0x29
R/-
coe_temp21[7:0]
1st order correction coefficient of Temperature
: bt[15:8] in 16 bits
–
COE_TEMP12
0xA8
0x28
R/-
coe_temp12[7:0]
correction coefficient of Temperature
: ct[7:0] in 16bits
–
COE_TEMP11
0xA7
0x27
R/-
coe_temp11[7:0]
correction coefficient of Temperature
: ct[15:8] in 16 bits
–
COE_PR32
0xA6
0x26
R/-
coe_pr32[7:0]
2nd order correction coefficient of Pressure
: ap[7:0] in 16 bits
–
COE_PR31
0xA5
0x25
R/-
coe_pr31[7:0]
2nd order correction coefficient of Pressure
: ap[15:8] in 16 bits
–
COE_PR22
0xA4
0x24
R/-
coe_pr22[7:0]
1st order correction coefficient of Pressure
: bp[7:0] in 16 bits
–
COE_PR21
0xA3
0x23
R/-
coe_pr21[7:0]
1st order correction coefficient of Pressure
: bp[15:8] in 16 bits
–
COE_PR13
0xA2
0x22
R/-
coe_pr13[7:0]
Offset value of Pressure
: cp[7:0] in 24 bits
–
COE_PR12
0xA1
0x21
R/-
coe_pr12[7:0]
Offset value of Pressure
: cp[15:8] in 24 bits
–
COE_PR11
0xA0
0x20
R/-
coe_pr11[7:0]
Offset value of Pressure
: cp[23:16] in 24 bits
–
–
11
2SMPB-02A
Data
Register Name
2SMPB-02A
Digital Barometric Pressure Sensor
IO_SETUP : IO SETUP Register
Register Name
IO_SETUP
it7 to 5
bit3 to 4
bit2
bit1
bit0
I2C Addr.
SPI Addr.
Length
R/W
0xF5
0x75
8bits
R/W
bit7
bit6
bit5
t_stanby[2:0]
bit4
bit3
bit2
bit1
bit0
initial
–
–
spi3_sdim
–
spi3w
0x00
bit3
bit2
bit1
bit0
initial
t_stanby[2:0] : Standby time setting
000
001
010
011
100
101
110
111
1 ms
5 ms
50 ms
250 ms
500 ms
1s
2s
4s
Reserved : keep these bits at 0
spi3_sdim[2] : Select output type of SDI terminal
0 : Lo / Hiz output
1 : Lo / Hi output
Reserved : keep this bit at 0
spi3w[0] : Change mode between SPI 4-wire and SPI 3-wire
0 : 4-wire (Default)
1 : 3-wire
CTRL_MEAS : Measurement Condition Control Register
Register Name
CTRL_MEAS
I2C Addr.
SPI Addr.
Length
R/W
0xF4
0x74
8bits
R/W
bit7
bit6
bit5
bit4
temp_average[2:0]
press_average[2:0]
power_mode[1:0]
0x00
bit7, 6, 5 temp_average[2:0] Averaging times setting for Temperature measurement (skip means no measurement.)
000
001
010
011
100
101
110
111
skip
1
2
4
8
16
32
64
bit4, 3, 2 press_average[2:0] Averaging times setting for Pressure measurement (skip means no measurement.)
2SMPB-02A
bit1, 0 power_mode[1:0]
000
001
010
011
100
101
110
111
skip
1
2
4
8
16
32
64
Operation mode setting
00
: Sleep mode
01, 10 : Forced mode
11
: Normal mode
DEVICE_STAT : Device Status Register
Register Name
DEVICE_STAT
I2C Addr.
SPI Addr.
Length
R/W
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
initial
0xF3
0x73
8bits
R
–
–
–
–
measure
–
–
otp_update
0x00
bit7 to 4 Reserved : keep these bits at 0
bit3
measure
Device operation status. This value automatically changes.
0:
Finish a measurement -- waiting for next measurement
1:
On a measurement -- waiting for finishing the data store
bit2, 1
Reserved : keep these bits at 0
bit0
otp_update
The status of OTP data access. This value automatically changes.
0:
No accessing OTP data
1:
While accessing OTP data
12
2SMPB-02A
Digital Barometric Pressure Sensor
IIR : IIR filter co-efficient setting Register
Register Name
I2C Addr.
SPI Addr.
Length
R/W
bit7
bit6
bit5
bit4
bit3
0xF1
0X71
8bits
R/W
–
–
–
–
–
IIR
bit2
bit1
bit0
filter[2:0]
initial
0x05
bit7 to 3 Reserved : keep these bits at 0
bit2, 1, 0 filter[2:0]
IIR filter co-efficient setting
Write access to this register address, IIR filter will be initialized.
Note: Initial setting of the IIR filter coefficient is 32.
IN
OUT
1/N
Z-1
N-1
000
001
010
011
100
101
110
111
OFF
N=2
N=4
N=8
N = 16
N = 32
N = 32
N = 32
bit5
bit4
bit3
bit2
bit0
initial
RESET : Reset Control Register
Register Name
I2C Addr.
SPI Addr.
Length
R/W
0xE0
0x60
8bits
W
RESET
bit7 to 0 reset[7:0]
bit7
bit6
bit1
reset[7:0]
0x00
When input "E6h", the software reset will be effective.
Except for that, nothing is to happen.
CHIP_ID : Chip ID Confirmation Register
I2C Addr.
SPI Addr.
Length
R/W
0xD1
0x51
8bits
R
bit7 to 0 chip_id[7:0]
bit7
bit6
bit5
bit4
bit3
chip_id[7:0]
bit2
bit1
bit0
initial
0x5C
5C
2SMPB-02A
Register Name
CHIP_ID
13
2SMPB-02A
Digital Barometric Pressure Sensor
■ I2C Protocol
(1) I2C Slave Address
The 2SMPB-02 module I2C slave address is shown below.
I2C Slave Address (7 bits)
SDO
Bit
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Add[6]
Add[5]
Add[4]
Add[3]
Add[2]
Add[1]
Add[0]
R/W
High (1)
56h + R/W
Value
1
0
1
0
1
1
0
1/0
Low (0)
70h + R/W
Value
1
1
1
0
0
0
0
1/0
For example, in case of SDO = Low (0),
Write Access : Please set LSB of slave address as "0", then the address is E0h (1110_0000b). (70h<<1+WR(0))
Read Access : Please set LSB of slave address as "1", then the address is E1h (1110_0001b). (70h<<1+RD(1))
(2) I2C Access Protocol Examples
Symbol
Condition
START
START condition
STOP
STOP condition
Re-START
Re-START condition for Read
SACK
Acknowledge by Slave
MACK
Acknowledge by Master
MNACK
Not Acknowledge by Master
(3) Register Write Access Protocol
After the START condition, a Device Address is sent. This address is seven bits long followed by an eighth bit which is a data direction
bit. A 'zero' indicates a transmission "WRITE". After that, the register address and the writing data shall be one set and it should be
continuously transmitted until a STOP condition. A data transfer is always terminated by a STOP condition generated by the master.
SCL
SDA
7
6
Start
5
4
3
2
1
Device Address
7
6
5
4
0
0
3
2
1
ACK
0
2SMPB-02A
Register Address
7
6
5
4
7
6
5
ACK
3
2
1
0
Register Address
4
3
2
1
0
Write Data
7
6
5
ACK
4
ACK
3
2
1
---
0
ACK - - -
Write Data
ACK
Stop
Black characters: Master --> Slave / Blue characters: Slave --> Master
(4) Register Read Access Protocol
After a START condition, the Device Address with WRITE sign ("0") and Word Address intended to read a first data are transmitted.
Next, "STOP-START" or "Re-START" condition are transmitted by the master. After that, Device Address with READ sign ("1") is transmitted by the master. Then, the slave will output the first data that is intended to read. In case of incrementing Register Address automatically, the slave will output the data repeatedly until NACK is input by the master. If Register Address becomes "0xFF", please
continue to output "0xFF". Below example shows 3 bytes reading method from "0xFA" register.
SCL
SDA
7
6
Start
5
4
3
2
Device Address
7
6
Start
5
4
3
6
5
4
3
0
0
2
1
Device Address
7
2
1
7
6
ACK
0
1
Read Data of "0xFB"
14
1
6
ACK
3
2
1
0
5
4
3
2
ACK
1
0
Read Data of "0xFA"
7
ACK
4
Word Address "0xFA"
7
0
5
6
5
4
3
2
Read Data of "0xFC"
ACK
1
0
NACK
Stop
2SMPB-02A
Digital Barometric Pressure Sensor
■ SPI Protocol
(1) SPI write
"SPI Write" needs to transmit the one set data of Register Address (Ctl.="0"+Address) and a writing data in the situation where CSB is
"L". Two or more writing can be possible during CSB is "L". If CSB becomes "H", SPI communication will finish. (as well as I2C write)
CSB
---
SCK
SDI/O
Start
0
---
---
Address (7bit)
Write Data (8bit)
0
---
---
Address (7bit)
---
Write Data (8bit)
Stop
(2) SPI read
First, "SPI read" needs to transmit Register Address (Ctl.="1"+Address) in a situation where CSB is "L".
Next, the data of the requested register address will be output from SDO. (in case of 3-wire mode, the data will be output from SDI).
After that, the register address is automatically incremented by one until CSB becomes "H", the device will output the data repeatedly.
(as well as I2C read)
Below shows an example of the 2 bytes reading from "0xFA" register.
CSB
SCK
SDI/O
--Start
1
Address"0x7A"(7bit)
---
---
Read Data of "0x7A"
Read Data of "0x7B"
Stop
■ Interface specifications
(1) I2C timings
All timings apply to 100 kbps (at Standard Mode) and 400 kbps (at Fast Mode).
For I2C timings, the following abbreviations are used :
*1 : S&F Mode = standard and fast mode
*2 : Cb = bus capacitance on SDI line
All other naming refers to I2C specification 2.1 (January 2000).
tBUF
tLOW
2SMPB-02A
SDA
tf
SCL
tHDSTA
tHDDAT
tr
tHIGH
tSUDAT
SDA
tSUSTA
tSUSTO
Undescribed items and symbols are compliant with the I2C specification.
Items
Symbol
SDA setup time
tSUDAT
SDA hold time
tHDDAT
Min.
Typ.
Max.
Units
S&F Mode *1
Condition
160
–
–
ns
S&F Mode, Cb *2 ≤ 100 pF
80
–
–
ns
S&F Mode, Cb *2 ≤ 400 pF
90
–
–
ns
Remark
15
2SMPB-02A
Digital Barometric Pressure Sensor
(2) SPI timings
All timings apply both to 4-wire and 3-wire SPI.
In 4-wire mode, SDO terminal has to be pull up to Vio via the resister.
On the other hand, in 3-wire mode, SDI has to be pull up to Vio.
t_csb_hi
CSB
t_setup_csb
t_high_sck
t_low_sck
t_hold_csb
SCK
t_setup_sdi t_hold_sdi
MSB
IN
SDI
LSB
IN
t_delay_sdo
Voh_d1orVoh_d2
LSB
OUT
SDO
Vol_d2
Items
2SMPB-02A
SCK frequency
Symbol
Condition
f_spi
Min.
Typ.
Max.
Units
–
–
400
kHz
SCK low pulse
t_low_sck
1,000
–
–
ns
SCK high pulse
t_high_sck
1,000
–
–
ns
SDI setup time
t_setup_sdi
20
–
–
ns
SDI hold time
t_hold_sdi
20
–
–
ns
SDO output delay
t_delay_sdo
CSB setup time
t_setup_csb
CSB hold time
CSB_HI time
Cb = 25 pF
–
–
30
ns
40
–
–
ns
t_hold_csb
40
–
–
ns
t_csb_hi
100
–
–
ns
■ Reset Function
The sensor is capable of resetting the operation with “Asynchronous Reset Terminal (RST pin)”.
The procedure is as follows: Input high voltage to RST pin. (100 µs ≥)
Turn off (input low voltage) and wait 10 ms.
Reset sequence
VDD/VDDIO
RST
Logic reset
IO state
POR
reset
disable
10 ms
16
enable
disable
100 µs 0 s ≥
enable
10 ms
Remark
2SMPB-02A
Digital Barometric Pressure Sensor
Packaging
■ Configuration of shipment
Packaging
Embossed Carrier Tape
Quantity
3,500 pcs / 1 reel
1 reel / 1 Interior box
Max. 20 Interior boxes / 1 exterior box
Reel
180 mm dia.
Insert method
see below
Note: Specification of taping & reel comply with JIS C 0806-3 (IEC 60286-3).
■ Taping
Emboss pitch 4 mm type & tape width 8 mm type.
1.5+0.1
0 dia.
P0
B
P2
0.20±0.05
E1
F
W
E2
A
2.95
2.85±0.05
A
G
P1
B
1.05±0.05 dia.
1.14±0.05
B-B cross-section
2.45
0.1
2SMPB-02A
2.35±0.05
A-A cross-section
Symbol
Rating
W
8.0 +0.03/-0.1
E1
1.75 +/-0.1
F
3.50 +/-0.05
P0
4.0 +/-0.1
P1
4.0 +/-0.1
P2
2.00 +/-0.05
Trailer (no Sensor)
> 160 mm
Embossed Carrier Tape
Sensor housing unit
Leader (no Sensor)
> 400 mm
No Sensor unit
> 100 mm
1 pin Mark
Cover Tape
Direction to pull out
17
2SMPB-02A
Digital Barometric Pressure Sensor
■ Reel
Direction to pullout
Label
Reel 180 mm dia.
comply with JIS C 0806-3 requirements
■ Individual packaging
Aluminium-laminated bag
Label
Reel
2SMPB-02A
Aluminium-laminated bag
Label
18
2SMPB-02A
Digital Barometric Pressure Sensor
Recommended Soldering Method
■ Soldering method
Air Reflow ( Max. 2 times)
■ Condition of Temperature
Max. 260°C, within 40 seconds
■ Recommended Soldering Method
Temperature profile conditions of reflow soldering should set the temperature condition as shown in the below table and then confirm that
actual conditions are met them in the table.
T4
Temperature (°C)
T3
T2
t2
Soldering
T1
t1
Preheating
Time (s)
Item
Preheating (T1 to T2, t1)
Soldering (T3, t2)
Peak value (T4)
Terminal
150°C to 200°C
60 sec to 180 sec.
217°C min.
60 sec to 150 sec.
260°C
20 sec to 40 sec.
2SMPB-02A
• Since the pressure sensor chip is exposed to atmosphere, cleaning fluid shall not be allowed to enter inside the sensor's case.
• We recommend that it should be used the recommended mounting PAD dimensions for the land pattern.
19
2SMPB-02A
Digital Barometric Pressure Sensor
Safety Precautions
Precautions for Correct Use
General
(1) Please use Omron products in compliance with usage conditions including rating and performance.
(2) Please confirm fitness of Omron products in your application and use your own judgment to determine the appropriateness of using
them in such application. Omron shall not warrant the fitness of Omron products in customer application.
(3) Please confirm that Omron products are properly wired and installed for their intended use in your overall system.
(4) When using Omron products, please make sure to (i) maintain a margin of safety vis-à-vis the published rated and performance values, (ii) design to minimize risks to customer application in case of failure of Omron products, such as introducing redundancy, (iii)
introduce system-wide safety measures to notify risks to users, and (iv) conduct regular maintenance on Omron products and customer application.
(5) Omron products are designed and manufactured as general-purpose products for use in general industrial products. They are not
intended to be used in the following applications. If you are using Omron products in the following applications, Omron shall not provide any warranty for such Omron products.
a) Applications with stringent safety requirements, including but not limited to nuclear power control equipment, combustion equipment, aerospace equipment, railway equipment, elevator/lift equipment, amusement park equipment, medical equipment,
safety devices and other applications that could cause danger/harm to people's body and life
b) Applications that require high reliability, including but not limited to supply systems for gas, water and electricity, etc., 24 hour
continuous operating systems, financial settlement systems and other applications that handle rights and property
c) Applications under severe condition or in severe environment, including but not limited to outdoor equipment, equipment
exposed to chemical contamination, equipment exposed to electromagnetic interference and equipment exposed to vibration
and shocks
d) Applications under conditions and environment not described in specification
(6) In addition to the applications listed from (a) to (d) above, Omron products are not intended for use in automotive applications
(including two wheel vehicles). Please do NOT use Omron products for automotive applications. Please contact Omron sales staff
for products for automotive use.
2SMPB-02A
Handling
(1) Only air can be used as pressure media on the product directly. It is prohibited to use pressure media including corrosive gases (e.g.
organic solvents gases, sulfur dioxide and hydrogen sulfide gases), fluid and any other foreign materials.
(2) The products are not water proof. The product shall be kept dry in use excluding the sensor port.
(3) The product shall not be used under dew-condensing conditions. Frozen fluid on sensor chips may cause fluctuation of sensor output and other troubles.
(4) The product shall be used within rated pressure. Usage at pressure out of the range may cause breakage.
(5) The product may be damaged by static electricity. Charged materials (e.g. a workbench and a floor) and workers should provide
measures against static electricity, including ground connection.
(6) The product shall not be dropped and handled roughly.
(7) The product shall not be used under dusty or damp condition.
(8) Do not wash the print circuit board after the pressure sensor is mounted using solvent. It may cause a mal-function.
(9) Please connect the sensor terminals according to the connection diagram.
(10) The product shall not be used under high-frequency vibration including ultrasonic wave.
(11) This product uses the elastic adhesive for bonding the lid, so do not add excessive stress to the lid.
(12) If soldering is not fit, then this product may catch fire or get hot.
(13) There is a possibility that the peripheral circuit board or some electronic part generates heat while driving this product. Please handle with care.
(14) Do not tear down this product.
(15) Please do not use the sensor after following case;
- excessive shock added to the terminal of the sensor
- the sensor lid decapped
- the sensor dropped
(16) If you use other conditions described in this document, please check yourself in advance.
Environmental conditions for transport and storage
(1)
(2)
(3)
(4)
(5)
(6)
20
The product shall not be kept with corrosive gases (e.g. organic solvents gases, sulfur dioxide and hydrogen sulfide gases).
The products are not water proof. The product shall be kept dry during storage.
The outer box strength may be degraded depending on the storage conditions. Please use the product in order.
For this product, please keep away from direct sunlight or ultraviolet rays.
The product shall be kept in appropriate conditions of temperature and humidity.
The product shall not be kept under dusty or damp condition.
Digital Barometric Pressure Sensor
2SMPB-02A
2SMPB-02A
• Application examples provided in this document are for reference only. In actual applications, confirm equipment functions and safety before using the product.
• Consult your OMRON representative before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad
systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems or equipment that may have a serious
influence on lives and property if used improperly. Make sure that the ratings and performance characteristics of the product provide a margin of safety for the system or
equipment, and be sure to provide the system or equipment with double safety mechanisms.
Note: Do not use this document to operate the Unit.
OMRON Corporation
Electronic and Mechanical Components Company
Contact: www.omron.com/ecb
Cat. No. A251-E1-01
0516(0516)(O)
21