Anti-condensation control method, air conditioning system and computer readable storage medium
By deploying a condensation prediction model on the server side, and using information such as air conditioner model and operating mode to predict condensation and adjust compressor speed, the problem of condensation dripping from air conditioners is solved, achieving highly accurate and timely condensation control.
Patent Information
- Application Number
- CN202511216441.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-08-28
AI Technical Summary
In existing technologies, air conditioners are prone to condensation and dripping water during operation, leading to a poor user experience. Furthermore, it is difficult to accurately predict and promptly adjust condensation levels for different models of air conditioners.
By deploying a condensation prediction model on the server, the model periodically acquires and sends prediction request information from the air conditioner. Combining the air conditioner model, operating mode, evaporator temperature, indoor temperature, and fan speed, the model predicts whether condensation is about to occur and adjusts the compressor speed to reduce the risk of condensation. The model is also updated when condensation occurs to improve accuracy.
It achieves highly accurate prediction of condensation that is about to occur in air conditioners, and adjusts the compressor speed in a timely manner to reduce the risk of condensation. Furthermore, the prediction accuracy is continuously improved through model updates.
Smart Images

Figure CN120969980B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, and in particular to an anti-condensation control method, an air conditioning system, and a computer-readable storage medium. Background Technology
[0002] During operation, air conditioners are prone to condensation due to the combined effects of indoor temperature, evaporator temperature, indoor humidity, and the air conditioner's mechanical structure. This condensation can manifest as water dripping from the surface of structural components or water droplets being blown out by the circulating air, resulting in a poor user experience. Current solutions typically adjust the air conditioner's operation only after condensation is detected. There is a pressing need for an anti-condensation control method that can predict condensation in air conditioners. Summary of the Invention
[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes an anti-condensation control method, an air conditioning system, and a computer-readable storage medium, capable of predicting whether condensation is about to occur in an air conditioner, thereby adjusting the compressor speed of the air conditioner in a timely manner and reducing the risk of condensation.
[0004] The anti-condensation control method according to the first aspect of this application is applied to an air conditioning system, the air conditioning system including a server and multiple air conditioners, the server being communicatively connected to the multiple air conditioners, and a pre-trained condensation prediction model being deployed on the server.
[0005] The method includes:
[0006] The target air conditioner periodically acquires its air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor temperature; the target air conditioner is one of multiple air conditioners.
[0007] The target air conditioner generates prediction request information based on the air conditioner model, the current operating mode, the current evaporator temperature, the current indoor temperature, the current indoor fan speed, and the current indoor temperature.
[0008] The target air conditioner sends the prediction request information to the server.
[0009] The server receives the prediction request information sent by the target air conditioner, and inputs the air conditioner model, the current operating mode, the current evaporator temperature, the current indoor temperature, the current indoor fan speed, and the current indoor humidity into the condensation prediction model to obtain the first prediction result;
[0010] The server sends the first prediction result to the target air conditioner;
[0011] The target air conditioner receives the first prediction result sent by the server. If the first prediction result indicates that the target air conditioner is about to experience condensation, the compressor speed of the target air conditioner is adjusted to reduce the temperature of the evaporator of the target air conditioner.
[0012] The anti-condensation control method according to the embodiments of this application has at least the following beneficial effects: After receiving prediction request information from the target air conditioner, the server inputs the air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor humidity into the condensation prediction model to obtain a first prediction result. The first prediction result is used to characterize whether the target air conditioner is about to experience condensation. When the first prediction result indicates that the target air conditioner is about to experience condensation, the target air conditioner adjusts its compressor speed to reduce the temperature of the evaporator, thereby reducing the risk of condensation. Therefore, this application can predict whether an air conditioner is about to experience condensation with high accuracy. When it predicts that the air conditioner is about to experience condensation, it adjusts the compressor speed in a timely manner, thereby reducing the risk of condensation.
[0013] According to some embodiments of the first aspect of this application, it also includes:
[0014] The target air conditioner, in response to detecting condensation on the target air conditioner, acquires the evaporator temperature before condensation, the operating mode before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation within a preset time period.
[0015] The target air conditioner generates pre-condensation status information based on the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity.
[0016] The target air conditioner sends the pre-condensation status information to the server.
[0017] The server receives the pre-condensation status information sent by the target air conditioner, and inputs the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity into the condensation prediction model to obtain a second prediction result.
[0018] The server calculates the loss value based on the second prediction result and the loss function.
[0019] The server updates the condensation prediction model based on the loss value.
[0020] According to some embodiments of the first aspect of this application, the condensation prediction model includes a feature extraction module, a residual module, a long short-term memory module, and a classifier;
[0021] The process involves inputting the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity into the condensation prediction model to obtain a second prediction result, including:
[0022] The server constructs a first input vector based on the air conditioner model, the pre-condensation operation mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity.
[0023] The server performs feature extraction processing on the first input vector through the feature extraction module to obtain the first input features;
[0024] The server performs residual processing on the first input feature through the residual module to obtain the first residual feature;
[0025] The server inputs the first residual feature into the long short-term memory module to obtain the first updated feature;
[0026] The server inputs the first updated feature into the classifier to obtain the second prediction result.
[0027] According to some embodiments of the first aspect of this application, adjusting the compressor speed of the target air conditioner includes:
[0028] The target air conditioner determines the reference temperature based on the current indoor temperature and a preset temperature coefficient;
[0029] The target air conditioner obtains the current compressor speed of the target air conditioner, and determines the target speed based on the current evaporator temperature, the reference temperature and the current compressor speed;
[0030] The target air conditioner sets the compressor speed of the target air conditioner to the target speed.
[0031] According to some embodiments of the first aspect of this application, after the target air conditioner sets the speed of its compressor to the target speed, the process includes:
[0032] If the target rotation speed is detected to be greater than a preset threshold, the target air conditioner reduces the rotation speed of the indoor fan of the target air conditioner;
[0033] The target air conditioner controls the air outlet direction to be upward.
[0034] According to some embodiments of the first aspect of this application, the pre-training step of the condensation prediction model includes:
[0035] The server obtains test samples and the real labels corresponding to the test samples. The test samples include the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor temperature.
[0036] The server inputs the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor temperature into the initial condensation prediction model to obtain the training prediction results.
[0037] The server calculates the training loss value based on the training prediction result and the loss function.
[0038] The server iteratively updates the condensation prediction model based on the training loss value until the number of iterations reaches a preset iteration threshold, thus obtaining the pre-trained condensation prediction model.
[0039] According to some embodiments of the first aspect of this application, the server inputs the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor temperature into the initial condensation prediction model to obtain training prediction results, including:
[0040] The server constructs a second input vector based on the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor humidity.
[0041] The server performs feature extraction processing on the second input vector through the feature extraction module to obtain the second input features;
[0042] The server performs residual processing on the second input feature through the residual module to obtain the second residual feature;
[0043] The server inputs the second residual feature into the long short-term memory module to obtain the second updated feature;
[0044] The server inputs the second updated feature into the classifier to obtain the training prediction result.
[0045] According to some embodiments of the first aspect of this application, the loss function is a cross-entropy function.
[0046] A second aspect of this application provides an air conditioning system, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the anti-condensation control method described in any one of the first aspects of the embodiment.
[0047] A third aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the anti-condensation control method described in any one of the first aspects of the embodiment.
[0048] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0049] The present application will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0050] Figure 1 This is a schematic diagram of the air conditioning system according to an embodiment of this application;
[0051] Figure 2 This is a flowchart illustrating the steps of the anti-condensation control method according to an embodiment of this application;
[0052] Figure 3 This is another schematic flowchart of the anti-condensation control method according to an embodiment of this application;
[0053] Figure 4 This is a schematic diagram of the condensation prediction model according to an embodiment of this application;
[0054] Figure 5 This is a schematic diagram illustrating the pre-training steps of the condensation prediction model in an embodiment of this application;
[0055] Figure 6 for Figure 2 A detailed flowchart of step S260;
[0056] Figure 7 for Figure 2 A detailed flowchart following step S260;
[0057] Figure 8 This is a hardware module block diagram of an air conditioning system according to an embodiment of this application. Detailed Implementation
[0058] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0059] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0060] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0061] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.
[0062] In the description of this application, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0063] During operation, air conditioners are prone to condensation due to the combined effects of indoor temperature, evaporator temperature, indoor humidity, and the air conditioner's mechanical structure. This condensation can manifest as water dripping from the surface of structural components or water droplets being blown out by the circulating air, causing a negative user experience. Current solutions typically adjust the air conditioner's operation only after condensation is detected. Furthermore, because each air conditioner operates in different environments and has slightly different mechanical structures, it is difficult to predict condensation and adjust the operation in a timely manner for different models. Therefore, there is an urgent need for a control method that can prevent condensation in different air conditioner models.
[0064] Based on this, embodiments of this application provide an anti-condensation control method, an air conditioning system, and a computer-readable storage medium. The method uses an anti-condensation prediction model to predict whether condensation is about to occur in different models of air conditioners. When condensation is predicted, the compressor speed of the air conditioner is adjusted in a timely manner, thereby reducing the risk of condensation. Furthermore, during the operation of multiple air conditioners, when condensation occurs, the server updates the condensation prediction model based on the pre-condensation state information of the air conditioner experiencing condensation. This continuous updating of the condensation prediction model continuously improves its predictive accuracy.
[0065] Reference Figure 1 , Figure 1 This is a schematic diagram of the air conditioning system according to an embodiment of this application. The air conditioning system includes a server and multiple air conditioners. The server can refer to a server or a central computer. The server communicates with the multiple air conditioners. For example, an internet module, such as a Wi-Fi module, can be installed in the air conditioner, and the air conditioner connects to the server through the internet module. Each air conditioner periodically generates prediction request information and then sends the prediction request information to the server. Based on the prediction request information, the server obtains a first prediction result through a condensation prediction model. The first prediction result indicates whether condensation is about to occur in the air conditioner. In this application, the condensation prediction model is deployed in the server, that is, the prediction process of the model is executed on the server, and the complex calculations involved in the prediction process are performed on the server. One server serves multiple air conditioners simultaneously. In this way, the air conditioners do not need to perform complex calculations and do not consume a lot of computing resources, which can reduce the cost of the air conditioners.
[0066] It should be noted that the server can refer to a computer system that provides certain services to the air conditioner. Compared to ordinary terminals, servers have higher requirements in terms of stability, security, and performance. A server can be a single high-performance computer in a network platform, a cluster of multiple high-performance computers, a portion of a single high-performance computer (such as a virtual machine), or a combination of portions of multiple high-performance computers (such as virtual machines).
[0067] The first aspect of this application provides a method for preventing condensation control, applied to... Figure 1 A schematic diagram of an air conditioning system. (See reference) Figure 2 , Figure 2 This is a schematic flowchart illustrating the steps of the anti-condensation control method according to an embodiment of this application. The anti-condensation control method according to an embodiment of this application includes, but is not limited to, the following steps:
[0068] Step S210: The target air conditioner periodically acquires the air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor temperature; the target air conditioner is one of multiple air conditioners.
[0069] It is worth noting that the target air conditioner is one of multiple air conditioners communicating with the server. Typically, different air conditioners have different models and different mechanical structures. This application uses the air conditioner model as input to the condensation prediction model, which can improve the accuracy of the condensation prediction model. The current operating mode refers to the current working mode of the target air conditioner; the current evaporator temperature refers to the current surface temperature of the evaporator of the target air conditioner; the current indoor temperature refers to the current temperature of the room where the target air conditioner is located; the current indoor fan speed refers to the rotational speed of the indoor fan of the target air conditioner; and the current indoor humidity refers to the current humidity of the room where the target air conditioner is located.
[0070] Step S220: The target air conditioner generates prediction request information based on the air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor temperature.
[0071] Step S230: The target air conditioner sends a prediction request to the server.
[0072] Step S240: The server receives the prediction request information sent by the target air conditioner and inputs the air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed and current indoor humidity into the condensation prediction model to obtain the first prediction result;
[0073] Step S250: The server sends the first prediction result to the target air conditioner;
[0074] In step S260, the target air conditioner receives the first prediction result sent by the server. If the first prediction result indicates that the target air conditioner is about to condense, the compressor speed of the target air conditioner is adjusted to reduce the temperature of the evaporator of the target air conditioner.
[0075] It is worth noting that, according to the anti-condensation control method of this application embodiment, through steps S210 to S260, after the server receives the prediction request information from the target air conditioner, it inputs the air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor humidity into the condensation prediction model to obtain a first prediction result. The first prediction result is used to characterize whether the target air conditioner is about to experience condensation. When the first prediction result indicates that the target air conditioner is about to experience condensation, the target air conditioner adjusts its compressor speed to reduce the temperature of the evaporator, thereby reducing the risk of condensation. Therefore, this application can predict whether an air conditioner is about to experience condensation with high accuracy. When it predicts that the air conditioner is about to experience condensation, it adjusts the compressor speed in a timely manner, thereby reducing the risk of condensation.
[0076] In some embodiments, refer to Figure 3 , Figure 3 This is another flowchart illustrating the anti-condensation control method according to an embodiment of this application. Figure 3 The illustrated process includes steps S310 to S360.
[0077] In step S310, the target air conditioner responds to the detection of condensation on the target air conditioner by acquiring the evaporator temperature before condensation, the operating mode before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation before a preset time period.
[0078] In some embodiments, the target air conditioner is equipped with a sensor to detect whether water is dripping from the air outlet. For example, it may be a humidity sensor for detecting the humidity of the relevant structural surface of the air outlet. When the humidity sensor detects that the humidity is greater than a preset humidity threshold, it indicates that condensation has occurred in the air conditioner. Furthermore, the evaporator temperature before the time of condensation occurrence is obtained as the evaporator temperature before condensation, the indoor temperature before the time of condensation occurrence is obtained as the indoor temperature before condensation, the indoor fan speed before the time of condensation occurrence is obtained as the indoor fan speed before condensation, the indoor humidity before the time of condensation occurrence is obtained as the indoor humidity before condensation, and the operating mode before the time of condensation occurrence is obtained as the operating mode before condensation. For example, if the preset time period is 3 minutes, then the evaporator temperature 3 minutes before the condensation occurs is taken as the evaporator temperature before condensation, the indoor temperature 3 minutes before the condensation occurs is taken as the indoor temperature before condensation, the indoor fan speed 3 minutes before the condensation occurs is taken as the indoor fan speed before condensation, the indoor humidity 3 minutes before the condensation occurs is taken as the indoor humidity before condensation, and the operating mode 3 minutes before the condensation occurs is taken as the operating mode before condensation.
[0079] It should be noted that the embodiments of this application do not specifically limit the preset time period, and those skilled in the art can set the value of the preset time period according to the actual situation.
[0080] In other embodiments, if a user discovers condensation dripping from the target air conditioner, they can operate a terminal connected to the target air conditioner. The terminal, responding to the user's command, obtains the air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity from the target air conditioner. Then, the terminal sends pre-condensation status information, including the air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity, to the server. The terminal can be a mobile phone, laptop, tablet, smartwatch, or other similar device.
[0081] Step S320: The target air conditioner generates pre-condensation status information based on the air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity.
[0082] Step S330: The target air conditioner sends pre-condensation status information to the server;
[0083] Step S340: The server receives the pre-condensation status information sent by the target air conditioner, and inputs the air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity into the condensation prediction model to obtain the second prediction result.
[0084] Step S350: The server calculates the loss value based on the second prediction result and the loss function;
[0085] Step S360: The server updates the condensation prediction model based on the loss value.
[0086] It is worth noting that, through steps S310 to S360 above, when condensation occurs on the target air conditioner, the target air conditioner sends pre-condensation status information to the server. The server inputs the air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity into the condensation prediction model to obtain a second prediction result. A loss value is calculated based on the second prediction result and a loss function. The condensation prediction model is then updated based on the loss value. This allows for updating the condensation prediction model, continuously improving its accuracy. Therefore, this application can predict whether condensation is about to occur on an air conditioner with high accuracy. When condensation is predicted, the compressor speed of the air conditioner is adjusted in a timely manner, thereby reducing the risk of condensation.
[0087] In some embodiments, refer to Figure 4 , Figure 4 This is a schematic diagram of the condensation prediction model. The condensation prediction model includes a feature extraction module, a residual module, a long short-term memory module, and a classifier; step S340 specifically includes steps S410 to S450.
[0088] In step S410, the server constructs the first input vector based on the air conditioner model, the operating mode before condensation, the evaporator temperature before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation.
[0089] It is worth noting that since the air conditioner model, the operating mode before condensation, the evaporator temperature before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation cannot be directly used as inputs to the neural network model, it is necessary to convert the air conditioner model, the operating mode before condensation, the evaporator temperature before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation into sequence vectors to construct the first input vector. The subsequent process inputs the first input vector into the condensation prediction model.
[0090] Step S420: The server performs feature extraction processing on the first input vector through the feature extraction module to obtain the first input features;
[0091] It is worth noting that the feature extraction module can be a convolutional block. The first input vector is convolved by the convolutional block to achieve feature extraction and obtain the first input features.
[0092] Step S430: The server performs residual processing on the first input feature through the residual module to obtain the first residual feature;
[0093] In some embodiments, the residual module includes multiple sequentially connected residual blocks, and residual processing involves sequentially performing residual connection processing on these residual blocks. It should be noted that the residual blocks are primarily used to address the vanishing and degradation problems in deep neural network training. Their structure includes convolutional layers, batch normalization, activation functions, and skip connections. Skip connections directly add the input to the output, forming a residual mapping, making it easier for the network to learn identity mappings, thereby alleviating gradient vanishing. When the input and output dimensions are the same, they are directly added; when the dimensions are different, a 1x1 convolution is used to adjust the input dimension to ensure matching. Activation functions are typically applied after addition to enhance nonlinear expressive power. Through residual learning, the residual blocks transform complex mappings into learning the differences between input and output, reducing optimization difficulty, supporting the training of deeper networks, and improving performance. This application does not impose a specific limit on the number of residual blocks; those skilled in the art can set the number of residual blocks according to actual conditions.
[0094] Step S440: The server inputs the first residual feature into the long short-term memory module to obtain the first updated feature;
[0095] It's important to note that Long Short-Term Memory (LSTM) is a special type of Recurrent Neural Network (RNN) designed to address the long-term dependency problem encountered by RNNs when processing long sequences of data. LSTM is a temporal recurrent neural network that, through its unique structural design, can remember values of indefinite durations and effectively handle long-term dependencies in time-series data. LSTM controls the storage and deletion of information by introducing three gating mechanisms (forget gate, input gate, and output gate) and a memory cell (also called a cell state). These gating mechanisms consist of the sigmoid and tanh functions, which calculate a real-valued vector between 0 and 1 to determine the degree to which information passes through. Through its gating mechanisms and cell state design, LSTM effectively solves the vanishing or exploding gradient problem encountered by RNNs when processing long sequences of data, thus enabling it to capture long-term dependencies in the sequence. Although the first input vector in this embodiment is not a time series, it contains a lot of information (air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity). These information have contextual information and dependencies. Therefore, the first input vector can be regarded as a long-term series. Thus, the vector to be extracted in this embodiment is suitable for regression prediction using LSTM. LSTM can capture the dependencies between air conditioner model, pre-condensation operating mode, pre-condensation evaporator temperature, pre-condensation indoor temperature, pre-condensation indoor fan speed, and pre-condensation indoor humidity.
[0096] In step S450, the server inputs the first updated feature into the classifier to obtain the second prediction result.
[0097] In one embodiment, the Softmax function is used as the classifier. The Softmax function transforms the raw output into a probability distribution such that the output value for each class is between 0 and 1, and the sum of the probabilities of all classes is 1. Compared to other normalization methods, such as simple maximum normalization, the Softmax function is numerically more stable. When the input value is large or small, the Softmax function avoids numerical overflow or underflow problems, thus ensuring the stability and accuracy of the model. The computation of the Softmax function is relatively simple and can be efficiently calculated using vectorization. This reduces computation time and resource consumption when training on large datasets.
[0098] In some embodiments, the loss function is the cross-entropy loss function.
[0099] Correspondingly, in step S360, the second prediction result and the real label used to characterize the air conditioner that is about to condense are input into the cross-entropy loss function to obtain the loss value, and the condensation prediction model is updated based on the loss value.
[0100] In some embodiments, refer to Figure 5 , Figure 5 This diagram illustrates the pre-training steps of the condensation prediction model according to an embodiment of this application. The pre-training steps of the condensation prediction model include:
[0101] Step S510: The server obtains the test sample and the real label corresponding to the test sample. The test sample includes the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor temperature.
[0102] In step S520, the server inputs the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor temperature into the initial condensation prediction model to obtain the training prediction results.
[0103] Step S530: The server calculates the training loss value based on the training prediction results and the loss function;
[0104] In step S540, the server iteratively updates the condensation prediction model based on the training loss value until the number of iterations reaches a preset iteration threshold, thus obtaining a pre-trained condensation prediction model.
[0105] It is worth noting that the initial condensation prediction model is pre-trained based on test samples and their corresponding ground truth labels. Test samples can be obtained by relevant personnel executing different operating commands on different air conditioners, while ground truth labels are used to characterize whether condensation is about to occur or not. Test samples include air conditioner model, operating mode, evaporator temperature, indoor temperature, indoor fan speed, and indoor humidity. The test samples are input into the condensation prediction model to obtain training prediction results. The training prediction results and the ground truth labels corresponding to the test data are input into a loss function to obtain a training loss value, which is then used to update the condensation prediction model. This process is repeated iteratively to update the parameter set of the condensation prediction model until the number of updates reaches a preset iteration threshold, resulting in a pre-trained condensation prediction model.
[0106] In some embodiments, step S520 specifically includes steps S521 to S525.
[0107] Step S521: The server constructs a second input vector based on the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor humidity.
[0108] It is worth noting that since the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor humidity cannot be directly used as inputs to the neural network model, it is necessary to convert the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor humidity into sequence vectors to construct the second input vector. The second input vector is then input into the condensation prediction model in subsequent processes.
[0109] Step S522: The server performs feature extraction processing on the second input vector through the feature extraction module to obtain the second input features;
[0110] Step S523: The server performs residual processing on the second input feature through the residual module to obtain the second residual feature;
[0111] Step S524: The server inputs the second residual feature into the long short-term memory module to obtain the second updated feature;
[0112] In step S525, the server inputs the second updated feature into the classifier to obtain the training prediction result.
[0113] In some embodiments, refer to Figure 6 , Figure 6 for Figure 2 A detailed flowchart of step S260 is provided. Step S26, which involves adjusting the compressor speed of the target air conditioner, includes steps S610 to S630.
[0114] Step S610: The target air conditioner determines the reference temperature based on the current indoor temperature and the preset temperature coefficient;
[0115] Step S620: The target air conditioner obtains the current compressor speed of the target air conditioner, and determines the target speed based on the current evaporator temperature, reference temperature and current compressor speed;
[0116] In step S630, the target air conditioner sets the compressor speed of the target air conditioner to the target speed.
[0117] Specifically, the reference temperature is DCTUYU. If the current evaporator temperature is less than DCTUYU, then:
[0118] f1 = f0 - fx;
[0119] If the current evaporator temperature is less than (DCTUYU + TUYUDC1), where TUYUDC1 is the first preset coefficient, then:
[0120] f1 = f0;
[0121] If (DCTUYU+TUYUDC2) > current evaporator temperature > (DCTUYU+TUYUDC1), and TUYUDC2 is the second preset coefficient, then:
[0122] f1 = f0 + fx;
[0123] If the current evaporator temperature is greater than (DCTUYU + TUYUDC2), then:
[0124] f1 = 120;
[0125] f1 is the target speed, f0 is the current compressor speed, and fx is the preset value. The reference temperature is calculated as follows:
[0126] DCTUYU=ATUYU+BTUYU*TR;
[0127] Where ATUYU is the temperature constant, BTUYU is the temperature coefficient, and TR is the current indoor temperature.
[0128] In some embodiments, if the current indoor temperature is greater than 27 degrees Celsius, TR is fixed at 27.
[0129] In one embodiment, TUYUDC1 = 0, TUYUDC2 = 2, and fx = 3. Those skilled in the art can set the values of TUYUDC1, TUYUDC2, fx, ATUYU, and BTUYU according to actual needs.
[0130] In some embodiments, refer to Figure 7 , Figure 7 for Figure 2 A detailed flowchart following step S260. After the target air conditioner sets the compressor speed to the target speed, steps S710 and S720 are included.
[0131] Step S710: If the target speed is detected to be greater than the preset threshold, the target air conditioner reduces the speed of the indoor fan of the target air conditioner.
[0132] Step S720: The target air conditioner controls the air outlet direction to be upward.
[0133] For example, in cooling mode, if the target speed is greater than the preset threshold, it means that the current air conditioner has a strong cooling capacity. At this time, the cold air blown out by the air conditioner may cause discomfort to the human body. Therefore, the speed of the indoor fan of the air conditioner is reduced and the air outlet direction of the air conditioner is controlled to be upward to avoid the cold air causing discomfort to the human body.
[0134] A second aspect of this application provides an air conditioning system, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the anti-condensation control method of the above embodiment.
[0135] In one embodiment, reference is made to Figure 8 , Figure 8 This illustration shows a hardware module block diagram of an air conditioning system according to an embodiment of this application. The air conditioner includes:
[0136] The processor 801 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0137] The memory 802 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 802 and is called and executed by the processor 801 to execute the anti-condensation control method of the embodiments of this application.
[0138] The 803 input / output interface is used to implement information input and output.
[0139] The communication interface 804 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0140] Bus 805 transmits information between various components of the device (e.g., processor 801, memory 802, input / output interface 803, and communication interface 804);
[0141] The processor 801, memory 802, input / output interface 803, and communication interface 804 are connected to each other within the device via bus 805.
[0142] A third aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the anti-condensation control method of the first aspect embodiment.
[0143] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0144] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0145] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0146] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0147] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0148] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0149] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0150] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0151] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0152] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0153] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0154] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for preventing condensation control, characterized in that, The system is applied to an air conditioning system, which includes a server and multiple air conditioners. The server is communicatively connected to the multiple air conditioners, and a pre-trained condensation prediction model is deployed on the server. The method includes: The target air conditioner periodically acquires its air conditioner model, current operating mode, current evaporator temperature, current indoor temperature, current indoor fan speed, and current indoor temperature; the target air conditioner is one of multiple air conditioners. The target air conditioner generates prediction request information based on the air conditioner model, the current operating mode, the current evaporator temperature, the current indoor temperature, the current indoor fan speed, and the current indoor temperature. The target air conditioner sends the prediction request information to the server. The server receives the prediction request information sent by the target air conditioner, and inputs the air conditioner model, the current operating mode, the current evaporator temperature, the current indoor temperature, the current indoor fan speed, and the current indoor humidity into the condensation prediction model to obtain the first prediction result; The server sends the first prediction result to the target air conditioner; The target air conditioner receives the first prediction result sent by the server. When the first prediction result indicates that the target air conditioner is about to condense, the compressor speed of the target air conditioner is adjusted to reduce the temperature of the evaporator of the target air conditioner. Adjusting the compressor speed of the target air conditioner includes: The target air conditioner determines the reference temperature based on the current indoor temperature and a preset temperature coefficient; The target air conditioner obtains the current compressor speed of the target air conditioner, and determines the target speed based on the current evaporator temperature, the reference temperature and the current compressor speed; The target air conditioner sets the compressor speed of the target air conditioner to the target speed.
2. The anti-condensation control method according to claim 1, characterized in that, Also includes: The target air conditioner, in response to detecting condensation on the target air conditioner, acquires the evaporator temperature before condensation, the operating mode before condensation, the indoor temperature before condensation, the indoor fan speed before condensation, and the indoor humidity before condensation within a preset time period. The target air conditioner generates pre-condensation status information based on the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity. The target air conditioner sends the pre-condensation status information to the server. The server receives the pre-condensation status information sent by the target air conditioner, and inputs the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity into the condensation prediction model to obtain a second prediction result. The server calculates the loss value based on the second prediction result and the loss function. The server updates the condensation prediction model based on the loss value.
3. The anti-condensation control method according to claim 2, characterized in that, The condensation prediction model includes a feature extraction module, a residual module, a long short-term memory module, and a classifier; The process involves inputting the air conditioner model, the pre-condensation operating mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity into the condensation prediction model to obtain a second prediction result, including: The server constructs a first input vector based on the air conditioner model, the pre-condensation operation mode, the pre-condensation evaporator temperature, the pre-condensation indoor temperature, the pre-condensation indoor fan speed, and the pre-condensation indoor humidity. The server performs feature extraction processing on the first input vector through the feature extraction module to obtain the first input features; The server performs residual processing on the first input feature through the residual module to obtain the first residual feature; The server inputs the first residual feature into the long short-term memory module to obtain the first updated feature; The server inputs the first updated feature into the classifier to obtain the second prediction result.
4. The anti-condensation control method according to claim 1, characterized in that, After the target air conditioner sets the speed of its compressor to the target speed, the process includes: If the target rotation speed is detected to be greater than a preset threshold, the target air conditioner reduces the rotation speed of the indoor fan of the target air conditioner; The target air conditioner controls the air outlet direction to be upward.
5. The anti-condensation control method according to claim 3, characterized in that, The pre-training steps of the condensation prediction model include: The server obtains test samples and the real labels corresponding to the test samples. The test samples include the test air conditioner model, test operation mode, test evaporator temperature, test indoor temperature, test indoor fan speed, and test indoor temperature. The server inputs the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor temperature into the initial condensation prediction model to obtain the training prediction results. The server calculates the training loss value based on the training prediction result and the loss function. The server iteratively updates the condensation prediction model based on the training loss value until the number of iterations reaches a preset iteration threshold, thus obtaining the pre-trained condensation prediction model.
6. The anti-condensation control method according to claim 5, characterized in that, The server inputs the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor temperature into the initial condensation prediction model to obtain training prediction results, including: The server constructs a second input vector based on the test air conditioner model, the test operation mode, the test evaporator temperature, the test indoor temperature, the test indoor fan speed, and the test indoor humidity. The server performs feature extraction processing on the second input vector through the feature extraction module to obtain the second input features; The server performs residual processing on the second input feature through the residual module to obtain the second residual feature; The server inputs the second residual feature into the long short-term memory module to obtain the second updated feature; The server inputs the second updated feature into the classifier to obtain the training prediction result.
7. The anti-condensation control method according to claim 3, characterized in that, The loss function is the cross-entropy function.
8. An air conditioning system, characterized in that, The air conditioning system includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the anti-condensation control method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the anti-condensation control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Condensation prevention method and device of air conditioner and air conditioning system
CN115031342A
Intelligent air conditioning system, anti-condensation control method and device thereof and computer equipment
CN119789394A
Anti-condensation control method and device of air conditioner, server side, air conditioner and medium
CN120740159A
