<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi everyone,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I added the phophor-pid-control module to my project. After the PID module was started, the pwm value oscillated between 12 and 153. I deleted other configurations and only kept one fan and one temp. I have debugged various PID parameter values of fan,
and there is no obvious change in the phenomenon. Please take a look at it, thank you.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(81, 167, 249);"> </span><span style="color: rgb(81, 167, 249);"> </span><span style="color: rgb(81, 167, 249);">The configuration is as follows</span><span style="color: rgb(81, 167, 249);">: </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
4611 root 7616 S /usr/bin/swampd -t -l /tmp/<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
root@starlake-sn:~# cat /etc/thermal.d/setpoint</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3000</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(81, 167, 249);"> </span><span style="color: rgb(81, 167, 249);"> config.json as follow:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
{
<div> "sensors" : [</div>
<div> {</div>
<div> "name": "Fan0_Speed",</div>
<div> "type": "fan",</div>
<div> "readPath": "/xyz/openbmc_project/sensors/fan_tach/Fan0_Speed",
</div>
<div> "writePath": "/xyz/openbmc_project/sensors/fan_tach/Fan0_Speed", </div>
<div> "min": 0,</div>
<div> "max": 255,</div>
<div> "timeout": 0</div>
<div> },</div>
<div> {</div>
<div> "name": "inlet_Temp",</div>
<div> "type": "temp",</div>
<div> "readPath": "/xyz/openbmc_project/sensors/temperature/inlet_Temp",</div>
<div> "writePath": "",</div>
<div> "min": 0,</div>
<div> "max": 0,</div>
<div> "ignoreDbusMinMax": true,</div>
<div> "timeout": 0</div>
<div> }</div>
],</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
"zones" : [
<div> {</div>
<div> "id": 1,</div>
<div> "minThermalOutput": 3000.0,</div>
<div> "failsafePercent": 75.0,</div>
<div> "pids": [</div>
<div> {</div>
<div> "name": "Fan0_Speed",</div>
<div> "type": "fan",</div>
<div> "inputs": ["Fan0_Speed"],</div>
<div> "setpoint": 50.0,</div>
<div> "pid": {</div>
<div> "samplePeriod": 0.1,</div>
<div> "proportionalCoeff": 20.0,</div>
<div> "integralCoeff": 0.1, </div>
<div> "feedFwdOffsetCoeff": 0.0,</div>
<div> "feedFwdGainCoeff": 1.0, </div>
<div> "integralLimit_min": 0.0, </div>
<div> "integralLimit_max": 5.0, </div>
<div> "outLim_min": 5.0, </div>
<div> "outLim_max": 60.0, </div>
<div> "slewNeg": 0.0,</div>
<div> "slewPos": 0.0</div>
<div> }</div>
<div> },</div>
<div> {</div>
<div> "name": "inlet_Temp",</div>
<div> "type": "temp",</div>
<div> "inputs": ["inlet_Temp"], </div>
<div> "setpoint": 50.0,</div>
<div> "pid": { amplePeriod": 0.1, </div>
<div> "samplePeriod": 1.0, </div>
<div> "proportionalCoeff": -0.1,</div>
<div> "integralCoeff": 1.0, 36;34Hin": 5.0,</div>
<div> "feedFwdOffsetCoeff": 0.0,</div>
<div> "feedFwdGainCoeff": 0.0, </div>
<div> "integralLimit_min": 0.0, </div>
<div> "integralLimit_max": 0.0, </div>
<div> "outLim_min": 3000.0, </div>
<div> "outLim_max": 16000.0, </div>
<div> "slewNeg": 0.0,</div>
<div> "slewPos": 0.0,</div>
<div> "positiveHysteresis": 1.0,</div>
<div> "negativeHysteresis": 1.0 </div>
}<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
}
<div> ]</div>
<div> }</div>
<div> ]</div>
}<br>
</div>
</body>
</html>