This User's Manual note is intended to demonstrate how to use and interface with Omron’s
MEMS differential pressure sensor(D6F-PH). It should be noted that this document is intended
to supplement the datasheet, which should be referenced when using the sensor.
2. Structure
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.
Fig.1 the internal cross-section view of MEMS differential pressure sensor (D6F-PH)
proportional to the square root of
the gas flow rate through the
a conventional
square of the gas flow velocity
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. Features of Product
By using a thermal mass flow method, Omron’s MEMS differential pressure sensor is more
sensitive compared with that of a conventional differential pressure sensor in the low-pressure
range.
Blue:conventional method
Fig. 4 Comparison with conventional method and thermal mass flow method
When connecting the D6F-PH sensor in a bypass configuration, the sensor is able to
detect fine pressure changes. This is achieved by providing an orifice in the main channel,
which generates a small pressure change before and after the orifice. The D6F-PH will be
connected to the bypass flow path from the pressure port which is provided before and after
the orifice.
of main channel
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.
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.
Fig. 6 Electrical connection method of D6F-PH
* Precautions when connecting the flow sensor
An error may occur during communications due to the effect of the noise of the customer’s environment.
In such a case, check the following points, and correct the communications error.
(1) Checking the communications speed
This product supports an SCL frequency of up to 400 kHz, however, if there is a likelihood of
occurrence of a communications error, we recommend using the SCL frequency at 100 kHz.
(2) Checking the wiring cable
If the length of the cable used to connect the customer-controlled microcontroller and an OMRON
flow sensor is long, the effect of noise may be more prominent. In such a case, OMRON
recommends using a shielded cable.
(3) Checking the pull-up resistor’s value
A pull-up resistor is necessary for I2C communications of this product. Although the recommended
resistor value is 2.2[kΩ], please select the optimum resistor value according to the length of the cable
used to connect the customer-controlled microcontroller and the OMRON flow sensor. A
communications error is judged unless an ACK is returned from the sensor side. The ACK response
time is equal to one clock cycle of SCL. If an ACK response is not returned after this time has
elapsed, it results in a communications error. In such a case, turn off the device.
In case access to internal registers are needed, the target register’s address needs to be set
to the Interface Configuration Register (address:00h and 01h).
Control
R/W Data
No. of bytes (Max. 4)
Fig. 7 Configuration overview
Table5. Interface Configuration Register Map
Function Note
Upper byte:bit[15:8] of 16bit data, Lower byte:bit[7:0] of 16bit data
The access address registers are used to access internal register blocks including sensor
register map, ADC register map, and internal memory. It specifies the data transfer start address
with auto increment for multiple byte data transfer.
Table6. Access Address Register
7-2-2. Serial Control Register (02h)
Table7. Serial Control Register (02h)
The serial control register contains various bits to modify the behavior of the serial access.
•Acc_ctl2 [1:0] – Access Control bits
0 0 = 16bits address (A15-A0) access ( internal ROM and registers)
0 1 = 8bits address (A7-A0) access and used to access MCU internal 256 byte dual
port RAM.
1 0 = reserved
1 1 = reserved
•R_WZ – Read or Write access select bit
0 = Write Access
1 = Read Access
• Req- Request bit
0 = the previous request is done
1 = new request. After the serial bus bridge controller finishes a request, it will clear
Req to 0. For write requests the bridge controller moves the data in write data
buffers to the location pointed by access address. 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.
There are four write data buffer registers at address: 03h – 06h. To perform a write, the host
can either use a single command or perform separate writes to the following addresses.
The host can write to sensor register map in single byte transfer:
The host can burst write data start from address = 00h with following data byte,
A[15:8]、A[7:0]、18h、data[0].
Or the host can do four serial bus writes and write one data byte into serial bus register with
the following steps.
・Write A[15:8] to address = 00h of interface configuration registers.
・Write A[7:0] to address = 01h of interface configuration registers.
・Write data[0] to address = 03h of interface configuration registers.
・Write 18h to address = 18h of interface configuration registers.(1byte, new request, write)
[Note] Read Serial Control register(02h). If Req = 0 (02h[3]), controller is finished with write.
7-2-4. Read Buffer Registers (07h – 0Ah)
There are four read data buffer registers at address: 07h – 0Ah. To perform a read, the host
can either use a single streaming command or perform separate commands to the following
addresses. After the read request is done by the internal serial bus bridge controller, the Req
bit is cleared to 0 and read data is stored in rd_buf1 – rd_buf4 (address = 07h – 0Ah).
For single byte read request the host can burst write A[15:8], A[7:0], 1Ch at start address =
00h. The host needs to read the command register until the Req bit is cleared to 0, then read
“read data buffer” for read data at address = 07h.
The host can perform a single byte read by individually programming the following registers.
・Write A[15:8] to address = 00h of interface configuration registers.
・Write A[7:0] to address = 01h of interface configuration registers.
・Write 1Ch to address = 02h of interface configuration registers.(1byte, new request, read)
[Note] Read address = 02h. If Req = 0 (02h[3]), controller is finished with read data[0] from
address = 07h.