Expansion valve control

Abstract: An expansion valve control preferably residing in a microprocessor is responsive to a decision being made to deactivate one or more stages of compression. The control interrupts the deactivation and proceeds to calculate a new expansion valve position based upon the amount of capacity to be lost by the deactivated compressors. The expansion valve is commanded to move to the newly calculated position before the compressors are deactivated.

Description: The invention relates to an air conditioning system comprising a plurality of stages and to a process for controlling the movement of an expansion valve within an air conditioning system. More particularly, this invention relates to the control of an expansion valve within an air conditioning system. Air conditioning systems often have a plurality of compressor stages that can be individually activated or deactivated in response to the demand for cooling. These stages are typically activated or deactivated by a control program residing in a microprocessor dedicated to the control of the air conditioning system. EP-A-0 282 772 discloses a control system for an air conditioner wherein the opening degrees of the expansion valves is calculated in advance. In GB-A-2 215 867 there is described an air conditioning system according to the preamble of claim 1. A process for controlling an expansion valve according to the preamble of claim 6 is also known from GB-A-2 215 867. It has been found that a relatively high refrigerant flow condition will temporarily occur within the air conditioning system when the control program deactivates one or more compressor stages. This flow condition is typically corrected by throttling the expansion valve within the air conditioning system so as to thereby adjust the flow rate of the refrigerant within the system. This throttling action however usually occurs in response to the one or more stages having already been deactivated. In this regard, a typical expansion valve moves in response to a change in value of the superheat. It is to be noted that in extreme circumstances, the expansion valve may not react quickly enough and the superheat may drop low enough that liquid might enter the cylinders of the compressor. This may ultimately lower the life of the compressor. According to the invention, the above problem is solved by the features claimed in the characterizing portion of claim 1 and the invention provides a process according to the characterizing portion of claim 6. An expansion valve control is provided which adjusts the expansion valve before deactivation of the stages is allowed to occur. The expansion valve control is preferably a program residing in a microprocessor that may be running a number of other programs related to the overall control of the air conditioning system. The expansion valve control program is responsive to a decision having been made in another program to shut down or deactivate one or more compressors. The expansion valve control program immediately interrupts any process that would normally proceed to deactivate the compressors. The control program thereafter proceeds to obtain the current valve position and mathematically adjust this position as a function of the amount of capacity being lost by the deactivated compressors. The control program proceeds to command a new valve position and timely release the interrupt of the process for deactivating the compressors. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 illustrates an air conditioning system having a plurality of compressor stages that may be individually activated or deactivated by a controller that is also connected to an expansion valve within the system; Figures 2A and 2B illustrate a program within the controller of Figure 1 for monitoring the position of the expansion valve of Figure 1; and Figures 3A and 3B illustrate a control program within the controller of Figure 1 for controlling the expansion valve of Figure 1 in response to one or more compressor stages being deactivated. DESCRIPTION OF THE PREFERRED EMBODIMENT Referring to Figure 1, an air conditioning system is seen to include a plurality of cooling stages 10, 12, 14 and 16 which may be selectively activated or deactivated by a controller 18. It is to be understood that each cooling stage will have a compressor and an electrical motor associated therewith that responds to a control signal from the controller 18. A given electrical motor will be switched on thereby activating an associated compressor when additional cooling is required as determined by the controller 18. The same electrical motor may be switched off by the controller 18 when a desired temperature is achieved. Depending upon the number of active stages, refrigerant will flow at a certain flow rate through a condenser 20, an expansion valve 22 and an evaporator 24. The evaporator is seen to have an inlet and an outlet for processing a heat exchange fluid such as water. The refrigerant flow rate will vary as a function of the number of cooling stages that have been activated or deactivated by the controller 18. Adjustments will be made by the expansion valve 22 under the control of the controller 18 in a manner which will hereinafter be described. In the preferred embodiment, the controller may receive a series of programs and data by any input device including by way of example a keyboard terminal 26. These programs are executed by a microprocessor 28 within the controller 18. The expansion valve 22 preferably includes control logic 30 that is responsive to a set of control signals received from the controller 18 via control lines 32 and 34. The control line 32 provides an indication as to the direction in which the expansion valve is to move. The control line 34 provides an appropriate logic level signal indicating when the control logic 30 is to begin and end moving the expansion valve. The control logic preferably includes a pulse generator (not shown) which generates pulses to a stepping motor (not shown). The stepping motor moves a shaft or worm gear 36 which moves in one of two directions depending on the control signal on the line 32. The shaft or worm gear 36 moves in the prescribed direction a predetermined amount dictated by the number of pulses applied to the step motor. The number of pulses applied to the step motor is defined by the time in which the logic level signal remains at a particular logic level on the control line 34. Referring to Figure 2, a position monitoring program is seen to begin with a step 40. The step 40 reads certain information provided to the programmed microprocessor 28 within the controller 18 via the keyboard 26. The information that is provided includes a motor speed per pulse value "V". The microprocessor also receives a minimum open position "MOP" and a motor direction for "MOP" from the keyboard 26. The value "V" indicates the speed at which a particular pulse step is taken by the step motor within the control logic 30. The minimum open position "MOP" is a position from which the valve mechanism 22 normally is set at the beginning of valve operation. The microprocessor proceeds to a step 42 and issues a command to the control logic 30 to move the valve 22 in the closed direction for a significant number of steps so as to guarantee that the mechanical valve mechanism 22 will have moved to an absolutely closed position. The microprocessor proceeds to a step 44 and sets a variable "P" equal to zero. The microprocessor now proceeds to a step 46 and sets a "COMMAND" equal to "MOP". The microprocessor next proceeds to a step 40 and sets a "COMMAND DIRECTION" equal to the motor direction provided in step 40. The microprocessor proceeds to a step 50 and inquires as to whether any "COMMAND" has been received to move the valve. Since the "COMMAND" was set equal to "MOP" in step 46, the microprocessor will proceed to a step 52 and set a FLAG equal to binary one indicating that the valve is in the process of being moved. The microprocessor now moves to a step 54 and calculates the time "T" that it will take the control logic 30 to generate the number of pulses necessary to achieve the commanded position. This is accomplished by dividing the "COMMAND" by the value "V" attributable to motor speed per pulse. The microprocessor will proceed from having calculated the time "T" in step 54 to a step 56 and will set a clock equal to "T". The microprocessor will next proceed to a step 58 and issue a signal to the control logic 30 via the line 32 to prepare to move in the "COMMANDED DIRECTION". The microprocessor will thereafter in a step 60 generate a logic level signal on the line 34. This signal will cause the control logic 30 to begin pulse generation. The microprocessor now proceeds to a step 62 and immediately begins decrementing the clock set equal to "T" in step 56. The microprocessor now proceeds to a step 64 and simply waits until the clock equals zero. At this point the microprocessor proceeds to a step 66 and immediately changes the logic level of the control signal on line 34 so as to stop pulse generation. The microprocessor now proceeds to a step 68 and sets the variable "P" equal to "P" plus "COMMAND". It is to be appreciated that since "P" was set equal to zero in step 44 and "COMMAND" was set equal to "MOP" in step 46, the initial setting of "P" will be the "MOP" value in step 68. The microprocessor proceeds to step 70 and resets the FLAG equal to zero. The microprocessor will now proceed to a point "A" which is the normal entry point into the position monitor program wherein a "COMMAND" is to be received from other software resident in the microprocessor. Any such "COMMAND" and associated "COMMANDED DIRECTION" will be processed through steps 50 through 70 as has been heretofore described. The new position of the valve 22 will be the previous position plus whatever "COMMAND" was received and processed. Referring now to Figure 3A, a particular control program which will be issuing a "COMMAND" and a COMMANDED DIRECTION is illustrated. The control program begins with a step 80 wherein information concerning the nominal capacity of each compressor within the stages 10 through 16 is read. The microprocessor proceeds to a step 82 and inquires as to whether a "DEACTIVATE STAGE COMMAND" signal has been received from control software resident within the microprocessor that normally issues such a command. In this regard, control software within the controller 18 will activate or deactivate the stages 10 through 16 in response to the air conditioning system having achieved certain temperature levels. This control software is well known in art and need not be disclosed in detail herein. In the event that such control software wishes to deactivate one or more stages, a "DEACTIVATE STAGE COMMAND" signal will be noted in step 82 and the microprocessor running the control program of Figure 3A will immediately proceed to a step 84 and interrupt the control program generating the "DEACTIVATE STAGE COMMAND" signal. The microprocessor will now proceed to a step 86 and identify the stages that are to be deactivated. This would include a query of the control software to identify which of the stages 10 through 16 are to be deactivated. It is to be appreciated that various control programs will have their own distinct approaches of identifying particular stages to be deactivated. The microprocessor will proceed with the information obtained in step 86 to fetch the nominal capacity for each deactivated stage identified in step 86. The microprocessor will proceed in a step 90 to sum all such nominal capacities of deactivated stages. The microprocessor will proceed to a step 92 and first query the control software as to which of the stage 10-16 are currently active. The nominal capacity for each identified active stage will be fetched and summed in step 92. The microprocessor now proceeds to a step 94 and calculates the fractional capacity to be deactivated. This is accomplished by dividing the results of step 90 by the results obtained in step 92. The thus calculated fractional capacity is stored as a value "D" and the microprocessor proceeds to a step 96 and reads the FLAG from the position monitoring program. It will be remembered from the discussion of the position monitoring program in Figures 2A and 2B, that the FLAG will be set equal to a one when the position monitoring program is in fact moving the expansion valve 22 to a different position. Referring to step 98, the microprocessor will await the FLAG being set equal to zero. The microprocessor will then proceed to a step 100 and read the current valve position, "P", as defined by the position monitoring program of Figure 3. The microprocessor will now proceed to calculate a position "COMMAND" value in a step 102. The calculation includes obtaining the difference between the read position "P" in step 100 and the minimum operating position "MOP" of step 50. This difference is multiplied times the fractional capacity, "D", that was calculated in step 94. The results of this are the "COMMAND" of step 102. The microprocessor proceeds to a step 104 and issues the calculated "COMMAND" of step 102 to the position monitoring program. The microprocessor will also issue the "COMMANDED DIRECTION" in a step 106. This COMMANDED DIRECTION is always in the direction that will tend to close the valve 22. The microprocessor will next proceed to a step 108 and inquire as to the status of the FLAG from the position monitoring program. The microprocessor will ask whether the FLAG indicates that the valve is moving in a step 110. A FLAG indication that the valve is no longer moving is taken to mean that the valve has achieved its new position. The microprocessor will proceed from step 110 to a step 112 and remove the interrupt from the overall control program which issued the original deactivate stage "COMMAND". In this regard, the control program will proceed to deactivate the stages but will do so with an air conditioning system that has already had an expansion valve adjustment in anticipation of the stages being deactivated. The microprocessor will proceed from step 112 back to a point "B" upstream of step 82 and again await a further "DEACTIVATE STAGE COMMAND" signal from the control program. While the invention has been described with respect to the aforementioned preferred embodiment, it will be appreciated that many modifications and changes may be made. For instance, the invention would be equally applicable to a system wherein the valve position was monitored in a different manner such as by a transducer pickup indicating the valve position at all times. Another embodiment of the invention might include providing specific numbers of pulses to the control logic 30 associated with the expansion valve so as to allow the pulses to be timed out from the control logic. It is therefore intended that the scope of the present invention be limited only by the scope of the following claims.

Claims: An air conditioning system comprising a plurality of stages (10,12,14,16) of compression which may be selectively deactivated, an expansion valve (22) within the air conditioning system, and a system (18) for controlling the movement of the expansion valve (22) and comprising means (28,86) for sensing when one or more stages (10,12,14,16) are to be deactivated, the controlling system being characterized by: means (82,84) for interrupting the deactivation of the stages (10-16), means (88-102) for calculating a new position for the expansion valve (22) based on the number of stages (10-16) to be deactivated; and means (30,104,106) for commanding the expansion valve (22) to move to the new position before releasing said means (82,84) for interrupting the deactivation of the stages (10-16). The system of claim 1 wherein said means (88-102) for calculating a new position for the expansion valve (22) is characterized by: means (90-94) for determining the fractional amount of air conditioning system capacity to be affected by deactivating the stages (10-16); means (100) for determining current position of the expansion valve (22); and means (102) for multiplying the determined current position by the determined fractional amount of affected capacity. The system of claim 2 wherein said means (100) for determining the current position of the expansion valve (22) is characterized by: means (104,106) for monitoring any command to move the expansion valve (22); means (96,98) for delaying any response to a request for current valve position during movement of the valve (22) to the commanded position. The system of claim 2 wherein said means (100,102) for determining current position of the expansion valve (22) is characterized by: means (100) for reading a valve position; and means (102) for adjusting the read valve position by an amount equal to a minimum valve open position. The system of claim 2 wherein said means (90-94) for determining the fractional amount of air conditioning system capacity to be affected by deactivating the stages (10-16) is characterized by: means (90) for calculating the capacity of the stages to be deactivated; and means (94) for dividing the calculated capacity of the stages to be deactivated by the summed capacities (92) of all active stages (10-16) in the air conditioning system. A process for controlling the movement of an expansion valve (22) within an air conditioning system comprising a plurality of stages (10-16)of compression which may be selectively deactivated including sensing (28,86) when one or more stages (10-16) are to be deactivated, said process being characterized by the steps of: interrupting (82,84) the deactivation of the stages (10-16); calculating (88-102) a new position for the expansion valve based on the number of stages (10-16) to be deactivated; and commanding (30,104,106) the expansion valve (22) to move to the new position before releasing said step of interrupting (82,84) the deactivation of the stages (10-16). The process of claim 6 wherein said step of calculating (88-102) a new position for the expansion valve (22) is characterized by the steps of: determining (90-94) the fractional amount of air conditioning system capacity to be affected by deactivating the stages (10-16); determining (100) current position of the expansion valve (22); and multiplying (102) the determined current position by the determined fractional amount of affected capacity. The process of claim 7 wherein said step of determining the current position of the expansion valve (22) is characterized by the steps of: monitoring (104,106) any command to move the expansion valve (22); and delaying (96,98) any response to a request for current valve position during movement of the valve (22) to the commanded position. The process of claim 7 wherein said step of determining (100,102) current position of the expansion valve is characterized by the steps of; reading (100) a valve position; and adjusting (102) the read valve position by an amount equal to a minimum valve open position. The process of claim 7 wherein said step of determining (90-94) the fractional amount of total air conditioning system capacity to be affected by deactivating the stages is characterized by the steps of: calculating (90) the capacity of the stages (10-16) to be deactivated; and dividing (94) the calculated capacity of the stages to be deactivated by the summed capacities (92) of all active stages (10-16) in the air conditioning system.

Inventors: FRIDAY ARTHUR F, GINN RICHARD E, WRIGHT EDWARD F JR, FRIDAY, ARTHUR F., GINN, RICHARD E., WRIGHT, EDWARD F., JR.
Applicants: CARRIER CORP, CARRIER CORPORATION
Application year: 1993
Main classification: F25B41
IPC codes: F25B41, F25B49, F24F11, F25B1, G05D23