# Example 10: corr_metsmeth - temperature correction of METS methane output

An RBRconcerto³ C.T.D.METS has a METS methane sensor from Franatech in addition to the usual C, T and D channels. The METS sensor also has its own temperature output, used to compensate the temperature dependence of the raw methane output, and to monitor this requires a fifth channel in the logger, Tm. See the section corr_metstemp - temperature measured by a METS (methane sensor) for details of this temperature channel.

The equation for the temperature corrected concentration output of the methane sensor, Cm, as provided by Franatech, is:

where

• c0...c6 are coefficient values provided by Franatech,

• Vm is the voltage in Volts from the sensor's methane output,

• Vt is the voltage in Volts from the sensor's temperature output.

Franatech's calibration documentation may have no formal naming convention for the coefficients, in which case the values will be simply shown in an equation on the calibration sheet. The terms c0...c6 are those used by the logger's calibration command to report or set the values: if updating, be careful to assign the correct values to each coefficient.

The sensor output voltage for methane concentration, Vm, is related to the logger's reported voltage ratio R by a simple linear equation, the coefficients of which (x0,x1) are determined by RBR Ltd at the factory.

The sensor output voltage for temperature, Vt, is an intermediate variable in the calculation of temperature from the supporting channel, and can be back-calculated from that result:

where

•  ct0ct1 are the primary coefficient values for the supporting temperature channel,

• Tm is the temperature output of that channel in °C, value(n0).

## Examples

CODE
>> calibration 4 type
<< calibration 4 type = meth00

Confirm the channel type.

CODE
>> calibration 4 datetime = 20171201000000, c0 = 1.269, c1 = 0.104, c2 = 3.268, c3 = 0.551, c4 = 0.830, c5 = 4.756, c6 = 1.432

Set the coefficients provided by Franatech.

CODE
>> calibration 4 datetime = 20171201000000, x0 = 6.782656, x1 = -9.257345

Set the secondary coefficients for the voltage conversion.

CODE
>> calibration 4
<< calibration 4 type = meth00, datetime = 20171201000000, c0 = 1.269, c1 = 0.104, c2 = 3.268, c3 = 0.551, c4 = 0.830, c5 = 4.756, c6 = 1.432, x0 = 6.782656, x1 = -9.257345, n0 = 5

Request confirmation of everything for the primary methane channel.

CODE
>> calibration 5 c0 c1
<< calibration 5 c0 = -5.65608, c1 = 16.80047

Confirm the main coefficients of the temperature compensation channel.

JavaScript errors detected