Nonlinear temperature compensation method for conductivity measurement
Technical Field
The invention belongs to the field of nonlinear temperature compensation, and relates to a nonlinear temperature compensation method for conductivity measurement.
Background
Among the factors that affect the measurement of the conductivity, the temperature directly affects the conductivity of the solution, and the conductivity of the solution can change significantly with the change of the temperature. The measurement temperature directly affects the ionization degree, solubility, ion migration rate, etc. of the solution. Usually 25 ℃ is used as the reference temperature for conductivity measurement, and when the solution temperature is not the reference temperature, manual or automatic compensation is performed to compensate the conductivity to the conductivity value of the reference temperature. The conductivity of the solution is in a nonlinear relation with the temperature of the solution, and the solutions at different temperatures have different temperature-conductivity change curves.
At present, conductivity meters are widely applied in various fields, a linear temperature compensation method is used when domestic conductivity manufacturers compensate the temperature of the conductivity, so that the domestic conductivity meter cannot accurately measure the conductivity under the condition that the measured temperature deviates from the reference temperature, and no one reports or uses how to calculate the nonlinear temperature compensation of the measured conductivity, so that the research of the nonlinear temperature compensation calculation method suitable for measuring the conductivity is of great significance.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned shortcomings of the prior art, and to provide a nonlinear temperature compensation method for conductivity measurement, which can perform nonlinear temperature compensation on the measured conductivity, and can effectively avoid the problem that the measured temperature deviates from the reference temperature greatly.
In order to achieve the above object, the nonlinear temperature compensation method for conductivity measurement according to the present invention comprises the steps of:
1) obtaining temperature compensation coefficients F (x, y), electric conductivity x and temperature y of a plurality of standard samples under the temperature of not 25 ℃, and respectively substituting the obtained temperature compensation coefficients F (x, y), electric conductivity x and temperature y of the plurality of standard samples under the temperature of not 25 ℃ into formula (1);
c, a is obtained
1,a
2……a
14A value of (d);
2) obtaining temperature information t and conductivity information K (t) of a current sample to be tested, substituting the temperature information t and the conductivity information K (t) of the current sample to be tested into a formula (2) to obtain a temperature compensation coefficient sigma of the sample to be tested, wherein,
3) and (3) calculating the conductivity value K (25) of the sample to be measured at 25 ℃ according to the temperature information t, the conductivity information K (t) and the temperature compensation coefficient sigma of the current sample to be measured obtained in the step 2), and completing the nonlinear temperature compensation of conductivity measurement.
The specific operation of the step 2) is as follows: the temperature information t of the current sample to be detected is detected through the temperature sensor, the conductivity information K (t) of the current sample to be detected is detected through the conductivity sensor, and the temperature information t and the conductivity information K (t) of the current sample to be detected are replaced by the microprocessor in the formula (2) to obtain the temperature compensation coefficient sigma of the sample to be detected.
In the step 3), calculating the conductivity value K (25) of the sample to be measured at 25 ℃ according to the temperature information t, the conductivity information K (t) and the temperature compensation coefficient sigma of the current sample to be measured obtained in the step 2), wherein,
K(25)=K(t)·σ·(25-t)+K(t) (3)
the invention has the following beneficial effects:
the nonlinear temperature compensation method for conductivity measurement is characterized in that when the nonlinear temperature compensation method is specifically operated, a coefficient in a fitting relation between a temperature compensation coefficient and temperature information and conductivity information is calculated through the temperature compensation coefficient F (x, y), the conductivity x and the temperature y of a standard sample at a temperature of 25 ℃, then the temperature information and the conductivity information obtained through actual measurement are substituted into the fitting relation between the temperature compensation coefficient and temperature information and the conductivity information to obtain the temperature compensation coefficient of a sample to be measured, and finally the actual conductivity information of the sample to be measured at a temperature of 25 ℃ is calculated according to the temperature compensation coefficient and temperature information and conductivity information of the sample to be measured.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 1, the non-linear temperature compensation method for conductivity measurement according to the present invention includes the steps of:
1) obtaining the temperature compensation coefficients F (x, y), the electric conductivity x and the temperature y of a plurality of standard samples under the temperature of not 25 ℃, then respectively substituting the obtained temperature compensation coefficients F (x, y), the electric conductivity x and the temperature y of the plurality of standard samples under the temperature of not 25 ℃ into the formula (1),
c, a is obtained
1,a
2……a
14A value of (d);
2) obtaining temperature information t and conductivity information K (t) of a current sample to be tested, substituting the temperature information t and the conductivity information K (t) of the current sample to be tested into a formula (2) to obtain a temperature compensation coefficient sigma of the sample to be tested, wherein,
3) and (3) calculating the conductivity value K (25) of the sample to be measured at 25 ℃ according to the temperature information t, the conductivity information K (t) and the temperature compensation coefficient sigma of the current sample to be measured obtained in the step 2), and completing the nonlinear temperature compensation of conductivity measurement.
The specific operation of the step 2) is as follows: the temperature information t of the current sample to be detected is detected through the temperature sensor, the conductivity information K (t) of the current sample to be detected is detected through the conductivity sensor, and the temperature information t and the conductivity information K (t) of the current sample to be detected are replaced by the microprocessor in the formula (2) to obtain the temperature compensation coefficient sigma of the sample to be detected.
In the step 3), calculating the conductivity value K (25) of the sample to be measured at 25 ℃ according to the temperature information t, the conductivity information K (t) and the temperature compensation coefficient sigma of the current sample to be measured obtained in the step 2), wherein,
K(25)=K(t)·σ·(25-t)+K(t) (3)
table 1 shows the comparison of the temperature compensated conductivity values calculated from the measured conductivity and temperature according to the present invention with the standard table conductivity values.
TABLE 1 comparison of nonlinear temperature compensation method with standard table