summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2020-10-06 09:39:18 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-10-07 21:59:32 +0300
commit8464197cfc2d3bfc6aa72dd4255195f948dd1c63 (patch)
tree2fb5c6d362102f7b3857f103d82bcc538075c663 /meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control
parent4d75d2c2348739814f5d92e1d745b577b947a2c6 (diff)
downloadopenbmc-8464197cfc2d3bfc6aa72dd4255195f948dd1c63.tar.xz
meta-quanta: gbs: update thermal config to R01
1. update fine tuned PID parameters 2. update sensors threshold (From meta-quanta rev: 52b5953cf0c8c16d34bb8fa7b676316335dbf06e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icf6f74543552cf511d64fb6bb35bec279f7d0846 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config.json148
1 files changed, 126 insertions, 22 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config.json b/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config.json
index d014380b1..5a4cd1b23 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config.json
+++ b/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config.json
@@ -1,5 +1,5 @@
{
- "version" : "R00",
+ "version" : "R01",
"sensors" : [
{
"name": "fan0",
@@ -62,9 +62,9 @@
"timeout": 0
},
{
- "name": "real_fleeting0",
+ "name": "cputemp",
"type": "margin",
- "readPath": "/xyz/openbmc_project/extsensors/margin/real_fleeting0",
+ "readPath": "/xyz/openbmc_project/extsensors/margin/cputemp",
"writePath": "",
"min": 0,
"max": 0,
@@ -72,9 +72,29 @@
"timeout": 0
},
{
- "name": "real_fleeting1",
+ "name": "zone0_vr",
"type": "margin",
- "readPath": "/xyz/openbmc_project/extsensors/margin/real_fleeting1",
+ "readPath": "/xyz/openbmc_project/extsensors/margin/zone0_vr",
+ "writePath": "",
+ "min": 0,
+ "max": 0,
+ "ignoreDbusMinMax": true,
+ "timeout": 0
+ },
+ {
+ "name": "nvme",
+ "type": "margin",
+ "readPath": "/xyz/openbmc_project/extsensors/margin/nvme",
+ "writePath": "",
+ "min": 0,
+ "max": 0,
+ "ignoreDbusMinMax": true,
+ "timeout": 0
+ },
+ {
+ "name": "p12v_fan",
+ "type": "margin",
+ "readPath": "/xyz/openbmc_project/extsensors/margin/p12v_fan",
"writePath": "",
"min": 0,
"max": 0,
@@ -101,7 +121,7 @@
"feedFwdGainCoeff": 0.0056,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
- "outLim_min": 20.0,
+ "outLim_min": 10.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
@@ -120,26 +140,89 @@
"feedFwdGainCoeff": 0.0056,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
- "outLim_min": 20.0,
+ "outLim_min": 10.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
}
},
{
- "name": "real_fleeting0",
+ "name": "cputemp",
+ "type": "margin",
+ "inputs": ["cputemp"],
+ "setpoint": 10.0,
+ "pid": {
+ "samplePeriod": 1.0,
+ "proportionalCoeff": 714.0,
+ "integralCoeff": 18.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": 1786.0,
+ "integralLimit_max": 18000.0,
+ "outLim_min": 1786.0,
+ "outLim_max": 18000.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0.0,
+ "negativeHysteresis": 0.0
+ }
+ },
+ {
+ "name": "zone0_vr",
+ "type": "margin",
+ "inputs": ["zone0_vr"],
+ "setpoint": 10.0,
+ "pid": {
+ "samplePeriod": 1.0,
+ "proportionalCoeff": 536.0,
+ "integralCoeff": 9.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": 1786.0,
+ "integralLimit_max": 18000.0,
+ "outLim_min": 1786.0,
+ "outLim_max": 18000.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0.0,
+ "negativeHysteresis": 0.0
+ }
+ },
+ {
+ "name": "fleeting0",
+ "type": "margin",
+ "inputs": ["fleeting0"],
+ "setpoint": 10.0,
+ "pid": {
+ "samplePeriod": 1.0,
+ "proportionalCoeff": 536.0,
+ "integralCoeff": 9.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": 1786.0,
+ "integralLimit_max": 18000.0,
+ "outLim_min": 1786.0,
+ "outLim_max": 18000.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0.0,
+ "negativeHysteresis": 0.0
+ }
+ },
+ {
+ "name": "fleeting1",
"type": "margin",
- "inputs": ["real_fleeting0"],
+ "inputs": ["fleeting1"],
"setpoint": 10.0,
"pid": {
"samplePeriod": 1.0,
- "proportionalCoeff": 225.0,
- "integralCoeff": 45.0,
+ "proportionalCoeff": 536.0,
+ "integralCoeff": 18.0,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
- "integralLimit_min": 2500.0,
+ "integralLimit_min": 1786.0,
"integralLimit_max": 18000.0,
- "outLim_min": 2500.0,
+ "outLim_min": 1786.0,
"outLim_max": 18000.0,
"slewNeg": 0.0,
"slewPos": 0.0,
@@ -167,7 +250,7 @@
"feedFwdGainCoeff": 0.0056,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
- "outLim_min": 20.0,
+ "outLim_min": 10.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
@@ -186,7 +269,7 @@
"feedFwdGainCoeff": 0.0056,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
- "outLim_min": 20.0,
+ "outLim_min": 10.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
@@ -205,26 +288,47 @@
"feedFwdGainCoeff": 0.0056,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
- "outLim_min": 20.0,
+ "outLim_min": 10.0,
"outLim_max": 100.0,
"slewNeg": 0.0,
"slewPos": 0.0
}
},
{
- "name": "real_fleeting1",
+ "name": "nvme",
+ "type": "margin",
+ "inputs": ["nvme"],
+ "setpoint": 10.0,
+ "pid": {
+ "samplePeriod": 1.0,
+ "proportionalCoeff": 1786.0,
+ "integralCoeff": 36.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": 1786.0,
+ "integralLimit_max": 18000.0,
+ "outLim_min": 1786.0,
+ "outLim_max": 18000.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0.0,
+ "negativeHysteresis": 0.0
+ }
+ },
+ {
+ "name": "p12v_fan",
"type": "margin",
- "inputs": ["real_fleeting1"],
+ "inputs": ["p12v_fan"],
"setpoint": 10.0,
"pid": {
"samplePeriod": 1.0,
- "proportionalCoeff": 225.0,
- "integralCoeff": 45.0,
+ "proportionalCoeff": 268.0,
+ "integralCoeff": 4.0,
"feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
- "integralLimit_min": 2500.0,
+ "integralLimit_min": 1786.0,
"integralLimit_max": 18000.0,
- "outLim_min": 2500.0,
+ "outLim_min": 1786.0,
"outLim_max": 18000.0,
"slewNeg": 0.0,
"slewPos": 0.0,