89BSD CALCULATION METHOD APPLICATION NOTE

Similar documents
ADVANCED INFORMATION MS4525HRD (High Resolution Digital)

MS4525HRD (High Resolution Digital) Integrated Digital Pressure Sensor (24-bit Σ ADC) Fast Conversion Down to 1 ms Low Power, 1 µa (standby < 0.15 µa)

TEMPERATURE COMPENSATION FOR MEAS PRESSURE SENSORS APPLICATION NOTE

MS BA07 Pressure sensor for harsh environment

MS BA Altimeter and diving pressure sensor

MS BA01. PHT Combination Sensor SPECIFICATIONS

MS BA Micro Altimeter Module

MS BA01 Miniature Altimeter Module

MS4525HRD (High Resolution Digital)

MS BA Miniature 30 bar Module

MS BA01 PTH Fusion Sensor

MS BA03 Low Voltage Barometric Pressure Sensor

MS BA01 Variometer Module, with LCP cap

MS BA01 Miniature Altimeter Module

MS BA03 Barometric Pressure Sensor, with stainless steel cap

MS BA Miniature 14 bar Module

MS BA Miniature Altimeter and Diving Module

MS BA01 Miniature Altimeter Module

MS BA03 Low Voltage Barometric Pressure Sensor

Temperature Compensation for MEAS Pressure Sensors

MS BA Miniature 30 bar Industrial Pressure Sensor

MS BA01 Miniature Altimeter Module

KMT32B Magnetic Angle Sensor

PRELIMINARY. Resolution (OSR=8192) 0.2 mbar Accuracy 0 C to +40 C, mbar. 0 to 6 bar (2) Response time (1)

MS BA Miniature 30 bar Industrial Pressure Sensor

HR-Z SERIES Mild Radiation Resistance LVDT

PRELIMINARY. MS BA Ultra Small Gel Filled Pressure Sensor DESCRIPTION FEATURES

MS BA. Ultra Small Gel Filled Pressure Sensor SPECIFICATIONS

MS BA Miniature Altimeter Module

KMT37 Angular Sensor DESCRIPTION

Model TS105-10L5.5mm Thermopile Sensor

NOTE: Performing this procedure invalidates the factory calibration!!

POLE WHEELS. Where the shaft is very large a cost-effective alternative is to add a pole band (see following section).

MS BA. Ultra Small Gel Filled Pressure Sensor SPECIFICATIONS

Model TS318-11C55 Thermopile Sensor

Route and retain the clinometer cable so that it does not interfere with moving parts where the unit is mounted.

KMT32B Magnetic Angle Sensor

KMT32B Magnetic Angle Sensor

LV5217GP. Specifications. Bi-CMOS IC 3ch LED Driver. Absolute Maximum Ratings at Ta = 25 C. Ordering number : ENA0833A.

Miniature SPI Digital Barometer

Replacing ATA5567/T5557/ TK5551 with ATA5577. Application Note. Replacing ATA5567/T5557/TK5551 with ATA5577

ATtiny bit AVR Microcontroller with 16K Bytes In-System Programmable Flash DATASHEET APPENDIX B. Appendix B ATtiny1634 Specification at 125 C

Differential Pressure Sensor

DATA SHEET. Thermocouple module with digital I²C-Interface - THMOD-I²C. Characteristic features. Areas of application. Features.

Low Pressure Sensor Amplified Analog Output SM6295-BCM-S

ISSP User Guide CY3207ISSP. Revision C

Recovering MC56F8300 Family Devices from Extreme RFI

Atmel ATtiny87/ATtiny167

i.mx 6 Temperature Sensor Module

KMZ10CM Linear Field Sensor

5 V 64K X 16 CMOS SRAM

Grabber. Technical Manual

8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash. ATtiny25 ATtiny25V. Appendix B. Appendix B ATtiny25/V Specification at +125 C

User Manual. 1000BASE-T1 SFP Module

Data byte 0 Data byte 1 Data byte 2 Data byte 3 Data byte 4. 0xA Register Address MSB data byte Data byte Data byte LSB data byte

ATtiny87/ATtiny167. Appendix A - ATtiny87/ATtiny167 Automotive Specification at 150 C DATASHEET. Description

AN2970 Application note

PTC-TestBench-Magnetic

3.3 V 256 K 16 CMOS SRAM

Small Gage Pressure Sensor

onlinecomponents.com

SERIALLY PROGRAMMABLE CLOCK SOURCE. Features

Operating Characteristics Table 1. Operating Characteristics (V S = 3.0 Vdc, T A = 25 C unless otherwise noted, P1 > P2) Characteristic Symbol Min Typ

Interval and Wipe/Wash Wiper Control IC with Delay U641B

PTC04-DB-HALL02. Daughter Board for Melexis PTC devices. Features and Benefits. Applications. Ordering Information. Accessories. 1. Functional Diagram

ATmega16M1/32M1/32C1/64M1/64C1

3.3 V 64K X 16 CMOS SRAM

Small, Gauge Pressure Sensor

THERMOPILE SENSOR FOR CONTACTLESS TEMPERATURE

AN2044 APPLICATION NOTE

5.0 V 256 K 16 CMOS SRAM

VFD- RoHS Compliant M0116MY-161LSBR2-1. User s Guide. (Vacuum Fluorescent Display Module) For product support, contact

Inbuilt Modbus Protocol

3WHB10K 3-WIRE HALF BRIDGE TERMINAL INPUT MODULE INSTRUCTION MANUAL

Small Absolute Pressure Sensor

NV Electronically Programmable Capacitor

Keywords: sensor compensation, integrated circuit, ic, compensation algorithm, piezoresistive, prt, pressure sensors, temperature

TONE CONTROL AND SURROUND DIGITALLY CONTROLLED AUDIO PROCESSOR WITH AGC PS1 AGC LP L-IN1 R-IN1 L-IN2 R-IN2 L-IN3 R-IN3 L-IN4 R-IN4 L-IN5 R-IN5 L-MUX

200 kpa On-Chip Temperature Compensated Silicon Pressure Sensors

AN922 Application note

54AC174/54ACT174 Hex D Flip-Flop with Master Reset

Ultra-Small Footprint N-Channel FemtoFET MOSFET Test EVM

LABORATORY MANUAL MICROPROCESSOR AND MICROCONTROLLER

Space Products. Technical Note. Package Thermal Characteristics in a Space Environment. 1. Introduction

Medium Pressure Sensor Analog Output

SM98A Harsh Media Backside Absolute Pressure Series

MAX31855 Cold-Junction Compensated Thermocouple-to-Digital Converter

PART TEMP RANGE PIN-PACKAGE

LME series digital low differential pressure sensors

AN3002 Thermocouple measurement

OEM Silicon Pressure Die

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION PLASTIC N SUFFIX CASE 648

MM74C912 6-Digit BCD Display Controller Driver MM74C917 6-Digit Hex Display Controller Driver

PRODUCT OVERVIEW REF. IN 16 BIPOLAR OFFSET 17 REGISTER 74LS75 REGISTER 74LS75 BITS LSB

54AC258 54ACT258 Quad 2-Input Multiplexer with TRI-STATE Outputs

8-BIT SYNCHRONOUS BINARY UP COUNTER

GR16. Technical Manual. 10 M SPS, 16-bit Analog Signal Digitizer up to 8MB FIFO

HIGH VOLTAGE HALL EFFECT LATCH General Description. Features. Applications

ORDERING INFORMATION # of Ports Pressure Type Option Device Name

SPECIFICATION. Messrs. DATE 20 June, 2013 No. V AP4, AG4 Pressure Sensor

Transcription:

FUNCTIONAL DESCRIPTION GENERAL The 89BSD consists of a piezoresistive sensor and a sensor interface IC. The main function of the sensor interface IC is to convert the uncompensated analogue output voltage from the piezoresistive 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 Every module is individually factory calibrated at seven points of various temperature and pressures. As a result, coefficients necessary to compensate for process variations and temperature variations are calculated and stored in the 128-bit PROM of each module. These bits partitioned into 7 pressure coefficients (C0 to C6) and 3 temperature (A0 to A2) which must be read by the microcontroller software and used in the program converting D1 and D2 into compensated pressure and temperature values. I 2 C mode The external microcontroller clocks in the data through the input SCLK (Serial CLocK) and SDA (Serial DAta). The sensor responds on the same pin SDA which is bidirectional for the I 2 C bus interface. So this interface type uses only 2 signal lines and does not require a chip select, which can be favorable to reduce board space. In I 2 C-Mode the complement of the pin CSB (Chip Select) represents the LSB of the I 2 C address. Address (7 bits) CSB PIN 0x77 (11111 b) Commands The 89BSD has only five basic s: 1. Reset 2. Read PROM (128 bit of calibration words) 3. D1 conversion 4. D2 conversion 5. Read ADC result (24 bit pressure / temperature) Size of each is 1 byte (8 bits) as described in the table below. After ADC read s the device will return 24 bit result and after the PROM read 16bit result. The address of the PROM is embedded inside of the PROM read using the a2, a1 and a0 bits. TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 1

Command byte hex value Bit number 0 1 2 3 4 5 6 7 Bit name PRM COV - Typ Ad2/O Ad1/O Ad0/O Stop s2 s1 s0 Command Reset 0 0 0 1 1 1 1 0 0x1E Convert D1 (OSR=256) 0 1 0 0 0 0 0 0 0x40 Convert D1 (OSR=) 0 1 0 0 0 0 1 0 0x42 Convert D1 (OSR=24) 0 1 0 0 0 1 0 0 0x44 Convert D1 (OSR=2048) 0 1 0 0 0 1 1 0 0x46 Convert D1 (OSR=4096) 0 1 0 0 1 0 0 0 0x48 Convert D2 (OSR=256) 0 1 0 1 0 0 0 0 0x50 Convert D2 (OSR=) 0 1 0 1 0 0 1 0 0x52 Convert D2 (OSR=24) 0 1 0 1 0 1 0 0 0x54 Convert D2 (OSR=2048) 0 1 0 1 0 1 1 0 0x56 Convert D2 (OSR=4096) 0 1 0 1 1 0 0 0 0x58 ADC Read 0 0 0 0 0 0 0 0 0x00 PROM Read 1 0 1 0 Ad2 Ad1 Ad0 0 0xA0 to 0xAE CONVERSION SEQUENCE Figure 1: Command structure The conversion is used to initiate uncompensated pressure (D1) or uncompensated temperature (D2) conversion. The chip select can be disabled during this time to communicate with other devices. After the conversion, using ADC read the result is clocked out with the MSB first. If the conversion is not executed before the ADC read, or the ADC read is repeated, it will give 0 as the output result. If the ADC read is sent during conversion the result will be 0, the conversion 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. SCLK 0 1 2 3 4 5 6 7 CSB SDI SDO 8.22ms ADC CONVERSION PS Figure 2: Conversion out sequence, Typ=d1, OSR = 4096 SCLK 0 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 27 28 29 30 31 CSB SDI SDO PS Figure 3: ADC Read sequence READING 24BIT ADC RESULT MSB FIRST TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 2

PROM READ SEQUENCE The read for PROM shall be executed once after reset by the user to read the content of the calibration PROM and to calculate the calibration coefficients. There are in total 8 addresses resulting in a total memory of 128 bit. Address 0 contains factory data and the setup, addresses 1-6 calibration coefficients and address 7 contains the serial code and CRC. The sequence is 8 bits long with a 16 bit result which is clocked with the MSB first. SCLK 0 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 CSB SDI SDO READING 16BIT PROM VALUE MSB FIRST PS I2C INTERFACE COMMANDS Figure 4: PROM Read sequence, address = 011 (Coefficient 3). Each I 2 C communication message starts with the start condition and it is ended with the stop condition. The 89BSD address is 1111Cx, where C is the complementary value of the pin CSB. Reset sequence The reset can be sent at any time. In the event that there is not a successful power on reset this may be caused by the SDA being blocked by the module in the acknowledge state. The only way to get the 89BSD to function is to send several SCLKs followed by a reset sequence or to repeat power on reset. 1 1 1 0 1 1 CSB 0 0 0 0 0 1 1 1 1 0 0 S W A cmd byte A P Figure 5: I 2 C Reset Command Conversion sequence A conversion can be started by sending the to 89BSD. When 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, when an acknowledge appears from the 89BSD 24 SCLK cycles may be sent to receive all result bits. Every 8 bit the system waits for an acknowledge signal. TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 3

1 1 1 0 1 1 CSB 0 0 0 1 0 0 1 0 0 0 0 S W A cmd byte A P Figure 6: I 2 C Command to initiate a pressure conversion (OSR=4096, typ=d1) 1 1 1 0 1 1 CSB 0 0 0 0 0 0 0 0 0 0 0 S W A cmd byte A P Figure 7: I 2 C ADC read sequence 1 1 1 0 1 1 CSB 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 data data data S R A Data 23-16 A Data 8-15 A Data 7-0 N P Figure 8: I 2 C pressure response (D1) on 24 bit from 89BSD PROM Read Sequence The PROM Read consists of two parts. First sets up the system into PROM read mode. The second part gets the data from the system. 1 1 1 0 1 1 CSB 0 0 1 0 1 0 0 1 1 0 0 S W A cmd byte A P Figure 9: I 2 C Command to read memory address= 011 (Coefficient 3) Figure : I 2 C answer from 89BSD CYCLIC REDUNDANCY CHECK (CRC) 89BSD contains a PROM memory with 128-Bit. A 4-bit CRC has been implemented to check the data validity in memory. The application note AN520 describes in detail CRC-4 code used. TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 4

PRESSURE AND TEMPERATURE CALCULATION Start Maximum values for calculation results: PMIN= 0 bara, PMAX=Product pressure (e.g. for 89BSD-012BA, PMAX=12barA) T MIN = -20 C T MAX = 85 C Convert Read calibration data data into (factory coefficients calibrated) (see bit from pattern PROM of W1 to [2] W4) Variable C0 Description Equation Bridge Offset Recommended Variable Type Size [1] Value [Bit] Min Max 14-8192 8192 Example / Typical -5242 C1 Gain 14-8192 8192 4172 C2 Non-linearity 2 nd order 80 C3 C4 Temperature coefficient, Bridge offset 1 st order Temperature coefficient, Bridge offset 2 nd order -77 67 C5 Temperature coefficient, Gain 1 st order -2 C6 A0 Temperature coefficient, Gain 2 nd order Temperature coefficient 1 of the temperature 222-276 A1 Temperature coefficient 2 of the temperature 360 A2 Temperature coefficient 3 of the temperature -190 Read digital pressure and temperature data D1 Digital pressure value Unsigned long 24 0 16777216 8128896 D2 Digital temperature value Unsigned long 24 0 16777216 2865097 Calculate temperature Actual temperature (-20 85 with 0.01 resolution) TEMP TEMP=A0/3+A1*2*D2/2 24 +A2*2*(D2/2 24 ) 2 Double 32 19.87 Note: Earlier iterations of this product used formula TEMP = A0/5+A1... Calculate temperature compensated pressure Y Y=(D1+C0*2 Q0 +C3*2 Q3 *D2/2 24 +C4*2 Q4 *(D2/2 24 ) 2 ) /(C1*2 Q1 +C5*2 Q5 *D2/2 24 +C6*2 Q6 *(D2/2 24 ) 2 ) Double 32 0.7673 P P=Y*(1-C2*2 Q2 /2 24 ) + C2*2 Q2 /2 24 *Y 2 Double 32 0.7669 Pressure Pressure= (P-0.1)/0.8*(PMAX-PMIN) + PMIN Double 32.003 Display pressure and temperature value Figure 11: Flow chart for pressure and temperature reading and software compensation. TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 5

MEMORY MAPPING [2] Memory mapping Address 15 14 13 12 11 9 8 7 6 5 4 3 2 1 0 1 C013 C012 C011 C0 C009 C008 C007 C006 C005 C004 C003 C002 C001 C000 C113 C112 2 C111 C1 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0 C209 C208 C207 C206 3 C205 C204 C203 C202 C201 C200 C309 C308 C307 C306 C305 C304 C303 C302 C301 C300 4 C409 C408 C407 C406 C405 C404 C403 C402 C401 C400 C509 C508 C507 C506 C505 C504 5 C503 C502 C501 C500 C609 C608 C607 C606 C605 C604 C603 C602 C601 C600 A009 A008 6 A007 A006 A005 A004 A003 A002 A001 A000 A9 A8 A7 A6 A5 A4 A3 A2 7 A1 A0 A209 A208 A207 A206 A205 A204 A203 A202 A201 A200 CRC Q FACTOR Figure 12: Memory mapping. Q factor for temperature Compensated pressure calculation Q0 9 Q1 11 Q2 9 Q3 15 Q4 15 Q5 16 Q6 16 Notes [1] Maximal size of intermediate result during evaluation of variable [2] All coefficients are 2 s complement format TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 6

APPLICATION CIRCUIT The 89BSD is a circuit that is to be used in conjunction with a microcontroller and a 3V DC supply. Figure 13: Typical application circuit for I²C protocol communication NORTH AMERICA EUROPE ASIA Measurement Specialties, a TE Connectivity Company 45738 Northport Loop West Fremont, CA 94538 Tel: 1-800-767-1888 Fax: 1-5-498-1578 Sales: customercare.frmt@te.com te.com/sensorsolutions Measurement Specialties, Inc., a TE Connectivity company. Measurement Specialties (MEAS), American Sensor Technologies (AST), TE Connectivity, TE Connectivity (logo) and EVERY CONNECTION COUNTS are trademarks. All other logos, products and/or company names referred to herein might be trademarks of their respective owners. The information given herein, including drawings, illustrations and schematics which are intended for illustration purposes only, is believed to be reliable. However, TE Connectivity makes no warranties as to its accuracy or completeness and disclaims any liability in connection with its use. TE Connectivity s obligations shall only be as set forth in TE Connectivity s Standard Terms and Conditions of Sale for this product and in no case will TE Connectivity be liable for any incidental, indirect or consequential damages arising out of the sale, resale, use 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. 2016 TE Connectivity Ltd. family of companies All Rights Reserved. Measurement Specialties (Europe), Ltd., a TE Connectivity Company 26 Rue des Dames 78340 Les Clayes-sous-Bois, France Tel: +33 (0) 130 79 33 00 Fax: +33 (0) 134 81 03 59 Sales: customercare.lcsb@te.com Measurement Specialties (China), Ltd., a TE Connectivity Company No. 26 Langshan Road Shenzhen High-Tech Park (North) Nanshan District, Shenzhen 518057 China Tel: +86 755 3330 5088 Fax: +86 755 3330 5099 Sales: customercare.lcsb@te.com TE CONNECTIVITY SENSORS /// APP-006 89BSD Calculation Method 09/2017 Page 7