Fig.1 shows the internal cross-section view of the MEMS differential pressure sensor (D6F-PH). Air will flow from one inlet and out the other passing over the MEMS flow chip surface. The MEMS chip is able to measure the airflow as air passes over the chip.
4. Principle of Pressure detection By using a thermal mass flow sensor, Omron’s MEMS differential pressure sensor can detect fine changes in differential pressure. Fig. 3 Principle of differential pressure sensor (a) and relationship between flow rate and differential pressure (b) 5.
Page 5
Supply Voltage Current Consumption Vcc=3.3V、25degC Frequency of SCL FAST Mode (Note)Span accuracy and zero point accuracy are the independence errors, and are not satisfied at the same time. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Lower Pressure side Fig. 5 Recommended tube connection method of D6F-PH Here, the inner diameter of the bypass tube which is connected to the D6F-PH is 4[mm] and its length is 800[mm] or less. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
6-2. Electrical connection method of D6F-PH For the I2C output, the D6F-PH will require a pull-up resistor to each clock line(SCL) and data line (SDA). A pull-up resistor of 2.2[kΩ] (recommended value) should be implemented between the Vcc as shown in Fig.6. In addition, please adjust the pull-up resistor’s value depending on the transfer rate of SCL and the I2C wire length.
Page 9
Read Buffer 2 Data read from Address + 2 Read Buffer 3 Data read from Address + 3 Initialize Power Sequence Hardware reset control Upper byte:bit[15:8] of 16bit data, Lower byte:bit[7:0] of 16bit data D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
For read requests the bridge controller stores the read data into data buffer. • D_byte_cnt3 [3:0] Transfer data byte count. It only supports 1, 2, 3, 4 data byte transfer. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
This hardware reset function is similar to the power reset function. Notes · When using hardware reset, set bits 0 to 6 to “0”. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
This data will be stored in serial D8h (6Ch (7b)+ 0) configuration register “07h” & “08h” .(Read Buffer 0 / Read Buffer 1) Re-Start Slave Address Read Data H Read Data L STOP D9h (6Ch (7b)+ 1) D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
MS – MCU start – Begin execution of measurement or MCU mode based on the state of DV_PWR. • 0 = Stop Sequences are stopped and MCU clock is turned off. • 1 = Start The MCU clock is started and the MCU mode is executed. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
HV2 and OS2 are reserved bits. In case of write access, you should set to “0”. If you want to read flag register, it is recommended to read twice in order to avoid conflict with the MCU update. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
CRC8 polynomial x^8 + x^5 + x^4 + 1. The following is an example of I2C access 2 byte read using CRC function. Fig 9. Example of 2byte read with CRC Fig.8 Example of 2byte read with CRC D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Page 17
0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 0 0 0 1 Polynomial bit sequence i l bit Fig.9 XOR operation example of CRC-8 D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Where, Tv is Converted temperature value in the degC format, and Rv is Register content stored in the Temperature Data register. Note: Temperature data is for reference ONLY. Its accuracy is not specified in the device specifications. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Table14. Temperature Data registers content vs. Temperature value Address of Registers Value of Registers Converted Temperature values TMP_H TMP_L D061h D062h 2B8Dh 11149 25.0 degC 2EFFh 12031 48.6 degC 26BBh 9915 -8.0 degC D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Command of data acquisition Data acquisition Command of data acquisition β α Time Slave Start of data acquisition Start of data acquisition COMP_DATA Fig.11 Time axis image view of the differential pressure measurement D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
33ms. I2C command: Write 06h to the Sensor Control Register (D040h) (MS=1&MCU_on) START Slave Address Access Address Reg Address H Reg Address L D8h (6Ch (7b)+ 0) Serial Ctrl Write Data STOP D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Page 23
2byte of Compensated flow data. START Slave Address Access Address D8h (6Ch (7b)+ 0) Re-Start Slave Address Read Data H Read Data L STOP D9h (6Ch (7b)+ 1) D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
Page 24
I2C command: Write 80h to the Power Sequence Register (0Dh). START Slave Address Access Address Write Data STOP D8h (6Ch (7b)+ 0) The hardware reset after the execution, bit 7 is cleared to "0" automatically. D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)
10. Sample Source Code The following is a sample source code of the D6F-PH control in the case of using STM32microcontroller. The I2C control unit will need to be adjusted to whatever microcontroller is used. 10-1. D6F_PH_Sample.h /*=================================================*/ /* D6F-PH Digital Flow Sensor Header File (using STM32) * :Copyright: (C) OMRON Corporation, Microdevice H.Q.
(2) Please confirm the Fitness and decide whether or not Omron Products are able to be adopted in the User Application. (3) Omron will not warrant any items in 1.(5) (a) to (d) of User Application nor the Fitness. (4) If you use Omron Products in the application below, please ensure followings; (i) allowance...
Page 34
7. EXPORT CONTROLS Buyer shall comply with all applicable laws and regulations of Japan and/or other related countries at the time of export or provision to non-citizens of Omron Products or their technical information. EC200E D6F-PH MEMS Differential pressure Sensor User’s Manual (A288)