Variable PID enable for compressor control algorithm
A control system, which may be a Proportional Integral Derivative (PID) control system, controls a component by adjusting the control input and the execution of the control output whenever a change in a state of a component exceeds a certain value. A method is also described.
1. A method for controlling the speed of a compressor in an air conditioning system, the air conditioning system also having an evaporator coupled to the compressor, a proportional integral derivative controller (hereafter a “PID controller”) coupled to the compressor and configured to control the compressor's speed, the air conditioning system also having an evaporator temperature sensor coupled to the evaporator and to the PID controller, the method comprising:
providing a target evaporator temperature to the PID controller;
determining an actual evaporator temperature while the compressor is operating at a first speed;
providing a first input signal to the PID controller, which represents a difference between the target evaporator temperature and the actual evaporator temperature while the compressor is operating at the first speed;
providing a second input signal to the PID controller, which represents the first speed of the compressor at the actual evaporator temperature;
calculating a second, desired speed of the compressor by the PID controller responsive to and proportional to the difference between the target evaporator temperature and the actual evaporator temperature at the first compressor speed; and
causing the compressor to change its speed from the first speed to the second speed.
2. The method of claim 1 , wherein the step of causing the compressor to change its speed from the first speed to the second speed occurs only when the difference between the target evaporator temperature and the actual evaporator temperature while the compressor is operating at a first speed, differs by an amount that is greater than a predetermined threshold value.
3. The method of claim 1 , further comprising the step of controlling the time between execution of the step of causing the compressor to change its speed from the first speed to the second speed.