Control method, device and system for compressor of temperature control device
By calculating the absolute value of the difference between the ambient temperature and the gas and liquid temperatures in the temperature control device, the problem of failure of the liquid flow detection device is solved, and timely detection and control of the compressor operation are achieved to avoid equipment damage.
Patent Information
- Application Number
- CN202510896124.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-05
AI Technical Summary
In the prior art, when the liquid flow detection device fails, the liquid flow cannot be detected in time, which may cause ice to form on the evaporation side of the heat pump water machine during cooling or defrosting, causing damage to the equipment.
By obtaining the ambient temperature, the outlet liquid temperature and the inlet gas temperature in the temperature control device, the absolute value of the difference between the three is calculated, and based on the absolute value of the difference, it is determined whether the liquid flow in the liquid connecting pipeline is less than the preset flow, and when it is less than the preset flow, the compressor is controlled to operate to ensure that the liquid flow is greater than or equal to the preset flow.
It realizes timely detection of liquid flow when the liquid flow detection device fails, avoids equipment damage caused by insufficient liquid flow, and ensures safe and stable operation of the system.
Smart Images

Figure CN120593448A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of compressor control, and in particular, to a control method and device for a compressor of a temperature control device, a computer-readable storage medium, and a control system for a compressor of a temperature control device. Background Art
[0002] Heat pumps are key components in temperature control systems. During the heating process, they primarily absorb heat from outdoor air. The compressor then generates heat, absorbing heat from the low-temperature heat source air on the evaporation side. The heat is then transferred from the high-temperature refrigerant to the water system through the water system heat exchanger, where it circulates through the water circuit to provide heating to the user. The cooling process is the opposite: absorbing heat from indoor air and releasing it to the outdoor environment through the compressor. As heat pumps become increasingly widely used, some issues have emerged. The water flow switch is a key component that controls the entire system by detecting water flow. If a water circuit anomaly results in low or no water flow, the water flow switch trips to protect the heat pump unit. If the water flow switch fails, the lower water temperature during cooling or defrosting can cause ice to form on the evaporation side, potentially cracking the plate heat exchanger or damaging the shell-and-tube heat exchanger. Summary of the Invention
[0003] The main purpose of this application is to provide a control method, device, computer-readable storage medium and control system for the compressor of a temperature control device, so as to at least solve the problem in the prior art that the liquid flow detection device cannot detect the liquid flow in time when it fails.
[0004] To achieve the above-mentioned objective, according to one aspect of the present application, a method for controlling a compressor of a temperature control device is provided, wherein the compressor is arranged on a connecting pipeline, and the connecting pipeline includes a gas connecting pipeline and a liquid connecting pipeline, comprising: when the temperature control device is in a cooling mode, obtaining an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid connecting pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas connecting pipeline; calculating the absolute value of the difference between the inlet gas temperature and the outlet liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet gas temperature to obtain a third absolute value of the difference; determining whether a liquid flow rate in the liquid connecting pipeline is less than a preset flow rate based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, and if the liquid flow rate is less than the preset flow rate, controlling the compressor to operate so that the liquid flow rate in the liquid connecting pipeline is greater than or equal to the preset flow rate.
[0005] Optionally, obtaining the liquid temperature at the outlet end and the gas temperature at the inlet end includes: detecting the temperature change rate of the liquid in the liquid connecting pipe at the outlet end in a preset time period; obtaining the liquid temperature at the outlet end and the gas temperature at the inlet end when the ambient temperature is greater than or equal to the freezing point temperature and the temperature change rate is greater than a first preset change rate; obtaining the liquid temperature at the outlet end and the gas temperature at the inlet end when the ambient temperature is less than the freezing point temperature and the temperature change rate is greater than a second preset change rate, wherein the first preset change rate is less than the second preset change rate.
[0006] Optionally, determining whether the liquid flow in the liquid connecting line is less than a preset flow based on the first difference absolute value, the second difference absolute value and the third difference absolute value includes: when the ambient temperature is greater than or equal to the freezing point temperature, and when the first difference absolute value is less than a first preset difference and the second difference absolute value is less than the first preset difference, determining that the liquid flow is not 0 and is less than the preset flow; when the first difference absolute value is less than the second preset difference and the third difference absolute value is less than the first preset difference, determining that the liquid flow is 0, wherein the first preset difference is greater than the second preset difference.
[0007] Optionally, determining whether the liquid flow in the liquid connecting line is less than a preset flow based on the first difference absolute value, the second difference absolute value and the third difference absolute value also includes: when the ambient temperature is less than the freezing point temperature, and when the first difference absolute value is less than the first preset difference and the second difference absolute value is less than the third preset difference, determining that the liquid flow is not 0 and is less than the preset flow; when the first difference absolute value is less than the second preset difference and the third difference absolute value is less than the third preset difference, determining that the liquid flow is 0, wherein the third preset difference is greater than the first preset difference, and the first preset difference is greater than the second preset difference.
[0008] Optionally, controlling the operation of the compressor according to the liquid flow rate includes: when the liquid flow rate is not 0 and is less than the preset flow rate, reducing the frequency of the compressor until the absolute value of the first difference is greater than or equal to the first preset difference; when the liquid flow rate is 0, controlling the compressor to stop running.
[0009] Optionally, obtaining the inlet gas temperature includes: obtaining the gas pressure before compression, wherein the gas pressure before compression represents the pressure of the gas before being compressed by the compressor; obtaining a one-to-one mapping relationship between gas pressure and saturation temperature, determining the saturation temperature corresponding to the gas pressure before compression based on the one-to-one mapping relationship between gas pressure and saturation temperature, and determining the saturation temperature as the inlet gas temperature.
[0010] Optionally, obtaining the ambient temperature, the outlet liquid temperature, and the inlet gas temperature includes: obtaining the ambient temperature, the outlet liquid temperature, and the inlet gas temperature at preset time intervals.
[0011] According to another aspect of the present application, a control device for a compressor of a temperature control device is provided, wherein the compressor is arranged on a communication pipeline, the communication pipeline including a gas communication pipeline and a liquid communication pipeline, and comprises: an acquisition unit for acquiring, when the temperature control device is in a cooling mode, an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline; a calculation unit for calculating the absolute value of the difference between the inlet gas temperature and the outlet liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet gas temperature to obtain a third absolute value of the difference; and a control unit for determining whether a liquid flow rate in the liquid communication pipeline is less than a preset flow rate based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, and, if the liquid flow rate is less than the preset flow rate, controlling the compressor to operate so that the liquid flow rate in the liquid communication pipeline is greater than or equal to the preset flow rate.
[0012] According to another aspect of the present application, a computer-readable storage medium is provided, which includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the control methods for the compressor of the temperature control device.
[0013] According to another aspect of the present application, a control system for a compressor of a temperature control device is provided, comprising: a temperature control device, comprising a compressor and a connecting pipeline, the compressor being arranged on the connecting pipeline, the connecting pipeline comprising a gas connecting pipeline and a liquid connecting pipeline; one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a control method for executing the compressor of any one of the temperature control devices.
[0014] According to the technical solution of the present application, a compressor is installed in a communication pipeline, which includes a gas communication pipeline and a liquid communication pipeline. When the temperature control device is in cooling mode, the ambient temperature, the outlet liquid temperature, and the inlet gas temperature are obtained. The absolute value of the difference between the inlet gas temperature and the outlet liquid temperature is calculated to obtain a first absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a second absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a third absolute value of the difference. Based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, it is determined whether the liquid flow in the liquid communication pipeline is less than a preset flow. If the flow is less than the preset flow, the compressor is controlled to operate so that the liquid flow in the liquid communication pipeline is greater than or equal to the preset flow. Compared with the prior art that relies on a flow detection device to detect the liquid flow, the present application eliminates the switch device and determines the liquid flow only based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference. If the liquid flow is determined to be less than the preset flow, the compressor is controlled to operate, thereby avoiding the problem of the flow detection device failing to detect the liquid flow. Therefore, the problem in the prior art that the liquid flow rate detection device cannot detect the liquid flow rate in time when it fails can be solved, and the effect of timely detecting the liquid flow rate to control the operation of the compressor can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0016] Figure 1 A flow chart showing a method for controlling a compressor of a temperature control device provided in an embodiment of the present application is shown;
[0017] Figure 2 A structural diagram of a heat pump water system provided in an embodiment of the present application is shown;
[0018] Figure 3 A structural block diagram of a control device for a compressor of a temperature control device provided in an embodiment of the present application is shown.
[0019] The above drawings include the following reference numerals:
[0020] 1. Compressor; 2. Four-way valve; 3. Fin heat exchanger; 4. Filter; 5. Electronic expansion valve; 6. Filter; 7. Plate heat exchanger; 8. Gas-liquid separator. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] As introduced in the background technology, the liquid flow detection device in the prior art cannot detect the liquid flow in time when it fails. In order to solve the problem of not being able to detect the liquid flow in time, the embodiments of the present application provide a control method, device, computer-readable storage medium and control system for the compressor of a temperature control device.
[0025] The technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.
[0026] In this embodiment, a method for controlling a compressor of a temperature control device running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 FIG. 1 is a flow chart of a method for controlling a compressor of a temperature control device according to an embodiment of the present application. Figure 1 As shown, the compressor is arranged on a communication pipeline, and the communication pipeline includes a gas communication pipeline and a liquid communication pipeline. The method includes the following steps:
[0028] Step S201, when the temperature control device is in cooling mode, obtaining an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline;
[0029] Specifically, the temperature control device can be an air conditioner, refrigerator, or other device that includes a compressor and has a temperature control function. In the temperature control device, the part that includes the compressor can be a heat pump water system, through which a cooling or heating cycle is achieved. A structural diagram of a heat pump water system is shown in FIG. Figure 2 The system includes a compressor 1, a four-way valve 2, a fin heat exchanger 3, a filter 4, an electronic expansion valve 5, a filter 6, a plate heat exchanger 7, a gas-liquid separator 8, a high-pressure sensor HP, and a low-pressure sensor LP. The connection diagram of each component is shown in the figure, where T1 represents the exhaust temperature sensor, T2 represents the ambient temperature sensor, T3 represents the outlet water temperature sensor, T4 represents the inlet water temperature sensor, T5 represents the gas pipe temperature sensor, and T6 represents the liquid pipe temperature sensor. During refrigeration operation, the exhaust gas of compressor 1 passes through the connected pipeline, reaches the four-way valve 2, and then reaches the fin heat exchanger 3, where it is condensed by the air into a medium-temperature and high-pressure liquid refrigerant. After passing through the filter 4, it is throttled to a low-temperature and low-pressure vapor-liquid two-phase refrigerant through the electronic expansion valve 5, passes through the connecting pipeline filter 6, and then reaches the plate heat exchanger 7. After absorbing the heat in the plate heat exchanger 7, it evaporates into a gaseous refrigerant, passes through the connecting pipeline to reach the four-way valve 2, passes through the connecting pipeline to reach the gas-liquid separator 8, and then passes through the connecting pipeline and returns to the suction port of compressor 1, completing a refrigeration cycle. The ambient temperature is measured by the ambient temperature sensor, which reflects the current outside temperature conditions. The outlet liquid temperature can be measured by the liquid pipe temperature sensor T6, which refers to the temperature of the liquid refrigerant before passing through the plate heat exchanger 7. Figure 2The inlet gas temperature can be measured by the gas pipe temperature sensor T5, which refers to the gas temperature after passing through the plate heat exchanger 7. Figure 2 Water inlet end shown.
[0030] Step S202, calculating the absolute value of the difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference;
[0031] Specifically, the temperature difference between T5 and T6 is calculated, and its absolute value is taken to obtain the first difference absolute value (|T5-T6|). The first difference absolute value reflects the temperature difference change between the gaseous refrigerant and the liquid refrigerant after heat exchange. The absolute value of the temperature difference between the current ambient temperature T2 and the liquid temperature T6 at the liquid pipe outlet is calculated to obtain the second difference absolute value (|T2-T6|), which reflects the comparison between the ambient temperature and the liquid refrigerant temperature. The absolute value of the difference between the ambient temperature (T2) and the gas temperature (T5) at the gas pipe inlet is calculated to obtain the third difference absolute value (|T2-T5|). By comparing the ambient temperature and the gaseous refrigerant temperature, the temperature difference between the gaseous refrigerant and the ambient temperature is reflected.
[0032] Step S203, determining whether the liquid flow in the liquid communicating pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value, and the third difference absolute value, and if it is less than the preset flow, controlling the compressor to operate so that the liquid flow in the liquid communicating pipeline is greater than or equal to the preset flow.
[0033] Specifically, by comparing the ambient temperature, the liquid temperature at the outlet and the gas temperature at the inlet, and calculating the absolute value of the difference between the two, it is possible to determine whether the liquid flow in the liquid connecting pipeline is small or there is no flow. When it is detected that the liquid flow is small or there is no flow, if the compressor continues to refrigerate at the current operating frequency, it will cause icing on the refrigeration line, causing equipment damage, etc. Therefore, it is necessary to adjust the operation of the compressor according to the liquid flow, which can be adjusted for parameters such as the operating frequency to achieve the effect of protecting the entire unit until the liquid flow is greater than or equal to the preset flow. The liquid flow usually refers to the refrigerant flow.
[0034] In this embodiment, a compressor is disposed on a communication pipeline, the communication pipeline comprising a gas communication pipeline and a liquid communication pipeline. When the temperature control device is in cooling mode, the ambient temperature, the outlet liquid temperature, and the inlet gas temperature are obtained. The absolute value of the difference between the inlet gas temperature and the outlet liquid temperature is calculated to obtain a first absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a second absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a third absolute value of the difference. Based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, a determination is made as to whether the liquid flow rate in the liquid communication pipeline is less than a preset flow rate. If the flow rate is less than the preset flow rate, the compressor is controlled to operate so that the liquid flow rate in the liquid communication pipeline is greater than or equal to the preset flow rate. Compared to the prior art that relies on a flow detection device to detect the liquid flow rate, the present application eliminates the need for a switch device and determines the liquid flow rate solely based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference. If the liquid flow rate is determined to be less than the preset flow rate, the compressor is controlled to operate, thereby avoiding the problem of the flow detection device failing to detect the liquid flow rate. Therefore, the problem in the prior art that the liquid flow rate detection device cannot detect the liquid flow rate in time when it fails can be solved, and the effect of timely detecting the liquid flow rate to control the operation of the compressor can be achieved.
[0035] In a specific implementation, step S201 can be implemented by the following steps: step S2011: detecting the temperature change rate of the liquid in the liquid communication pipeline at the outlet end within a preset time period; step S2012: obtaining the outlet end liquid temperature and the inlet end gas temperature when the ambient temperature is greater than or equal to the freezing point temperature and the temperature change rate is greater than a first preset change rate; and step S2013: obtaining the outlet end liquid temperature and the inlet end gas temperature when the ambient temperature is less than the freezing point temperature and the temperature change rate is greater than a second preset change rate, wherein the first preset change rate is less than the second preset change rate. By obtaining the outlet end liquid temperature and the inlet end gas temperature under the above conditions, the method can timely detect temperature changes and thus promptly determine whether there is an abnormal liquid flow through temperature changes.
[0036] Specifically, the system monitors the change in liquid temperature at the outlet of the liquid connecting pipe within a preset time period (for example, 10 seconds) and calculates the rate of temperature change. Check whether the current ambient temperature is higher than or equal to a preset freezing point temperature, for example, 0°C. The freezing point temperature refers to the critical temperature at which the risk of freezing may occur in the system. When the ambient temperature is greater than or equal to the freezing point temperature, it indicates that the outdoor ambient temperature has not reached the freezing temperature and the ambient temperature is above zero. If the detected temperature change rate exceeds the first preset change rate, for example, 4°C / 10 seconds, the system needs to obtain the liquid temperature (T6) at the outlet of the liquid connecting pipe and the gas temperature (T5) at the inlet of the gas connecting pipe. When the ambient temperature is high, if the water flow is small or there is no water flow, the rate of decrease of T6 will be slower than that of low temperature. If the water flow is small or there is no water flow, the refrigerant absorbs less heat or cannot absorb heat, and the temperature of T5 will also decrease. Similarly, when the ambient temperature is below freezing, if the temperature change rate exceeds a second preset rate, such as 8°C / 10 seconds, temperature data for T6 and T5 must be acquired. At lower ambient temperatures, if the water flow in the waterway is low or absent, the liquid pipe temperature T6 drops more rapidly. The second preset rate of change being greater than the first, means the system is more sensitive to water flow detection in low-temperature environments.
[0037] In other optional embodiments, step S203 can be implemented by the following steps: Step S2031: when the ambient temperature is greater than or equal to the freezing point temperature, and when the absolute value of the first difference is less than a first preset difference and the absolute value of the second difference is less than the first preset difference, determining that the liquid flow rate is not zero and is less than the preset flow rate; Step S2032: when the absolute value of the first difference is less than a second preset difference and the absolute value of the third difference is less than the first preset difference, determining that the liquid flow rate is zero, wherein the first preset difference is greater than the second preset difference. This method determines the liquid flow rate through the above steps, which can replace the flow detection device, not only avoiding the problem of being unable to detect when the flow detection device fails, but also saving costs to a certain extent.
[0038] Specifically, when T2 ≥ 0, if |T6 - T5| ≥ x (a first preset difference, for example, 15°C) and |T6 - T2| ≥ x, the liquid flow rate is determined to be non-zero and less than the preset flow rate, indicating a low flow rate. (If this condition is met, it is determined that there is a small water flow rate, and the temperature of T5 will not drop very low.) If |T6 - T5| ≤ y (a second preset difference, for example, 5°C) and |T5 - T2| ≤ x, the liquid flow rate is determined to be zero, indicating no water flow. In specific applications, |T6 - T2| ≥ u, |T5 - T2| ≤ u, and y < u < x can also be used.
[0039] In other optional embodiments, step S203 further includes step S2033: when the ambient temperature is less than the freezing point, and when the absolute value of the first difference is less than a first preset difference, and the absolute value of the second difference is less than a third preset difference, determining that the liquid flow rate is not zero and is less than the preset flow rate; and step S2034: when the absolute value of the first difference is less than the second preset difference, and the absolute value of the third difference is less than the third preset difference, determining that the liquid flow rate is zero, wherein the third preset difference is greater than the first preset difference, and the first preset difference is greater than the second preset difference. By determining whether the liquid flow rate is less than the preset flow rate when the ambient temperature is less than the freezing point through the above steps, the method can accurately determine the liquid flow rate.
[0040] During the specific implementation process, if T6-T5≤x (the first preset difference is, for example, 15°C) and T6-T2≤v (the third preset difference is, for example, 20°C), it is determined that the liquid flow rate is not 0 and is less than the preset flow rate; if T6-T5≤y (the second preset difference is, for example, 5°C) and T5-T2≤v, it is determined that the liquid flow rate is 0.
[0041] In other optional embodiments, step S203 further includes: step S2035: if the liquid flow rate is not zero and is less than the preset flow rate, reducing the frequency of the compressor until the absolute value of the first difference is greater than or equal to the first preset difference; and step S2036: if the liquid flow rate is zero, controlling the compressor to stop operating. This method controls the operation of the compressor through the above steps to prevent the compressor from operating at the original operating frequency and continuing to cool when the liquid flow rate is low, thereby preventing connecting pipes and other equipment from freezing and damaging the equipment.
[0042] Specifically, if the liquid flow rate is not zero and is less than the preset flow rate, it indicates that there is liquid flow but it is small. Therefore, the frequency of the compressor is reduced. The value can be f = 5Hz or other values. It no longer operates at a high frequency to prevent ice formation caused by continuous refrigeration. Until the absolute value of the first difference is greater than or equal to the first preset difference, or the liquid flow rate is greater than the preset flow rate, that is, after the liquid flow rate is normal, the compressor is controlled to operate at a normal frequency. If the liquid flow rate is 0, the compressor is controlled to stop running, and further the entire unit is stopped to avoid equipment damage.
[0043] In other optional embodiments, obtaining the inlet gas temperature in step S201 can be achieved by the following steps: Step S2014: obtaining the pre-compression gas pressure, wherein the pre-compression gas pressure represents the pressure of the gas before being compressed by the compressor; Step S2015: obtaining a one-to-one mapping relationship between gas pressure and saturation temperature, determining the saturation temperature corresponding to the pre-compression gas pressure based on the one-to-one mapping relationship between gas pressure and saturation temperature, and determining the saturation temperature as the inlet gas temperature. This method also indirectly calculates the inlet gas temperature through the pre-compression gas pressure, thereby accurately calculating the inlet gas temperature even if the inlet gas temperature detection device fails.
[0044] Specifically, the saturation temperature T corresponding to the gas pressure before compression detected by the low pressure sensor LP is LP Instead of the inlet gas temperature T5, there may be some deviations in actual application. By adding the compensation temperature e, that is, T LP =T5-e, where the value of e can be 3 or 5, or other values, and the unit is °C, so that the calculated inlet gas temperature is more accurate.
[0045] In other optional embodiments, step S201 can also be implemented by the following steps: Step S2016: Acquire the ambient temperature, the outlet liquid temperature, and the inlet gas temperature at preset time intervals. This method acquires the temperature values at preset time intervals, thereby enabling real-time monitoring of the temperatures, thereby determining whether the liquid flow rate is less than a preset threshold based on the temperatures, and enabling timely control of the compressor.
[0046] Specifically, during unit startup or operation, the outdoor ambient temperature T2, the outlet liquid temperature T6, and the inlet gas temperature T5 are monitored every 2 seconds. The selection of the preset interval must take into account the rate of temperature change and the system's responsiveness. An appropriate interval ensures timely updates of temperature data, enabling the control system to react quickly to temperature changes and avoiding system instability or component damage caused by slow response. Frequent data collection increases system energy consumption, so the preset interval needs to balance data real-time performance with energy consumption.
[0047] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for controlling the compressor of the temperature control device of the present application will be described in detail below with reference to specific embodiments.
[0048] This embodiment relates to a specific method for controlling a compressor of a temperature control device, comprising the following steps:
[0049] Step S1: T2 ≥ a (freezing point temperature). If it is detected that the decreasing rate of the liquid pipe temperature T6 (liquid temperature at the outlet end) ≥ b °C / 10 s (the first preset change rate), then synchronously detect the tracheal temperature T5 (gas temperature at the inlet end).
[0050] Step S2: If |T6 - T5| ≥ x (the first preset difference) and |T6 - T2| ≥ u (u and x can have the same value), then immediately reduce the compressor frequency f = 5 Hz until |T6 - T5| < x (when this condition is met, it is determined that there is water flow and it is small, and the temperature of T5 will not drop very low).
[0051] Step S3: If |T6 - T5| ≤ y (the second preset difference) and |T5 - T2| ≤ u, then the unit immediately shuts down; (if there is no water flow in the water circuit, the temperature of T5 will drop very low and be close to T6).
[0052] Step S4: T2 < a. If it is detected that the decreasing rate of the liquid pipe temperature T6 ≥ c °C / 10 s (the second preset change rate) (when the ambient temperature is low, if the water flow in the water circuit is small or there is no water flow, the decreasing rate of the liquid pipe temperature T6 is relatively fast), then synchronously detect the tracheal temperature T5.
[0053] Step S5: If |T6 - T5| ≥ x and |T6 - T2| ≥ v, then immediately reduce the compressor frequency f = 5 Hz until |T6 - T5| < x.
[0054] Step S6: If |T6 - T5| ≤ y (the second preset difference) and |T5 - T2| ≤ v, then the unit immediately shuts down.
[0055] The above a, b, c are temperatures, with the unit °C. Their values can be a = 0, b = 4, c = 8, or other values. x, y, u, v are temperatures, with the unit °C. Their values can be x = -15, y = -5, u = -15, v = -20, or other values. f is the frequency, with the unit Hz. Its value can be f = 5, or other values.
[0056] The embodiment of the present application also provides a control device for the compressor of a temperature control device. It should be noted that the control device for the compressor of the temperature control device in the embodiment of the present application can be used to execute the control method for the compressor of the temperature control device provided by the embodiment of the present application. This device is used to implement the above embodiment and the preferred implementation manner, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the device described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0057] The following introduces the control device of the compressor of the temperature control device provided in the embodiment of the present application.
[0058] Figure 3 Schematic diagram of the control device of the compressor of the temperature control device according to the embodiment of the present application. Figure 3 As shown, the compressor is arranged on a communication pipeline, and the communication pipeline includes a gas communication pipeline and a liquid communication pipeline. The device includes:
[0059] an acquisition unit 10, configured to acquire, when the temperature control device is in a cooling mode, an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline;
[0060] Specifically, the temperature control device can be an air conditioner, refrigerator, or other device that includes a compressor and has a temperature control function. In the temperature control device, the part that includes the compressor can be a heat pump water system, through which a cooling or heating cycle is achieved. A structural diagram of a heat pump water system is shown in FIG. Figure 2 The system includes a compressor 1, a four-way valve 2, a fin heat exchanger 3, a filter 4, an electronic expansion valve 5, a filter 6, a plate heat exchanger 7, a gas-liquid separator 8, a high-pressure sensor HP, and a low-pressure sensor LP. The connection diagram of each component is shown in the figure, where T1 represents the exhaust temperature sensor, T2 represents the ambient temperature sensor, T3 represents the outlet water temperature sensor, T4 represents the inlet water temperature sensor, T5 represents the gas pipe temperature sensor, and T6 represents the liquid pipe temperature sensor. During refrigeration operation, the exhaust gas of compressor 1 passes through the connected pipeline, reaches the four-way valve 2, and then reaches the fin heat exchanger 3, where it is condensed by the air into a medium-temperature and high-pressure liquid refrigerant. After passing through the filter 4, it is throttled to a low-temperature and low-pressure vapor-liquid two-phase refrigerant through the electronic expansion valve 5, passes through the connecting pipeline filter 6, and then reaches the plate heat exchanger 7. After absorbing the heat in the plate heat exchanger 7, it evaporates into a gaseous refrigerant, passes through the connecting pipeline to reach the four-way valve 2, passes through the connecting pipeline to reach the gas-liquid separator 8, and then passes through the connecting pipeline and returns to the suction port of compressor 1, completing a refrigeration cycle. The ambient temperature is measured by the ambient temperature sensor, which reflects the current outside temperature conditions. The outlet liquid temperature can be measured by the liquid pipe temperature sensor T6, which refers to the temperature of the liquid refrigerant before passing through the plate heat exchanger 7. Figure 2 The inlet gas temperature can be measured by the gas pipe temperature sensor T5, which refers to the gas temperature after passing through the plate heat exchanger 7. Figure 2 Water inlet end shown.
[0061] a calculation unit 20 configured to calculate an absolute value of a difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculate an absolute value of a difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculate an absolute value of a difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference;
[0062] Specifically, the temperature difference between T5 and T6 is calculated, and its absolute value is taken to obtain the first difference absolute value (|T5-T6|). The first difference absolute value reflects the temperature difference change between the gaseous refrigerant and the liquid refrigerant after heat exchange. The absolute value of the temperature difference between the current ambient temperature T2 and the liquid temperature T6 at the liquid pipe outlet is calculated to obtain the second difference absolute value (|T2-T6|), which reflects the comparison between the ambient temperature and the liquid refrigerant temperature. The absolute value of the difference between the ambient temperature (T2) and the gas temperature (T5) at the gas pipe inlet is calculated to obtain the third difference absolute value (|T2-T5|). By comparing the ambient temperature and the gaseous refrigerant temperature, the temperature difference between the gaseous refrigerant and the ambient temperature is reflected.
[0063] The control unit 30 is used to determine whether the liquid flow in the liquid connecting pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value and the third difference absolute value, and if it is less than the preset flow, control the operation of the compressor so that the liquid flow in the liquid connecting pipeline is greater than or equal to the preset flow.
[0064] Specifically, by comparing the ambient temperature, the liquid temperature at the outlet and the gas temperature at the inlet, and calculating the absolute value of the difference between the two, it is possible to determine whether the liquid flow in the liquid connecting pipeline is small or there is no flow. When it is detected that the liquid flow is small or there is no flow, if the compressor continues to refrigerate at the current operating frequency, it will cause icing on the refrigeration line, causing equipment damage, etc. Therefore, it is necessary to adjust the operation of the compressor according to the liquid flow, which can be adjusted for parameters such as the operating frequency to achieve the effect of protecting the entire unit until the liquid flow is greater than or equal to the preset flow. The liquid flow usually refers to the refrigerant flow.
[0065] In this embodiment, a compressor is disposed on a communication pipeline, the communication pipeline comprising a gas communication pipeline and a liquid communication pipeline. When the temperature control device is in cooling mode, the ambient temperature, the outlet liquid temperature, and the inlet gas temperature are obtained. The absolute value of the difference between the inlet gas temperature and the outlet liquid temperature is calculated to obtain a first absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a second absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a third absolute value of the difference. Based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, a determination is made as to whether the liquid flow rate in the liquid communication pipeline is less than a preset flow rate. If the flow rate is less than the preset flow rate, the compressor is controlled to operate so that the liquid flow rate in the liquid communication pipeline is greater than or equal to the preset flow rate. Compared to the prior art that relies on a flow detection device to detect the liquid flow rate, the present application eliminates the need for a switch device and determines the liquid flow rate solely based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference. If the liquid flow rate is determined to be less than the preset flow rate, the compressor is controlled to operate, thereby avoiding the problem of the flow detection device failing to detect the liquid flow rate. Therefore, the problem in the prior art that the liquid flow rate detection device cannot detect the liquid flow rate in time when it fails can be solved, and the effect of timely detecting the liquid flow rate to control the operation of the compressor can be achieved.
[0066] Optionally, the acquisition unit includes a detection module, a first acquisition module and a second acquisition module, the detection module is used to detect the temperature change rate of the liquid in the liquid connecting pipe at the outlet end in a preset time period; the first acquisition module is used to obtain the liquid temperature at the outlet end and the gas temperature at the inlet end when the ambient temperature is greater than or equal to the freezing point temperature and the temperature change rate is greater than a first preset change rate; the second acquisition module is used to obtain the liquid temperature at the outlet end and the gas temperature at the inlet end when the ambient temperature is less than the freezing point temperature and the temperature change rate is greater than a second preset change rate, wherein the first preset change rate is less than the second preset change rate.
[0067] Optionally, the control unit includes a first determination module and a second determination module, the first determination module being used to determine that the liquid flow rate is not 0 and is less than the preset flow rate when the ambient temperature is greater than or equal to the freezing point temperature, and when the absolute value of the first difference is less than a first preset difference and the absolute value of the second difference is less than the first preset difference; the second determination module being used to determine that the liquid flow rate is 0 when the absolute value of the first difference is less than a second preset difference and the absolute value of the third difference is less than the first preset difference, wherein the first preset difference is greater than the second preset difference.
[0068] Optionally, the control unit further includes a third determination module and a fourth determination module, the third determination module being used to determine that the liquid flow is not 0 and is less than the preset flow when the ambient temperature is less than the freezing point temperature, and when the absolute value of the first difference is less than the first preset difference and the absolute value of the second difference is less than the third preset difference; the fourth determination module being used to determine that the liquid flow is 0 when the absolute value of the first difference is less than the second preset difference and the absolute value of the third difference is less than the third preset difference, wherein the third preset difference is greater than the first preset difference, and the first preset difference is greater than the second preset difference.
[0069] Optionally, the control unit includes a reduction module and a control module, the reduction module is used to reduce the frequency of the compressor when the liquid flow is not 0 and is less than the preset flow, until the absolute value of the first difference is greater than or equal to the first preset difference; the control module is used to control the compressor to stop running when the liquid flow is 0.
[0070] Optionally, the acquisition unit also includes a third acquisition module and a fourth control module, the third acquisition module is used to obtain the gas pressure before compression, wherein the gas pressure before compression represents the pressure of the gas before being compressed by the compressor; the fourth control module is used to obtain a one-to-one mapping relationship between gas pressure and saturation temperature, and determine the saturation temperature corresponding to the gas pressure before compression according to the one-to-one mapping relationship between gas pressure and saturation temperature, and determine the saturation temperature as the gas temperature at the inlet end.
[0071] Optionally, the acquisition unit further includes a fourth acquisition module, configured to acquire the ambient temperature, the outlet liquid temperature, and the inlet gas temperature at preset time intervals.
[0072] The control device for the compressor of the temperature control device includes a processor and memory. The acquisition unit, calculation unit, and control unit are all stored as program units in the memory. The processor executes the program units stored in the memory to implement the corresponding functions. The above modules are all located in the same processor; alternatively, the above modules can be located in different processors in any combination.
[0073] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and the liquid flow rate can be detected in real time by adjusting the core parameters.
[0074] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0075] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is executed, the device where the computer-readable storage medium is located is controlled to execute a method for controlling a compressor of a temperature control device.
[0076] Specifically, the control method of the compressor of the temperature control device includes:
[0077] Step S201, when the temperature control device is in cooling mode, obtaining an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline;
[0078] Specifically, the temperature control device can be an air conditioner, refrigerator, or other device that includes a compressor and has a temperature control function. In the temperature control device, the part that includes the compressor can be a heat pump water system, through which a cooling or heating cycle is achieved. A structural diagram of a heat pump water system is shown in FIG. Figure 2 The system includes a compressor 1, a four-way valve 2, a fin heat exchanger 3, a filter 4, an electronic expansion valve 5, a filter 6, a plate heat exchanger 7, a gas-liquid separator 8, a high-pressure sensor HP, and a low-pressure sensor LP. The connection diagram of each component is shown in the figure, where T1 represents the exhaust temperature sensor, T2 represents the ambient temperature sensor, T3 represents the outlet water temperature sensor, T4 represents the inlet water temperature sensor, T5 represents the gas pipe temperature sensor, and T6 represents the liquid pipe temperature sensor. During refrigeration operation, the exhaust gas of compressor 1 passes through the connected pipeline, reaches the four-way valve 2, and then reaches the fin heat exchanger 3, where it is condensed by the air into a medium-temperature and high-pressure liquid refrigerant. After passing through the filter 4, it is throttled to a low-temperature and low-pressure vapor-liquid two-phase refrigerant through the electronic expansion valve 5, passes through the connecting pipeline filter 6, and then reaches the plate heat exchanger 7. After absorbing the heat in the plate heat exchanger 7, it evaporates into a gaseous refrigerant, passes through the connecting pipeline to reach the four-way valve 2, passes through the connecting pipeline to reach the gas-liquid separator 8, and then passes through the connecting pipeline and returns to the suction port of compressor 1, completing a refrigeration cycle. The ambient temperature is measured by the ambient temperature sensor, which reflects the current outside temperature conditions. The outlet liquid temperature can be measured by the liquid pipe temperature sensor T6, which refers to the temperature of the liquid refrigerant before passing through the plate heat exchanger 7. Figure 2 The inlet gas temperature can be measured by the gas pipe temperature sensor T5, which refers to the gas temperature after passing through the plate heat exchanger 7. Figure 2 Water inlet end shown.
[0079] Step S202, calculating the absolute value of the difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference;
[0080] Specifically, the temperature difference between T5 and T6 is calculated, and its absolute value is taken to obtain the first difference absolute value (|T5-T6|). The first difference absolute value reflects the temperature difference change between the gaseous refrigerant and the liquid refrigerant after heat exchange. The absolute value of the temperature difference between the current ambient temperature T2 and the liquid temperature T6 at the liquid pipe outlet is calculated to obtain the second difference absolute value (|T2-T6|), which reflects the comparison between the ambient temperature and the liquid refrigerant temperature. The absolute value of the difference between the ambient temperature (T2) and the gas temperature (T5) at the gas pipe inlet is calculated to obtain the third difference absolute value (|T2-T5|). By comparing the ambient temperature and the gaseous refrigerant temperature, the temperature difference between the gaseous refrigerant and the ambient temperature is reflected.
[0081] Step S203, determining whether the liquid flow in the liquid communicating pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value, and the third difference absolute value, and if it is less than the preset flow, controlling the compressor to operate so that the liquid flow in the liquid communicating pipeline is greater than or equal to the preset flow.
[0082] Specifically, by comparing the ambient temperature, the liquid temperature at the outlet and the gas temperature at the inlet, and calculating the absolute value of the difference between the two, it is possible to determine whether the liquid flow in the liquid connecting pipeline is small or there is no flow. When it is detected that the liquid flow is small or there is no flow, if the compressor continues to refrigerate at the current operating frequency, it will cause icing on the refrigeration line, causing equipment damage, etc. Therefore, it is necessary to adjust the operation of the compressor according to the liquid flow, which can be adjusted for parameters such as the operating frequency to achieve the effect of protecting the entire unit until the liquid flow is greater than or equal to the preset flow. The liquid flow usually refers to the refrigerant flow.
[0083] An embodiment of the present invention provides an electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:
[0084] Step S201, when the temperature control device is in cooling mode, obtaining an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline;
[0085] Specifically, the temperature control device can be an air conditioner, refrigerator, or other device that includes a compressor and has a temperature control function. In the temperature control device, the part that includes the compressor can be a heat pump water system, through which a cooling or heating cycle is achieved. A structural diagram of a heat pump water system is shown in FIG. Figure 2 The system includes a compressor 1, a four-way valve 2, a fin heat exchanger 3, a filter 4, an electronic expansion valve 5, a filter 6, a plate heat exchanger 7, a gas-liquid separator 8, a high-pressure sensor HP, and a low-pressure sensor LP. The connection diagram of each component is shown in the figure, where T1 represents the exhaust temperature sensor, T2 represents the ambient temperature sensor, T3 represents the outlet water temperature sensor, T4 represents the inlet water temperature sensor, T5 represents the gas pipe temperature sensor, and T6 represents the liquid pipe temperature sensor. During refrigeration operation, the exhaust gas of compressor 1 passes through the connected pipeline, reaches the four-way valve 2, and then reaches the fin heat exchanger 3, where it is condensed by the air into a medium-temperature and high-pressure liquid refrigerant. After passing through the filter 4, it is throttled to a low-temperature and low-pressure vapor-liquid two-phase refrigerant through the electronic expansion valve 5, passes through the connecting pipeline filter 6, and then reaches the plate heat exchanger 7. After absorbing the heat in the plate heat exchanger 7, it evaporates into a gaseous refrigerant, passes through the connecting pipeline to reach the four-way valve 2, passes through the connecting pipeline to reach the gas-liquid separator 8, and then passes through the connecting pipeline and returns to the suction port of compressor 1, completing a refrigeration cycle. The ambient temperature is measured by the ambient temperature sensor, which reflects the current outside temperature conditions. The outlet liquid temperature can be measured by the liquid pipe temperature sensor T6, which refers to the temperature of the liquid refrigerant before passing through the plate heat exchanger 7. Figure 2 The inlet gas temperature can be measured by the gas pipe temperature sensor T5, which refers to the gas temperature after passing through the plate heat exchanger 7. Figure 2 Water inlet end shown.
[0086] Step S202, calculating the absolute value of the difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference;
[0087] Specifically, the temperature difference between T5 and T6 is calculated, and its absolute value is taken to obtain the first difference absolute value (|T5-T6|). The first difference absolute value reflects the temperature difference change between the gaseous refrigerant and the liquid refrigerant after heat exchange. The absolute value of the temperature difference between the current ambient temperature T2 and the liquid temperature T6 at the liquid pipe outlet is calculated to obtain the second difference absolute value (|T2-T6|), which reflects the comparison between the ambient temperature and the liquid refrigerant temperature. The absolute value of the difference between the ambient temperature (T2) and the gas temperature (T5) at the gas pipe inlet is calculated to obtain the third difference absolute value (|T2-T5|). By comparing the ambient temperature and the gaseous refrigerant temperature, the temperature difference between the gaseous refrigerant and the ambient temperature is reflected.
[0088] Step S203, determining whether the liquid flow in the liquid communicating pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value, and the third difference absolute value, and if it is less than the preset flow, controlling the compressor to operate so that the liquid flow in the liquid communicating pipeline is greater than or equal to the preset flow.
[0089] Specifically, by comparing the ambient temperature, the liquid temperature at the outlet and the gas temperature at the inlet, and calculating the absolute value of the difference between the two, it is possible to determine whether the liquid flow in the liquid connecting pipeline is small or there is no flow. When it is detected that the liquid flow is small or there is no flow, if the compressor continues to refrigerate at the current operating frequency, it will cause icing on the refrigeration line, causing equipment damage, etc. Therefore, it is necessary to adjust the operation of the compressor according to the liquid flow, which can be adjusted for parameters such as the operating frequency to achieve the effect of protecting the entire unit until the liquid flow is greater than or equal to the preset flow. The liquid flow usually refers to the refrigerant flow.
[0090] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0091] The present application also provides a control system for a compressor of a temperature control device, comprising a temperature control device, a compressor and a connecting pipeline, wherein the compressor is arranged on the connecting pipeline, and the connecting pipeline comprises a gas connecting pipeline and a liquid connecting pipeline;
[0092] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for controlling a compressor of a temperature control device according to any one of the following methods:
[0093] Step S201, when the temperature control device is in cooling mode, obtaining an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline;
[0094] Specifically, the temperature control device can be an air conditioner, refrigerator, or other device that includes a compressor and has a temperature control function. In the temperature control device, the part that includes the compressor can be a heat pump water system, through which a cooling or heating cycle is achieved. A structural diagram of a heat pump water system is shown in FIG. Figure 2The system includes a compressor 1, a four-way valve 2, a fin heat exchanger 3, a filter 4, an electronic expansion valve 5, a filter 6, a plate heat exchanger 7, a gas-liquid separator 8, a high-pressure sensor HP, and a low-pressure sensor LP. The connection diagram of each component is shown in the figure, where T1 represents the exhaust temperature sensor, T2 represents the ambient temperature sensor, T3 represents the outlet water temperature sensor, T4 represents the inlet water temperature sensor, T5 represents the gas pipe temperature sensor, and T6 represents the liquid pipe temperature sensor. During refrigeration operation, the exhaust gas of compressor 1 passes through the connected pipeline, reaches the four-way valve 2, and then reaches the fin heat exchanger 3, where it is condensed by the air into a medium-temperature and high-pressure liquid refrigerant. After passing through the filter 4, it is throttled to a low-temperature and low-pressure vapor-liquid two-phase refrigerant through the electronic expansion valve 5, passes through the connecting pipeline filter 6, and then reaches the plate heat exchanger 7. After absorbing the heat in the plate heat exchanger 7, it evaporates into a gaseous refrigerant, passes through the connecting pipeline to reach the four-way valve 2, passes through the connecting pipeline to reach the gas-liquid separator 8, and then passes through the connecting pipeline and returns to the suction port of compressor 1, completing a refrigeration cycle. The ambient temperature is measured by the ambient temperature sensor, which reflects the current outside temperature conditions. The outlet liquid temperature can be measured by the liquid pipe temperature sensor T6, which refers to the temperature of the liquid refrigerant before passing through the plate heat exchanger 7. Figure 2 The inlet gas temperature can be measured by the gas pipe temperature sensor T5, which refers to the gas temperature after passing through the plate heat exchanger 7. Figure 2 Water inlet end shown.
[0095] Step S202, calculating the absolute value of the difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculating the absolute value of the difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculating the absolute value of the difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference;
[0096] Specifically, the temperature difference between T5 and T6 is calculated, and its absolute value is taken to obtain the first difference absolute value (|T5-T6|). The first difference absolute value reflects the temperature difference change between the gaseous refrigerant and the liquid refrigerant after heat exchange. The absolute value of the temperature difference between the current ambient temperature T2 and the liquid temperature T6 at the liquid pipe outlet is calculated to obtain the second difference absolute value (|T2-T6|), which reflects the comparison between the ambient temperature and the liquid refrigerant temperature. The absolute value of the difference between the ambient temperature (T2) and the gas temperature (T5) at the gas pipe inlet is calculated to obtain the third difference absolute value (|T2-T5|). By comparing the ambient temperature and the gaseous refrigerant temperature, the temperature difference between the gaseous refrigerant and the ambient temperature is reflected.
[0097] Step S203, determining whether the liquid flow in the liquid communicating pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value, and the third difference absolute value, and if it is less than the preset flow, controlling the compressor to operate so that the liquid flow in the liquid communicating pipeline is greater than or equal to the preset flow.
[0098] Specifically, by comparing the ambient temperature, the liquid temperature at the outlet and the gas temperature at the inlet, and calculating the absolute value of the difference between the two, it is possible to determine whether the liquid flow in the liquid connecting pipeline is small or there is no flow. When it is detected that the liquid flow is small or there is no flow, if the compressor continues to refrigerate at the current operating frequency, it will cause icing on the refrigeration line, causing equipment damage, etc. Therefore, it is necessary to adjust the operation of the compressor according to the liquid flow, which can be adjusted for parameters such as the operating frequency to achieve the effect of protecting the entire unit until the liquid flow is greater than or equal to the preset flow. The liquid flow usually refers to the refrigerant flow.
[0099] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0100] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0101] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0102] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0104] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0105] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0106] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0107] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0108] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0109] 1) In the control method for a compressor of a temperature control device of the present application, the compressor is disposed on a communication line comprising a gas communication line and a liquid communication line. When the temperature control device is in cooling mode, the ambient temperature, the outlet liquid temperature, and the inlet gas temperature are obtained. The absolute value of the difference between the inlet gas temperature and the outlet liquid temperature is calculated to obtain a first absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a second absolute value of the difference. The absolute value of the difference between the ambient temperature and the outlet liquid temperature is calculated to obtain a third absolute value of the difference. Based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, a determination is made as to whether the liquid flow rate in the liquid communication line is less than a preset flow rate. If the flow rate is less than the preset flow rate, the compressor is controlled to operate so that the liquid flow rate in the liquid communication line is greater than or equal to the preset flow rate. Compared to the prior art method that relies on a flow detection device to detect the liquid flow rate, the present application eliminates the need for a switch device and determines the liquid flow rate solely based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference. If the liquid flow rate is determined to be less than the preset flow rate, the compressor is controlled to operate, thereby avoiding the problem of the flow detection device failing to detect the liquid flow rate. Therefore, the problem in the prior art that the liquid flow rate detection device cannot detect the liquid flow rate in time when it fails can be solved, and the effect of timely detecting the liquid flow rate to control the operation of the compressor can be achieved.
[0110] 2) In the compressor control device of the temperature control device of the present application, the compressor is disposed on a communication pipeline, the communication pipeline including a gas communication pipeline and a liquid communication pipeline. When the temperature control device is in cooling mode, the control device obtains the ambient temperature, the outlet liquid temperature, and the inlet gas temperature; calculates the absolute value of the difference between the inlet gas temperature and the outlet liquid temperature to obtain a first absolute value of the difference; calculates the absolute value of the difference between the ambient temperature and the outlet liquid temperature to obtain a second absolute value of the difference; and calculates the absolute value of the difference between the ambient temperature and the outlet gas temperature to obtain a third absolute value of the difference; determines whether the liquid flow in the liquid communication pipeline is less than a preset flow based on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference; and if the liquid flow is less than the preset flow, controls the compressor to operate so that the liquid flow in the liquid communication pipeline is greater than or equal to the preset flow. Compared to the prior art that relies on a flow detection device to detect the liquid flow, the present application eliminates the switching device and determines the liquid flow based solely on the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference. If the liquid flow is determined to be less than the preset flow, controls the compressor to operate, thereby avoiding the problem of the flow detection device failing to detect the liquid flow. Therefore, the problem in the prior art that the liquid flow rate detection device cannot detect the liquid flow rate in time when it fails can be solved, and the effect of timely detecting the liquid flow rate to control the operation of the compressor can be achieved.
[0111] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for controlling a compressor of a temperature control device, characterized in that: The compressor is provided on a communication pipeline, and the communication pipeline includes a gas communication pipeline and a liquid communication pipeline, including: When the temperature control device is in cooling mode, obtaining the ambient temperature, the outlet liquid temperature, and the inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline; Calculating the absolute value of the difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first difference absolute value, calculating the absolute value of the difference between the ambient temperature and the outlet end liquid temperature to obtain a second difference absolute value, and calculating the absolute value of the difference between the ambient temperature and the inlet end gas temperature to obtain a third difference absolute value; Determine whether the liquid flow rate in the liquid communicating pipeline is less than a preset flow rate based on the first difference absolute value, the second difference absolute value, and the third difference absolute value, and if the liquid flow rate is less than the preset flow rate, control the compressor to operate so that the liquid flow rate in the liquid communicating pipeline is greater than or equal to the preset flow rate.
2. The method for controlling a compressor of a temperature control device according to claim 1, characterized in that: Get the outlet liquid temperature and inlet gas temperature, including: detecting a temperature change rate of the liquid in the liquid communication line at the outlet end over a preset time period; When the ambient temperature is greater than or equal to the freezing point and the temperature change rate is greater than a first preset change rate, obtaining the liquid temperature at the outlet and the gas temperature at the inlet; When the ambient temperature is lower than the freezing point temperature and the temperature change rate is higher than a second preset change rate, the outlet liquid temperature and the inlet gas temperature are obtained, wherein the first preset change rate is lower than the second preset change rate.
3. The method for controlling a compressor of a temperature control device according to claim 1, characterized in that: Determining whether the liquid flow in the liquid communication line is less than a preset flow according to the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference includes: When the ambient temperature is greater than or equal to the freezing point temperature, and when the absolute value of the first difference is less than a first preset difference and the absolute value of the second difference is less than the first preset difference, determining that the liquid flow rate is not zero and is less than the preset flow rate; When the absolute value of the first difference is smaller than the second preset difference and the absolute value of the third difference is smaller than the first preset difference, the liquid flow is determined to be 0, wherein the first preset difference is greater than the second preset difference.
4. The method for controlling a compressor of a temperature control device according to claim 1, wherein: Determining whether the liquid flow in the liquid communication pipeline is less than a preset flow according to the first absolute value of the difference, the second absolute value of the difference, and the third absolute value of the difference, further includes: When the ambient temperature is lower than the freezing point, and when the absolute value of the first difference is lower than a first preset difference and the absolute value of the second difference is lower than a third preset difference, determining that the liquid flow rate is not zero and is lower than the preset flow rate; When the absolute value of the first difference is smaller than the second preset difference and the absolute value of the third difference is smaller than the third preset difference, the liquid flow is determined to be 0, wherein the third preset difference is greater than the first preset difference, and the first preset difference is greater than the second preset difference.
5. The method for controlling a compressor of a temperature control device according to any one of claims 3 or 4, characterized in that: Controlling the operation of the compressor according to the liquid flow rate includes: When the liquid flow rate is not zero and is less than the preset flow rate, reducing the frequency of the compressor until the absolute value of the first difference is greater than or equal to the first preset difference; When the liquid flow rate is 0, the compressor is controlled to stop running.
6. The method for controlling a compressor of a temperature control device according to claim 1, characterized in that: Obtaining the inlet gas temperature includes: Acquiring a pre-compression gas pressure, wherein the pre-compression gas pressure represents the pressure of the gas before being compressed by the compressor; A one-to-one mapping relationship between gas pressure and saturation temperature is obtained, and the saturation temperature corresponding to the gas pressure before compression is determined according to the one-to-one mapping relationship between gas pressure and saturation temperature, and the saturation temperature is determined to be the gas temperature at the inlet end.
7. The method for controlling a compressor of a temperature control device according to claim 1, characterized in that: Get the ambient temperature, outlet liquid temperature and inlet gas temperature, including: The ambient temperature, the outlet liquid temperature, and the inlet gas temperature are acquired at preset time intervals.
8. A control device for a compressor of a temperature control device, characterized in that: The compressor is provided on a communication pipeline, and the communication pipeline includes a gas communication pipeline and a liquid communication pipeline, including: an acquisition unit, configured to acquire, when the temperature control device is in a cooling mode, an ambient temperature, an outlet liquid temperature, and an inlet gas temperature, wherein the outlet liquid temperature is the temperature of the liquid at the outlet end of the liquid communication pipeline, and the inlet gas temperature is the temperature of the gas at the inlet end of the gas communication pipeline; a calculation unit, configured to calculate an absolute value of a difference between the inlet end gas temperature and the outlet end liquid temperature to obtain a first absolute value of the difference, calculate an absolute value of a difference between the ambient temperature and the outlet end liquid temperature to obtain a second absolute value of the difference, and calculate an absolute value of a difference between the ambient temperature and the inlet end gas temperature to obtain a third absolute value of the difference; A control unit is used to determine whether the liquid flow in the liquid communicating pipeline is less than a preset flow based on the first difference absolute value, the second difference absolute value and the third difference absolute value, and if it is less than the preset flow, control the operation of the compressor so that the liquid flow in the liquid communicating pipeline is greater than or equal to the preset flow.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for controlling a compressor of a temperature control device according to any one of claims 1 to 7.
10. A control system for a compressor of a temperature control device, characterized in that: include: A temperature control device, comprising a compressor and a connecting pipeline, wherein the compressor is arranged on the connecting pipeline, and the connecting pipeline comprises a gas connecting pipeline and a liquid connecting pipeline; One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for controlling a compressor of a temperature control device according to any one of claims 1 to 7.