MS5837 30ba
MS5837 30ba
MS5837 30ba
SPECIFICATIONS
Ceramic - metal package, 3.3 x 3.3 x 2.75mm
High-resolution module 0.2 mbar
Fast conversion down to 0.5 ms
Low power, 0.6 µA (standby < 0.1 µA at 25°C)
Integrated digital pressure sensor (24 bit ΔΣ ADC)
Supply voltage 1.5 to 3.6 V
Operating range: 0 to 30 bar, -20 to +85 °C
2
I C interface
No external components (Internal oscillator)
Excellent long term stability
Hermetically sealable for outdoor devices
Sealing designed for 1.8 x 0.8mm O-ring
PERFORMANCE SPECIFICATIONS
ELECTRICAL CHARACTERISTICS
Parameter Symbol Conditions Min. Typ. Max Unit
Operating Supply voltage VDD 1.5 3.0 3.6 V
Operating Temperature T -20 +25 +85 °C
OSR
20.09
8192
10.05
4096
Supply current 5.02
IDD 2048 µA
(1 sample per sec.) 2.51
1024
1.26
512
0.63
256
Peak supply current during conversion 1.25 mA
Standby supply current at 25°C 0.01 0.1 µA
VDD Capacitor From VDD to GND 100 470 nF
(1): Maximum values must be applied to determine w aiting times in I2C communication
PERFORMANCE CHARACTERISTICS
FUNCTIONAL DESCRIPTION
GENERAL
The MS5837-30BA consists of a piezo-resistive sensor and a sensor interface IC. The main function of the
MS5837-30BA is to convert the uncompensat ed analogue out put voltage from the piezo -resistive pressure sensor
to a 24-bit digital value, as well as providing a 24-bit digital value for the temperature of the sensor.
FACTORY CALIBRATION
E very module is individually factory calibrated at two temperatures and two pressures. As a result, 6 coefficients
necessary to compensate for process variations and temperat ure variations are calc ulated and stored in the 112 -
bit PROM of each module. These bits (partitioned into 6 coefficients W1 to W6) must be read by the
microcontroller soft ware and used in the program converting D1 and D2 into compensated pressure and
temperature values.
The coefficients W0 is for factory configuration and CRC.
Start
Maximum v alues f or calculation results:
PMIN = 0 bar PMAX = 30 bar
T MIN = -20°C TMAX = 85°C TREF = 20°C
Read
Convert calibration
calibration data data (factory calibrated)
into coefficients fromofPROM
(see bit pattern W1 to W4)
[1]
Recommended Size Value Example /
Variable Description | Equation
variable type [bit] min max Typical
Read digital
Read digitalpressure andtemperature
pressure and temperature
datadata
Calculate temperature
[2]
Dif f erence between actual and ref erence temperature
dT signed int 32 25 -16776960 16777215 -5962
dT = D2 - TREF = D2 - C5 * 28
Actual temperature (-40…85°C with 0.01°C resolution) 1981
TEMP signed int 32 41 -4000 8500
TEMP = 20°C+dT*TEMPSENS = 2000+dT *C6 /2 23 = 19.81 °C
Calculate
Calculatetemperature compensated
temperature compensated pressure
pressure
Notes
[1] Maximal size of intermediate result during ev aluation of v ariable
[2] min and max hav e to be def ined
[3] min and max hav e to be def ined
[4] min and max hav e to be def ined
Flow chart for pressure and temperature reading and software compensation.
Yes No
(TEMP/ 100)< 20°C
Low temperature
Low temperature High temperature
Ti = 3 dT / 2 Ti = 2 dT2 / 237
2 33
Yes No
(TEMP/ 100) < -15°C
nd
Calculate pressure and temperature 2 order
OFF2 = OFF - OFFi
SENS2 = SENS - SENSi
I2C INTERFACE
COMMANDS
The MS5837-30BA has only five basic commands:
1. Reset
2. Read PROM (112 bit of calibration words)
3. D1 conversion
4. D2 conversion
5. Read ADC result (24 bit pressure / temperature)
2
Each I C communication message starts with the start condition and it is ended with t he stop condition. The
MS5837-30BA address is 1110110x (write: x=0, read: x=1).
Size of each command is 1 byte (8 bits) as described in the table below. After ADC read commands, the device
will return 24 bit result and after the PROM read 16 bit results. The address of the PROM is embedded inside of
the PROM read command using the a2, a1 and a0 bits.
Command structure
RESET SEQUENCE
The Res et sequenc e shall be sent once after power-on to make sure that the calibration PROM gets loaded into
the internal register. It can be also used to reset the device PROM from an unknown condition.
The reset can be sent at any time. In the event that there is not a successful power on res et this may be caused
by the SDA being blocked by the module in the acknowledge state. The only way to get the MS5837-30BA to
function is to send several SCLs followed by a reset sequence or to repeat power on reset.
1 1 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 0
Device Address command
S Device Address W A cmd byte A P
1 1 1 0 1 1 0 0 0 1 0 1 0 0 1 1 0 0
Device Address command
S Device Address W A cmd byte A P
2
I C Command to read memory address= 011
1 1 1 0 1 1 0 1 0 X X X X X X X X 0 X X X X X X X X 0
Device Address data data
S Device Address R A Memory bit 15 - 8 A Memory bit 7 - 0 N P
CONVERSION SEQUENCE
The conversion command is used to initiate uncompensated pressure (D1) or uncompensated temperature (D2)
conversion. After the conversion, using ADC read command the result is clocked out with the MSB first. If the
conversion is not executed before the ADC read command, or the ADC read command is repeated, it will give 0
as the output result. If the A DC read command is sent during conversion the result will be 0, the conversi on will
not stop and the final result will be wrong. Conversion sequence sent during the already started conversion
process will yield incorrect result as well. A conversion can be started by sending the command to MS5837 -30BA.
When command is sent to the system it stays busy until conversion is done. When conversion is finished the data
can be accessed by sending a Read command, when acknowledge is sent from the MS5837 -30BA, 24 S CL
cycles may be sent to receive all result bits. Every 8 bits the system wait s for an acknowledge signal.
1 1 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0
Device Address command
S Device Address W A cmd byte A P
1 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0
Device Address command
S Device Address W A cmd byte A P
1 1 1 0 1 1 0 1 0 X X X X X X X X 0 X X X X X X X X 0 X X X X X X X X 0
Dev ice A ddress data data data
S Dev ice A ddress R A Data 23-16 A Data 15 - 8 A Data 7 - 0 N P
C6 D D D D D D D D D D D D D D D D
B B B B B B
B B B B B B B B B B
1 1 1 1 1 1
9 8 7 6 5 4 3 2 1 0
5 4 3 2 1 0
0 CRC Factory defined
1 C1
2 C2
3 C3
4 C4
5 C5
6
unsigned char crc4(unsigned int n_prom[]) // n_prom defined as 8x unsigned int (n_prom[8])
{
int cnt; // simple counter
unsigned int n_rem=0; // crc remainder
unsigned char n_bit;
}
n_rem= ((n_rem >> 12) & 0x000F); // final 4-bit remainder is CRC code
return (n_rem ^ 0x00);
}
APPLICATION CIRCUIT
The MS5837 is a circuit that can be used in conjunction with a microcontroller in mobile altimeter applications.
1 GND GROUND
2 VDD POSITIVE SUPPLY
3 SCL I2C CLOCK
4 SDA I2C DATA
Package outlines and Pin configuration
SHIPPING PACKAGE
MOUNTING
The MS5837-30BA can be placed with automatic Pick & Place equipment using vac uum nozzles. It will not be
damaged by the vacuum. Due to the low stress assembly the sensor does not show pressure hysteresis effects. It
is important to solder all contact pads.
CONNECTION TO PCB
The package outline of the module allows the us e of a flexible P CB for interconnection. This can be important for
applications in watches and other special devices.
Please refer to the application note AN523 available on our website for O-ring mounting recommendations.
CLEANING
The MS 5837-30BA has been manufactured under clean-room conditions. It is therefore recommended to
assemble the sensor under class 10’000 or better conditions. Should this not be possible, it is recommended to
protect the sensor opening during assembly from entering particles and dust. To avoid cleaning of the P CB,
solder paste of type “no-clean” shall be used. Warning: cleaning might damage the sensor.
ESD PRECAUTIONS
The electrical contact pads are protected against ESD up to 2 kV HBM (human body model). It is therefore
essential to ground machines and personnel properly during assembly and handling of the device. The MS5837 -
30BA is shipped in antistatic transport boxes. Any test adapters or production transport boxes used during the
assembly of the sensor shall be of an equivalent antistatic material.
DECOUPLING CAPACITOR
Particular care must be taken when connecting the device to the power supply. A minimum of 100nF ceramic
capacitor must be placed as close as possible to the MS5837 -30BA VDD pin. This capacitor will stabilize the
power supply during data conversion and thus, provide the highest possible accuracy.
ORDERING INFORMATION
Part Number / Art. Number Product Delivery Form
MS583730BA01-50 MS5837-30BA Ultra Small Gel Filled Pressure Sensor Tape & Reel
TE.com /sensorsolutions
Measurement Specialties, Inc., a TE Connectivity company.
Measurement Speci alties, TE Connecti vity, TE Connecti vity (logo) and EVERY CONNECTION COUNTS are trademar ks. All other logos, products and/or company names referred to
herein might be trademarks of their respective owners.
The information given herein, includi ng drawings, illustrati ons and sc hematics which are i ntended for illustration purpos es o nl y, is believed to be reliable. H owever, TE Connecti vity makes
no warranties as to its accur ac y or c ompleteness and disclai ms any liability in c onnection with its us e. T E Connecti vity‘s obligations s hall onl y be as s et forth i n TE Connecti vity‘s Standard
Terms and Conditions of Sale for this product and in no c ase will TE Connecti vity be liable for any i ncidental, i ndirect or cons equential damages arising out of the sal e, resal e, us e or
misuse of the product. Users of TE Connectivity products should make their own evaluation to determine the suitability of each such product for the specific application.
© 2015 TE Connectivity Ltd. family of companies All Rights Reserved.
CDOC-DA-0093 4