I noticed an issue running tests with my new fridge.
To reduce the number of compressor cycles, I set the minimum ON time for the compressor at 10 minutes and the period at 60 minutes. This caused the fridge temperature to fluctuate above the setpoint, instead of around it.
This fridge responds very quickly to compressor action, so what will happen is:
During the 10 minutes of cooling, the fridge temp drops quickly.
This reduces proportional gain (because temp approaches setpoint). So during a PWM cylce, the actuator value changes. Due to the time limits and long period, the actuator cannot follow the quicly changing actuator value.
The achieved actuator action is fairly constant, but the actuator setting changes quickly.
And this is a guess: Because the actuator achieved value does not reach the setting, anti windup is triggered.
I have added a simulation to mimic this behavior, see below.
I noticed an issue running tests with my new fridge.
To reduce the number of compressor cycles, I set the minimum ON time for the compressor at 10 minutes and the period at 60 minutes. This caused the fridge temperature to fluctuate above the setpoint, instead of around it.
This fridge responds very quickly to compressor action, so what will happen is:
I have added a simulation to mimic this behavior, see below.