configurations: minerva_cmm_scm: add hysteresis
The hysteresis value is set to 2% of the trigger threshold
to ensure more precise triggering of assert and deassert for
sensors like a 12V sensor. For example, with normal readings
and thresholds at ±10% (10.8V to 13.2V), the default value of
2.55 is too large for this range.
Change-Id: I5b3e5deeb339ed0deba43ff450a50c238f20ff49
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
diff --git a/configurations/meta/minerva_cmm_scm.json b/configurations/meta/minerva_cmm_scm.json
index b3ee10f..68daf20 100644
--- a/configurations/meta/minerva_cmm_scm.json
+++ b/configurations/meta/minerva_cmm_scm.json
@@ -7,12 +7,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.264,
"Name": "upper critical",
"Severity": 1,
"Value": 13.2
},
{
"Direction": "less than",
+ "Hysteresis": 0.216,
"Name": "lower critical",
"Severity": 1,
"Value": 10.8
@@ -27,12 +29,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.11,
"Name": "upper critical",
"Severity": 1,
"Value": 5.5
},
{
"Direction": "less than",
+ "Hysteresis": 0.09,
"Name": "lower critical",
"Severity": 1,
"Value": 4.5
@@ -47,12 +51,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0706,
"Name": "upper critical",
"Severity": 1,
"Value": 3.53
},
{
"Direction": "less than",
+ "Hysteresis": 0.0614,
"Name": "lower critical",
"Severity": 1,
"Value": 3.07
@@ -67,12 +73,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0525,
"Name": "upper critical",
"Severity": 1,
"Value": 2.625
},
{
"Direction": "less than",
+ "Hysteresis": 0.0475,
"Name": "lower critical",
"Severity": 1,
"Value": 2.375
@@ -87,12 +95,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0378,
"Name": "upper critical",
"Severity": 1,
"Value": 1.89
},
{
"Direction": "less than",
+ "Hysteresis": 0.0342,
"Name": "lower critical",
"Severity": 1,
"Value": 1.71
@@ -107,12 +117,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0378,
"Name": "upper critical",
"Severity": 1,
"Value": 1.89
},
{
"Direction": "less than",
+ "Hysteresis": 0.0342,
"Name": "lower critical",
"Severity": 1,
"Value": 1.71
@@ -126,12 +138,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0252,
"Name": "upper critical",
"Severity": 1,
"Value": 1.26
},
{
"Direction": "less than",
+ "Hysteresis": 0.0228,
"Name": "lower critical",
"Severity": 1,
"Value": 1.14
@@ -145,12 +159,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.0216,
"Name": "upper critical",
"Severity": 1,
"Value": 1.08
},
{
"Direction": "less than",
+ "Hysteresis": 0.0184,
"Name": "lower critical",
"Severity": 1,
"Value": 0.92
@@ -169,12 +185,14 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0.9,
"Name": "upper critical",
"Severity": 1,
"Value": 45
},
{
"Direction": "less than",
+ "Hysteresis": 0.1,
"Name": "lower critical",
"Severity": 1,
"Value": 5