Control method, control device, air conditioner and storage medium

By establishing a temperature prediction model in the air conditioner and adjusting the compressor frequency according to the actual temperature difference, the problem of temperature overshoot in PID control is solved, and more precise temperature control is achieved.

CN118816354BActive Publication Date: 2025-10-28TCL AIR CONDITIONER ZHONGSHAN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411154826.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2025-10-28
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

The PID control of existing air conditioners is prone to temperature overshoot, and the adjustment parameters are complex and not precise enough.

Method used

By periodically sampling the indoor temperature after the compressor starts, a predictive model is established to show how the temperature difference between the indoor temperature and the target temperature changes over time. The prediction model and the actual temperature difference at the current moment are used to determine the adjustment trend of the compressor frequency, thus avoiding over-adjustment.

Benefits of technology

It achieves precise control of air conditioner temperature, avoids temperature overshoot, and improves control stability and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118816354B_ABST
    Figure CN118816354B_ABST
Patent Text Reader

Abstract

This invention discloses a control method, control device, air conditioner, and storage medium. The control method includes periodically sampling the indoor temperature after the compressor starts; determining a first predicted average temperature difference, a second predicted average temperature difference, a first predicted temperature difference at the end of the current sampling period, and a second predicted temperature difference at a preset time based on a prediction model; obtaining the actual temperature difference at the current time; determining a judgment threshold based on the actual temperature difference and the first predicted temperature difference; and determining a first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, and adjusting the frequency according to the first adjustment trend. This invention accurately determines the first adjustment trend of the compressor based on the temperature change trend and adjusts the frequency according to the first adjustment trend, avoiding over-adjustment caused by excessive adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of air conditioning equipment technology, and in particular to a control method, control device, air conditioner and storage medium. Background Technology

[0002] Existing air conditioners typically use PID (Proportional-Integral-Derivative) control to maintain room temperature near the set temperature. Specifically, the proportional term adjusts the cooling or heating intensity based on the deviation between the actual temperature measured by the temperature sensor and the set temperature to reduce the temperature difference; the integral term eliminates static errors; when a sustained temperature deviation exists, the integral term accumulates and increases the control signal until the temperature difference is zero; and the derivative term predicts temperature change trends and adjusts the control signal in advance to prevent rapid temperature changes and increase system stability.

[0003] However, the aforementioned PID control parameters are complex to adjust and can easily lead to temperature overshoot. Summary of the Invention

[0004] The main objective of this invention is to provide a control method, control device, air conditioner, and storage medium, aiming to improve the technical problem of temperature overshoot that easily occurs during the operation of air conditioner control in the prior art.

[0005] An embodiment of the present invention provides a control method, comprising:

[0006] After the compressor starts, the indoor temperature is sampled periodically;

[0007] Based on the prediction model of the temperature difference between indoor temperature and target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time are determined, wherein the preset time is located after the end of the current sampling period.

[0008] Obtain the actual temperature difference at the end of the current sampling period, where the actual temperature difference is the difference between the current indoor temperature and the target temperature;

[0009] The judgment threshold is determined based on the actual temperature difference and the first predicted temperature difference;

[0010] Based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

[0011] In some embodiments of the present invention, after determining a first adjustment trend of the compressor frequency after the current sampling period, the control method further includes:

[0012] Based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend, the frequency adjustment parameters of the compressor after the current sampling period are determined, and the compressor is adjusted according to the frequency adjustment parameters.

[0013] In some embodiments of the present invention, determining the frequency adjustment parameters of the compressor after the current sampling period based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend includes:

[0014] The predicted temperature difference change rate is determined based on the first predicted average temperature difference and the second predicted average temperature difference.

[0015] Based on the predicted temperature difference change rate, the actual temperature difference, and the first adjustment trend, the frequency adjustment parameters of the compressor after the current sampling period are determined.

[0016] In some embodiments of the present invention, determining the first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, and adjusting it according to the first adjustment trend, includes:

[0017] The first difference is determined based on the first predicted average temperature difference and the second predicted average temperature difference;

[0018] Based on the second predicted temperature difference, the judgment threshold, and the first difference, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

[0019] In some embodiments of the present invention, determining the first adjustment trend of the compressor frequency after the current sampling period based on the second predicted temperature difference, the judgment threshold, and the first difference, and adjusting it according to the first adjustment trend, includes:

[0020] When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0021] When the second predicted temperature difference is less than the judgment threshold, if the first difference is greater than or equal to the second threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0022] When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be frequency reduction, and the compressor is controlled to reduce frequency.

[0023] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be frequency increase, and the compressor frequency is controlled to increase.

[0024] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is greater than or equal to the second threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0025] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0026] In some embodiments of the present invention, determining the judgment threshold based on the actual temperature difference and the first predicted temperature difference includes:

[0027] The first error is determined based on the actual temperature difference and the first predicted temperature difference;

[0028] The judgment threshold is determined based on the first error and the actual temperature difference.

[0029] In some embodiments of the present invention, when it is determined that the actual temperature difference is less than a preset value, the compressor is controlled to reduce its frequency according to predetermined parameters.

[0030] In some embodiments of the present invention, the control method further includes:

[0031] After the compressor is started, the indoor temperature is periodically sampled, and the prediction model is established based on the periodically sampled data.

[0032] In some embodiments of the present invention, a control device is also provided, comprising:

[0033] The sampling module is used to periodically sample the indoor temperature after the compressor starts.

[0034] The acquisition module is used to determine, based on a prediction model of the temperature difference between the indoor temperature and the target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time, wherein the preset time is located after the end of the current sampling period; the acquisition module is also used to acquire the actual temperature difference at the current time, wherein the actual temperature difference is the difference between the indoor temperature and the target temperature at the current time;

[0035] The calculation module is further configured to determine a judgment threshold based on the actual temperature difference and the first predicted temperature difference;

[0036] The control module is used to determine the first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference and the judgment threshold, and to adjust it according to the first adjustment trend.

[0037] In some embodiments of the present invention, an air conditioner is also provided, including a memory and a processor. The memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps in the control method described above.

[0038] In some embodiments of the present invention, a storage medium is also provided, the storage medium storing a computer program, the computer program being executed and loaded by a processor to perform the steps in the control method described above.

[0039] Embodiments of the present invention provide a control method, device, air conditioner, and storage medium. The control method, after the compressor starts, samples the indoor temperature and, based on a prediction model of the difference between the indoor temperature and the target temperature changing over time, obtains a first predicted average temperature difference, a second predicted average temperature difference, a first predicted temperature difference, and a second predicted temperature difference. Simultaneously, it obtains the actual temperature difference at the current moment and a judgment threshold to determine a first adjustment trend of the compressor frequency after the current sampling period, and controls the compressor to adjust according to this first adjustment trend. That is, by using the prediction model and the actual temperature difference at the current moment, the temperature change trend is determined, and then the first adjustment trend of the compressor is accurately determined based on this temperature change trend, and the compressor is adjusted according to this first adjustment trend, avoiding overshoot due to excessive adjustment. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0041] Figure 1 This is a flowchart illustrating a control method according to an embodiment of the present invention;

[0042] Figure 2 This is a schematic diagram of the structure of a control device according to an embodiment of the present invention;

[0043] Figure 3 This is a schematic diagram of the structure of an air conditioner according to an embodiment of the present invention.

[0044] Reference numerals: 10, control device; 100, acquisition module; 200, calculation module; 300, control module; 400, sampling module; 601, processor; 602, memory; 603, power supply; 604, input unit. Detailed Implementation

[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0046] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0047] In this invention, unless otherwise explicitly specified and limited, the terms "connection," "fixed," etc., should be interpreted broadly. For example, "fixed" can mean a fixed connection, a detachable connection, or an integral part; it can mean a mechanical connection or an electrical connection; it can mean a direct connection or an indirect connection through an intermediate medium; it can mean the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0048] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the meaning of "and / or" throughout the text includes three parallel solutions; for example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.

[0049] like Figure 1-3 As shown, the present invention provides a control method, comprising:

[0050] The S100 periodically samples the indoor temperature after the compressor starts.

[0051] Periodic sampling means continuously sampling the indoor temperature for a preset duration. The sampling frequency is generally once per second, and the period length is generally 1 minute. That is, one period consists of 60 samplings.

[0052] S200, based on the prediction model of the temperature difference between indoor temperature and target temperature changing over time, determine the first predicted average temperature difference for the time period corresponding to the current sampling period, the second predicted average temperature difference for the time period corresponding to the previous sampling period, the first predicted temperature difference corresponding to the end time of the current sampling period, and the second predicted temperature difference at a preset time.

[0053] The first predicted temperature difference is obtained by summing and averaging multiple predicted temperature differences in the current sampling period based on the prediction model. The second predicted temperature difference is obtained by summing and averaging multiple predicted temperature differences in the previous sampling period based on the prediction model. The first predicted temperature difference at the end of the current sampling period is the predicted temperature difference at the end of the current sampling period determined by the prediction model. The second predicted temperature difference is the predicted temperature difference at the current time at the preset time.

[0054] It should be noted that the first predicted temperature difference at the end of the current sampling period is based on the predicted data determined by the prediction model. Therefore, it will generally deviate from the actual temperature difference at the current moment.

[0055] S300: Obtain the actual temperature difference at the current moment. The actual temperature is the difference between the current indoor temperature and the target temperature.

[0056] S400 determines the judgment threshold based on the actual temperature difference and the first predicted temperature difference.

[0057] It should be noted that the threshold value is used in subsequent steps to determine the first adjustment trend, in conjunction with other parameters, to determine the temperature change trend.

[0058] S500, based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference and the judgment threshold, determines the first adjustment trend of the compressor frequency after the current sampling period, and adjusts it according to the first adjustment trend.

[0059] Specifically, the temperature change trend is determined by the first predicted average temperature difference, the second predicted average temperature difference, the third predicted temperature difference, and a judgment threshold. Then, based on the rate of temperature change, the compressor frequency is adjusted to either increase or decrease to ensure the room temperature accurately reaches the target temperature and avoids overshoot. The first adjustment trend includes increasing frequency, decreasing frequency, and maintaining the current frequency.

[0060] It is understood that the present invention determines the rate of temperature change by using the predicted data of the prediction model and the actual temperature difference at the current moment, and then accurately determines the first adjustment trend of the compressor based on the temperature change trend, and adjusts according to the first adjustment trend to avoid over-adjustment caused by excessive adjustment.

[0061] In some embodiments, after determining a first adjustment trend of the compressor frequency after the current sampling period, the control method further includes:

[0062] S600 determines the frequency adjustment parameters of the compressor after the current sampling period based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend, and adjusts the compressor according to the determined frequency adjustment parameters.

[0063] Understandably, once the compressor's adjustment trend is determined, the compressor's frequency adjustment parameters can be determined based on the above parameters, allowing for precise adjustment of the compressor's frequency and thus accurate control of temperature changes, thereby avoiding overshoot.

[0064] In some embodiments, S600, determining the compressor's frequency adjustment parameters after the current sampling period based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend includes:

[0065] The rate of change of predicted temperature difference is determined based on the first and second predicted average temperature differences.

[0066] in , The rate of change of temperature difference is determined based on the first and second predicted average temperature differences: Where σ is the predicted rate of change of temperature difference. The first predicted average temperature difference, This represents the second predicted average temperature difference.

[0067] It is understandable that by determining the predicted rate of change of temperature difference, the trend of temperature difference change in the prediction model can be determined, thereby determining the trend and rate of change of indoor temperature.

[0068] Based on the predicted temperature difference change rate, the actual temperature difference, and the first adjustment trend, the frequency adjustment parameters of the compressor after the current sampling period are determined.

[0069] Understandably, by determining the indoor temperature change trend and rate of change based on the predicted rate of temperature difference change, as well as the actual temperature difference, it is possible to predict the temperature difference at the preset time as accurately as possible. Thus, after the first adjustment trend is determined, the corresponding adjustment parameters can be determined based on the rate of temperature difference change and the actual temperature difference.

[0070] Specifically, the adjustment parameters can be determined based on the rate of temperature change, the first actual temperature, and a pre-stored adjustment parameter reference table. For example, if the first adjustment trend is determined to be frequency reduction, the adjustment parameters can be determined by referring to Adjustment Parameter Table 1. Adjustment Parameter Table 1 is shown below:

[0071] Adjust frequency σ < 0.15 0.15 ≤ σ < 0.3 0.3≤σ ΔT≥10 -1 -2 -3 2≤ΔT<10 -2 -3 -4 0≤ΔT<2 -3 -4 -5 -0.5≤ΔT<0 -4 -5 -5

[0072] If the primary adjustment trend is determined to be frequency reduction, the adjustment parameters can be determined by referring to Adjustment Parameter Table 2. Adjustment Parameter Table 2 is shown below:

[0073]

[0074]

[0075] In some embodiments, S500, based on a first predicted average temperature difference, a second predicted average temperature difference, a second predicted temperature difference, and a judgment threshold, determines a first adjustment trend of the compressor frequency after the current sampling period, and adjusts it according to the first adjustment trend, including:

[0076] The first difference is determined based on the first predicted average temperature difference and the second predicted average temperature difference.

[0077] Specifically, the first difference is Understandably, the first difference essentially represents the magnitude of temperature difference variation within a cycle in the prediction model.

[0078] Based on the second predicted temperature difference, the judgment threshold, and the first difference, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

[0079] It is understandable that, based on the second predicted temperature difference, the judgment threshold, and the first difference, it is possible to determine whether the indoor temperature change trend is fast or slow, and thus determine the compressor frequency change trend, thereby avoiding over-adjustment of the temperature.

[0080] In some embodiments, determining a first adjustment trend of the compressor after the current sampling period based on a second predicted temperature difference, a judgment threshold, and a first difference, and adjusting according to the first adjustment trend, includes:

[0081] When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0082] When the second predicted temperature difference is less than the judgment threshold, if the first difference is greater than or equal to the second threshold, the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0083] When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be frequency reduction, and the compressor frequency is controlled to be reduced.

[0084] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be frequency increase, and the compressor frequency is controlled to increase.

[0085] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is greater than or equal to the second threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0086] When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

[0087] The second predicted temperature difference is ΔT. 2 The threshold for judgment is T. 0 .

[0088] Specifically, in some embodiments, the first adjustment trend of the compressor frequency can be referred to in the following table:

[0089]

[0090] That is, in the above embodiments, the first threshold is 0 and the second threshold is 0.1. It can be understood that different first and second thresholds can be determined according to different target temperatures to achieve different cooling or heating rates.

[0091] In some embodiments, S400, determining a judgment threshold based on the actual temperature difference and the first predicted temperature difference includes:

[0092] The first error is determined based on the actual temperature difference and the first predicted temperature difference.

[0093] The actual temperature difference is ΔT. 0 The first predicted temperature difference is ΔT 1 The first error is ΔT 误差 That is, ΔT 误差 =ΔT 1 -ΔT 0 .

[0094] The judgment threshold is determined based on the first error and the actual temperature difference.

[0095] Wherein, the judgment threshold is T 0 When the magnitude of the first error represents the difference between the actual temperature difference curve and the prediction model, the threshold can be corrected based on the first error.

[0096] Specifically, in some embodiments, the first preset duration is 30 minutes, when ΔT 0 When <0, T 0 =ΔT 误差 When ΔT 0 When ≥0, T 0 =0.2*ΔT 0 +0.95*ΔT 误差 .

[0097] In some embodiments, the control method further includes:

[0098] When the S700 determines that the actual temperature difference is less than the preset value, it controls the compressor to reduce its frequency according to the predetermined parameters.

[0099] In cooling mode, the actual temperature difference equals the indoor temperature minus the target temperature; in heating mode, the actual temperature difference equals the target temperature minus the indoor temperature. The preset value is set as the difference when the indoor temperature is very close to the target temperature. For example, if the preset value A = -0.5, in cooling mode, this means that the indoor temperature is already lower than the target temperature; in heating mode, this means that the indoor temperature is already higher than the target temperature.

[0100] Understandably, once the indoor temperature has exceeded the target temperature, in order to prevent the temperature difference from continuing to widen and causing overshoot, it is necessary to immediately reduce the compressor frequency.

[0101] Specifically, for example, in ΔT 0 When the temperature is below -0.5℃, the compressor frequency is reduced by 8Hz.

[0102] In some embodiments, the control method further includes:

[0103] The S800, after the compressor starts, establishes a predictive model for the change of the difference between indoor temperature and target temperature over time based on periodic sampling data.

[0104] Generally, establishing a predictive model requires at least two sampling periods of data. That is, the model is typically built based on the data from the first two sampling periods after the compressor starts running for two sampling periods. For example, if each sampling period is 120 seconds, and the indoor temperature is sampled every second, then establishing the predictive model requires a sampling duration of 240 seconds, i.e., 240 indoor temperature samples. Specifically, the indoor temperature sampled every second is compared with the target temperature to obtain a temperature difference. Two sampling periods yield 240 temperature difference data points. Based on these 240 temperature difference data points and the 240-second duration, a prediction model of the temperature difference changing over time is obtained using a trust region algorithm combined with a Gaussian approximation model.

[0105] Generally, the established prediction model is as follows: Where ΔT is the temperature difference, a1, a2, b1, b2, c1, and c2 are fitting coefficients, and x is the compressor's operating time.

[0106] The target temperature is the set temperature, that is, the temperature considered to be selected when the air conditioner is turned on. During cooling, the temperature difference = indoor temperature - target temperature; during heating, the temperature difference = target temperature - indoor temperature.

[0107] Furthermore, the compressor performs a data fitting and re-establishes the prediction model for each sampling cycle. That is, the first fitting establishes the prediction model based on data from two sampling cycles, the second fitting establishes the prediction model based on data from three sampling cycles, the third fitting establishes the prediction model based on data from four sampling cycles, and so on. The longer the compressor runs, the more sampling data is used for fitting, and the more accurate the prediction results are.

[0108] In some embodiments, the present invention also provides a control device 10, including an acquisition module 100, a calculation module 200, a control module 300, and a sampling module 400. The sampling module 400 is used to periodically sample the indoor temperature after the compressor starts; the calculation module 200 is used to establish a prediction model of the temperature difference between the indoor temperature and the target temperature over time based on the periodic sampling data; the calculation module 200 is also used to determine a judgment threshold based on the actual temperature difference and the first predicted temperature difference; the acquisition module 100 is used to determine, based on the prediction model, the first predicted average temperature difference for the time period corresponding to the current sampling period, the second predicted average temperature difference for the time period corresponding to the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time, the preset time being after the end of the current sampling period; the acquisition module 100 is also used to acquire the actual temperature difference at the current time, the actual temperature difference being the difference between the actual indoor temperature and the target temperature at the current time; the control module 300 is used to determine the first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, and adjusts the frequency according to the first adjustment trend.

[0109] In some embodiments, the present invention also provides an air conditioner, which may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that the above-described structure of the air conditioner does not constitute a limitation on the air conditioner, and it may include more or fewer components, or combine certain components, or have different component arrangements. Wherein:

[0110] The processor 601 is the control center of the air conditioner. It connects to various parts of the air conditioner via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data, thereby providing overall monitoring of the air conditioner. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor 601 and a modem processor 601. The application processor 601 mainly handles the operating system, user interface, and computer programs, while the modem processor 601 mainly handles wireless communication. It is understood that the modem processor 601 may also not be integrated into the processor 601.

[0111] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor 601 with access to the memory.

[0112] The air conditioner also includes a power supply 603 that supplies power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply may also include one or more DC or AC power supplies, a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator, or any other components.

[0113] The air conditioner may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0114] Although not shown, the air conditioner may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the air conditioner loads the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 runs the computer programs stored in the memory 602 to perform the following steps:

[0115] Based on the prediction model of the temperature difference between indoor temperature and target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time are determined, wherein the preset time is located after the end of the current sampling period.

[0116] Obtain the actual temperature difference at the end of the current sampling period, where the actual temperature difference is the difference between the current indoor temperature and the target temperature;

[0117] The judgment threshold is determined based on the actual temperature difference and the first predicted temperature difference;

[0118] Based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

[0119] The air conditioner determines the temperature change trend by using the predicted data from the predictive model and the actual temperature difference at the current moment. Then, based on the temperature change trend, it accurately determines the first adjustment trend of the compressor frequency and adjusts it according to the first adjustment trend to avoid over-adjustment caused by excessive adjustment.

[0120] Those skilled in the art will understand that all or part of the steps in any of the methods in the above embodiments can be performed by a computer program or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by the processor 601.

[0121] In some embodiments, the present invention also provides a storage medium storing a computer program, which is executed and loaded by a processor to perform the following steps;

[0122] Based on the prediction model of the temperature difference between indoor temperature and target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time are determined, wherein the preset time is located after the end of the current sampling period.

[0123] Obtain the actual temperature difference at the end of the current sampling period, where the actual temperature difference is the difference between the current indoor temperature and the target temperature;

[0124] The judgment threshold is determined based on the actual temperature difference and the first predicted temperature difference;

[0125] Based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

[0126] Through the above steps, the temperature change trend is determined by the predicted data of the prediction model and the actual temperature difference at the current moment. Then, the first adjustment trend of the compressor frequency is accurately determined based on the temperature change trend, and the adjustment is carried out according to the first adjustment trend to avoid over-adjustment.

[0127] It will be understood by those skilled in the art that any references to memory, storage, database, or other media used in the embodiments provided by this invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0128] Since the computer program stored in the storage medium can execute the steps in the air conditioning control method in any embodiment of the present invention, the beneficial effects that the air conditioning control method in any embodiment of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0129] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0130] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0131] The above description is merely an optional embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention's specification and drawings under the application concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. A control method, characterized in that, include: After the compressor starts, the indoor temperature is sampled periodically; Based on the prediction model of the temperature difference between indoor temperature and target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time are determined, wherein the preset time is located after the end of the current sampling period. Obtain the actual temperature difference at the end of the current sampling period, where the actual temperature difference is the difference between the current indoor temperature and the target temperature; The judgment threshold is determined based on the actual temperature difference and the first predicted temperature difference; Based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

2. The control method according to claim 1, characterized in that, After determining the first adjustment trend of the compressor frequency after the current sampling period, the control method further includes: Based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend, the frequency adjustment parameters of the compressor after the current sampling period are determined, and the compressor is adjusted according to the frequency adjustment parameters.

3. The control method according to claim 2, characterized in that, The step of determining the frequency adjustment parameters of the compressor after the current sampling period based on the actual temperature difference, the first predicted average temperature difference, the second predicted average temperature difference, and the first adjustment trend includes: The predicted temperature difference change rate is determined based on the first predicted average temperature difference and the second predicted average temperature difference; Based on the predicted temperature difference change rate, the actual temperature difference, and the first adjustment trend, the frequency adjustment parameters of the compressor after the current sampling period are determined.

4. The control method according to claim 1, characterized in that, The step of determining the first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference, and the judgment threshold, and adjusting it according to the first adjustment trend, includes: The first difference is determined based on the first predicted average temperature difference and the second predicted average temperature difference; Based on the second predicted temperature difference, the judgment threshold, and the first difference, the first adjustment trend of the compressor frequency after the current sampling period is determined, and the frequency is adjusted according to the first adjustment trend.

5. The control method according to claim 4, characterized in that, The step of determining the first adjustment trend of the compressor frequency after the current sampling period based on the second predicted temperature difference, the judgment threshold, and the first difference, and adjusting it according to the first adjustment trend, includes: When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency. When the second predicted temperature difference is less than the judgment threshold, if the first difference is greater than or equal to the second threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency. When the second predicted temperature difference is less than the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be frequency reduction, and the compressor is controlled to reduce frequency. When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the first threshold, then the first adjustment trend is determined to be frequency increase, and the compressor frequency is controlled to increase. When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is greater than or equal to the second threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency. When the second predicted temperature difference is greater than or equal to the judgment threshold, if the first difference is less than the second threshold and greater than or equal to the first threshold, then the first adjustment trend is determined to be to maintain the current operating frequency, and the compressor is controlled to maintain the current operating frequency.

6. The control method according to claim 1, characterized in that, The step of determining the judgment threshold based on the actual temperature difference and the first predicted temperature difference includes: The first error is determined based on the actual temperature difference and the first predicted temperature difference; The judgment threshold is determined based on the first error and the actual temperature difference.

7. The control method according to claim 1, characterized in that, The control method further includes: When the actual temperature difference is determined to be less than a preset value, the compressor is controlled to reduce its frequency according to predetermined parameters.

8. The control method according to any one of claims 1-7, characterized in that, The control method further includes: After the compressor is started, the indoor temperature is periodically sampled, and the prediction model is established based on the periodically sampled data.

9. A control device, characterized in that, include: The sampling module is used to periodically sample the indoor temperature after the compressor starts. The acquisition module is used to determine, based on a prediction model of the temperature difference between the indoor temperature and the target temperature changing over time, the first predicted average temperature difference of the current sampling period, the second predicted average temperature difference of the previous sampling period, the first predicted temperature difference at the end of the current sampling period, and the second predicted temperature difference at a preset time, wherein the preset time is located after the end of the current sampling period; the acquisition module is also used to acquire the actual temperature difference at the current time, wherein the actual temperature difference is the difference between the indoor temperature and the target temperature at the current time; The calculation module is further configured to determine a judgment threshold based on the actual temperature difference and the first predicted temperature difference; The control module is used to determine the first adjustment trend of the compressor frequency after the current sampling period based on the first predicted average temperature difference, the second predicted average temperature difference, the second predicted temperature difference and the judgment threshold, and to adjust it according to the first adjustment trend.

10. An air conditioner, characterized in that, The device includes a memory and a processor, the memory storing a computer program, and the processor running the computer program in the memory to perform the steps of the control method according to any one of claims 1-8.

11. A storage medium, characterized in that, The storage medium stores a computer program, which is executed and loaded by a processor to perform the steps of the control method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Air conditioner compressor frequency control method and device, air conditioner and storage medium

    CN115342485A

  • Frequency adjusting method and device, air conditioner and storage medium

    CN118089222A