|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2011-10-14 22:14:04
|
显示全部楼层
更新五阶拟合方程,以下是各个传感器的参数;
温度为 t ,测得热电偶电压(mv)或者热电阻电阻(欧姆)为x;
t = TC_Atab*x^5 + TC_Btab*x^4 +TC_Ctab*x^3 +TC_Dtab*x^2 +TC_Etab*x^1 + TC_Ftab;
TC_Atab……TC_Ftab的参数数组如下;
float code TC_Atab[13]={-7.5997e-7,//K
9.6322e-8,//J
8.0072e-4,//R
1.2222e-3,//S
0.003814,//B
1.3651e-7,//E
1.4501e-5,//T
3.5366e-6,//N
-3.5948e-12,//pt100
0.20242,//N<0
-1.9158e-11,//Jpt100
727.18,//B<500
0.019119};//T<0
float code TC_Btab[13]={1.0905e-4,//K
8.7504e-6,//J
-4.2115e-2,//R
-5.574e-2,//S
-0.16774,//B
-3.3295e-5,//E
-1.0616e-3,//T
-4.8663e-4,//N
5.2359e-9,//Pt100
1.52,//N<0
2.0895e-8,//Jpt100
-2759.5,//B<400
0.18452};//T<0
float code TC_Ctab[13]={-3.9325e-3,//K
-2.0766e-3,//J
0.87401,//R
0.99651,//S
3.0253,//B
3.3864e-3,//E
3.3888e-2,//T
2.7598e-2,//N
-1.5761e-6,//Pt100
4.5792,//N<0
-7.5947e-6,//Jpt100
3940.9,//B<400
0.79355};//T<0
float code TC_Dtab[13]={0.017394,//K
0.062995,//J
-9.8084,//R
-9.6889,//S
-29.328,//B
-0.17164,//E
-0.69469,//T
-0.80458,//N
1.2091e-3,//Pt100
4.4772,//N<0
2.2515e-3,//Jpt100
-2705.7,//B<400
0.36536};//T<0
float code TC_Etab[13]={24.75,//K
17.726,//J
139.84,//R
143.53,//S
245.89,//B
16.637,//E
25.804,//T
37.528,//N
2.3438,//Pt100
40.286,//N<0
2.2171,//Jpt100
1192.2,//B<40
26.426};//T<0
float code TC_Ftab[13]={-0.55944,//k
3.457,//J
10.2,//R
8.3361,//S
237.02,//B
0.6252,//E
0.047843,//T
0.99588,//N
-245.39,//Pt100
0.10025,//N<0
-238.59,//Jpt100
56.717,//B<400
0.042912};//T<0
//--------------------------------------------------------------------------------------------------------------------------
下面的是热电偶冷端温度补偿曲线,使用范围0-50摄氏度;
冷端温度为 t ,热电偶电压(mv)为x;
x = TCt_vA*t^2 +TCt_vB*t^1 + TCt_vC;
TCt_vA……TCt_vC的参数数组如下;
float code TCt_vA[8]={1.75e-5,//K
2.5e-5,//J
1.1786e-5,//R
1.0893e-5,//S
0,//B
4.5179e-5,//E
4.1607e-5,//T
1.8214e-5};//N
float code TCt_vB[8]={0.039574,//K
0.05045,//J
5.3364e-3,//R
5.4411e-3,//S
0,//B
0.058678,//E
0.038611,//T
0.025889};//N
float code TCt_vC[8]={-2.1429e-4,//K
-2.0125e-16,//J
-2.1429e-4,//R
-1.7859e-4,//S
0,//B
-3.5714e-5,//E
2.5e-4,//T
7.1429e-5};//N |
|