Method for controlling electric compressor of heat pump system for an automotive vehicle

09903628 ยท 2018-02-27

Assignee

Inventors

Cpc classification

International classification

Abstract

Disclosed herein is a method for controlling an electromotive compressor in a heat pump system for a vehicle. In accordance with an embodiment of the present invention, an unexpected cutoff of a compressor attributable to overload and the generation of noise and vibration attributable to frequent restarts can be prevented by controlling the number of rotations of the compressor within a specific range based on the discharge pressure of the compressor.

Claims

1. A method for controlling an electromotive compressor in a heat pump system for a vehicle, comprising: providing a controller in communication with a temperature sensor, a pressure sensor, a memory, and the electromotive compressor; receiving a predetermined target temperature selected by a user of the vehicle and a room temperature detected by the temperature sensor by the controller; calculating a number of rotations of the electromotive compressor based on the predetermined target temperature and the room temperature by the controller; receiving a discharge pressure of the electromotive compressor detected by the pressure sensor by the controller; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum heating upper-limit discharge pressure in a heating operation of the heat pump system; and increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum heating lower-limit discharge pressure in the heating operation of the heat pump system, wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum heating lower-limit discharge pressure and the room temperature is less than the predetermined target temperature after a lapse of a specific time, wherein the slew rate is increased by a specific ratio if the number of rotations of the electromotive compressor is increased.

2. The method according to claim 1, wherein the controller controls the number of rotations of the electromotive compressor to maintain the discharge pressure of the electromotive compressor between the predetermined maximum heating lower-limit discharge pressure and the predetermined maximum heating upper-limit discharge pressure.

3. A method for controlling an electromotive compressor in a heat pump system for a vehicle, comprising: providing a controller in communication with a temperature sensor, a pressure sensor, a memory, and the electromotive compressor; receiving a predetermined target temperature selected by a user of the vehicle and a room temperature detected by the temperature sensor by the controller; calculating a number of rotations of the electromotive compressor based on the predetermined target temperature and the room temperature by the controller; receiving a discharge pressure of the electromotive compressor detected by the pressure sensor by the controller; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum heating upper-limit discharge pressure in a heating operation of the heat pump system; increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum heating lower-limit discharge pressure in the heating operation of the heat pump system, wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum heating lower-limit discharge pressure and the room temperature is less than the predetermined target temperature after a lapse of a specific time; providing a positive temperature coefficient heater in communication with the controller; and controlling the positive temperature coefficient heater by the controller if the discharge pressure is one of equal to and greater than the maximum heating upper-limit discharge pressure and the room temperature is lower than the predetermined target temperature after the number of rotations of the electromotive compressor is decreased.

4. A method for controlling an electromotive compressor in a heat pump system for a vehicle, comprising: providing a controller in communication with a temperature sensor, a pressure sensor, a memory, and the electromotive compressor; receiving a predetermined target temperature selected by a user of the vehicle and a room temperature detected by the temperature sensor by the controller; calculating a number of rotations of the electromotive compressor based on the predetermined target temperature and the room temperature by the controller; receiving a discharge pressure of the electromotive compressor detected by the pressure sensor by the controller; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum heating upper-limit discharge pressure in a heating operation of the heat pump system; increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum heating lower-limit discharge pressure in the heating operation of the heat pump system, wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum heating lower-limit discharge pressure and the room temperature is less than the predetermined target temperature after a lapse of a specific time; and stopping an operation of the electromotive compressor by the controller if the number of rotations of the electromotive compressor is one of equal to and less than a predetermined minimum number of rotations after the number of rotations of the electromotive compressor is decreased.

5. The method according to claim 1, further comprising the step of stopping an operation of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined limit heating discharge pressure.

6. The method according to claim 5, wherein the predetermined limit heating discharge pressure is 21 kgf/cm.sup.3.

7. The method according to claim 1, wherein the predetermined maximum heating upper-limit discharge pressure is 18 kgf/cm.sup.3.

8. The method according to claim 1, wherein the predetermined maximum heating lower-limit discharge pressure is 17 kgf/cm.sup.3.

9. A method for controlling an electromotive compressor in a heat pump system for a vehicle, comprising: providing a controller in communication with a temperature sensor, a pressure sensor, a memory, and the electromotive compressor; receiving a predetermined target temperature selected by a user of the vehicle and a room temperature detected by the temperature sensor by the controller; calculating a number of rotations of the electromotive compressor based on the predetermined target temperature and the room temperature by the controller; receiving a discharge pressure of the electromotive compressor detected by the pressure sensor by the controller; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum cooling upper-limit discharge pressure in a cooling operation of the heat pump system; increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum cooling lower-limit discharge pressure in the cooling operation of the heat pump system, wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum cooling lower-limit discharge pressure and the room temperature is greater than the predetermined target temperature after a lapse of a specific time; and stopping an operation of the electromotive compressor by the controller if the number of rotations of the electromotive compressor is one of equal to and less than a predetermined minimum number of rotations after the number of rotations of the electromotive compressor is decreased.

10. The method according to claim 9, wherein the number of rotations of the electromotive compressor is decreased by a predetermined slew rate.

11. The method according to claim 9, wherein the predetermined maximum cooling lower-limit discharge pressure is 28 kgf/cm.sup.3.

12. The method according to claim 9, wherein the predetermined maximum cooling upper-limit discharge pressure is 31 kgf/cm.sup.3.

13. A method for controlling an electromotive compressor in a heat pump system for a vehicle, comprising: providing a controller in communication with a temperature sensor, a pressure sensor, a memory, and the electromotive compressor; operating the heat pump system in one of a cooling operation and a heating operation; receiving a predetermined target temperature selected by a user of the vehicle and a room temperature detected by the temperature sensor by the controller; calculating a number of rotations of the electromotive compressor based on the predetermined target temperature and the room temperature by the controller; receiving a discharge pressure of the electromotive compressor detected by the pressure sensor by the controller; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum heating upper-limit discharge pressure in a heating operation of the heat pump system; increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum heating lower-limit discharge pressure in the heating operation of the heat pump system; decreasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined maximum cooling upper-limit discharge pressure in a cooling operation of the heat pump system; increasing the number of rotations of the electromotive compressor by the controller if the discharge pressure is one of equal to and less than a predetermined maximum cooling lower-limit discharge pressure in the cooling operation of the heat pump system; stopping an operation of the electromotive compressor by the controller if the number of rotations of the electromotive compressor is one of equal to and less than a predetermined minimum number of rotations after the number of rotations of the electromotive compressor is decreased during the heating operation of the heat pump system; and stopping the operation of the electromotive compressor by the controller if the number of rotations of the electromotive compressor is one of equal to and less than a predetermined minimum number of rotations after the number of rotations of the electromotive compressor is decreased during the cooling operation of the heat pump system.

14. The method according to claim 13, further comprising the step of controlling a positive thermal coefficient heater by the controller if the discharge pressure is one of equal to and greater than the maximum heating upper-limit discharge pressure and the room temperature is lower than the predetermined target temperature after the number of rotations of the electromotive compressor is decreased during the heating operation of the heat pump system.

15. The method according to claim 13, wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum heating lower-limit discharge pressure and the room temperature is less than the predetermined target temperature after a lapse of a specific time, and wherein the number of rotations of the electromotive compressor is increased by a slew rate if the discharge pressure is one of equal to and less than the maximum cooling lower-limit discharge pressure and the room temperature is greater than the predetermined target temperature after a lapse of a specific time.

16. The method according to claim 13, further comprising the step of stopping the operation of the electromotive compressor by the controller if the discharge pressure is one of equal to and greater than a predetermined limit heating discharge pressure during the heating operation of the heat pump system.

17. The method according to claim 13, wherein the controller controls the number of rotations of the electromotive compressor to one of maintain the discharge pressure of the electromotive compressor between the predetermined maximum heating lower-limit discharge pressure and the predetermined maximum heating upper-limit discharge pressure during the heating operation of the heat pump system and maintain the discharge pressure of the electromotive compressor between the predetermined maximum cooling lower-limit discharge pressure and the predetermined maximum cooling upper-limit discharge pressure during the cooling operation of the heat pump system.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The above and other objects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:

(2) FIG. 1 is a configuration illustrating a conventional heat pump system for a vehicle;

(3) FIG. 2 is a schematic diagram illustrating a system for controlling a compressor in accordance with an embodiment of the present invention;

(4) FIG. 3 is a flowchart illustrating a method for controlling a compressor when cooling is performed in accordance with an embodiment of the present invention; and

(5) FIG. 4 is a flowchart illustrating a method for controlling a compressor when heating is performed in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS OF THE INVENTION

(6) A compressor described hereinafter is an electromotive compressor that forms a heat pump system for a vehicle. The compressor may freely operate regardless of the driving frequency of rotation (rpm) of a vehicle because it generates driving force using electricity.

(7) FIG. 2 is a schematic diagram illustrating a system for controlling a compressor in accordance with an embodiment of the present invention. In accordance with an embodiment of the present invention, the value of a room temperature T within a vehicle that is detected by a temperature sensor 100 and the value of a discharge pressure P.sub.d of a compressor 300 that is detected by a pressure sensor 200 are transmitted to a controller 400.

(8) The controller 400 sets the number of rotations of the compressor 300 based on a target temperature T_.sub.target and a current room temperature T that are basically set by a driver. The controller 400 controls the discharge pressure P.sub.d of a refrigerant externally discharged by the compressor 300 so that the discharge pressure P.sub.d maintains a specific range by controlling the number of rotations of the compressor 300 based on the discharge pressure P.sub.d of the compressor 300 detected by the pressure sensor 200, thereby preventing the unexpected cutoff of the compressor 300.

(9) A method for controlling the number of rotations of the compressor 300 when the heat pump system performs a heating operation (in heat pump mode) and a cooling operation (in air-conditioning mode) is described below step by step with reference to FIGS. 3 and 4.

(10) FIG. 4 is a flowchart illustrating a method for controlling a compressor when heating is performed in accordance with an embodiment of the present invention.

(11) Referring to FIG. 4, when the heating operation of a heat pump system is started, first, a target temperature T_.sub.target and a current room temperature T set by a driver are detected by the temperature sensor 100 at step S100 and are transmitted to the controller 400 on one side of the compressor 300.

(12) The controller 400 calculates the number of rotations (rpm) of the compressor 300 based on the detected target temperature T_.sub.target and the detected room temperature T at step S200, sets the number of rotations of the compressor 300 based on the calculated value at step S300, and then control the operation of the compressor 300.

(13) Furthermore, the discharge pressure P.sub.d of a refrigerant compressed and discharged by the compressor 300 is detected by the pressure sensor 200 at step S400 and is then transmitted to the controller 400.

(14) The controller 400 controls the number of rotations of the compressor 300 based on the detected discharge pressure P.sub.d of the compressor 300 at step S500. If the detected discharge pressure P.sub.d is a limit heating discharge pressure P.sub.d.sub._.sub.L or higher, the controller 400 cuts off the operation of the compressor 300. Furthermore, if the detected discharge pressure P.sub.d is a maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max or higher, the controller 400 controls the number of rotations so that it is decreased. If the detected discharge pressure P.sub.d is a maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower, the controller 400 controls the number of rotations so that it is increased. That is, the controller 400 controls the number of rotations of the compressor 300 so that the discharge pressure P.sub.d of the compressor 300 remains between the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min and the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max.

(15) In this case, an increase in the number of rotations of the compressor 300 is performed when the discharge pressure P.sub.d is still the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower and the room temperature T is lower than the target temperature T_.sub.target even after a lapse of a specific time.

(16) In this case, the values of the limit heating discharge pressure P.sub.d.sub._.sub.L, the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max, and the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min may be previously set. For example, the limit heating discharge pressure P.sub.d.sub._.sub.L of 21 kgf/cm.sup.2, the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max of 18 kg/cm.sup.2, and the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min of 17 kgf/cm.sup.2 may have been previously stored in a memory 500 in the form of data. The controller 400 compares the discharge pressure P.sub.d with data stored in the memory 500.

(17) If the number of rotations of the compressor 300 is to be decreased, the controller 400 controls the number of rotations of the compressor 300 so that it is decreased at a slew rate sr.sub.0 previously set in memory 500. If the number of rotations of the compressor 300 is to be increased, the controller 400 increases an existing slew rate sr at a specific ratio f and controls the number of rotations of the compressor 300 so that it is increased.

(18) In FIG. 4, the controller 400 compares the discharge pressure P.sub.d with the limit heating discharge pressure P.sub.d.sub._.sub.L at step S510. If, as a result of the comparison, the detected discharge pressure P.sub.d is found to be the limit heating discharge pressure P.sub.d.sub._.sub.L or higher, the controller 400 cuts off the operation of the compressor 300 at step S511.

(19) For example, if the detected discharge pressure P.sub.d is lower than the limit heating discharge pressure P.sub.d.sub._.sub.L, the controller 400 compares the detected discharged pressure P.sub.d with the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max at step S520. If, as a result of the comparison, the detected discharge pressure P.sub.d is found to be lower than the limit heating discharge pressure P.sub.d.sub._.sub.L and to be the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max or higher, the controller 400 decreases the number of rotations of the compressor 300 at the predetermined slew rate sr.sub.0 (e.g., 50 rpm/s) at step S521.

(20) In this case, if the decreased number of rotations (rpm) of the compressor 300 is a predetermined minimum number of rotations rpm_.sub.min (e.g., 2000 rpm) or less, the controller 400 cuts off the operation of the compressor 300 in order to prevent a failure at step S511. Furthermore, if the number of rotations of the compressor 300 reduced through the step of controlling the number of rotations is greater than the predetermined minimum number of rotations rpm_.sub.min, the controller 400 detects a current room temperature T through the temperature sensor 100 at step S522.

(21) If the detected room temperature T is the target temperature T_.sub.target or higher, the controller 400 returns to the step S300 of setting the number of rotations of the compressor 300 and drives the compressor 300 based on the decreased number of rotations.

(22) In contrast, if the detected room temperature T is lower than the target temperature T_.sub.target, the controller 400 increases the heat capacity of a PTC heater 600 at step S523. In this case, when the PTC heater 600 is in an OFF state, the controller 400 switches the PTC heater 600 from the OFF state to an ON state. The heat capacity of the PTC heater 600 may be controlled by the amount of electric energy supplied, such as a supplied power source. An increment in the heat capacity of the PTC heater 600 may be properly selected, if necessary.

(23) If, as a result of the comparison at step S520, the detected discharge pressure P.sub.d is found to be smaller than the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max, the controller 400 compares the discharge pressure P.sub.d with the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max at step S530. If, as a result of the comparison, the detected discharge pressure P.sub.d is found to be lower than the maximum heating upper-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.max and to be higher than the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min, the controller 400 returns to the step S100 of detecting a temperature and drives and controls the compressor 300 based on the number of rotations calculated based on the room temperature T and the target temperature T_.sub.target.

(24) If, as a result of the comparison at step S530, the detected discharge pressure P.sub.d is found to be the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower, the controller 400 checks time at step S531. If the checked time for which the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower is maintained does not exceed a specific time, the controller 400 returns to the step S100 of detecting a temperature. In this case, the criterion for time for which the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower is maintained may be properly selected, if necessary.

(25) If the checked time for which the maximum heating lower-limit discharge pressure P.sub.d.sub._.sub.h.sub._.sub.min or lower is maintained exceeds the specific time, the controller 400 detects a current room temperature T at step S532. In this case, if the detected room temperature T is found to be the target temperature T_.sub.target or higher, the controller 400 detects a room temperature again at step S100. If the detected room temperature T is lower than the target temperature T_.sub.target, the controller 400 increases the number of rotations of the compressor 300 at the slew rate sr at step S533.

(26) In this case, the increased number of rotations of the compressor 300 is obtained by adding the existing number of rotations to a value obtained by multiplying the existing number of rotations by the slew rate sr. When the number of rotations of the compressor 300 is first increased, the predetermined slew rate sr.sub.0 is applied to the number of rotations of the compressor 300. Thereafter, if the number of rotations of the compressor 300 is to be continuously increased, the previous slew rate sr is increased at the specific ratio f and applied to the number of rotations at step S534. For example, if the slew rate sr is to be increased 50%, when a slew rate applied in a first step is 50 rpm/s, a slew rate in a second step is 75 rpm/s and a slew rate in a third step is 87.5 rpm/s.

(27) FIG. 3 is a flowchart illustrating a method for controlling a compressor when cooling is performed in accordance with an embodiment of the present invention.

(28) When the cooling operation of a heat pump system is started, first, a target temperature T_.sub.target and a current room temperature T set by a driver are detected by the temperature sensor 100 and are transmitted to the controller 400 on one side of the compressor 300 at step S10.

(29) The controller 400 calculates the number of rotations (rpm) of the compressor 300 based on the detected target temperature T_.sub.target and the detected room temperature T at step S20, sets the number of rotations of the compressor 300 based on the calculated value at step S30, and controls the operation of the compressor 300.

(30) Furthermore, the discharge pressure P.sub.d of a refrigerant discharged by the compressor 300 is detected by the pressure sensor 200 at step S40 and is transmitted to the controller 400.

(31) The controller 400 controls the number of rotations of the compressor 300 based on the detected discharge pressure P.sub.d of the compressor 300 at step S50. If the detected discharge pressure P.sub.d is a maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max or higher, the controller 400 controls the number of rotations of the compressor 300 so that it is decreased. If the detected discharge pressure P.sub.d is a maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower, the controller 400 controls the number of rotations of the compressor 300 so that it is increased.

(32) That is, the controller 400 controls the number of rotations of the compressor 300 so that the discharge pressure P.sub.d of the compressor 300 remains between the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min and the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max.

(33) In this case, an increase in the number of rotations of the compressor 300 is performed when the discharge pressure P.sub.d is still the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower and the room temperature T is higher than the target temperature T_.sub.target even after a lapse of a specific time.

(34) In this case, the values of the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max and the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min may be previously set. For example, the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max of 31 kgf/cm.sup.2 and the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min of 28 kgf/cm.sup.2 may be previously stored in the memory 500. The controller 400 may read the stored values from the memory 500 and compare each of the values with the discharge pressure P.sub.d.

(35) In accordance with an embodiment of the present invention, if the number of rotations of the compressor 300 is to be decreased, the controller 400 controls the number of rotations of the compressor 300 so that it is decreased at a slew rate sr.sub.0 previously set in the memory 500. If the number of rotations of the compressor 300 is to be increased, the controller 400 increases an existing slew rate sr at a specific ratio f and controls the number of rotations of the compressor 300 so that it is increased.

(36) Referring back to FIG. 3, the controller 400 compares the detected discharge pressure P.sub.d with the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max at step S51. If, as a result of the comparison, the detected discharge pressure P.sub.d is found to be the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max or higher, the controller 400 decreases the number of rotations of the compressor 300 at a predetermined slew rate (e.g., 50 rpm/s) at step S52.

(37) In this case, if the reduced number of rotations of the compressor 300 is a minimum number of rotations rpm_.sub.min (e.g., 2000 rpm) or lower previously set in the memory 500, the controller 400 cuts off the operation of the compressor 300 in order to prevent a failure at step S53. If the number of rotations of the compressor 300 reduced through the step S50 of controlling the number of rotations is greater than the predetermined minimum number of rotations rpm_.sub.min, the controller 400 returns to the step S30 of setting the number of rotations of the compressor 300 and drives the compressor 300 based on the decreased number of rotations.

(38) If, as a result of the comparison at step S51, the detected discharge pressure P.sub.d is found to be lower than the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max, the controller 400 compares the detected discharge pressure P.sub.d with the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.mm at step S54.

(39) If the detected discharge pressure P.sub.d is lower than the maximum cooling upper-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.max and is higher than the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min, the controller 400 receives a current room temperature T detected by the temperature sensor 100 again at step S10 and drives the compressor 300 based on the number of rotations calculated based on the room temperature T and the target temperature T_.sub.target.

(40) In contrast, if, as a result of the comparison at step S54, the detected discharge pressure P.sub.d is found to be the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower, the controller 400 checks a time at step S55. If the checked time for which the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower is maintained does not exceed the specific time, the controller 400 returns to the step S10 of detecting a temperature. In this case, the criterion for time for which the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower is maintained may be properly selected, if necessary.

(41) In contrast, if the checked time for which the maximum cooling lower-limit discharge pressure P.sub.d.sub._.sub.c.sub._.sub.min or lower is maintained exceeds the specific time, the controller 400 detects a current room temperature T at step S56. In this case, if the detected room temperature T is the target temperature T_.sub.target or lower, the controller 400 receives a current room temperature T detected by the temperature sensor 100 again at step S10. If the detected room temperature T is higher than the target temperature T_.sub.target, the controller 400 increases the number of rotations of the compressor 300 at the slew rate sr at step S57.

(42) Accordingly, the increased number of rotations of the compressor 300 is obtained by adding the existing number of rotations to a value obtained by multiplying the existing number of rotations by the slew rate sr. When the number of rotations of the compressor 300 is first increased, the predetermined slew rate sr.sub.0 is applied to the number of rotations of the compressor 300. Thereafter, if the number of rotations of the compressor 300 is to be continuously increased, the previous slew rate sr is increased at the specific ratio f and applied to the number of rotations at step S58. For example, if the slew rate sr is to be increased 50%, when a slew rate applied in a first step is 50 rpm/s, a slew rate in a second step is 75 rpm/s and a slew rate in a third step is 87.5 rpm/s.

(43) As described above, in accordance with the method for controlling an electromotive compressor in a heat pump system for a vehicle according to an embodiment of the present invention, when a heat pump system for a vehicle performs a cooling or heating operation, the number of rotations (rpm) of the compressor 300 is controlled within a specific range based on the discharge pressure P.sub.d of the compressor 300. Accordingly, an unexpected cutoff of the compressor 300 attributable to overload can be prevented and the generation of noise and vibration attributable to frequent restarts can be prevented, thereby being capable of improving sensitive quality. Furthermore, there is an advantage in that the durability and stability of a heat pump system for a vehicle including the compressor 300 can be improved.

(44) Furthermore, the discharge pressure of the compressor 300 remains in a specific range because the number of rotations of the compressor 300 is controlled based on the discharge pressure P.sub.d of the compressor 300 when cooling or heating is performed.

(45) Furthermore, a regular room temperature T can be maintained because an unexpected cutoff of the compressor 300 attributable to overload is prevented, and the sensitive quality of a vehicle can be improved because noise and vibration attributable to compressor 300 restarts are prevented.