#6 Hysteresis not working in tp4xfancontrol V0.211

open
nobody
None
5
2009-03-16
2009-03-16
Anonymous
No

In release V.0.21 of tp4xfancontrol the hysteresis is not working as described in the fancontrol.ini:

...
// (for the fan to come back, temperature must fall
// down to previous level).
...

-----------------------------
Problem description:
-----------------------------

Settings from the fancontrol.ini:

Level=48 0
Level=52 1
Level=54 2
...

When the temperature is around 52°, the fan speed is oscillating between 0x00 and 0x01:

[16.03.2009 18:17:05] Fan: 0x00 / Highest: 52°C (45 44 34 47 34 n/a 29 n/a 42 52 44 n/a)
[16.03.2009 18:17:05] Smart: Set fan control to 0x01, Result: OK
[16.03.2009 18:17:09] Fan: 0x01 / Highest: 51°C (45 45 34 46 34 n/a 29 n/a 42 51 44 n/a)
[16.03.2009 18:17:09] Smart: Set fan control to 0x00, Result: OK
[16.03.2009 18:17:10] Fan: 0x00 / Highest: 52°C (45 45 34 46 34 n/a 29 n/a 42 52 44 n/a)
[16.03.2009 18:17:10] Smart: Set fan control to 0x01, Result: OK
[16.03.2009 18:17:15] Fan: 0x01 / Highest: 51°C (45 44 34 46 34 n/a 29 n/a 42 51 44 n/a)
[16.03.2009 18:17:15] Smart: Set fan control to 0x00, Result: OK
[16.03.2009 18:17:20] Fan: 0x00 / Highest: 52°C (45 45 34 47 34 n/a 29 n/a 42 52 44 n/a)
[16.03.2009 18:17:20] Smart: Set fan control to 0x01, Result: OK
[16.03.2009 18:17:29] Fan: 0x01 / Highest: 52°C (45 45 34 46 34 n/a 29 n/a 42 52 44 n/a)
[16.03.2009 18:17:29] Mode switch: Set fan control to 0x80, Result: OK

-----------------------------
Expected behaviour:
-----------------------------

- As soon as the temperature reaches the value defined by a certain level in the .ini file: Set the corresponding fan speed.
- Only when the temperature falls below the PREVIOUS level: set the corresponding fan speed.

Example corresponding to the following setting from the fancontrol.ini:

Level=48 0
Level=52 1
Level=54 2
...

1.) fan off, temperature rising and reaching 52° -> Set fan to 0x01
2.) temperature starts to fall below 52° -> keep fan speed of 0x01
3.) temperature falls and reaches 48° -> set fan to 0x00

Discussion