Instruction Manual for MFrontier models including: NDIR CO2 Sensor Module, NDIR CO2, Sensor Module, Module

NDIR CO2 Sensor Module MTP80-A

26 août 2024 — The working principle of an NDIR sensor for measuring concentration is to detect the infrared energy of the characteristic infrared.

1 day ago — strong stability, long lifespan, low power consumption, and supports two calibration methods: self calibration and manual calibration, with minimal data.


File Info : application/pdf, 8 Pages, 796.22KB

PDF preview unavailable. Download the PDF instead.

MTP80-A-English-1
NDIR CO2 Sensor M odule MTP80-A
MTP80-A is a dual channel carbon dioxide sensor based on t he principle of Non Spect ral Inf rared (NDIR) t echnology. It can det ect t he concent rat ion of carbon dioxide in t he air in real t ime and out put t he concent rat ion value t hrough UART, IIC, and PWM met hods. It has st rong ant i-int erf erence abilit y, high sensit ivit y, st rong st abilit y, long lif espan, low pow er consumpt ion, and support s t w o calibrat ion met hods: self calibrat ion and manual calibrat ion, w it h minimal dat a accuracy error. Suit able f or indust ries such as air monit oring, f resh air syst ems, smart homes, and in car air purif icat ion.

Advant age

Long term stability advantage - The stability of NDIR sensors mainly depends on the light source, and under the condition of no abnormalities in the light source, the long-term stability of NDIR is extremely excellent compared to other types of gas sensors .
The w orking principle of an NDIR sensor for measuring concentration is to detect the infrared energy of the characteristic infrared absorption band of the measured gas. The signal characteristic is that w hen there is no measured gas, the signal strength is maximum, and the higher the concentration, the smaller the signal. The measured concentration can reach 10000PPM.

Feat ures
NDIR detection principle Short preheating time Temperature compensation and automatic calibration algorithms
Applicat ions

High sensitivity and precision Anti interference and strong stability

Air quality monitoring equipment Fresh air system Car air purification

Air purification equipment HAVC system Smart Home

1

Size
Unitmm
±

±
± ±

± ±

Paramet ers

parameters Measure gas type measuring principle Measurement concentration range Measurement interval Measurement accuracy Response time Operating temperature range Operating humidity range Storage temperature range Size Pow er supply requirements Current consumption Life Communication interface PWM Output Alarm Output
Self calibration cycle

index CO2 NDIR 400ppm~5000ppmThe range can be customized to 10000ppm 2S ±(40ppm + 4% of reading )25 +250%±10%RH enviroment T90 time is 90 seconds 0-50° C 0-90% RH (non-condensing ) -20° C~60° C 32.5x20.8x11.6mmmax dimensions) 4.2V~5.5V 250mA peak current, 5mA valley current, 20mA average w orking current 10+ years Uart /IIC Period1004msPulse2ms~1002ms0~5000ppm Output 1 w ith concentration>1000ppm, output 0 w ith concentration<800ppm, pin in open drain output mode, unable to draw current The default self calibration cycle is 7 days

2

Pin diagram

Pin Def init ion

Pin number Pin name

Pin Function Description

1

VIN

Positive end of pow er supply

2

GND Pow er supply negative terminal

Alarm function, pin in open drain output mode.

When the measured concentration is greater than 1000ppm, the output of this pin is

3

Alarm- OC high.

When the concentration is less than 800ppm, the output of this pin is low

Pin electrical characteristics
Equipped w ith anti reverse connection protection and input voltage range4.2V-5.5V
The pin is in open drain output mode, and an external pull-up resistor is required for use.

4

PWM PWM function, used to output CO2 concentration.

The pin is in push-pull output mode, and the output PWM cycle is 1004ms.

The internal LDO output of the sensor is usually 3V ± 2%.

5

VCC-Out

Generally used for serial communication level conversion.

Output voltage: 3.3V ± 2%, maximum w ithout overcurrent protection Output current: 6mA

The usual communication level is 3.3V. When

Host-TX The TX pin of the UART in the main system is usually the TX used for IIC function, the pin configuration is

6

open drain mode, and an external pull-up

/IIC-SDA of the customer MCU or the SDA of the IIC function.

resistor is required for use.

The usual communication level is 3.3V. When

Host-RX The RX pin of the UART in the main system is usually the RX of

used for IIC function, the pin configuration is

7

open drain mode, and an external pull-up resistor

/IIC-SCL the customer MCU or the SCL of the IIC function.

is required for use.

This pin has tw o functions:

1. As an RS485 directional control pin. This pin is in open drain output mode and can

be directly connected to the direction enable pin of the RS485 chip, requiring an

external pull-up resistor. At this time, modules Pin6 and Pin7 are UART functions.

When the pin is pow ered on, it is in pull-

2. UART/IIC function selection pin. This pin is grounded before pow er on (grounding

up input mode and can be suspended or

after pow er on is invalid), and Pin6 and Pin7 of the module are IIC functions. When

grounded. As an RS485 direction enable

8

R/T

the pin is pow ered on, it is in pull-up input mode and can be suspended or grounded

pin, it is in open drain output mode and

. As an RS485 direction enable pin, it is in open drain output mode and requires an

requires an external pull-up resistor.

external pull-up resistor.

9

bCAL-in Manual calibration of control pins

3

When the pin is pow ered on, it is in input mode w ith pull-up resistance

Calibrat ion f unct ion
The MTP80 module is a precision optical module. After leaving the factory, due to various reasons such as transportation, installation, w elding, etc., the measurement of the module may experience certain drift, resulting in a decrease in accuracy. The module is equipped w ith a set of self calibration algorithms that can periodically and automatically correct measurement errors, ensuring that the module maintains good measurement accuracy. The default self calibration cycle of the module is 7 days (168 hours), w hich can be adjusted by command (24 hours to 720 hours). To ensure the measurement accuracy of the calibrated sensor, please ensure that the concentration of CO2 in its w orking environment can approach outdoor atmospheric levels for at least a few hours w ithin 7 days of pow er on.
Alarm f unct ion

The MTP80 module supports alarm output function and outputs through the Alarm OC pin. When the measured CO2 concentration value is greater than 1000ppm, the Alarm OC pin outputs a high level. When the measured CO2 concentration value is less than 800PPM, the Alarm OC pin outputs a low level. Note that the Alarm OC pin is configured in open drain output mode and requires an external pull-up resistor to be used. If an error occurs in the module, the Alarm OC pin w ill remain high. The reference usage method is show n in the figure on the right.

MTP60-A

Customer circuit

Communicat ion prot ocol

serial communicat ion The baud rate for serial communication is 9600bps, and the serial communication packet is defined as follow s:
1. Protocol format Frame format description:

Field Frame header Instruction byte Command Bytes
Data length data
Checksum

length 2 1 2 2 n 2

explain
Fixed t o 0x42,0x4D Command def init ion or sensor t ype def init ion
Specif ic command w ords Big end Big end
The sum of all byt es f rom t he f rame header t o t he last byt e of t he dat a

4

The follow ing protocol description applies to the gas sensor series, w ith instruction byte 0xA0.

Command Byte Description

Command w ord

explain

0x0001 0x0002 0x0003 0x0004 0x0005 0x0006 0x0007 0x0008 0x0009

Set air pressure parameters (internal default air pressure is 1013.0hPa) Read the current set air pressure value Reading gas concentration values
Single point correction function (w ith reference concentration) Single point correction reading status Prohibit or enable self calibration Read self calibration status Read self calibration cycle (hours) Set self calibration cycle (hours)

2. Basic Control Protocol

Function Name

Frame header

Setting air MCU sends pressure

0x42 0x4d

parameters Module returns 0x42 0x4d

Instruction byte
0xA0
0xA0

Command Data length Bytes
0x0001 0x00 0x02

Data

Checksum

The atmospheric pressure value range is 700--1100 (16-bit integer) Checksum

0x0001 0x00 0x00

Checksum

Read the current air pressure
value

MCU sends 0x42 0x4d Module returns 0x42 0x4d

Read the current concentrati on value

0x42 0x4d
MCU sends Module returns
0x42 0x4d

0xA0 0xA0 0xA0
0xA0

0x0002 0x00 0x00 0x0002 0x00 0x02 0x0003 0x00 0x00

Atmospheric pressure value (16-bit integer)

Checksum Checksum Checksum

0x0003

Gas concentration value (32-bit integer) and data validity flag (8-bit)

0x00 0x05 0x00: valid; 0xFF: data unavailable;

Checksum

Single point MCU sends correction

0x42 0x4d

function (w ith Module returns

reference

0x42 0x4d

concentration)

0xA0 0xA0

0x0004 0x00 0x04 0x0004 0x00 0x01

The reference concentration range is 400~5000 (32-bit integer)

Checksum

0x01: indicates calibration start; 0xf: indicates calibration error Checksum

Read single point correction status

MCU sends 0x42 0x4d Module returns 0x42 0x4d

Enable or disable selfcalibration

MCU sends 0x42 0x4d Module returns 0x42 0x4d

Read selfcalibration
status

0x42 0x4d
MCU sends
Module returns 0x42 0x4d

Read Selfcalibration cycle
Setting the self-
calibration period

0x42 0x4d
MCU sends
Module returns 0x42 0x4d MCU sends 0x42 0x4d
Module returns
0x42 0x4d

0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0
0xA0

0x0005 0x00 0x00 0x0005 0x00 0x01 0x0006 0x00 0x01 0x0006 0x00 0x00

0x00: indicates calibration completed; 0x01: indicates calibration still in progress

Checksum Checksum

0x00: enables self-calibration; 0xf: disables self-calibration Checksum

Checksum

0x0007 0x00 0x00 0x0007 0x00 0x01 0x0008 0x00 0x00

0x00: Enable self-calibration 0xf: Disable selfcalibration

Checksum Checksum Checksum

0x0008 0x0009
0x0009

0x00 0x02

Self-calibration cycle range: 24--720h

0x00 0x02

Self-calibration cycle range: 24--720h

0x00 0x01

00: Correct operation; 01: The input data is less than 24 hours and w ill not be accepted;
02: The input data is greater than 720 hours and w ill not be accepted

Checksum Checksum Checksum

5

3. Applicat ion Examples Set air pressure parameters Send0x42 0x4D 0xA0 0x00 0x01 0x00 0x02 0x03 0xF5 0x02 0x2A
0x03F5 is the hexadecimal value of 1013; Read the current air pressure Send0x42 0x4D 0xA0 0x00 0x02 0x00 0x00 0x01 0x31
Read gas concentration value Send0x42 0x4D 0xA0 0x00 0x03 0x00 0x00 0x01 0x32 The data valid bit is 0xf, the data is not available

IIC inst ruct ion analysis
The module w orks in IIC slave mode and can be connected to an external MCU. The module contains a pull-up resistor. The module device slave address is: 0x32 (7-bit address) The module w rite operation address is: 0x64 The module read operation address is: 0x65 Host sending sequence: 1. Send start signal 2. Send address w rite (slave address + R/W = 0x64) and check response 3. Send read command (0x03) and check response 4. Send stop signal 5. Send start signal 6. Send address read (slave address + R/W (1) = 0x65) and check response 7. Read 3 bytes from the module and send response 8. Send stop signal The received 3 bytes data are described as follow s:

CO2 concentration

Concentration high byte

Concentration low byte

Note:

CO2 concentration = high byte of CO2 concentration * 256 + low concentration byte

Data valid byte, 0x00 means valid data, 0xf means invalid data

Data valid bytes 0x00/0xFF

6

PWM f unct ion det ailed explanat ion
The PWM cycle is 1004ms The high level output is 2ms in the starting stage The middle cycle is 1000ms The low level output is 2ms in the ending stage The calculation formula for obtaining the current CO2 concentration value through PWM is: Cppm = 5000*(TH-2ms)/(TH+TL-4ms) Cppm is the calculated CO2 concentration value, in ppm TH is the time w hen the output is high level in an output cycle TL is the time w hen the output is low level in an output cycle
Reliabilit y Test

Test items Experimental conditions

Acceptance conditions

Number of verifications n Number of failures c

High temperature
storage

60±2, store w ithout pow er on for 48h

After 2 hours of recovery in normal temperature environment, the sensor accuracy meets the specification standard

Low temperature -20±2, store w ithout pow er on for 48h
storage

After 2 hours of recovery in normal temperature environment, the sensor accuracy meets the specification standard

High temperature and high humidity storage

40 ±285%RH±5%RH48h storage w ithout pow er supply

After 2 hours of recovery in normal temperature environment, the sensor accuracy meets the specification standard

High temperature operation
Low temperature

At 50±2, the product will run for 48 hours with power on At 0±2, the product will run for 48 hours with power on

After 2 hours of recovery in normal temperature environment, the sensor accuracy meets the specification standard After 2 hours of recovery in normal temperature environment, the sensor

operation

accuracy meets the specification standard

High and low

After keeping at - 20 for 60 minutes, sw itch to 60 w ithin 10s and keep for another After 2 hours of recovery in normal

60 minutes as one cycle, a total of 10 cycles, the sample is not pow ered on

temperature environment, the sensor

temperature shock during the test

accuracy meets the specification standard

Simulating transport vibration

Six-sided vibration, 30 minutes per side, vibration frequency 240rpm

After 2 hours of recovery in normal temperature environment, the sensor accuracy meets the specification standard

Package falling

Drop height: set according to the weight-to-height ratio specified in GB/T4857.18. Test according to GB/T4857.5 drop test method for packaging and transport packages. The drop test sequence is one corner, three edges and six faces (if the customer has special requirements, it can be done according to the customer's requirements).

After the package drop test, the sensor appearance should not be obviously defective , no components should fall off, the sensor should be able to w ork normally, and the sensor accuracy should meet the specifications.

n=8 c=0 n=8 c=0 n=8 c=0 n=8 c=0 n=8 c=0 n=8 c=0 n=8 c=0
n=1
box c=0

7

Revision Hist ory

Date 2022.6.2

Version 1.0

Initial version

change

 Shenzhen MFrontier Electronics Co.,Ltd. Webwww.memsf.com Tel 0755-21386871 Add3&5 Floor B2 Building, Zhaoshangju Technology
Park, Guangming District, 518107, Shenzhen, China



References

Adobe PDF Library 15.0 Adobe InDesign 16.0 (Windows)