Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 1 | { |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 2 | "sensors": [ |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 3 | { |
| 4 | "name": "fan1", |
| 5 | "type": "fan", |
| 6 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1", |
| 7 | "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm1", |
| 8 | "min": 0, |
| 9 | "max": 255 |
| 10 | }, |
| 11 | { |
| 12 | "name": "fan2", |
| 13 | "type": "fan", |
| 14 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan2", |
| 15 | "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm2", |
| 16 | "min": 0, |
| 17 | "max": 255 |
| 18 | }, |
| 19 | { |
| 20 | "name": "fan3", |
| 21 | "type": "fan", |
| 22 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan3", |
| 23 | "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm3", |
| 24 | "min": 0, |
| 25 | "max": 255 |
| 26 | }, |
| 27 | { |
| 28 | "name": "fan4", |
| 29 | "type": "fan", |
| 30 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan4", |
| 31 | "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm4", |
| 32 | "min": 0, |
| 33 | "max": 255 |
| 34 | }, |
| 35 | { |
| 36 | "name": "fan5", |
| 37 | "type": "fan", |
| 38 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan5" |
| 39 | }, |
| 40 | { |
| 41 | "name": "fan6", |
| 42 | "type": "fan", |
| 43 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan6" |
| 44 | }, |
| 45 | { |
| 46 | "name": "fan7", |
| 47 | "type": "fan", |
| 48 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan7" |
| 49 | }, |
| 50 | { |
| 51 | "name": "fan8", |
| 52 | "type": "fan", |
| 53 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan8" |
| 54 | }, |
| 55 | { |
| 56 | "name": "fleeting0", |
| 57 | "type": "margin", |
| 58 | "readPath": "/xyz/openbmc_project/extsensors/margin/fleeting0", |
| 59 | "timeout": 4 |
| 60 | } |
| 61 | ], |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 62 | "zones": [ |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 63 | { |
| 64 | "id": 1, |
James Feist | 3484bed | 2019-02-25 13:28:18 -0800 | [diff] [blame] | 65 | "minThermalOutput": 3000.0, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 66 | "failsafePercent": 75.0, |
| 67 | "pids": [ |
| 68 | { |
| 69 | "name": "fan1-5", |
| 70 | "type": "fan", |
| 71 | "inputs": ["fan1", "fan5"], |
| 72 | "setpoint": 90.0, |
| 73 | "pid": { |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 74 | "samplePeriod": 0.1, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 75 | "proportionalCoeff": 0.0, |
| 76 | "integralCoeff": 0.0, |
Patrick Venture | 903b042 | 2019-02-20 07:35:48 -0800 | [diff] [blame] | 77 | "feedFwdOffsetCoeff": 0.0, |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 78 | "feedFwdGainCoeff": 0.01, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 79 | "integralLimit_min": 0.0, |
| 80 | "integralLimit_max": 0.0, |
| 81 | "outLim_min": 30.0, |
| 82 | "outLim_max": 100.0, |
| 83 | "slewNeg": 0.0, |
| 84 | "slewPos": 0.0 |
| 85 | } |
| 86 | }, |
| 87 | { |
| 88 | "name": "fan2-6", |
| 89 | "type": "fan", |
| 90 | "inputs": ["fan2", "fan6"], |
| 91 | "setpoint": 90.0, |
| 92 | "pid": { |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 93 | "samplePeriod": 0.1, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 94 | "proportionalCoeff": 0.0, |
| 95 | "integralCoeff": 0.0, |
Patrick Venture | 903b042 | 2019-02-20 07:35:48 -0800 | [diff] [blame] | 96 | "feedFwdOffsetCoeff": 0.0, |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 97 | "feedFwdGainCoeff": 0.01, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 98 | "integralLimit_min": 0.0, |
| 99 | "integralLimit_max": 0.0, |
| 100 | "outLim_min": 30.0, |
| 101 | "outLim_max": 100.0, |
| 102 | "slewNeg": 0.0, |
| 103 | "slewPos": 0.0 |
| 104 | } |
| 105 | }, |
| 106 | { |
| 107 | "name": "fan3-7", |
| 108 | "type": "fan", |
| 109 | "inputs": ["fan3", "fan7"], |
| 110 | "setpoint": 90.0, |
| 111 | "pid": { |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 112 | "samplePeriod": 0.1, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 113 | "proportionalCoeff": 0.0, |
| 114 | "integralCoeff": 0.0, |
Patrick Venture | 903b042 | 2019-02-20 07:35:48 -0800 | [diff] [blame] | 115 | "feedFwdOffsetCoeff": 0.0, |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 116 | "feedFwdGainCoeff": 0.01, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 117 | "integralLimit_min": 0.0, |
| 118 | "integralLimit_max": 0.0, |
| 119 | "outLim_min": 30.0, |
| 120 | "outLim_max": 100.0, |
| 121 | "slewNeg": 0.0, |
| 122 | "slewPos": 0.0 |
| 123 | } |
| 124 | }, |
| 125 | { |
| 126 | "name": "fan4-8", |
| 127 | "type": "fan", |
| 128 | "inputs": ["fan4", "fan8"], |
| 129 | "setpoint": 90.0, |
| 130 | "pid": { |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 131 | "samplePeriod": 0.1, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 132 | "proportionalCoeff": 0.0, |
| 133 | "integralCoeff": 0.0, |
Patrick Venture | 903b042 | 2019-02-20 07:35:48 -0800 | [diff] [blame] | 134 | "feedFwdOffsetCoeff": 0.0, |
Patrick Williams | 217a827 | 2022-12-08 06:13:07 -0600 | [diff] [blame] | 135 | "feedFwdGainCoeff": 0.01, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 136 | "integralLimit_min": 0.0, |
| 137 | "integralLimit_max": 0.0, |
| 138 | "outLim_min": 30.0, |
| 139 | "outLim_max": 100.0, |
| 140 | "slewNeg": 0.0, |
| 141 | "slewPos": 0.0 |
| 142 | } |
| 143 | }, |
| 144 | { |
| 145 | "name": "fleetingpid0", |
| 146 | "type": "margin", |
| 147 | "inputs": ["fleeting0"], |
| 148 | "setpoint": 10, |
| 149 | "pid": { |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 150 | "samplePeriod": 1, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 151 | "proportionalCoeff": 750.0, |
| 152 | "integralCoeff": 16.0, |
Patrick Venture | 903b042 | 2019-02-20 07:35:48 -0800 | [diff] [blame] | 153 | "feedFwdOffsetCoeff": 0.0, |
Patrick Venture | ba8ffa7 | 2019-02-11 12:03:56 -0800 | [diff] [blame] | 154 | "feedFwdGainCoeff": 0.0, |
| 155 | "integralLimit_min": 3000, |
| 156 | "integralLimit_max": 10000, |
| 157 | "outLim_min": 3000, |
| 158 | "outLim_max": 10000, |
| 159 | "slewNeg": -100.0, |
| 160 | "slewPos": 0.0 |
| 161 | } |
| 162 | } |
| 163 | ] |
| 164 | } |
| 165 | ] |
| 166 | } |