Method and apparatus for controlling compressor of car air conditioning system, device and medium

EP4803819A1Pending Publication Date: 2026-09-09CRRC CHANGCHUN RAILWAY VEHICLES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
EP2023958093
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-06
Filing Date
2023-11-22
Publication Date
2026-09-09

Smart Images

  • Figure IMGAF001_ABST
    Figure IMGAF001_ABST
Patent Text Reader

Abstract

A method for controlling a compressor of a car air conditioning system, a control apparatus (300), an electronic device (400), and a storage medium. The method comprises: step S101, before a compressor of an air conditioning system starts up, detecting a connection state of a pressure switch connected to the compressor, and in response to the pressure switch being connected, controlling the compressor to start up; step S102, detecting the connection state of the pressure switch in real time in a first time period, and recording the number of instances of protection of the pressure switch in the first time period; step S103, when the number of instances of protection of the pressure switch in the first time period is greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending the state of the compressor to a train control management system; step S104, when it is detected that the air conditioning system is in a shutdown mode or is powered on again, returning to execute the step of detecting the connection state of the pressure switch connected to the compressor, so that the compressor is effectively prevented from being damaged, and the air conditioning system is protected from being damaged.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO THE RELATED APPLICATIONS

[0001] The present invention claims priority to Chinese Patent Application No. 202311464393.7, filed with the China National Intellectual Property Administration on November 06, 2023, and entitled "METHOD AND APPARATUS FOR CONTROLLING COMPRESSOR OF CAR AIR CONDITIONING SYSTEM, DEVICE AND MEDIUM", the entire contents of which are incorporated herein by reference.TECHNICAL FIELD

[0002] The present invention relates to the technical field of rail transit, and particularly to a method for controlling a vehicle air conditioning system compressor, an apparatus, a device, and a medium (i.e., a method and an apparatus for controlling a compressor of a car air conditioning system, a device, and a medium).BACKGROUND ART

[0003] Rail trains are each provided with an air conditioning system for controlling air parameters such as temperature and humidity inside the vehicle. The air conditioning system can discharge cold air or hot air into the vehicle according to the temperature inside the vehicle, so as to regulate the temperature and humidity inside the passenger compartment, enabling passengers to obtain a comfortable riding experience. Once the compressor fails during operation of the vehicle, not only will the refrigeration function be reduced or disabled, seriously affecting the comfort inside the passenger compartment, but also damage to the entire air conditioning system will be caused. Therefore, how to improve the accuracy and timeliness of compressor control has become a technical problem that cannot be underestimated.SUMMARY

[0004] In view of the foregoing, an objective of the present invention is to provide a method for controlling a vehicle air conditioning system compressor, an apparatus, a device, and a medium, which determine whether a fault exists and whether the compressor needs to be locked by using the number of switch protection times of the pressure switch within a first duration, thereby improving the accuracy and timeliness of compressor control, effectively preventing damage to the compressor or damage to the air conditioning system caused by excessive pressure in the air conditioning system, and protecting the air conditioning system from being damaged.

[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a vehicle air conditioning system compressor, the method including: before starting a compressor of an air conditioning system, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up; detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration; in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending a state of the compressor to a train control management system; and in response to detecting the air conditioning system being in a shutdown mode or being powered on again, returning to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0006] Further, the pressure switch includes a high-pressure pressure switch and a low-pressure pressure switch.

[0007] Further, the number of protections includes a number of protections of the high-pressure pressure switch and a number of protections of the low-pressure pressure switch, wherein the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording a number of protections of the pressure switch in the first duration includes: simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch; in response to the high-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the high-pressure pressure switch by one, or in response to the low-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the low-pressure pressure switch by one; after a second duration, detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch again; and in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, controlling the compressor to start up, returning to execute the step of simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch.

[0008] Further, the step of controlling the compressor to be locked in response to the number of protections of the pressure switch in the first duration being greater than or equal to the preset number of times includes: in response to the number of protections of the high-pressure pressure switch being greater than or equal to a first preset number of times, controlling the compressor to be locked; or, in response to the number of protections of the low-pressure pressure switch being greater than or equal to a second preset number of times, controlling the compressor to be locked.

[0009] Further, in response to the number of protections of the pressure switch in the first duration being less than the preset number of times, the method further includes: clearing an earliest switch protection action time among a plurality of switch protection action times; using a next switch protection action time adjacent to the earliest switch protection action time among the plurality of switch protection action times as a start time point of the first duration, returning to execute the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording the number of protections of the pressure switch in the first duration.

[0010] Further, in response to the air conditioning system not being in the shutdown mode and not being powered on again, the method further includes: prohibiting the compressor from starting up.

[0011] In a second aspect, an embodiment of the present invention further provides an apparatus of controlling a vehicle air conditioning system compressor, the control apparatus including: a first control module, configured to, before a compressor of an air conditioning system starts up, detect an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, control the compressor to start up; a module for determining the number of protections, configured to detect the on / off state of the pressure switch in real time in a first duration, and record the number of protections of the pressure switch in the first duration; a second control module, configured to, in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, control the compressor to be locked, so as to prevent the compressor from being damaged, and send a state of the compressor to a train control management system; and a detection module, configured to, in response to detecting the air conditioning system being in a shutdown mode or being powered on again, call the first control module to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0012] Further, the pressure switch includes a high-pressure pressure switch and a low-pressure pressure switch.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, steps of the method for controlling a vehicle air conditioning system compressor as described above are executed.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, steps of the method for controlling a vehicle air conditioning system compressor as described above are executed.

[0015] The embodiments of the present invention provide a method for controlling a vehicle air conditioning system compressor, an apparatus, a device, and a medium. The method includes the following steps: first, before starting a compressor of an air conditioning system, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up; then, detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration; in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending a state of the compressor to a train control management system; and finally, in response to detecting the air conditioning system being in a shutdown mode or being powered on again, returning to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0016] The present invention determines whether a fault exists and whether the compressor needs to be locked by using the number of switch protection times of the pressure switch in the first duration, thereby improving the accuracy and timeliness of compressor control, effectively preventing damage to the compressor or damage to the air conditioning system caused by excessive pressure in the air conditioning system, and protecting the air conditioning system from damage.

[0017] In order to make the above object, features, and advantages of the present invention more comprehensible, preferred embodiments are cited below in conjunction with the drawings for detailed description as follows.BRIEF DESCRIPTION OF DRAWINGS

[0018] In order to more clearly explain the technical solutions of the embodiments of the present invention, a brief introduction to the drawings required in the embodiments is given below. It should be understood that the following drawings merely show certain embodiments of the present invention, and therefore should not be considered as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without inventive effort. FIG. 1 is a flowchart of a method for controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention; FIG. 2 is another flowchart of a method for controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention; FIG. 3 is a schematic structural diagram of an apparatus of controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention; and FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF EMBODIMENTS

[0019] In order to make the objects, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are merely a part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings herein can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the present invention as claimed, but is merely representative of selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without inventive efforts shall fall within the scope of protection of the present invention.

[0020] First, an applicable application scenario of the present invention is introduced. The present invention can be applied in the technical field of rail transit.

[0021] Through research, it has been found that rail trains are each provided with an air conditioning system for controlling air parameters such as temperature and humidity inside the vehicle. The air conditioning system can discharge cold air or hot air into the vehicle according to the temperature inside the vehicle, so as to regulate the temperature and humidity inside the passenger compartment, enabling passengers to obtain a comfortable riding experience. Once the compressor fails during operation of the vehicle, not only will the refrigeration function be reduced or disabled, seriously affecting the comfort inside the passenger compartment, but also damage to the entire air conditioning system will be caused. Therefore, how to improve the accuracy and timeliness of compressor control has become a technical problem that cannot be underestimated.

[0022] Based on this, the embodiments of the present invention provide a method for controlling a vehicle air conditioning system compressor, which effectively prevents damage to the compressor or damage to the air conditioning system caused by excessive pressure in the air conditioning system, and protects the air conditioning system from damage.

[0023] Please refer to FIG. 1, FIG. 1 is a flowchart of a method for controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention. As shown in FIG. 1, the method provided by the embodiment of the present invention includes the following steps: S101~S104.

[0024] S101: before a compressor of an air conditioning system starts up, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up.

[0025] It should be noted that the compressor is a driven fluid machine that raises low-pressure gas to high-pressure gas, and is the core of the air conditioning system. The pressure switch is connected to the compressor and can selectively stop the operation of the compressor for the air conditioning system.

[0026] For the above step S101, in a specific implementation, it includes the following steps: before starting a compressor of an air conditioning system, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up. Here, in a specific implementation, when the pressure switch detects that a pressure in the refrigeration system pipeline exceeds a set value (too high or too low), the pressure switch is non-conductive, so as to change the on / off state of the compressor, protecting the air conditioning system from damage; and when the pressure returns to the normal range, the pressure switch restores the on / off state. In response to the pressure switch being conductive, the compressor can be controlled to start up.

[0027] Here, according to the embodiment provided by the present invention, the pressure switch includes a high-pressure pressure switch and a low-pressure pressure switch. When the pressure is normal, two elastic diaphragms inside the pressure switch contact and are conductive. When the pressure exceeds the range, two spring diaphragms inside the pressure switch spring open, the circuit breaks, and after the controller detects that the pressure switch circuit is off, responsive control is taken. When the pressure switch includes the high-pressure pressure switch and the low-pressure pressure switch, for the above step S101, in a specific implementation, it includes the following steps: before starting the compressor of the air conditioning system, firstly detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch; in response to detecting the high-pressure pressure switch being non-conductive and / or the low-pressure pressure switch being non-conductive, determining the pressure inside the current air conditioning system exceeding the pressure range, and prohibiting the compressor from starting up; in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, controlling the compressor to start up.

[0028] Here, the range of the pressure switch is determined according to the refrigerant and the compressor. For example, for a compressor using R407C refrigerant, the operating range includes a condensing temperature of 65°C and an evaporating temperature of -30°C, and when converted to pressure, these temperatures correspond to the high pressure of 2.9 MPa and the low pressure of 0.05 MPa. The pressure switch ensures that the evaporating and condensing temperatures of the refrigeration system operation do not exceed the safe range of the compressor.

[0029] As an optional embodiment, when a liquid line solenoid valve exists in the air conditioning system, it is necessary to detect the high-pressure pressure switch and the low-pressure pressure switch after the liquid line solenoid valve has been opened for a preset duration. Here, the preset duration can be 15 seconds, and the present invention is not specifically limited thereto. The liquid line solenoid valve is configured together with the check valve located at the compressor discharge port, and functions to perform a pump-down cycle of the refrigeration system. When the compressor stops, most of the refrigerant is sealed in the condenser, preventing liquid refrigerant from migrating to the evaporator and avoiding liquid return to the compressor caused by insufficient evaporation during the next startup.

[0030] S102: detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration.

[0031] Here, the first duration can be set to 1 hour, and the present invention is not specifically limited thereto. The number of protections of the pressure switch refers to the number of switching actions of the pressure switch in the first duration, wherein each time the pressure switch is non-conductive, it is counted as one switching operation.

[0032] For the above step S102, in a specific implementation, the on / off state of the pressure switch is detected in real time in the first duration, and the number of protections of the switching actions of the pressure switch occurring in the first duration is recorded.

[0033] Specifically, according to the embodiment provided by the present invention, the number of protections includes a number of protections of the high-pressure pressure switch and a number of protections of the low-pressure pressure switch. Here, the number of protections of the high-pressure pressure switch is the number of switching actions of the high-pressure pressure switch, wherein each time the high-pressure pressure switch is non-conductive, it is counted as one switching operation. The number of protections of the low-pressure pressure switch is the number of switching actions of the low-pressure pressure switch, wherein each time the low-pressure pressure switch is non-conductive, it is counted as one switching operation.

[0034] As an optional embodiment, for the above step S102, the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording the number of protections of the pressure switch in the first duration includes the following steps 1021 to 1024

[0035] Step 1021: simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch.

[0036] Step 1022: in response to the high-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the high-pressure pressure switch by one; or in response to the low-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the low-pressure pressure switch by one.

[0037] Here, the switch protection action time refers to the time at which the pressure switch performs a switching operation.

[0038] For the above steps 1021 to 1022, in a specific implementation, the on / off states of the high-pressure pressure switch and the low-pressure pressure switch are simultaneously detected in the first duration; in response to the high-pressure pressure switch being non-conductive, the compressor is controlled to be locked, the switch protection action time of the high-pressure pressure switch is determined and recorded, and the number of protections of the high-pressure pressure switch is incremented by one; or in response to the low-pressure pressure switch being non-conductive, the compressor is controlled to be locked, the switch protection action time of the low-pressure pressure switch is determined and recorded, and the number of protections of the low-pressure pressure switch is incremented by one.

[0039] Step 1023: after a second duration, detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch again.

[0040] Step 1024: in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, controlling the compressor to start up, returning to execute the step of simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch.

[0041] Here, the second duration can be 2 minutes, and the present invention is not specifically limited thereto.

[0042] For the above steps 1023 to 1024, in a specific implementation, after the compressor is locked for the second duration, for example, after the compressor is locked for two minutes, the on / off states of the high-pressure pressure switch and the low-pressure pressure switch are detected again; in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, the compressor is controlled to start up again; and then, the process continues by returning to execute the above step 1021 of simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch. If the high-pressure pressure switch and the low-pressure pressure switch still have not recovered, the fault is permanently locked, and the compressor is not allowed to start up.

[0043] S103: in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending a state of the compressor to a train control management system.

[0044] For the above step S103, in a specific implementation, in response to the number of protections of the pressure switch in the first duration being greater than or equal to the preset number of times, the fault is permanently locked, the compressor is controlled to be locked, the compressor no longer starts up, so as to prevent the compressor from being damaged, and the state of the compressor is sent to the train control management system.

[0045] According to the embodiment provided by the present invention, since the pressure switch includes the high-pressure pressure switch and the low-pressure pressure switch, it is necessary to determine whether the compressor needs to be locked by judging both the number of protections of the high-pressure pressure switch and the number of protections of the low-pressure pressure switch. As an optional embodiment, for the above step S103, the step of controlling the compressor to be locked in response to the number of protections of the pressure switch in the first duration being greater than or equal to the preset number of times includes the following two cases.

[0046] Case one: in response to the number of protections of the high-pressure pressure switch in the first duration being greater than or equal to a first preset number of times, the compressor is controlled to be locked.

[0047] Case two: in response to the number of protections of the low-pressure pressure switch in the first duration being greater than or equal to a second preset number of times, the compressor is controlled to be locked.

[0048] Here, the first preset number of times for high-pressure protection can be set to 10, and the second preset number of times for low-pressure protection can be set to 3; the first preset number of times must be greater than the second preset number of times, and the present invention is not specifically limited to specific data. Here, the high-pressure switch generally has a larger accumulated number of times, because high-pressure protection is mainly caused by higher external temperatures and may not be caused by a system fault, and basically causes no damage to the compressor. However, the main cause of low-pressure protection is leakage or suction blockage, and if the compressor suction is insufficient, the internal temperature of the compressor will rise rapidly, easily burning out the compressor, causing great damage. Therefore, high-pressure protection can be performed more times than low-pressure protection, and thus the first preset number of times for high-pressure protection must be greater than the second preset number of times for low-pressure protection.

[0049] Here, for the above two steps, in a specific implementation, in response to the number of protections of the high-pressure pressure switch in the first duration being greater than or equal to the first preset number of times, for example, in response to the number of protections of the high-pressure pressure switch being greater than or equal to 10, the compressor is controlled to be locked; or in response to the number of protections of the low-pressure pressure switch in the first duration being greater than or equal to the second preset number of times, for example, in response to the number of protections of the low-pressure pressure switch being greater than or equal to 3, the compressor is controlled to be locked.

[0050] As an optional embodiment, for the above step S103, in response to the number of protections of the pressure switch in the first duration being less than the preset number of times, the method further includes: A: clearing an earliest switch protection action time among a plurality of switch protection action times; and B: using a next switch protection action time adjacent to the earliest switch protection action time among the plurality of switch protection action times as a start time point of the first duration, returning to execute the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording the number of protections of the pressure switch in the first duration.

[0051] For the above steps A to B, in a specific implementation, in response to the number of protections of the pressure switch in the first duration being less than the preset number of times, the earliest switch protection action time among the plurality of switch protection action times is cleared; a next switch protection action time adjacent to the earliest switch protection action time is determined from among the plurality of switch protection action times, and the next switch protection action time is used as the start time point of the first duration; and it returns to execute operations in the above step S102 of detecting the on / off state of the pressure switch in real time in the first duration, and records the number of protections of the pressure switch in the first duration. In this way, when the number of protections in the first duration does not reach the preset number of times, only the earliest switching action time is cleared, and the first duration is re-timed from the second switching action time; and then the above judgment logic is repeated.

[0052] S104: in response to detecting the air conditioning system being in a shutdown mode or being powered on again, returning to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0053] For the above step S104, in a specific implementation, after the state of the compressor is reported to the train control management system, when it is detected that the train control management system controls the air conditioning system to be in the shutdown mode or controls the air conditioning system to be powered on again, the permanently locked fault is cleared, and it returns to execute the step in the above step S101 of detecting the on / off state of the pressure switch connected to the compressor.

[0054] As an optional embodiment, for the above step S104, in response to the air conditioning system not being in the shutdown mode and not being powered on again, the method further includes: prohibiting the compressor from starting up.

[0055] For the above step, in a specific implementation, when it is detected that the air conditioning system is not in the shutdown mode and has not been powered on again, the compressor is continuously prohibited from starting up.

[0056] Further, please refer to FIG. 2, FIG. 2 is another flowchart of a method for controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention. As shown in FIG. 2, it includes the following steps: first, before starting the compressor, detecting the state of the pressure switch, wherein in response to the pressure switch being non-conductive, prohibiting the compressor from starting up; or in response to the pressure switch being conductive, controlling the compressor to start up; detecting the state of the pressure switch; recording the number of protections of the pressure switch in the first duration, wherein in response to the number of protections of the pressure switch being greater than or equal to the preset number of times, controlling the compressor to be locked, and reporting the state of the compressor to the train control management system; or in response to the number of protections of the pressure switch being less than the preset number of times, clearing the earliest switch protection action time, and re-timing the first duration from the next switch protection action time; returning to execute the step of timing the first duration; recording the number of protections of the pressure switch in the first duration, wherein after the state of the compressor being reported to the train control management system, in response to detecting that the air conditioning system being in the shutdown mode or being powered on again, clearing the fault, and returning to execute the step of detecting the state of the pressure switch before the compressor starts up; detecting that the air conditioning system is not in the shutdown mode and is powered on again, prohibiting the compressor from starting up continuously.

[0057] The method for controlling a vehicle air conditioning system compressor provided by the embodiments of the present invention includes: first, before starting a compressor of an air conditioning system, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up; then, detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration; in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending a state of the compressor to a train control management system; and finally, in response to detecting the air conditioning system being in a shutdown mode or being powered on again, returning to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0058] The present invention determines whether a fault exists and whether the compressor needs to be locked by using the number of switch protection times of the pressure switch in the first duration, thereby improving the accuracy and timeliness of compressor control, effectively preventing damage to the compressor or damage to the air conditioning system caused by excessive pressure in the air conditioning system, and protecting the air conditioning system from damage.

[0059] Please refer to FIG. 3, FIG. 3 is a schematic structural diagram of an apparatus of controlling a vehicle air conditioning system compressor provided by an embodiment of the present invention. As shown in FIG. 3, the control apparatus 300 includes: a first control module 301, configured to, before a compressor of an air conditioning system starts up, detect an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, control the compressor to start up; a module for determining the number of protections 302, configured to detect the on / off state of the pressure switch in real time in a first duration, and record the number of protections of the pressure switch in the first duration; a second control module 303, configured to, in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, control the compressor to be locked, so as to prevent the compressor from being damaged, and send a state of the compressor to a train control management system; and 400304, configured to, in response to detecting the air conditioning system being in a shutdown mode or being powered on again, call the first control module to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

[0060] Further, the pressure switch includes a high-pressure pressure switch and a low-pressure pressure switch.

[0061] Further, the number of protections includes a number of protections of the high-pressure pressure switch and a number of protections of the low-pressure pressure switch. The module for determining the number of protections 302 is configured to detect the on / off state of the pressure switch in real time in the first duration, and record the number of protections of the pressure switch in the first duration. The module for determining the number of protections 302 is further configured to: simultaneously detect the on / off states of the high-pressure pressure switch and the low-pressure pressure switch; in response to the high-pressure pressure switch being non-conductive, control the compressor to be locked, determine and record a switch protection action time, and increment the number of protections of the high-pressure pressure switch by one; or in response to the low-pressure pressure switch being non-conductive, control the compressor to be locked, determine and record a switch protection action time, and increment the number of protections of the low-pressure pressure switch by one; after a second duration, detect the on / off states of the high-pressure pressure switch and the low-pressure pressure switch again; and in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, control the compressor to start up, and return to execute the step of simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch.

[0062] Further, when the second control module 303 is configured to control the compressor to be locked in response to the number of protections of the pressure switch in the first duration being greater than or equal to the preset number of times, the second control module 303 is further configured to: in response to the number of protections of the high-pressure pressure switch in the first duration being greater than or equal to a first preset number of times, control the compressor to be locked; or, in response to the number of protections of the low-pressure pressure switch in the first duration being greater than or equal to a second preset number of times, control the compressor to be locked.

[0063] Further, the control apparatus 300 further includes a third control module, and in response to the number of protections of the pressure switch in the first duration being less than the preset number of times, the third control module is configured to: clear an earliest switch protection action time among a plurality of switch protection action times; use a next switch protection action time adjacent to the earliest switch protection action time among the plurality of switch protection action times as a start time point of the first duration, and call the module for determining the number of protections 302 to return to execute the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording the number of protections of the pressure switch in the first duration.

[0064] Further, the control apparatus 300 further includes a fourth control module, and in response to the air conditioning system not being in the shutdown mode and not being powered on again, the fourth control module is configured to: prohibit the compressor from starting up.

[0065] Please refer to FIG. 4, FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 4, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.

[0066] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 runs, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, steps of the method for controlling a vehicle air conditioning system compressor in the above method embodiments shown in FIG. 1 and FIG. 2 can be executed. Specific implementations can be found in the method embodiments, and are not repeated herein.

[0067] Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, steps of the method for controlling a vehicle air conditioning system compressor in the above method embodiments shown in FIG. 1 and FIG. 2 can be executed. Specific implementations can be found in the method embodiments, and are not repeated herein.

[0068] Those skilled in the art can clearly understand that, for convenience and brevity of description, specific working processes of the above-described system, apparatus, and units can refer to corresponding processes in the foregoing method embodiments, and are not repeated herein.

[0069] In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method can be implemented in other manners. The above-described apparatus embodiments are merely illustrative. For example, the division of the units is merely a logical function division, and other division manners can be used in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling, direct coupling, or communication connection can be indirect coupling or communication connection through some communication interfaces, apparatuses, or units, and can be in electrical, mechanical, or other forms.

[0070] The units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, that is, can be located in one place, or can be distributed to a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

[0071] In addition, the functional units in each of the embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0072] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention essentially or the part contributing to the prior art or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disc, and various media capable of storing program codes.

[0073] Finally, it should be noted that the above embodiments are merely specific embodiments of the present invention, and are used to illustrate the technical solutions of the present invention, rather than to limit the present invention; and the scope of protection of the present invention is not limited thereto. Although the present invention is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments or can easily think of changes, or can make equivalent replacements to some of the technical features; and such modifications, changes, or replacements do not cause the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and all should be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for controlling a vehicle air conditioning system compressor, characterized in that the method comprises: before starting a compressor of an air conditioning system, detecting an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, controlling the compressor to start up; detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration; in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, controlling the compressor to be locked, so as to prevent the compressor from being damaged, and sending a state of the compressor to a train control management system; and in response to detecting the air conditioning system being in a shutdown mode or being powered on again, returning to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

2. The method according to claim 1, wherein the pressure switch comprises a high-pressure pressure switch and a low-pressure pressure switch.

3. The method according to claim 2, wherein the number of protections comprises a number of protections of the high-pressure pressure switch and a number of protections of the low-pressure pressure switch, wherein the step of detecting the on / off state of the pressure switch in real time in a first duration, and recording the number of protections of the pressure switch in the first duration comprises: simultaneously detecting on / off states of the high-pressure pressure switch and the low-pressure pressure switch; in response to the high-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the high-pressure pressure switch by one; or in response to the low-pressure pressure switch being non-conductive, controlling the compressor to be locked, determining and recording a switch protection action time, and incrementing the number of protections of the low-pressure pressure switch by one; after a second duration, detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch again; and in response to detecting both the high-pressure pressure switch and the low-pressure pressure switch being connected, controlling the compressor to start up, returning to execute the step of simultaneously detecting the on / off states of the high-pressure pressure switch and the low-pressure pressure switch.

4. The method according to claim 3, wherein the step of controlling the compressor to be locked in response to the number of protections of the pressure switch in the first duration being greater than or equal to the preset number of times comprises: in response to the number of protections of the high-pressure pressure switch in the first duration being greater than or equal to a first preset number of times, controlling the compressor to be locked; or, in response to the number of protections of the low-pressure pressure switch in the first duration being greater than or equal to a second preset number of times, controlling the compressor to be locked.

5. The method according to claim 3, wherein in response to the number of protections of the pressure switch in the first duration being less than the preset number of times, the method further comprises: clearing an earliest switch protection action time among a plurality of switch protection action times; and using a next switch protection action time adjacent to the earliest switch protection action time among the plurality of switch protection action times as a start time point of the first duration, returning to execute the step of detecting the on / off state of the pressure switch in real time in the first duration, and recording the number of protections of the pressure switch in the first duration.

6. The method according to claim 1, wherein in response to the air conditioning system not being in the shutdown mode and not being powered on again, the method further comprises: prohibiting the compressor from starting up.

7. An apparatus of controlling a vehicle air conditioning system compressor, characterized in that the control apparatus comprises: a first control module, configured to, before starting a compressor of an air conditioning system, detect an on / off state of a pressure switch connected to the compressor, and in response to the pressure switch being conductive, control the compressor to start up; a module for determining the number of protections, configured to detect the on / off state of the pressure switch in real time in a first duration, and record the number of protections of the pressure switch in the first duration; a second control module, configured to, in response to the number of protections of the pressure switch in the first duration being greater than or equal to a preset number of times, control the compressor to be locked, so as to prevent the compressor from being damaged, and send a state of the compressor to a train control management system; and a detection module, configured to, in response to detecting the air conditioning system being in a shutdown mode or being powered on again, call the first control module to execute the step of detecting the on / off state of the pressure switch connected to the compressor.

8. The control apparatus according to claim 7, wherein the pressure switch comprises a high-pressure pressure switch and a low-pressure pressure switch.

9. An electronic device, comprising: a processor, a memory, and a bus, characterized in that the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor communicates with the memory via the bus, and when the machine-readable instructions are run by the processor, the steps of the method for controlling a vehicle air conditioning system compressor according to any one of claims 1 to 6 are executed.

10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the method for controlling a vehicle air conditioning system compressor according to any one of claims 1 to 6 are executed.

Citation Information

Patent Citations

  • Control method, device and equipment for compressor of vehicle air conditioning system and medium

    CN117261953A