Compensation Method and Device for Temperature Difference in Starting and Stopping of Air Conditioning Compressor
By obtaining the operating time difference value of the air conditioning compressor to adjust the temperature difference control, the problem that the air conditioning compressor cannot be reasonably controlled in different environments is solved, and better indoor temperature stability is achieved.
Patent Information
- Application Number
- CN202211675774.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-12-26
AI Technical Summary
In the prior art, the temperature difference control of the on-stop air conditioner compressor cannot be reasonably adjusted under different environments, making it difficult for the indoor ambient temperature to achieve the preset effect.
By obtaining the two adjacent running times of the air conditioner compressor and its interval time, calculate the difference and adjust the preset shutdown temperature difference and the start-up temperature difference, so as to reasonably control the start-up and shutdown of the compressor in different environments.
It achieves better maintaining the indoor constant temperature effect under different environments, and avoids the problem that the temperature difference due to changes in space heat exchange efficiency is difficult to reach the preset value.
Smart Images

Figure CN116182362B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of air conditioning technology, and more specifically, to a method for compensating for the temperature difference between the start and stop of an air conditioning compressor, a device for compensating for the temperature difference between the start and stop of an air conditioning compressor, a computer-readable storage medium, a processor, and an air conditioning system. Background Art
[0002] The outdoor air conditioner controller can control the outdoor unit's compressor by comparing the difference between the indoor ambient temperature and the set temperature with the program's stored temperature differential parameters. Typically, these temperature differential parameters are only adjusted during the air conditioner development phase based on the specific export region and are not adjusted again. Alternatively, users can remotely send these temperature differential parameters to compensate for the temperature difference. However, factors such as ambient temperature and the airtightness of the indoor space can affect the heat exchange efficiency between indoor and outdoor. Furthermore, varying heat exchange efficiencies, coupled with the installation location of the indoor air conditioner, can affect the air conditioner's ability to detect the indoor ambient temperature. With so many uncertainties, relying solely on the preset temperature differential parameters may not achieve the desired effect.
[0003] Therefore, there is an urgent need for a temperature difference compensation method for starting and stopping an air-conditioning compressor, which can reasonably control the compressor under different environments. Summary of the Invention
[0004] The main purpose of this application is to provide a method for compensating the temperature difference between the start and stop of an air-conditioning compressor, a device for compensating the temperature difference between the start and stop of an air-conditioning compressor, a computer-readable storage medium, a processor, and an air-conditioning system, so as to at least solve the problem in the prior art that the compressor cannot be reasonably controlled according to the preset start and stop temperature difference under different environments.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for compensating for the temperature difference between the start and stop of an air-conditioning compressor is provided, comprising: when the air-conditioning is turned on and running, obtaining a first time length, a second time length, a third time length and a fourth time length, wherein the first time length and the second time length are any two adjacent running times of the air-conditioning compressor from front to back in chronological order, the third time length is the time interval between the start time of the first time length and the previous shutdown time of the first time length, and the fourth time length is the time interval between the end time length of the first time length and the start time of the second time length; calculating the difference between the second time length and the first time length, and obtaining the fourth time length. a difference, and when the first difference is not within the first predetermined range, adjusting the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, the air-conditioning compressor is shut down; calculating the difference between the fourth time length and the third time length to obtain a second difference, and when the second difference is not within the second predetermined range, adjusting the preset startup temperature difference of the air-conditioning compressor to obtain a first target startup temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference, the air-conditioning compressor is started.
[0006] Optionally, when the first difference is not within the first predetermined range, the preset shutdown temperature difference of the air-conditioning compressor is adjusted to obtain a first target shutdown temperature difference, including: when the first difference is within the third predetermined range, increasing the preset shutdown temperature difference by a first predetermined temperature to obtain the first target shutdown temperature difference, and the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range; when the first difference is within the fourth predetermined range, reducing the preset shutdown temperature difference by a second predetermined temperature to obtain the first target shutdown temperature difference, and the minimum value of the fourth predetermined range is greater than or equal to the maximum value of the first predetermined range.
[0007] Optionally, when the first difference is within a third predetermined range, the preset shutdown temperature difference is increased by a first predetermined temperature to obtain the first target shutdown temperature difference, including: when the first difference is within a first sub-predetermined range, the preset shutdown temperature difference is increased by a first predetermined value, and the maximum value of the first sub-predetermined range is less than or equal to the minimum value of the first predetermined range; when the first difference is within a second sub-predetermined range, the preset shutdown temperature difference is increased by a second predetermined value, the maximum value of the second sub-predetermined range is less than or equal to the minimum value of the first sub-predetermined range, and the second predetermined value is greater than the first predetermined value.
[0008] Optionally, when the first difference is within a fourth predetermined range, the preset shutdown temperature difference is reduced by a second predetermined temperature to obtain the first target shutdown temperature difference, including: when the first difference is within a third sub-predetermined range, the preset shutdown temperature difference is reduced by a third predetermined value, and the minimum value of the third sub-predetermined range is greater than or equal to the maximum value of the first predetermined range; when the first difference is within a fourth sub-predetermined range, the preset shutdown temperature difference is reduced by a fourth predetermined value, the minimum value of the fourth sub-predetermined range is greater than or equal to the maximum value of the third sub-predetermined range, and the fourth predetermined value is greater than the third predetermined value.
[0009] Optionally, when the second difference is not within the second predetermined range, the preset start-up temperature difference of the air-conditioning compressor is adjusted to obtain a first target start-up temperature difference, including: when the second difference is within the fifth predetermined range, reducing the preset start-up temperature difference by a third predetermined temperature to obtain the first target start-up temperature difference, and the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range; when the second difference is within the sixth predetermined range, increasing the preset start-up temperature difference by a fourth predetermined temperature to obtain the first target start-up temperature difference, and the minimum value of the sixth predetermined range is greater than or equal to the maximum value of the second predetermined range.
[0010] Optionally, when the second difference is within the fifth predetermined range, the preset start-up temperature difference is reduced by a third predetermined temperature to obtain the first target start-up temperature difference, including: when the second difference is within the fifth sub-predetermined range, the preset start-up temperature difference is reduced by a fifth predetermined value, and the maximum value of the fifth sub-predetermined range is less than or equal to the minimum value of the second predetermined range; when the second difference is within the sixth sub-predetermined range, the preset start-up temperature difference is reduced by a sixth predetermined value, the maximum value of the sixth sub-predetermined range is less than or equal to the minimum value of the fifth sub-predetermined range, and the sixth predetermined value is greater than the fifth predetermined value.
[0011] Optionally, when the second difference is within the sixth predetermined range, the preset start-up temperature difference is increased by a fourth predetermined temperature to obtain the first target start-up temperature difference, including: when the second difference is within the seventh sub-predetermined range, the preset start-up temperature difference is reduced by a seventh predetermined value, and the minimum value of the seventh sub-predetermined range is greater than or equal to the maximum value of the second predetermined range; when the second difference is within the eighth sub-predetermined range, the preset start-up temperature difference is reduced by an eighth predetermined value, the minimum value of the eighth sub-predetermined range is greater than or equal to the maximum value of the seventh sub-predetermined range, and the eighth predetermined value is greater than the seventh predetermined value.
[0012] Optionally, after obtaining the first, second, third and fourth durations, the method further includes: obtaining the current air-conditioning mode, which is one of a cooling mode and a heating mode; when the air-conditioning mode is a cooling mode, determining that the preset shutdown temperature difference is the preset cooling shutdown temperature difference, and the preset startup temperature difference is the preset cooling startup temperature difference; when the air-conditioning mode is a heating mode, determining that the preset shutdown temperature difference is the preset heating shutdown temperature difference, and the preset startup temperature difference is the preset heating startup temperature difference.
[0013] Optionally, the method also includes: calculating the difference between the first target shutdown temperature difference and the preset shutdown temperature difference to obtain a third difference; when the third difference is not within the predetermined temperature difference range, determining the second target shutdown temperature difference as the sum of the preset shutdown temperature difference and the maximum value of the predetermined temperature difference range; calculating the difference between the first target startup temperature difference and the preset startup temperature difference to obtain a fourth difference; when the fourth difference is not within the predetermined temperature difference range, determining the second target startup temperature difference as the sum of the preset startup temperature difference and the minimum value of the predetermined temperature difference range.
[0014] Optionally, the method further includes: when the air conditioner is restarted, the shutdown temperature difference of the air conditioner compressor and the startup temperature difference of the air conditioner compressor are restored to the preset shutdown temperature difference and the preset startup temperature difference respectively.
[0015] According to another aspect of the present application, a compensation device for the temperature difference between the start and stop of an air-conditioning compressor is provided, comprising: a first acquisition unit, a first determination unit, and a second determination unit, wherein the first acquisition unit is used to obtain a first duration, a second duration, a third duration, and a fourth duration when the air-conditioning is turned on and running, the first duration and the second duration are respectively any two adjacent running times of the air-conditioning compressor from front to back in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration; the first determination unit is used to calculate the second duration and the The difference between the first time lengths is used to obtain a first difference, and when the first difference is not within a first predetermined range, the preset shutdown temperature difference of the air-conditioning compressor is adjusted to obtain a first target shutdown temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, the air-conditioning compressor is shut down; the second determination unit is used to calculate the difference between the fourth time length and the third time length to obtain a second difference, and when the second difference is not within a second predetermined range, the preset startup temperature difference of the air-conditioning compressor is adjusted to obtain a first target startup temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference, the air-conditioning compressor is started.
[0016] 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 running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for compensating the temperature difference between the start and stop of the air-conditioning compressor.
[0017] According to another aspect of the present application, a processor is provided, which is used to run a program, wherein when the program is run, any one of the methods for compensating for the temperature difference between the start and stop of an air-conditioning compressor is executed.
[0018] According to another aspect of the present application, an air-conditioning system is provided, comprising an air-conditioner and a controller, wherein the air-conditioner comprises an air-conditioning compressor; and the controller is configured to execute any one of the methods for compensating for the temperature difference between start-up and shutdown of the air-conditioning compressor.
[0019] Applying the technical solution of the present application, in the method for compensating the temperature difference between the start and stop of the air-conditioning compressor, first, when the air-conditioning is turned on, a first time length, a second time length, a third time length and a fourth time length are obtained, wherein the first time length and the second time length are any two adjacent running times of the air-conditioning compressor from front to back in chronological order, the third time length is the time interval between the start time of the first time length and the previous shutdown time of the first time length, and the fourth time length is the time interval between the end time length of the first time length and the start time of the second time length; then, the difference between the second time length and the first time length is calculated to obtain the first difference, and If the first difference is not within a first predetermined range, the preset shutdown temperature difference of the air-conditioning compressor is adjusted to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, the air-conditioning compressor is shut down. Finally, the difference between the fourth time period and the third time period is calculated to obtain a second difference. If the second difference is not within a second predetermined range, the preset startup temperature difference of the air-conditioning compressor is adjusted to obtain a first target startup temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference, the air-conditioning compressor is started. This method adjusts the preset shutdown temperature difference and the preset startup temperature difference based on the operating time of any two adjacent air-conditioning compressors and the interval between the two adjacent operating times, thereby avoiding the problem that the difference between the indoor ambient temperature and the air-conditioning set temperature is difficult to reach the preset shutdown temperature difference or the preset startup temperature difference due to changes in space heat exchange efficiency, thereby better maintaining the indoor environment at a constant temperature, thereby solving the problem in the prior art that the compressor cannot be reasonably controlled based on the preset startup and shutdown temperature differences under different environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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:
[0021] Figure 1 A hardware structure block diagram of a mobile terminal for performing a method for compensating for a temperature difference between the start and stop of an air-conditioning compressor provided in an embodiment of the present application is shown;
[0022] Figure 2 A flow chart of a method for compensating for a temperature difference between the start and stop of an air-conditioning compressor provided in accordance with an embodiment of the present application is shown;
[0023] Figure 3 A logic diagram of a method for compensating for a temperature difference between the start and stop of an air-conditioning compressor provided in accordance with an embodiment of the present application is shown;
[0024] Figure 4 A schematic diagram of a device for compensating for temperature differences between the start and stop of an air-conditioning compressor provided in accordance with an embodiment of the present application is shown.
[0025] The above drawings include the following reference numerals:
[0026] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. DETAILED DESCRIPTION
[0027] 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.
[0028] 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.
[0029] 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.
[0030] As introduced in the background technology, the existing technology cannot reasonably control the compressor according to the preset start-up and shutdown temperature difference under different environments. In order to solve the above problem, the embodiments of the present application provide a method for compensating the temperature difference between the start-up and shutdown of an air-conditioning compressor, a device for compensating the temperature difference between the start-up and shutdown of an air-conditioning compressor, a computer-readable storage medium, a processor and an air-conditioning system.
[0031] 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.
[0032] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1This is a hardware structure block diagram of a mobile terminal for a method of compensating for temperature difference between the start and stop of an air-conditioning compressor according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0033] The memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the device information display method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] In this embodiment, a method for compensating for the temperature difference between the start and stop of an air-conditioning compressor 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.
[0035] Figure 2 FIG is a flow chart of a method for compensating the temperature difference between the start and stop of an air-conditioning compressor according to an embodiment of the present application. Figure 2 As shown, the method includes the following steps:
[0036] Step S201: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0037] Specifically, after the air conditioner is powered on, the air conditioner compressor starts running. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running, and the second timing variable timer2 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is greater than the startup temperature difference, the air conditioner compressor starts. At this time, timer2 stops timing, and the recorded time is the third time length recorded as t3. At the same time as the air conditioner compressor starts, the first timing variable timer1 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running. At this time, timer1 stops timing, and the recorded time is The time is the first duration and is recorded as t1. When the air-conditioning compressor stops running, timer2 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is greater than the startup temperature difference again, the air-conditioning compressor starts. At this time, timer2 stops timing, and the recorded time is the fourth duration and is recorded as t4. When the air-conditioning compressor starts, timer1 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is less than the shutdown temperature difference again, the air-conditioning compressor stops running. At this time, timing is stopped, and the recorded time is the second duration and is recorded as t2. The units of the above-mentioned first duration, second duration, third duration and fourth duration can be minutes.
[0038] In actual applications, the time from the first shutdown to the first startup of the air conditioner compressor is recorded as t3 after the air conditioner is powered on. Because the uncertainty of the indoor temperature in advance has a greater impact on the compensation method, the time from the first startup to the shutdown of the air conditioner compressor is not recorded here.
[0039] Step S202: Calculate the difference between the second duration and the first duration to obtain a first difference. If the first difference is not within a first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, shut down the air-conditioning compressor.
[0040] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the shutdown temperature difference, the air conditioner compressor will shut down. The second time length is compared with the first time length to obtain a first difference. The above-mentioned first predetermined range can be [-3,3]. When the first difference value is within the first predetermined range, it indicates that the time difference between two consecutive startups and shutdowns of the air conditioner compressor is not much, that is, the preset shutdown temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the first difference value is not within the first predetermined range, it means that the time length from the latest startup to shutdown is very different from the time length from the previous startup to shutdown, and the preset shutdown temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0041] Step S203, calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain the second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain the first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0042] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the startup temperature difference, the air conditioner compressor will start up, and the fourth time length is compared with the third time length to obtain a second difference. The above-mentioned second predetermined range can be -3 to 3. When the second difference is within the second predetermined range, it indicates that the time difference between two consecutive shutdowns and startups of the air conditioner compressor is not much, that is, the preset startup temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the second difference is not within the second predetermined range, it means that the time length from the latest shutdown to startup is very different from the time length from the previous shutdown to startup, and the preset startup temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0043] Through this embodiment, the above method can adjust the preset shutdown temperature difference and the preset startup temperature difference through the operating time of any two adjacent operations of the air-conditioning compressor and the interval time between the two adjacent operations, thereby avoiding the difference between the indoor ambient temperature and the air-conditioning set temperature being difficult to reach the preset shutdown temperature difference or the preset startup temperature difference due to changes in the space heat exchange efficiency, thereby better maintaining the indoor environment at a constant temperature effect, and thus solving the problem in the prior art that the compressor cannot be reasonably controlled according to the preset startup and shutdown temperature difference under different environments.
[0044] In the specific implementation process, the above step S202 can be implemented by the following steps:
[0045] Step S301: if the first difference is within a third predetermined range, increase the preset shutdown temperature difference by a first predetermined temperature to obtain the first target shutdown temperature difference, and the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range;
[0046] Specifically, the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range, and the first difference is within the third predetermined range, that is, the second time length t2 is much smaller than the first time length t1. At this time, the heat exchange efficiency between the indoor environment and the outside world is low, and the preset shutdown temperature difference can be increased by the first predetermined temperature.
[0047] Step S302, when the above-mentioned first difference is within the fourth predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the second predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, and the minimum value of the above-mentioned fourth predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range.
[0048] Specifically, the minimum value of the fourth predetermined range is greater than or equal to the maximum value of the first predetermined range, and the first difference is within the fourth predetermined range, that is, the second time length t2 is much greater than the first time length t1. At this time, due to factors such as environmental changes, the heat exchange efficiency between the indoor environment and the outside world is high, making it more difficult for the indoor environment temperature to reach the air-conditioning set temperature. At this time, the preset shutdown temperature difference can be reduced to the second predetermined temperature. After the next startup, the compressor will not stop until it reaches a lower temperature when cooling or a higher temperature when heating, so that the user can enjoy the temperature before the shutdown for a longer time after the next shutdown when the temperature point is reached.
[0049] In order to make a more precise adjustment to the preset shutdown temperature difference so that the indoor environment can be better maintained at a constant temperature, in some embodiments, step S301 includes: when the above-mentioned first difference is within the first sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined value, and the maximum value of the above-mentioned first sub-predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the second sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the second predetermined value, the maximum value of the above-mentioned second sub-predetermined range is less than or equal to the minimum value of the above-mentioned first sub-predetermined range, and the above-mentioned second predetermined value is greater than the above-mentioned first predetermined value.
[0050] In order to further adjust the preset shutdown temperature difference more accurately, in some embodiments, step S302 includes: when the above-mentioned first difference is within the third sub-predetermined range, reducing the above-mentioned preset shutdown temperature difference by the third predetermined value, and the minimum value of the above-mentioned third sub-predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the fourth sub-predetermined range, reducing the above-mentioned preset shutdown temperature difference by the fourth predetermined value, the minimum value of the above-mentioned fourth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned third sub-predetermined range, and the above-mentioned fourth predetermined value is greater than the above-mentioned third predetermined value.
[0051] In practical applications, the first sub-predetermined range may be [-7, 3), the second sub-predetermined range may be (-∞, -7), the third sub-predetermined range may be (3, 7), and the fourth sub-predetermined range may be (7, +∞). The first and third predetermined values may be 1, and the second and fourth predetermined values may be 2. The first, second, third, and fourth predetermined values are all compensation values for the preset shutdown temperature difference, in degrees Celsius. Therefore, they may be specifically adjusted according to the relationship in Table 1:
[0052] Table 1
[0053]
[0054] In order to adjust the preset startup temperature difference, the above step S203 of the present application can be implemented by the following steps:
[0055] Step S303: if the second difference is within a fifth predetermined range, reducing the preset startup temperature difference by a third predetermined temperature to obtain the first target startup temperature difference, and the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range;
[0056] Specifically, the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range, and the second difference is within the fifth predetermined range, that is, the fourth time length t4 is much smaller than the third time length t3. At this time, the heat exchange efficiency between the indoor environment and the outside world is relatively high, and the preset startup temperature difference can be reduced by the third predetermined temperature, so that the air-conditioning compressor can start up faster after it stops at the temperature point next time. Faster startup can prevent users from being in an uncomfortable temperature for a long time.
[0057] Step S304, when the second difference is within the sixth predetermined range, the preset startup temperature difference is increased by a fourth predetermined temperature to obtain the first target startup temperature difference, and the minimum value of the sixth predetermined range is greater than or equal to the maximum value of the second predetermined range.
[0058] Specifically, the minimum value of the sixth predetermined range is greater than or equal to the maximum value of the second predetermined range, and the second difference is within the sixth predetermined range, that is, the fourth time length t4 is much greater than the third time length t3. At this time, the heat exchange efficiency between the indoor environment and the outside world is low. At this time, the preset startup temperature difference can be increased by the fourth predetermined temperature.
[0059] In order to make a more precise adjustment to the preset power-on temperature difference so that the indoor environment can be better maintained at a constant temperature, in some embodiments, step S303 includes: when the above-mentioned second difference is within the fifth sub-predetermined range, reducing the above-mentioned preset power-on temperature difference by the fifth predetermined value, and the maximum value of the above-mentioned fifth sub-predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the sixth sub-predetermined range, reducing the above-mentioned preset power-on temperature difference by the sixth predetermined value, the maximum value of the above-mentioned sixth sub-predetermined range is less than or equal to the minimum value of the above-mentioned fifth sub-predetermined range, and the above-mentioned sixth predetermined value is greater than the above-mentioned fifth predetermined value.
[0060] In order to further adjust the preset power-on temperature difference more accurately, in some embodiments, step S304 includes: when the above-mentioned second difference is within the seventh sub-predetermined range, reducing the above-mentioned preset power-on temperature difference by the seventh predetermined value, and the minimum value of the above-mentioned seventh sub-predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the eighth sub-predetermined range, reducing the above-mentioned preset power-on temperature difference by the eighth predetermined value, the minimum value of the above-mentioned eighth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned seventh sub-predetermined range, and the above-mentioned eighth predetermined value is greater than the above-mentioned seventh predetermined value.
[0061] In practical applications, the fifth sub-predetermined range may be [-7, 3), the sixth sub-predetermined range may be (-∞, -7), the seventh sub-predetermined range may be (3, 7), and the eighth sub-predetermined range may be (7, +∞). The fifth and seventh predetermined values may be 1, and the sixth and eighth predetermined values may be 2. The fifth, sixth, seventh, and eighth predetermined values are all compensation values for the preset startup temperature difference, and the unit is degrees Celsius. Therefore, they may be specifically adjusted according to the relationship in Table 2:
[0062] Table 2
[0063]
[0064] Since air conditioners generally have a cooling mode and a heating mode, and the preset shutdown temperature difference and the preset startup temperature difference in the two modes are different, in order to more accurately calculate the compensation value of the preset shutdown temperature difference or the preset startup temperature difference, in some embodiments, after obtaining the first time length, the second time length, the third time length and the fourth time length, the above method also includes: obtaining the current air conditioning mode, the above air conditioning mode is one of the cooling mode and the heating mode; when the above air conditioning mode is the cooling mode, determining the above preset shutdown temperature difference as the preset cooling shutdown temperature difference, and the above preset startup temperature difference as the preset cooling startup temperature difference; when the above air conditioning mode is the heating mode, determining the above preset shutdown temperature difference as the preset heating shutdown temperature difference, and the above preset startup temperature difference as the preset heating startup temperature difference.
[0065] In other embodiments, the method further includes: calculating the difference between the first target shutdown temperature difference and the preset shutdown temperature difference to obtain a third difference; if the third difference is not within the predetermined temperature difference range, determining the second target shutdown temperature difference as the sum of the preset shutdown temperature difference and the maximum value of the predetermined temperature difference range; calculating the difference between the first target startup temperature difference and the preset startup temperature difference to obtain a fourth difference; if the fourth difference is not within the predetermined temperature difference range, determining the second target startup temperature difference as the sum of the preset startup temperature difference and the minimum value of the predetermined temperature difference range. The preset shutdown temperature difference and the preset startup temperature difference are adjusted. If multiple adjustments are made, the values after the multiple adjustments cannot differ too much from the preset values.
[0066] Specifically, the predetermined temperature difference range can be [-2, 2]. After one adjustment, the preset shutdown temperature difference is increased by 1°C. If t2-t1 < -7 is detected, the preset shutdown temperature difference should be increased by another 2°C. That is, the difference between the first target shutdown temperature difference and the preset shutdown temperature difference is 3°C, which exceeds the maximum value of the predetermined temperature difference range of 2°C. Therefore, the second target shutdown temperature difference can only be the preset shutdown temperature difference + 2°C. Similarly, the minimum value can only be -2°C. The algorithm for the second target startup temperature difference is similar to that for the second target shutdown temperature difference and will not be repeated here.
[0067] When the air conditioner encounters a fault or shuts down, all previous compensation values are reset to zero when it is turned on again. In some embodiments, the above method also includes: when the air conditioner is turned on again, the shutdown temperature difference of the air conditioner compressor and the startup temperature difference of the air conditioner compressor are restored to the preset shutdown temperature difference and the preset startup temperature difference respectively.
[0068] Specifically, after the air conditioner is powered on, the start-up and shutdown of the air conditioner compressor are determined according to the preset start-up temperature difference and the preset shutdown temperature difference. Then, the first target shutdown temperature difference and the first target start-up temperature difference are calculated. The subsequent shutdown and startup are determined according to the first target shutdown temperature difference and the first target start-up temperature difference. At the same time, the above-mentioned first time length is refreshed by the above-mentioned second time length, and the above-mentioned third time length is refreshed by the above-mentioned fourth time length. If the air conditioner encounters a fault or is shut down, when the air conditioner is running again, the shutdown and startup of the air conditioner compressor are determined according to the preset shutdown temperature difference and the preset start-up temperature difference.
[0069] 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 compensating the temperature difference between the start and stop of the air-conditioning compressor of the present application will be described in detail below with reference to specific embodiments.
[0070] This embodiment relates to a specific method for compensating the temperature difference between the start and stop of an air-conditioning compressor. Figure 3 As shown, the following steps are included:
[0071] Step S1: Obtain the third duration t3;
[0072] Step S2: Obtain the first duration t1;
[0073] Step S3: Obtain the fourth duration t4;
[0074] Step S4: calculating the difference between the fourth duration and the third duration to obtain a second difference, and determining a range of the second difference;
[0075] Step S5: When the second difference is within a fifth predetermined range, reducing the preset startup temperature difference by a third predetermined temperature;
[0076] Step S6: when the second difference is within a sixth predetermined range, increasing the preset startup temperature difference by a fourth predetermined temperature;
[0077] Step S7: Obtain the second duration t2;
[0078] Step S8: Calculate the difference between the second duration and the first duration to obtain a first difference, and determine the range of the first difference;
[0079] Step S9: when the first difference is within a third predetermined range, increasing the preset shutdown temperature difference by a first predetermined temperature;
[0080] Step S10: When the first difference is within a fourth predetermined range, reducing the preset shutdown temperature difference by a second predetermined temperature.
[0081] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0082] The embodiment of the present application also provides a device for compensating for the temperature difference between the start and stop of an air-conditioning compressor. It should be noted that the device for compensating for the temperature difference between the start and stop of an air-conditioning compressor in the embodiment of the present application can be used to execute the method for compensating for the temperature difference between the start and stop of an air-conditioning compressor provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation methods, and those that have been explained will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for 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 conceivable.
[0083] The following introduces the temperature difference compensation device for the start-up and shutdown of the air-conditioning compressor provided in the embodiment of the present application.
[0084] Figure 4 Schematic diagram of a device for compensating for temperature differences between the start and stop of an air-conditioning compressor according to an embodiment of the present application. Figure 4 As shown, the device includes:
[0085] The first acquisition unit 10 is configured to acquire, when the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration, wherein the first duration and the second duration are respectively any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0086] Specifically, after the air conditioner is powered on, the air conditioner compressor starts running. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running, and the second timing variable timer2 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is greater than the startup temperature difference, the air conditioner compressor starts. At this time, timer2 stops timing, and the recorded time is the third time length recorded as t3. At the same time as the air conditioner compressor starts, the first timing variable timer1 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running. At this time, timer1 stops timing, and the recorded time is The time is the first duration and is recorded as t1. When the air-conditioning compressor stops running, timer2 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is greater than the startup temperature difference again, the air-conditioning compressor starts. At this time, timer2 stops timing, and the recorded time is the fourth duration and is recorded as t4. When the air-conditioning compressor starts, timer1 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is less than the shutdown temperature difference again, the air-conditioning compressor stops running. At this time, timing is stopped, and the recorded time is the second duration and is recorded as t2. The units of the above-mentioned first duration, second duration, third duration and fourth duration can be minutes.
[0087] In actual applications, the time from the first shutdown to the first startup of the air conditioner compressor is recorded as t3 after the air conditioner is powered on. Because the uncertainty of the indoor temperature in advance has a greater impact on the compensation method, the time from the first startup to the shutdown of the air conditioner compressor is not recorded here.
[0088] a first determining unit 20 configured to calculate a difference between the second duration and the first duration to obtain a first difference, and, if the first difference is not within a first predetermined range, adjust a preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference, and shut down the air-conditioning compressor if the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference;
[0089] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the shutdown temperature difference, the air conditioner compressor will shut down. The second time length is compared with the first time length to obtain a first difference. The above-mentioned first predetermined range can be [-3,3]. When the first difference value is within the first predetermined range, it indicates that the time difference between two consecutive startups and shutdowns of the air conditioner compressor is not much, that is, the preset shutdown temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the first difference value is not within the first predetermined range, it means that the time length from the latest startup to shutdown is very different from the time length from the previous startup to shutdown, and the preset shutdown temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0090] The second determination unit 30 is used to calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain a second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain a first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0091] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the startup temperature difference, the air conditioner compressor will start up, and the fourth time length is compared with the third time length to obtain a second difference. The above-mentioned second predetermined range can be -3 to 3. When the second difference is within the second predetermined range, it indicates that the time difference between two consecutive shutdowns and startups of the air conditioner compressor is not much, that is, the preset startup temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the second difference is not within the second predetermined range, it means that the time length from the latest shutdown to startup is very different from the time length from the previous shutdown to startup, and the preset startup temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0092] Through this embodiment, the above-mentioned device can adjust the preset shutdown temperature difference and the preset startup temperature difference through the operating time of any two adjacent operations of the air-conditioning compressor and the interval time between the two adjacent operations, thereby avoiding the difference between the indoor ambient temperature and the air-conditioning set temperature being difficult to reach the preset shutdown temperature difference or the preset startup temperature difference due to changes in the space heat exchange efficiency, thereby better maintaining the indoor environment at a constant temperature effect, and thus solving the problem in the prior art that the compressor cannot be reasonably controlled according to the preset startup and shutdown temperature difference under different environments.
[0093] In a specific implementation process, the first determining unit includes a first processing module and a second processing module, wherein:
[0094] a first processing module, configured to increase the preset shutdown temperature difference by a first predetermined temperature to obtain the first target shutdown temperature difference when the first difference is within a third predetermined range, and the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range;
[0095] Specifically, the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range, and the first difference is within the third predetermined range, that is, the second time length t2 is much smaller than the first time length t1. At this time, the heat exchange efficiency between the indoor environment and the outside world is low, and the preset shutdown temperature difference can be increased by the first predetermined temperature.
[0096] The second processing module is used to reduce the above-mentioned preset shutdown temperature difference by a second predetermined temperature when the above-mentioned first difference is within a fourth predetermined range to obtain the above-mentioned first target shutdown temperature difference, and the minimum value of the above-mentioned fourth predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range.
[0097] Specifically, the minimum value of the fourth predetermined range is greater than or equal to the maximum value of the first predetermined range, and the first difference is within the fourth predetermined range, that is, the second time length t2 is much greater than the first time length t1. At this time, due to factors such as environmental changes, the heat exchange efficiency between the indoor environment and the outside world is high, making it more difficult for the indoor environment temperature to reach the air-conditioning set temperature. At this time, the preset shutdown temperature difference can be reduced to the second predetermined temperature. After the next startup, the compressor will not stop until it reaches a lower temperature when cooling or a higher temperature when heating, so that the user can enjoy the temperature before the shutdown for a longer time after the next shutdown when the temperature point is reached.
[0098] In order to make a more precise adjustment to the preset shutdown temperature difference so that the indoor environment can be better maintained at a constant temperature, in some embodiments, the above-mentioned first processing module includes a first processing sub-module and a second processing sub-module, wherein the above-mentioned first processing sub-module is used to increase the above-mentioned preset shutdown temperature difference by a first predetermined value when the above-mentioned first difference is within a first sub-predetermined range, and the maximum value of the above-mentioned first sub-predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; the above-mentioned second processing sub-module is used to increase the above-mentioned preset shutdown temperature difference by a second predetermined value when the above-mentioned first difference is within a second sub-predetermined range, and the maximum value of the above-mentioned second sub-predetermined range is less than or equal to the minimum value of the above-mentioned first sub-predetermined range, and the above-mentioned second predetermined value is greater than the above-mentioned first predetermined value.
[0099] In order to further adjust the preset shutdown temperature difference more accurately, in some embodiments, the above-mentioned second processing module includes a third processing sub-module and a fourth processing sub-module, wherein the above-mentioned third processing sub-module is used to reduce the above-mentioned preset shutdown temperature difference by a third predetermined value when the above-mentioned first difference is within a third sub-predetermined range, and the minimum value of the above-mentioned third sub-predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range; the above-mentioned fourth processing sub-module is used to reduce the above-mentioned preset shutdown temperature difference by a fourth predetermined value when the above-mentioned first difference is within a fourth sub-predetermined range, and the minimum value of the above-mentioned fourth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned third sub-predetermined range, and the above-mentioned fourth predetermined value is greater than the above-mentioned third predetermined value.
[0100] In practical applications, the first sub-predetermined range may be [-7, 3), the second sub-predetermined range may be (-∞, -7), the third sub-predetermined range may be (3, 7), and the fourth sub-predetermined range may be (7, +∞). The first and third predetermined values may be 1, and the second and fourth predetermined values may be 2. The first, second, third, and fourth predetermined values are all compensation values for the preset shutdown temperature difference, in degrees Celsius. Therefore, they may be specifically adjusted according to the relationship in Table 3:
[0101] Table 3
[0102]
[0103] In order to adjust the preset startup temperature difference, the second determining unit includes a third processing module and a fourth processing module, wherein:
[0104] a third processing module, configured to reduce the preset startup temperature difference by a third predetermined temperature to obtain the first target startup temperature difference when the second difference is within a fifth predetermined range, and the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range;
[0105] Specifically, the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range, and the second difference is within the fifth predetermined range, that is, the fourth time length t4 is much smaller than the third time length t3. At this time, the heat exchange efficiency between the indoor environment and the outside world is relatively high, and the preset startup temperature difference can be reduced by the third predetermined temperature, so that the air-conditioning compressor can start up faster after it stops at the temperature point next time. Faster startup can prevent users from being in an uncomfortable temperature for a long time.
[0106] The fourth processing module is used to increase the above-mentioned preset startup temperature difference by a fourth predetermined temperature when the above-mentioned second difference is within the sixth predetermined range to obtain the above-mentioned first target startup temperature difference, and the minimum value of the above-mentioned sixth predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range.
[0107] Specifically, the minimum value of the sixth predetermined range is greater than or equal to the maximum value of the second predetermined range, and the second difference is within the sixth predetermined range, that is, the fourth time length t4 is much greater than the third time length t3. At this time, the heat exchange efficiency between the indoor environment and the outside world is low. At this time, the preset startup temperature difference can be increased by the fourth predetermined temperature.
[0108] In order to make a more precise adjustment to the preset start-up temperature difference so that the indoor environment can be better maintained at a constant temperature, in some embodiments, the above-mentioned third processing module includes a fifth processing sub-module and a sixth processing sub-module, wherein the above-mentioned fifth processing sub-module is used to reduce the above-mentioned preset start-up temperature difference by a fifth predetermined value when the above-mentioned second difference is within the fifth sub-predetermined range, and the maximum value of the above-mentioned fifth sub-predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; the above-mentioned sixth processing sub-module is used to reduce the above-mentioned preset start-up temperature difference by a sixth predetermined value when the above-mentioned second difference is within the sixth sub-predetermined range, and the maximum value of the above-mentioned sixth sub-predetermined range is less than or equal to the minimum value of the above-mentioned fifth sub-predetermined range, and the above-mentioned sixth predetermined value is greater than the above-mentioned fifth predetermined value.
[0109] In order to further adjust the preset power-on temperature difference more accurately, in some embodiments, the above-mentioned fourth processing module includes a seventh processing sub-module and an eighth processing sub-module, wherein the above-mentioned seventh processing sub-module is used to reduce the above-mentioned preset power-on temperature difference by the seventh predetermined value when the above-mentioned second difference is within the seventh sub-predetermined range, and the minimum value of the above-mentioned seventh sub-predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range; the above-mentioned eighth processing sub-module is used to reduce the above-mentioned preset power-on temperature difference by the eighth predetermined value when the above-mentioned second difference is within the eighth sub-predetermined range, the minimum value of the above-mentioned eighth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned seventh sub-predetermined range, and the above-mentioned eighth predetermined value is greater than the above-mentioned seventh predetermined value.
[0110] In practical applications, the fifth sub-predetermined range may be [-7, 3), the sixth sub-predetermined range may be (-∞, -7), the seventh sub-predetermined range may be (3, 7), and the eighth sub-predetermined range may be (7, +∞). The fifth and seventh predetermined values may be 1, and the sixth and eighth predetermined values may be 2. The fifth, sixth, seventh, and eighth predetermined values are all compensation values for the preset startup temperature difference, and the unit is degrees Celsius. Therefore, they may be specifically adjusted according to the relationship in Table 4:
[0111] Table 4
[0112]
[0113] Since air conditioners generally have a cooling mode and a heating mode, and the preset shutdown temperature difference and the preset startup temperature difference in the two modes are different, in order to more accurately calculate the compensation value of the preset shutdown temperature difference or the preset startup temperature difference, in some embodiments, the above-mentioned device also includes a second acquisition unit, a third determination unit and a fourth determination unit, wherein the above-mentioned second acquisition unit is used to obtain the current air-conditioning mode after obtaining the first time length, the second time length, the third time length and the fourth time length, and the above-mentioned air-conditioning mode is one of the cooling mode and the heating mode; the above-mentioned third determination unit is used to determine that the above-mentioned preset shutdown temperature difference is the preset cooling shutdown temperature difference, and the above-mentioned preset startup temperature difference is the preset cooling startup temperature difference when the above-mentioned air-conditioning mode is the cooling mode; the above-mentioned fourth determination unit is used to determine that the above-mentioned preset shutdown temperature difference is the preset heating shutdown temperature difference, and the above-mentioned preset startup temperature difference is the preset heating startup temperature difference when the above-mentioned air-conditioning mode is the heating mode.
[0114] In some other embodiments, the apparatus further includes a first calculation unit, a fifth determination unit, a second calculation unit, and a sixth determination unit, wherein the first calculation unit is configured to calculate the difference between the first target shutdown temperature difference and the preset shutdown temperature difference to obtain a third difference; the fifth determination unit is configured to determine, when the third difference is not within the predetermined temperature difference range, that the second target shutdown temperature difference is the sum of the preset shutdown temperature difference and the maximum value of the predetermined temperature difference range; the second calculation unit is configured to calculate the difference between the first target startup temperature difference and the preset startup temperature difference to obtain a fourth difference; and the sixth determination unit is configured to determine, when the fourth difference is not within the predetermined temperature difference range, that the second target startup temperature difference is the sum of the preset startup temperature difference and the minimum value of the predetermined temperature difference range. The preset shutdown temperature difference and the preset startup temperature difference are adjusted. If multiple adjustments are made, the values after the multiple adjustments cannot differ too much from the preset values.
[0115] Specifically, the predetermined temperature difference range can be [-2, 2]. After one adjustment, the preset shutdown temperature difference is increased by 1°C. If t2-t1 < -7 is detected, the preset shutdown temperature difference should be increased by another 2°C. That is, the difference between the first target shutdown temperature difference and the preset shutdown temperature difference is 3°C, which exceeds the maximum value of the predetermined temperature difference range of 2°C. Therefore, the second target shutdown temperature difference can only be the preset shutdown temperature difference + 2°C. Similarly, the minimum value can only be -2°C. The algorithm for the second target startup temperature difference is similar to that for the second target shutdown temperature difference and will not be repeated here.
[0116] When the air conditioner encounters a fault or shuts down, all previous compensation values are reset to zero when it is turned on again. In some embodiments, the above-mentioned device also includes a recovery unit, which is used to restore the shutdown temperature difference and the startup temperature difference of the air conditioner compressor to the preset shutdown temperature difference and the preset startup temperature difference respectively when the air conditioner is restarted.
[0117] Specifically, after the air conditioner is powered on, the start-up and shutdown of the air conditioner compressor are determined according to the preset start-up temperature difference and the preset shutdown temperature difference. Then, the first target shutdown temperature difference and the first target start-up temperature difference are calculated. The subsequent shutdown and startup are determined according to the first target shutdown temperature difference and the first target start-up temperature difference. At the same time, the above-mentioned first time length is refreshed by the above-mentioned second time length, and the above-mentioned third time length is refreshed by the above-mentioned fourth time length. If the air conditioner encounters a fault or is shut down, when the air conditioner is running again, the shutdown and startup of the air conditioner compressor are determined according to the preset shutdown temperature difference and the preset start-up temperature difference.
[0118] The device for compensating for the temperature difference between the start and stop of an air-conditioning compressor includes a processor and a memory. The first acquisition unit, the first determination unit, and the second determination 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 modules are all located in the same processor; alternatively, the modules can be located in different processors in any combination.
[0119] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be configured, and by adjusting the core parameters, the problem of not being able to properly control the compressor based on the preset start-stop temperature difference under different environments can be solved.
[0120] 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.
[0121] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for compensating the temperature difference between the start and stop of the air-conditioning compressor.
[0122] Specifically, the method for compensating the temperature difference between the start and stop of the air-conditioning compressor includes:
[0123] Step S201: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0124] Specifically, after the air conditioner is powered on, the air conditioner compressor starts running. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running, and the second timing variable timer2 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is greater than the startup temperature difference, the air conditioner compressor starts. At this time, timer2 stops timing, and the recorded time is the third time length recorded as t3. At the same time as the air conditioner compressor starts, the first timing variable timer1 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running. At this time, timer1 stops timing, and the recorded time is The time is the first duration and is recorded as t1. When the air-conditioning compressor stops running, timer2 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is greater than the startup temperature difference again, the air-conditioning compressor starts. At this time, timer2 stops timing, and the recorded time is the fourth duration and is recorded as t4. When the air-conditioning compressor starts, timer1 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is less than the shutdown temperature difference again, the air-conditioning compressor stops running. At this time, timing is stopped, and the recorded time is the second duration and is recorded as t2. The units of the above-mentioned first duration, second duration, third duration and fourth duration can be minutes.
[0125] Step S202: Calculate the difference between the second duration and the first duration to obtain a first difference. If the first difference is not within a first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, shut down the air-conditioning compressor.
[0126] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the shutdown temperature difference, the air conditioner compressor will shut down. The second time length is compared with the first time length to obtain a first difference. The above-mentioned first predetermined range can be [-3,3]. When the first difference value is within the first predetermined range, it indicates that the time difference between two consecutive startups and shutdowns of the air conditioner compressor is not much, that is, the preset shutdown temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the first difference value is not within the first predetermined range, it means that the time length from the latest startup to shutdown is very different from the time length from the previous startup to shutdown, and the preset shutdown temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0127] Step S203, calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain the second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain the first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0128] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the startup temperature difference, the air conditioner compressor will start up, and the fourth time length is compared with the third time length to obtain a second difference. The above-mentioned second predetermined range can be -3 to 3. When the second difference is within the second predetermined range, it indicates that the time difference between two consecutive shutdowns and startups of the air conditioner compressor is not much, that is, the preset startup temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the second difference is not within the second predetermined range, it means that the time length from the latest shutdown to startup is very different from the time length from the previous shutdown to startup, and the preset startup temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0129] Optionally, when the above-mentioned first difference is not within the first predetermined range, the preset shutdown temperature difference of the above-mentioned air-conditioning compressor is adjusted to obtain the first target shutdown temperature difference, including: when the above-mentioned first difference is within the third predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, and the maximum value of the above-mentioned third predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the fourth predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the second predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, and the minimum value of the above-mentioned fourth predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range.
[0130] Optionally, when the above-mentioned first difference is within the third predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, including: when the above-mentioned first difference is within the first sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined value, and the maximum value of the above-mentioned first sub-predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the second sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the second predetermined value, the maximum value of the above-mentioned second sub-predetermined range is less than or equal to the minimum value of the above-mentioned first sub-predetermined range, and the above-mentioned second predetermined value is greater than the above-mentioned first predetermined value.
[0131] Optionally, when the above-mentioned first difference is within the fourth predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the second predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, including: when the above-mentioned first difference is within the third sub-predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the third predetermined value, and the minimum value of the above-mentioned third sub-predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the fourth sub-predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the fourth predetermined value, the minimum value of the above-mentioned fourth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned third sub-predetermined range, and the above-mentioned fourth predetermined value is greater than the above-mentioned third predetermined value.
[0132] Optionally, when the above-mentioned second difference is not within the second predetermined range, the preset start-up temperature difference of the above-mentioned air-conditioning compressor is adjusted to obtain the first target start-up temperature difference, including: when the above-mentioned second difference is within the fifth predetermined range, the above-mentioned preset start-up temperature difference is reduced by a third predetermined temperature to obtain the above-mentioned first target start-up temperature difference, and the maximum value of the above-mentioned fifth predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the sixth predetermined range, the above-mentioned preset start-up temperature difference is increased by a fourth predetermined temperature to obtain the above-mentioned first target start-up temperature difference, and the minimum value of the above-mentioned sixth predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range.
[0133] Optionally, when the above-mentioned second difference is within the fifth predetermined range, the above-mentioned preset start-up temperature difference is reduced by a third predetermined temperature to obtain the above-mentioned first target start-up temperature difference, including: when the above-mentioned second difference is within the fifth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by a fifth predetermined value, and the maximum value of the above-mentioned fifth sub-predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the sixth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by a sixth predetermined value, the maximum value of the above-mentioned sixth sub-predetermined range is less than or equal to the minimum value of the above-mentioned fifth sub-predetermined range, and the above-mentioned sixth predetermined value is greater than the above-mentioned fifth predetermined value.
[0134] Optionally, when the above-mentioned second difference is within the sixth predetermined range, the above-mentioned preset start-up temperature difference is increased by the fourth predetermined temperature to obtain the above-mentioned first target start-up temperature difference, including: when the above-mentioned second difference is within the seventh sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by the seventh predetermined value, and the minimum value of the above-mentioned seventh sub-predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the eighth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by the eighth predetermined value, the minimum value of the above-mentioned eighth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned seventh sub-predetermined range, and the above-mentioned eighth predetermined value is greater than the above-mentioned seventh predetermined value.
[0135] Optionally, after obtaining the first duration, the second duration, the third duration and the fourth duration, the above method also includes: obtaining the current air-conditioning mode, the above air-conditioning mode is one of the cooling mode and the heating mode; when the above air-conditioning mode is the cooling mode, determining the above preset shutdown temperature difference as the preset cooling shutdown temperature difference, and the above preset startup temperature difference as the preset cooling startup temperature difference; when the above air-conditioning mode is the heating mode, determining the above preset shutdown temperature difference as the preset heating shutdown temperature difference, and the above preset startup temperature difference as the preset heating startup temperature difference.
[0136] Optionally, the above method also includes: calculating the difference between the above-mentioned first target shutdown temperature difference and the above-mentioned preset shutdown temperature difference to obtain a third difference; when the above-mentioned third difference is not within the predetermined temperature difference range, determining the second target shutdown temperature difference as the sum of the above-mentioned preset shutdown temperature difference and the maximum value of the above-mentioned predetermined temperature difference range; calculating the difference between the above-mentioned first target startup temperature difference and the above-mentioned preset startup temperature difference to obtain a fourth difference; when the above-mentioned fourth difference is not within the predetermined temperature difference range, determining the second target startup temperature difference as the sum of the above-mentioned preset startup temperature difference and the minimum value of the above-mentioned predetermined temperature difference range.
[0137] Optionally, the method further includes: when the air conditioner is restarted, the shutdown temperature difference of the air conditioner compressor and the startup temperature difference of the air conditioner compressor are restored to the preset shutdown temperature difference and the preset startup temperature difference respectively.
[0138] An embodiment of the present invention provides a processor, which is used to run a program, wherein when the program is run, the method for compensating the temperature difference between the start and stop of the air-conditioning compressor is executed.
[0139] Specifically, the method for compensating the temperature difference between the start and stop of the air-conditioning compressor includes:
[0140] Step S201: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0141] Specifically, after the air conditioner is powered on, the air conditioner compressor starts running. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running, and the second timing variable timer2 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is greater than the startup temperature difference, the air conditioner compressor starts. At this time, timer2 stops timing, and the recorded time is the third time length recorded as t3. At the same time as the air conditioner compressor starts, the first timing variable timer1 starts timing. When the difference between the indoor ambient temperature difference and the air conditioner set temperature is less than the shutdown temperature difference, the air conditioner compressor stops running. At this time, timer1 stops timing, and the recorded time is The time is the first duration and is recorded as t1. When the air-conditioning compressor stops running, timer2 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is greater than the startup temperature difference again, the air-conditioning compressor starts. At this time, timer2 stops timing, and the recorded time is the fourth duration and is recorded as t4. When the air-conditioning compressor starts, timer1 restarts timing. When the difference between the indoor ambient temperature difference and the air-conditioning set temperature is less than the shutdown temperature difference again, the air-conditioning compressor stops running. At this time, timing is stopped, and the recorded time is the second duration and is recorded as t2. The units of the above-mentioned first duration, second duration, third duration and fourth duration can be minutes.
[0142] Step S202: Calculate the difference between the second duration and the first duration to obtain a first difference. If the first difference is not within a first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, shut down the air-conditioning compressor.
[0143] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the shutdown temperature difference, the air conditioner compressor will shut down. The second time length is compared with the first time length to obtain a first difference. The above-mentioned first predetermined range can be [-3,3]. When the first difference value is within the first predetermined range, it indicates that the time difference between two consecutive startups and shutdowns of the air conditioner compressor is not much, that is, the preset shutdown temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the first difference value is not within the first predetermined range, it means that the time length from the latest startup to shutdown is very different from the time length from the previous startup to shutdown, and the preset shutdown temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0144] Step S203, calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain the second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain the first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0145] Specifically, if the difference between the indoor ambient temperature and the air conditioner set temperature reaches the startup temperature difference, the air conditioner compressor will start up, and the fourth time length is compared with the third time length to obtain a second difference. The above-mentioned second predetermined range can be -3 to 3. When the second difference is within the second predetermined range, it indicates that the time difference between two consecutive shutdowns and startups of the air conditioner compressor is not much, that is, the preset startup temperature difference at this time is reasonable, and the temperature of the indoor space can easily reach the set temperature of the air conditioner; if the second difference is not within the second predetermined range, it means that the time length from the latest shutdown to startup is very different from the time length from the previous shutdown to startup, and the preset startup temperature difference needs to be adjusted so that the heat exchange rate between the indoor environment and the outside world is within a reasonable range.
[0146] Optionally, when the above-mentioned first difference is not within the first predetermined range, the preset shutdown temperature difference of the above-mentioned air-conditioning compressor is adjusted to obtain the first target shutdown temperature difference, including: when the above-mentioned first difference is within the third predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, and the maximum value of the above-mentioned third predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the fourth predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the second predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, and the minimum value of the above-mentioned fourth predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range.
[0147] Optionally, when the above-mentioned first difference is within the third predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, including: when the above-mentioned first difference is within the first sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the first predetermined value, and the maximum value of the above-mentioned first sub-predetermined range is less than or equal to the minimum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the second sub-predetermined range, the above-mentioned preset shutdown temperature difference is increased by the second predetermined value, the maximum value of the above-mentioned second sub-predetermined range is less than or equal to the minimum value of the above-mentioned first sub-predetermined range, and the above-mentioned second predetermined value is greater than the above-mentioned first predetermined value.
[0148] Optionally, when the above-mentioned first difference is within the fourth predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the second predetermined temperature to obtain the above-mentioned first target shutdown temperature difference, including: when the above-mentioned first difference is within the third sub-predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the third predetermined value, and the minimum value of the above-mentioned third sub-predetermined range is greater than or equal to the maximum value of the above-mentioned first predetermined range; when the above-mentioned first difference is within the fourth sub-predetermined range, the above-mentioned preset shutdown temperature difference is reduced by the fourth predetermined value, the minimum value of the above-mentioned fourth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned third sub-predetermined range, and the above-mentioned fourth predetermined value is greater than the above-mentioned third predetermined value.
[0149] Optionally, when the above-mentioned second difference is not within the second predetermined range, the preset start-up temperature difference of the above-mentioned air-conditioning compressor is adjusted to obtain the first target start-up temperature difference, including: when the above-mentioned second difference is within the fifth predetermined range, the above-mentioned preset start-up temperature difference is reduced by a third predetermined temperature to obtain the above-mentioned first target start-up temperature difference, and the maximum value of the above-mentioned fifth predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the sixth predetermined range, the above-mentioned preset start-up temperature difference is increased by a fourth predetermined temperature to obtain the above-mentioned first target start-up temperature difference, and the minimum value of the above-mentioned sixth predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range.
[0150] Optionally, when the above-mentioned second difference is within the fifth predetermined range, the above-mentioned preset start-up temperature difference is reduced by a third predetermined temperature to obtain the above-mentioned first target start-up temperature difference, including: when the above-mentioned second difference is within the fifth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by a fifth predetermined value, and the maximum value of the above-mentioned fifth sub-predetermined range is less than or equal to the minimum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the sixth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by a sixth predetermined value, the maximum value of the above-mentioned sixth sub-predetermined range is less than or equal to the minimum value of the above-mentioned fifth sub-predetermined range, and the above-mentioned sixth predetermined value is greater than the above-mentioned fifth predetermined value.
[0151] Optionally, when the above-mentioned second difference is within the sixth predetermined range, the above-mentioned preset start-up temperature difference is increased by the fourth predetermined temperature to obtain the above-mentioned first target start-up temperature difference, including: when the above-mentioned second difference is within the seventh sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by the seventh predetermined value, and the minimum value of the above-mentioned seventh sub-predetermined range is greater than or equal to the maximum value of the above-mentioned second predetermined range; when the above-mentioned second difference is within the eighth sub-predetermined range, the above-mentioned preset start-up temperature difference is reduced by the eighth predetermined value, the minimum value of the above-mentioned eighth sub-predetermined range is greater than or equal to the maximum value of the above-mentioned seventh sub-predetermined range, and the above-mentioned eighth predetermined value is greater than the above-mentioned seventh predetermined value.
[0152] Optionally, after obtaining the first duration, the second duration, the third duration and the fourth duration, the above method also includes: obtaining the current air-conditioning mode, the above air-conditioning mode is one of the cooling mode and the heating mode; when the above air-conditioning mode is the cooling mode, determining the above preset shutdown temperature difference as the preset cooling shutdown temperature difference, and the above preset startup temperature difference as the preset cooling startup temperature difference; when the above air-conditioning mode is the heating mode, determining the above preset shutdown temperature difference as the preset heating shutdown temperature difference, and the above preset startup temperature difference as the preset heating startup temperature difference.
[0153] Optionally, the above method also includes: calculating the difference between the above-mentioned first target shutdown temperature difference and the above-mentioned preset shutdown temperature difference to obtain a third difference; when the above-mentioned third difference is not within the predetermined temperature difference range, determining the second target shutdown temperature difference as the sum of the above-mentioned preset shutdown temperature difference and the maximum value of the above-mentioned predetermined temperature difference range; calculating the difference between the above-mentioned first target startup temperature difference and the above-mentioned preset startup temperature difference to obtain a fourth difference; when the above-mentioned fourth difference is not within the predetermined temperature difference range, determining the second target startup temperature difference as the sum of the above-mentioned preset startup temperature difference and the minimum value of the above-mentioned predetermined temperature difference range.
[0154] Optionally, the method further includes: when the air conditioner is restarted, the shutdown temperature difference of the air conditioner compressor and the startup temperature difference of the air conditioner compressor are restored to the preset shutdown temperature difference and the preset startup temperature difference respectively.
[0155] An embodiment of the present invention provides a device, comprising 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:
[0156] Step S201: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0157] Step S202: Calculate the difference between the second duration and the first duration to obtain a first difference. If the first difference is not within a first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, shut down the air-conditioning compressor.
[0158] Step S203, calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain the second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain the first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0159] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0160] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:
[0161] Step S201: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration;
[0162] Step S202: Calculate the difference between the second duration and the first duration to obtain a first difference. If the first difference is not within a first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, shut down the air-conditioning compressor.
[0163] Step S203, calculate the difference between the above-mentioned fourth time length and the above-mentioned third time length to obtain the second difference, and when the above-mentioned second difference is not within the second predetermined range, adjust the preset start-up temperature difference of the above-mentioned air-conditioning compressor to obtain the first target start-up temperature difference, and when the difference between the above-mentioned indoor ambient temperature and the above-mentioned air-conditioning set temperature is not less than the above-mentioned first target start-up temperature difference, the above-mentioned air-conditioning compressor is turned on.
[0164] 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.
[0165] 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.
[0166] 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.
[0167] 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.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational 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.
[0169] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0170] 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.
[0171] 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 tape, 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 computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0172] 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.
[0173] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0174] 1) In the compensation method for the temperature difference between the start and stop of the air-conditioning compressor of the present application, first, when the air-conditioning is turned on, a first duration, a second duration, a third duration and a fourth duration are obtained, wherein the first duration and the second duration are any two adjacent operation times of the air-conditioning compressor from front to back in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration; then, the difference between the second duration and the first duration is calculated to obtain the first difference, and the difference is calculated in the above If the first difference is not within a first predetermined range, the preset shutdown temperature difference of the air-conditioning compressor is adjusted to obtain a first target shutdown temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, the air-conditioning compressor is shut down. Finally, the difference between the fourth time period and the third time period is calculated to obtain a second difference. If the second difference is not within a second predetermined range, the preset startup temperature difference of the air-conditioning compressor is adjusted to obtain a first target startup temperature difference. If the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference, the air-conditioning compressor is started. This method can adjust the preset shutdown temperature difference and the preset startup temperature difference based on the operating time of any two adjacent air-conditioning compressors and the interval between the two adjacent operating times, thereby avoiding the problem that the difference between the indoor ambient temperature and the air-conditioning set temperature is difficult to reach the preset shutdown temperature difference or the preset startup temperature difference due to changes in space heat exchange efficiency, thereby better maintaining the indoor environment at a constant temperature, thereby solving the problem in the prior art that the compressor cannot be reasonably controlled based on the preset startup and shutdown temperature differences under different environments.
[0175] 2) The temperature difference compensation device for the start and stop of the air-conditioning compressor of the present application includes: a first acquisition unit, a first determination unit and a second determination unit, wherein the first acquisition unit is used to obtain a first duration, a second duration, a third duration and a fourth duration when the air-conditioning is turned on and running, the first duration and the second duration are respectively any two adjacent running times of the air-conditioning compressor from front to back in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration; the first determination unit is used to calculate the time interval between the second duration and the first duration The first determination unit is used to calculate the difference between the fourth time length and the third time length to obtain a first difference, and when the first difference is not within the first predetermined range, adjust the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference, the air-conditioning compressor is shut down; the second determination unit is used to calculate the difference between the fourth time length and the third time length to obtain a second difference, and when the second difference is not within the second predetermined range, adjust the preset startup temperature difference of the air-conditioning compressor to obtain a first target startup temperature difference, and when the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference, the air-conditioning compressor is started. The device can adjust the preset shutdown temperature difference and the preset startup temperature difference according to the operating time of any two adjacent operations of the air-conditioning compressor and the interval time between the two adjacent operations, thereby avoiding the situation where the difference between the indoor ambient temperature and the air-conditioning set temperature is difficult to reach the preset shutdown temperature difference or the preset startup temperature difference due to changes in the space heat exchange efficiency, thereby better maintaining the indoor environment at a constant temperature, thereby solving the problem in the prior art that the compressor cannot be reasonably controlled according to the preset startup and shutdown temperature difference under different environments.
[0176] 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 compensating the temperature difference between the start and stop of an air-conditioning compressor, characterized in that: include: When the air conditioner is turned on, a first duration, a second duration, a third duration, and a fourth duration are obtained, where the first duration and the second duration are any two adjacent operating times of the air conditioner compressor in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration; calculating a difference between the second duration and the first duration to obtain a first difference, and adjusting a preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference if the first difference is not within a first predetermined range, and shutting down the air-conditioning compressor if the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference; calculating a difference between the fourth time period and the third time period to obtain a second difference, and adjusting a preset startup temperature difference of the air-conditioning compressor to obtain a first target startup temperature difference if the second difference is not within a second predetermined range, and turning on the air-conditioning compressor if the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference; Wherein, when the first difference is not within a first predetermined range, adjusting the preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference includes: When the first difference is within a third predetermined range, the preset shutdown temperature difference is increased by the first predetermined temperature to obtain the first target shutdown temperature difference, and the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range; When the first difference is within a fourth predetermined range, the preset shutdown temperature difference is reduced by a second predetermined temperature to obtain the first target shutdown temperature difference, and the minimum value of the fourth predetermined range is greater than or equal to the maximum value of the first predetermined range.
2. The method according to claim 1, characterized in that When the first difference is within a third predetermined range, increasing the preset shutdown temperature difference by a first predetermined temperature to obtain the first target shutdown temperature difference includes: In the case where the first difference is within a first sub-predetermined range, increasing the preset shutdown temperature difference by a first predetermined value, and the maximum value of the first sub-predetermined range is less than or equal to the minimum value of the first predetermined range; When the first difference is within the second sub-predetermined range, the preset shutdown temperature difference is increased by a second predetermined value, the maximum value of the second sub-predetermined range is less than or equal to the minimum value of the first sub-predetermined range, and the second predetermined value is greater than the first predetermined value.
3. The method according to claim 1, characterized in that When the first difference is within a fourth predetermined range, reducing the preset shutdown temperature difference by a second predetermined temperature to obtain the first target shutdown temperature difference includes: When the first difference is within a third sub-predetermined range, reducing the preset shutdown temperature difference by a third predetermined value, wherein the minimum value of the third sub-predetermined range is greater than or equal to the maximum value of the first predetermined range; When the first difference is within a fourth sub-predetermined range, the preset shutdown temperature difference is reduced by a fourth predetermined value, the minimum value of the fourth sub-predetermined range is greater than or equal to the maximum value of the third sub-predetermined range, and the fourth predetermined value is greater than the third predetermined value.
4. The method according to claim 1, wherein When the second difference is not within a second predetermined range, adjusting the preset startup temperature difference of the air-conditioning compressor to obtain a first target startup temperature difference includes: When the second difference is within a fifth predetermined range, reducing the preset startup temperature difference by a third predetermined temperature to obtain the first target startup temperature difference, and the maximum value of the fifth predetermined range is less than or equal to the minimum value of the second predetermined range; When the second difference is within the sixth predetermined range, the preset startup temperature difference is increased by a fourth predetermined temperature to obtain the first target startup temperature difference, and the minimum value of the sixth predetermined range is greater than or equal to the maximum value of the second predetermined range.
5. The method according to claim 4, characterized in that When the second difference is within a fifth predetermined range, reducing the preset startup temperature difference by a third predetermined temperature to obtain the first target startup temperature difference includes: When the second difference is within a fifth sub-predetermined range, reducing the preset startup temperature difference by a fifth predetermined value, wherein the maximum value of the fifth sub-predetermined range is less than or equal to the minimum value of the second predetermined range; When the second difference is within the sixth sub-predetermined range, the preset startup temperature difference is reduced by the sixth predetermined value, the maximum value of the sixth sub-predetermined range is less than or equal to the minimum value of the fifth sub-predetermined range, and the sixth predetermined value is greater than the fifth predetermined value.
6. The method according to claim 4, characterized in that When the second difference is within a sixth predetermined range, increasing the preset startup temperature difference by a fourth predetermined temperature to obtain the first target startup temperature difference includes: When the second difference is within a seventh sub-predetermined range, reducing the preset startup temperature difference by a seventh predetermined value, wherein the minimum value of the seventh sub-predetermined range is greater than or equal to the maximum value of the second predetermined range; When the second difference is within the eighth sub-predetermined range, the preset startup temperature difference is reduced by the eighth predetermined value, the minimum value of the eighth sub-predetermined range is greater than or equal to the maximum value of the seventh sub-predetermined range, and the eighth predetermined value is greater than the seventh predetermined value.
7. The method according to any one of claims 1 to 6, characterized in that After obtaining the first duration, the second duration, the third duration, and the fourth duration, the method further includes: Obtaining a current air conditioning mode, where the air conditioning mode is one of a cooling mode and a heating mode; When the air-conditioning mode is the cooling mode, the preset shutdown temperature difference is determined to be the preset cooling shutdown temperature difference, and the preset startup temperature difference is determined to be the preset cooling startup temperature difference; When the air-conditioning mode is the heating mode, the preset shutdown temperature difference is determined to be a preset heating shutdown temperature difference, and the preset startup temperature difference is determined to be a preset heating startup temperature difference.
8. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Calculating a difference between the first target shutdown temperature difference and the preset shutdown temperature difference to obtain a third difference; If the third difference is not within the predetermined temperature difference range, determining the second target shutdown temperature difference as the sum of the preset shutdown temperature difference and the maximum value of the predetermined temperature difference range; Calculating a difference between the first target startup temperature difference and the preset startup temperature difference to obtain a fourth difference; When the fourth difference is not within the predetermined temperature difference range, the second target startup temperature difference is determined to be the sum of the preset startup temperature difference and the minimum value of the predetermined temperature difference range.
9. The method according to any one of claims 1 to 6, characterized in that The method further comprises: When the air conditioner is restarted, the shutdown temperature difference of the air conditioner compressor and the startup temperature difference of the air conditioner compressor are restored to the preset shutdown temperature difference and the preset startup temperature difference, respectively.
10. A device for compensating the temperature difference between the start and stop of an air-conditioning compressor, characterized in that: include: a first acquiring unit, configured to acquire, when the air conditioner is turned on and running, a first duration, a second duration, a third duration, and a fourth duration, wherein the first duration and the second duration are respectively any two adjacent operating times of the air conditioner compressor from the front to the back in chronological order, the third duration is the time interval between the start time of the first duration and the previous shutdown time of the first duration, and the fourth duration is the time interval between the end time of the first duration and the start time of the second duration; a first determining unit configured to calculate a difference between the second duration and the first duration to obtain a first difference, and, if the first difference is not within a first predetermined range, adjust a preset shutdown temperature difference of the air-conditioning compressor to obtain a first target shutdown temperature difference, and shut down the air-conditioning compressor if the difference between the indoor ambient temperature and the air-conditioning set temperature is not greater than the first target shutdown temperature difference; a second determining unit, configured to calculate a difference between the fourth time period and the third time period to obtain a second difference, and, if the second difference is not within a second predetermined range, adjust a preset startup temperature difference of the air-conditioning compressor to obtain a first target startup temperature difference, and turn on the air-conditioning compressor if the difference between the indoor ambient temperature and the air-conditioning set temperature is not less than the first target startup temperature difference; Among them, the first determination unit is also used to increase the preset shutdown temperature difference by a first predetermined temperature to obtain the first target shutdown temperature difference when the first difference is within a third predetermined range, and the maximum value of the third predetermined range is less than or equal to the minimum value of the first predetermined range; when the first difference is within a fourth predetermined range, reduce the preset shutdown temperature difference by a second predetermined temperature to obtain the first target shutdown temperature difference, and the minimum value of the fourth predetermined range is greater than or equal to the maximum value of the first predetermined range.
11. 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 compensating the temperature difference between the start and stop of the air-conditioning compressor according to any one of claims 1 to 9.
12. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for compensating the temperature difference between the start and stop of the air-conditioning compressor according to any one of claims 1 to 9.
13. An air conditioning system, characterized in that: include: Air conditioners, including air conditioner compressors; A controller for executing the method for compensating the temperature difference between the start and stop of an air-conditioning compressor as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Control method and device for improving long-time temperature-reaching shutdown of air conditioner and air conditioner
CN113587335A
Multi-split air conditioning system and control method and control device thereof
CN114623565A