MS5637-02BA03
Low Voltage Barometric Pressure Sensor
SENSOR SOLUTIONS /// MS5637-02BA03
PRESSURE AND TEMPERATURE CALCULATION
Figure 2: Flow chart for pressure and temperature reading and software compensation.
Pressure sensitivity | SENS
T1
unsigned int 16 16 0 65535 46372
Pressure offset | OFF
T1
unsigned int 16 16 0 65535 43981
C3 Temperature coefficient of pressure sensitivity | TCS unsigned int 16 16 0 65535 29059
C4 Temperature coefficient of pressure offset | TCO unsigned int 16 16 0 65535 27842
C5
Reference temperature | T
REF
unsigned int 16 16 0 65535 31553
C6 Temperature coefficient of the temperature | TEMPSENS unsigned int 16 16 0 65535 28165
D1
Digital pressure value unsigned int 32 24 0 16777216 6465444
Digital temperature value unsigned int 32 24 0 16777216 8077636
Difference between actual and reference temperature
[2]
dT = D2 - T
REF
= D2 - C5 * 2
8
signed int 32 25 -16776960 16777216 68
2000
= 20.00 °C
OFF
Offset at actual temperature
[3]
OFF
= OFF
T1
+ TCO * dT = C2 * 2
17
+ (C4 * dT ) / 2
6
signed int 64 41 -17179344900 25769410560 5764707214
SENS
Sensitivity at actual temperature
[4]
SENS
= SENS
T1
+ TCS * dT = C1 * 2
16
+ (C3 * dT ) / 2
7
signed int 64 41 -8589672450 12884705280 3039050829
110002
= 1100.02 mbar
Notes
[1]
[2]
[3]
[4]
min and max have to be defined
min and max have to be defined
Maximal size of intermediate result during evaluation of variable
Recommended
variable type
Actual temperature (-40…85°C with 0.01°C resolution)
TEMP
= 20°C + dT * TEMPSENS = 2000 + dT * C6 / 2
23
Read digital pressure and temperature data
Temperature compensated pressure (10…1200mbar with
0.01mbar resolution)
P = D1 * SENS - OFF = (D1 * SENS / 2
21
- OFF) / 2
15
min and max have to be defined
Convert calibration data into coefficients (see bit pattern of W1 to W4)
Calculate temperature compensated pressure
Start
Maximum values for calculation results:
P
MIN
= 10mbar P
MAX
= 2000mbar
T
MIN
= -40°C T
MAX
= 85°C T
REF
= 20°C
Read calibration data (factory calibrated) from PROM
Read digital pressure and temperature data
Calculate temperature compensated pressure
Display pressure and temperature value