Browse Source

updated offset and gain values

Thomas Thuemmler 1 week ago
parent
commit
3006514473
1 changed files with 8 additions and 8 deletions
  1. 8 8
      SDS_status_main.php

+ 8 - 8
SDS_status_main.php

@@ -625,10 +625,10 @@ if (($MSmode == 5) or ($MSmode == 4))
 	$color = "#000000";
 	$factor_m = 1972.462;
 	$factor_m_rel_error = 1.0e-6;
-	$offset = 4.97e-06;
-	$offset_error = 3.4e-07;
-	$gain = 0.999999323;
-	$gain_error = 8.9e-08;
+	$offset = 4.62e-06;
+	$offset_error = 5e-07;
+	$gain = 0.99999889;
+	$gain_error = 1e-07;
 	$value = ($K35_value - $offset) * $gain * $factor_m;
 	$voltage_error = abs($value * $factor_m_rel_error * 1e3); // in mV
 	if ($voltage_error*100 < 1) { $voltage_error = 0.2; }
@@ -692,10 +692,10 @@ if (($MSmode == 5) or ($MSmode == 4))
 	$color = "#000000";
   	$factor_m = 3636.261;
 	$factor_m_rel_error = 1.0e-6; // including calibration, gain and offset error
-	$offset = 8.72e-06;
-	$offset_error = 1.9e-7;
-	$gain = 0.999998588;
-	$gain_error = 7.7e-8;
+	$offset = 6.01e-06;
+	$offset_error = 5e-7;
+	$gain = 0.99999789;
+	$gain_error = 1e-7;
 	$value = ($K65_value - $offset) * $gain * $factor_m;
 	$voltage_error = abs($value * $factor_m_rel_error * 1e3); // in mV
 	if ($voltage_error < 1) { $voltage_error = 1; }