Air conditioner and control method, device, storage medium and computer program product thereof

Through the deep neural network prediction model and user interface feedback, air conditioning control parameters are dynamically adjusted, which solves the problem of lack of intelligence and adaptability of existing air conditioning control solutions, and achieves refinement of air conditioning operation and improvement of energy efficiency.

CN118482446BActive Publication Date: 2024-09-27GREE ELECTRIC (GANZHOU) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924757.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

Existing air conditioning control solutions lack intelligence and adaptability and cannot effectively respond to dynamic environmental changes, making it difficult to achieve a balance between comfort and energy efficiency.

Method used

The deep neural network prediction model is used to predict room comfort and air conditioning operating power by obtaining air conditioning operating parameters and environmental parameters, and dynamically adjust air conditioning control parameters to optimize energy efficiency and comfort, combined with real-time feedback and adjustments from the user interface.

Benefits of technology

It realizes intelligent prediction and adjustment of room comfort and air conditioning energy efficiency, improves the refinement and response speed of air conditioning control, improves comfort and energy efficiency, adapts to dynamic environmental changes, and provides a better user experience and energy saving effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118482446B
    Figure CN118482446B
Patent Text Reader

Abstract

The present invention provides an air conditioner and a control method, device, storage medium and computer program product thereof, wherein the method comprises: obtaining the current operating parameters and current environmental parameters of the air conditioner; inputting the obtained current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort of the room; judging whether the current comfort of the room is less than a preset target comfort, if the current comfort of the room is judged to be less than the target comfort, then controlling the operation of the air conditioner according to the predicted current comfort of the room and / or the current operating power and / or heat exchange capacity of the air conditioner. The solution provided by the present invention can realize intelligent prediction and adjustment of room comfort, cooling or heating capacity and air conditioner operating power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control, and in particular to an air conditioner and a control method, device, storage medium and computer program product thereof. Background Art

[0002] The air conditioning control scheme in the related art controls the air conditioning operation based on the set temperature and the user's manual operation, which lacks intelligence and adaptability. The rule-based air conditioning control method controls the air conditioning operation by defining a series of rules and thresholds in advance, but is limited by the rigidity of the rules and cannot adapt to dynamic environmental changes. Summary of the invention

[0003] The main purpose of the present invention is to overcome the defects of the above-mentioned related technologies and to provide an air conditioner and its control method, device, storage medium and computer program product to solve the problem that the air conditioner control scheme in the related technologies lacks intelligence and adaptability.

[0004] On the one hand, the present invention provides a method for controlling an air conditioner, comprising: obtaining current operating parameters and current environmental parameters of the air conditioner; inputting the obtained current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort of the room; judging whether the current comfort of the room is less than a preset target comfort, if it is judged that the current comfort of the room is less than the target comfort, controlling the operation of the air conditioner according to the predicted current comfort of the room and / or the current operating power and / or heat exchange capacity of the air conditioner.

[0005] Optionally, the operating parameters include: at least one of indoor temperature, indoor humidity, outdoor temperature and outdoor humidity; and / or the environmental parameters include: at least one of throttling device opening, compressor frequency, internal fan speed, external fan speed and air guide plate angle.

[0006] Optionally, the prediction model is trained through the following steps: collecting the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room under different environmental parameters and different operating parameters as training data for training the prediction model; using the collected different environmental parameters and different operating parameters as input features, and the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room as target output, to train the neural network model.

[0007] Optionally, the operation of the air conditioner is controlled based on the predicted current comfort level of the room and / or the current operating power and / or heat exchange capacity of the air conditioner, including: preliminarily adjusting the heat exchange capacity of the air conditioner based on the difference between the predicted current comfort level of the room and the target comfort level, or adjusting control parameters of the air conditioner based on the predicted current heat exchange capacity of the air conditioner; adjusting the heat exchange capacity of the air conditioner based on the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner.

[0008] Optionally, it also includes: re-obtaining the current operating parameters and current environmental parameters of the air conditioner at preset time intervals, and inputting them into the pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort level of the room; adjusting the heat exchange capacity of the air conditioner according to the predicted current comfort level of the room and the target comfort level.

[0009] Optionally, it also includes: determining the value of the current comfort and energy efficiency balance objective function based on the predicted current comfort level of the room and the current operating power of the air conditioner; adjusting the target comfort level based on the determined value of the current comfort and energy efficiency balance objective function so that the value of the objective function is less than or equal to a set threshold.

[0010] Optionally, the target comfort level, the current air-conditioning operating power and / or the current comfort level of the room are displayed on a user interface; wherein, the target comfort level can be adjusted on the user interface.

[0011] On the other hand, the present invention provides a control device for an air conditioner, comprising: an acquisition unit, used to acquire current operating parameters and current environmental parameters of the air conditioner; a prediction unit, used to input the acquired current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model, and predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort of the room; a control unit, used to determine whether the current comfort of the room is less than a preset target comfort, and if it is determined that the current comfort of the room is less than the target comfort, then controlling the operation of the air conditioner according to the predicted current comfort of the room and / or the current operating power and / or heat exchange capacity of the air conditioner.

[0012] Optionally, the operating parameters include: at least one of indoor temperature, indoor humidity, outdoor temperature and outdoor humidity; and / or the environmental parameters include: at least one of throttling device opening, compressor frequency, internal fan speed, external fan speed and air guide plate angle.

[0013] Optionally, the prediction model is trained through the following steps: collecting the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room under different environmental parameters and different operating parameters as training data for training the prediction model; using the collected different environmental parameters and different operating parameters as input features, and the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room as target output, to train the neural network model.

[0014] Optionally, the control unit controls the operation of the air conditioner according to the predicted current comfort level of the room and / or the current operating power and / or heat exchange capacity of the air conditioner, including: preliminarily adjusting the heat exchange capacity of the air conditioner according to the difference between the predicted current comfort level of the room and the target comfort level, or adjusting the control parameters of the air conditioner according to the predicted current heat exchange capacity of the air conditioner; adjusting the heat exchange capacity of the air conditioner according to the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner.

[0015] Optionally, the acquisition unit is further used to: re-acquire the current operating parameters and current environmental parameters of the air conditioner at preset time intervals; the prediction unit is further used to: input the current operating parameters and current environmental parameters of the air conditioner re-acquired by the acquisition unit into the pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort level of the room; the control unit is further used to: adjust the heat exchange capacity of the air conditioner according to the current comfort level of the room predicted by the prediction unit and the target comfort level.

[0016] Optionally, it also includes: a determination unit, used to determine the value of the current comfort and energy efficiency balance objective function based on the current comfort level of the room predicted by the prediction unit and the current operating power of the air conditioner; an adjustment unit, used to adjust the target comfort level according to the value of the current comfort level and energy efficiency balance objective function determined by the determination unit, so that the value of the objective function is less than or equal to a set threshold.

[0017] Optionally, it also includes: a display unit, used to display the target comfort level, the current air-conditioning operating power and / or the current comfort level of the room on a user interface; wherein the target comfort level can be adjusted on the user interface.

[0018] Another aspect of the present invention provides a storage medium having a computer program stored thereon, wherein the program implements the steps of any of the aforementioned methods when executed by a processor.

[0019] In another aspect, the present invention provides an air conditioner, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.

[0020] In another aspect, the present invention provides an air conditioner, comprising any of the aforementioned control devices.

[0021] In yet another aspect, the present invention provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the aforementioned methods are implemented.

[0022] According to the technical solution of the present invention, a prediction model based on a deep neural network can be used to realize intelligent prediction and adjustment of room comfort, cooling and / or heating capacity, and air conditioning operating power. Through the data-driven prediction model, it is possible to respond more accurately to changes in the indoor and outdoor environment, achieve more refined air conditioning control, and improve comfort and energy efficiency. In addition, by introducing data in more dimensions, the accuracy and stability of the prediction model can be improved.

[0023] According to the technical solution of the present invention, the system can dynamically adjust the cooling or heating capacity and operating power by using the output of the prediction model, not only reflecting the current demand, but also considering the future change trend and adjusting the air conditioning settings in advance. This adaptive control strategy is more intelligent and efficient than traditional timed scheduling or simple feedback control. It can achieve real-time dynamic adjustment and better adapt to dynamic environmental changes.

[0024] According to the technical solution of the present invention, energy efficiency optimization and demand response strategies are designed in the control logic. By dynamically adjusting the air-conditioning parameters, energy saving is achieved while ensuring indoor comfort, which helps to reduce energy consumption and improve energy efficiency.

[0025] According to the technical solution of the present invention, a user interface is provided, allowing the user to view and adjust the target comfort level in real time, while providing feedback on the current energy consumption and comfort level, which can better meet user needs and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 is a method schematic diagram of an embodiment of the air conditioner control method provided by the present invention;

[0028] Figure 2 A schematic diagram of a process of training a prediction model according to a specific embodiment of the present invention is shown;

[0029] Figure 3 is a diagram of a deep neural network model architecture according to a specific embodiment of the present invention;

[0030] Figure 4 A flow chart showing steps of controlling the operation of the air conditioner according to the predicted current comfort level of the room and / or the current operating power and / or heat exchange capacity of the air conditioner according to a specific embodiment of the present invention is shown;

[0031] Figure 5 is a method schematic diagram of another embodiment of the air conditioner control method provided by the present invention;

[0032] Figure 6 is a method schematic diagram of another embodiment of the air conditioner control method provided by the present invention;

[0033] Figure 7 It is a method schematic diagram of a specific embodiment of the air conditioner control method provided by the present invention;

[0034] Figure 8 is a structural block diagram of an embodiment of the air conditioner control device provided by the present invention;

[0035] Fig. 9 is a structural block diagram of another embodiment of the air conditioner control device provided by the present invention;

[0036] Fig.10 It is a structural block diagram of another embodiment of the air conditioner control device provided by the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0039] The air conditioning control solutions in the related art often ignore some key parameters or features, resulting in the accuracy and stability of the prediction model to be improved. The air conditioning control solutions in the related art generally only statically adjust the air conditioning parameters based on the output of the prediction model, lack the ability of real-time dynamic adjustment, and cannot flexibly respond to rapidly changing environmental conditions. The air conditioning control solutions in the related art lack a user interface and a real-time feedback mechanism, and cannot meet the personalized needs of users and provide a good user experience. The air conditioning control solutions in the related art generally only focus on a single optimization goal of comfort or energy efficiency, and lack an optimization function that comprehensively considers the trade-offs between the two, and cannot achieve a better balance between comfort and energy efficiency.

[0040] The invention provides a control method for an air conditioner.

[0041] Figure 1 It is a method schematic diagram of an embodiment of the air conditioner control method provided by the present invention.

[0042] like Figure 1 As shown, according to one embodiment of the present invention, the control method at least includes step S110, step S120 and step S130.

[0043] Step S110, obtaining the current operating parameters and current environmental parameters of the air conditioner.

[0044] The environmental parameters may specifically include: at least one of indoor temperature, indoor humidity, outdoor temperature and outdoor humidity. The operating parameters may specifically include: at least one of throttling device opening (such as expansion valve opening), compressor frequency, internal fan speed, external fan speed and wind guide plate angle. The environmental parameters may be acquired through sensor detection, such as a temperature sensor and / or a humidity sensor.

[0045] The opening of the throttling device (such as the expansion valve opening) affects the refrigerant flow and valve pressure drop. If the opening is too small, the cooling capacity will be reduced and the energy consumption will increase. On the contrary, if the opening is too large, the compressor will be flooded and the system efficiency will be reduced. Working conditions: When the system is running in a low outdoor temperature or a high indoor temperature environment, the throttling device opening has a greater impact on the air conditioning capacity value.

[0046] The internal fan speed (indoor fan speed) affects the air volume and pressure drop of the indoor coil. A higher fan speed can increase the cooling capacity, but it will also increase energy consumption. Reducing the fan speed can reduce energy consumption, but it may affect the heat dissipation performance. When the system is running in a high temperature and high humidity environment, the internal fan speed has a greater impact on the air conditioning capacity value.

[0047] The external fan speed (outdoor fan speed) affects the airflow rate and pressure drop of the outdoor coil. Higher fan speeds can improve heat dissipation and increase cooling capacity, while lower fan speeds can reduce energy consumption but affect heat dissipation. When the system is operating in a high temperature and high humidity environment, the outdoor fan speed has a greater impact on the air conditioning capacity value.

[0048] The deflector angle (guide plate angle) affects the airflow direction and the distribution of indoor coils. An optimized guide angle can improve airflow uniformity and increase cooling capacity, while a suboptimal guide angle will reduce cooling performance. When the system is operated in a space with complex airflow patterns or obstacles, the guide plate angle has a greater impact on the air conditioning capacity value.

[0049] The throttling device opening, compressor frequency, internal fan speed, external fan speed and air guide angle are often ignored in traditional air conditioning capacity prediction schemes, but under certain conditions, they will have a greater impact on system performance. By considering these factors, the air conditioning capacity can be predicted more accurately, thereby optimizing system operation.

[0050] Step S120, input the acquired current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort value of the room.

[0051] The operating power P, that is, the power consumed by the air conditioner during operation that affects the energy efficiency of the system, is measured in watts (W); the heat exchange capacity C, which can be specifically the cooling or heating capacity, is measured in cooling or heating tons (RT) or kilowatts (kW), indicating the cooling or heating efficiency of the air conditioner, that is, the cooling or heating capacity of the air conditioner, which determines the ability of the air conditioner to cool or heat the room to the required temperature. The comfort level S can specifically be a comprehensive index of the comfort level of the room obtained by evaluating the environmental parameters in the room, and the environmental parameters in the room can specifically include temperature, humidity and / or air quality. The comfort level can be defined, for example, as a numerical value from 0 to 10 representing different degrees of comfort, for example, 0 represents very uncomfortable, i.e., the most uncomfortable, and 10 represents very comfortable, i.e., the most comfortable. In a specific embodiment, the comfort level S can be calculated by the weighted average of the temperature and humidity levels:

[0052] The comfort calculation formula in cooling mode is:

[0053] S = a *(T- T0) / T k + b *(RH-RH0) / RH k

[0054] The comfort calculation formula in heating mode is:

[0055] S = a *( T0- T) / T k + b *(RH-RH0) / RH k

[0056] T is the indoor temperature, RH is the indoor humidity, a is the temperature weight of comfort, b is the humidity weight of comfort, T0 is the preset reference temperature, RH0 is the preset reference humidity, T k is the temperature variation coefficient, RH k is the humidity variation coefficient. The weighted average method can reflect the quantitative influence of temperature and humidity factors on comfort. The parameters in the comfort calculation formula in the cooling mode and the parameters in the comfort calculation formula in the heating mode can be the same or different.

[0057] The reference temperature may be a default value or may be preset by the user, who may select a range according to his or her own preference, such as 18°C ​​to 30°C. Within this range, the system may gradually reduce the target range, such as by 1°C each time, until the desired target comfort level S_target is reached.

[0058] For example, in cooling mode, a is 0.6, b is 0.4, T0 is 22°C, RH0 is 50%, T k Take 5℃, RH k Taking 20%, the expression of cooling mode comfort can be obtained:

[0059] S = 0.6 *(T- 22℃) / 5℃+ 0.4 *(RH-50%) / 20%

[0060] For the temperature part, first subtract the base temperature (e.g. 22°C) from the temperature, then divide it by the temperature variation coefficient (e.g. 5°C). This means that in the comfort calculation, for every 5°C rise or fall, the comfort changes by 0.6 units. This is because larger temperature fluctuations affect comfort more significantly. For the humidity part, first subtract the base humidity (e.g. 50%) from the humidity, then divide it by the humidity variation coefficient (e.g. 20%). This means that in the comfort calculation, for every 20% rise or fall, the comfort changes by 0.4 units. The impact of humidity is smaller than that of temperature, so it has a lower weight.

[0061] When the temperature is between 20℃ and 24℃ and the humidity is between 40% and 60%, the comfort level is the highest (closest to 10). This is because it is generally most comfortable within this temperature and humidity range.

[0062] The above formula comprehensively considers the impact of temperature and humidity on comfort, and weights them according to their different importance to comfort. The range of values ​​is set according to general comfort evaluation standards, so that the calculation results can be intuitively corresponded to a comfort level, which is easy to understand and apply.

[0063] Since the temperature in cooling mode is generally greater than 22 degrees, the temperature in heating mode should also be less than 22 degrees.

[0064] The formula for calculating heating comfort is different from that for cooling comfort because the human body perceives temperature and humidity differently in heating conditions.

[0065] For example, in heating mode, a is 0.7, b is 0.3, T0 is 22°C, RH0 is 50%, T k Take 5℃, RH k Taking 20%, the expression of heating mode comfort can be obtained:

[0066] S = 0.7 *(22℃-T) / 5℃+ 0.3 *(RH-50%) / 20%

[0067] In this formula, it is different from the comfort formula of cooling mode:

[0068] In the formula for heating comfort, the influence coefficient of temperature becomes 0.7, and the influence coefficient of humidity becomes 0.3. This is because in the case of heating, the influence of temperature on comfort is more important than humidity.

[0069] The temperature portion is also calculated differently, and when the temperature drops below the standard 22°C, comfort levels will be negatively affected, so adjustments need to be made accordingly.

[0070] Similarly, the calculation method for the humidity component remains the same, taking into account the impact of humidity on comfort.

[0071] The heating comfort formula evaluates comfort by weighing the effects of temperature and humidity, so that the calculation of comfort can be adjusted according to actual conditions. Such a formula can help us better understand the impact of temperature and humidity on comfort, thereby optimizing the effect of indoor environmental regulation.

[0072] Comfort is affected by temperature and humidity levels. When the temperature is between 20℃ and 24℃ and the humidity is between 40% and 60%, the comfort level is the highest (i.e. closest to 10).

[0073] The prediction model may specifically include: a prediction model of the operating power of the air conditioner and / or the heat exchange capacity of the air conditioner and / or the comfort of the room. For example, the prediction models of the operating power of the air conditioner, the heat exchange capacity of the air conditioner and the comfort value of the room may be trained separately. The prediction model may specifically be a deep neural network model.

[0074] Figure 2 FIG. 2 shows a flow chart of a prediction model training process according to a specific embodiment of the present invention. Figure 2 As shown, the prediction model can be trained through the following steps;

[0075] Step S1, collecting the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room under different environmental parameters and different operating parameters as training data for training the prediction model.

[0076] Preferably, before model training, the collected training data is preprocessed. Different target outputs require different data preprocessing methods. For example, for the prediction of room comfort, normalization or standardization is required, while for the prediction of cooling capacity and heating capacity, scaling within a specific range is required.

[0077] For example, the collected training data is normalized to improve the training efficiency. Since the dimensions and value ranges of different input features may be different, normalization is required so that the value range of each feature is unified to [0, 1]. The formula for normalization is as follows:

[0078]

[0079] Among them, Xnorm is the value after normalization, X is the value before normalization, and Xmax and Xmin are the maximum and minimum values ​​of the collected training data respectively.

[0080] The training data is divided into a training set, a validation set and a test set, for example, the division ratio may be: 70% training set, 15% validation set, 15% test set. After the collected training data is normalized, the training set in the training data is input into a pre-designed deep neural network for model training.

[0081] Step S2, using the collected different environmental parameters and different operating parameters as input features, and using the operating power and / or heat exchange capacity of the air conditioner and / or the comfort of the room as target outputs, to perform neural network model training.

[0082] A neural network model can be designed for each target output (room comfort, cooling or heating capacity, air conditioning operating power).

[0083] The network structure of each model needs to be fine-tuned according to the characteristics of its prediction target. For example, the prediction of room comfort may need to consider more temperature and humidity related features, while the prediction of heat exchange capacity (cooling or heating capacity) may need more features related to compressor frequency and throttling opening (such as expansion valve opening) (weighting coefficients can be added accordingly in the feature data processing part before model input, and the appropriate coefficients can be selected through the final test results).

[0084] Figure 3 is a diagram of a deep neural network model architecture according to a specific embodiment of the present invention. Figure 3 As shown, the basic structure of each model can include: input layer, hidden layer and output layer.

[0085] Input layer: corresponds to the input features of the model, such as the aforementioned environmental parameters and operating parameters. For example, environmental parameters include: indoor temperature, indoor humidity, outdoor temperature and outdoor humidity; operating parameters include: throttling device opening, compressor frequency, internal fan speed, external fan speed and wind guide plate angle. The above 9 parameters are used as the input features of the model.

[0086] Hidden layer: Design multiple hidden layers, each containing several neurons. For example, you can design 3 hidden layers, each with 128, 64, and 32 neurons. Use the linear rectifier function ReLU as the activation function to increase nonlinearity, that is,

[0087]

[0088] Where x represents the input vector, such as Figure 3As shown, there are two hidden layers, each containing multiple neurons, 1*32 and 1*64 respectively. The neurons in the hidden layer further process and transform the input data, and extract features through weighting, bias and activation functions.

[0089] Output layer: A single neuron (node) is used to output the final prediction or decision result of the network, for example, the predicted value of the operating power or heat exchange capacity of the air conditioner or the comfort of the room. According to the nature of the target, select a suitable activation function. For room comfort and air conditioner operating power, you can use no activation function or ReLU activation function; for cooling or heating capacity, if it is a positive value, ReLU can also be used.

[0090] Loss function: Choose an appropriate loss function based on the characteristics of each task. Different target outputs may require different loss functions for model training. For example, for the prediction of room comfort, you can choose mean square error as the loss function, while for the prediction of air conditioning operating power, you need to choose a loss function that is more suitable for handling nonlinear relationships, such as cross entropy loss function, Hinge loss function, logarithmic loss function, etc.

[0091] For example, the neural network models for room comfort, cooling or heating capacity, and air conditioning operating power can all be converted into regression tasks. For regression tasks, the mean square error (MSE) can be used as the loss function to measure the square difference between the predicted value and the true value. The calculation method is shown in the following formula (1):

[0092] (1)

[0093] Where n represents the number of samples, y i represents the true value of the i-th sample, y i ′ represents the value of the i-th sample predicted by the model.

[0094] Alternatively, if the target variable is a binary categorical variable, the cross-entropy loss function can be selected as the loss function to measure the direct difference between the predicted probability distribution and the true probability distribution. The calculation method is shown in the following formula (2):

[0095] (2)

[0096] Where n is the total number of categories. In binary classification problems, n is usually 2, that is, there are two categories, such as positive and negative. i is the indicator variable of the i-th category of the true label. If it is a binary classification problem, y i Usually the value is 0 or 1, indicating whether the sample belongs to the i-th category.i ) represents the natural logarithm of the probability of the model predicting the i-th category. The natural logarithm function ln is often used to convert probabilities to the logarithmic domain, which helps deal with situations where the probability value is close to 0 and avoids numerical instability during calculation.

[0097] Optimizer: Use the Adam optimizer, which combines the advantages of the AdaGrad and RMSProp optimizers and is suitable for most scenarios.

[0098] Use the training set data to train the model, and use the validation set data to adjust the hyperparameters. The hyperparameters of each model, such as learning rate, batch size, etc., need to be adjusted according to the characteristics of its training data. This can be achieved through cross-validation or parameter adjustment based on the validation set. Monitor the loss on the validation set to avoid overfitting. Evaluation: Use the test set to evaluate the performance of the model. The indicators of interest may include mean square error (MSE), mean absolute error (MAE), etc. For different target outputs, it is necessary to select appropriate evaluation indicators to evaluate the performance of the model. For example, for the comfort prediction model, the correlation coefficient or root mean square error can be used to evaluate the accuracy of the model.

[0099] This neural network uses a fully connected method between layers, that is, the nodes in each layer are connected to all the nodes in the previous and next layers, which can effectively learn and map input data to output results. In practical applications, each connection corresponds to a weight, and the network learns these weights through training data to minimize prediction errors.

[0100] In a specific example, in order to build a deep neural network (DNN) model for air conditioning control, each parameter needs to be appropriately set initially. The following are examples of parameter settings, which can be further adjusted based on actual data and needs:

[0101] Normalization range: [0, 1];

[0102] Number of neurons in the input layer: 9 (corresponding to 9 input features);

[0103] Hidden layer: Number of neurons in the first hidden layer: 128, number of neurons in the second hidden layer: 64, number of neurons in the third hidden layer: 32;

[0104] Activation function: ReLU (hidden layer);

[0105] Number of neurons in the output layer: 1 (corresponding to a single target output);

[0106] Output layer activation function: Room comfort: no activation function or use ReLU activation function if positive output is required, Cooling or heating capacity: use ReLU activation function (to ensure positive output), Air conditioning operating power: activation function or use ReLU activation function if positive output is required;

[0107] Loss function: mean square error (MSE);

[0108] Optimizer: Adam;

[0109] Learning rate: 0.001 (common initial value, can be adjusted according to the training process);

[0110] Batch size: 32 or 64 (adjusted according to the dataset size and computing resources);

[0111] Training rounds: 100 (preliminary setting, actual needs to be adjusted according to the early stopping rule and validation set performance);

[0112] Data division: training set: 70%, validation set: 15%, test set: 15%.

[0113] These preliminary settings provide a starting point, but in practice, it may be necessary to find the optimal model configuration through multiple experiments and adjustments. For example, the number and size of hidden layers, learning rate, batch size, etc. may all be adjusted according to specific circumstances. Using techniques such as cross-validation can help evaluate the performance of the model under different configurations and select the best settings.

[0114] The trained model is deployed to the air conditioning control system. Based on the input data collected in real time, the model can predict the current room comfort, the cooling or heating capacity of the air conditioner, and / or the operating power of the air conditioner.

[0115] Step S130, determine whether the current comfort level of the room is less than a preset target comfort level. If it is determined that the current comfort level of the room is less than the target comfort level, control the operation of the air conditioner based on the predicted current comfort level of the room and / or the current operating power and / or heat exchange capacity of the air conditioner.

[0116] Determine whether the current comfort value S_current of the room predicted by the neural network model is less than the preset target comfort level S_target. If it is determined that the current comfort level S_current of the room where the prediction is made is greater than or equal to the target comfort level S_target, that is, S_current ≥ S_target, then maintain the current operating state of the air conditioner. If it is determined that the current comfort level S_current of the room where the prediction is made is less than the target comfort level S_target (i.e., S_current < S_target), then control the operation of the air conditioner according to the predicted current comfort level of the room where the prediction is made and / or the current operating power of the air conditioner and / or the heat exchange capacity. The target comfort level can be a default value or can be preset by the user.

[0117] Figure 4 The flowchart shows the steps of controlling the operation of the air conditioner according to the predicted current comfort level of the room where the prediction is made and / or the current operating power of the air conditioner and / or the heat exchange capacity according to a specific embodiment of the present invention. As Figure 4 shown, in a specific embodiment, step S130 includes: step S131 and step S132.

[0118] Step S131 initially adjusts the heat exchange capacity of the air conditioner according to the difference between the predicted current comfort level of the room where the prediction is made and the target comfort level, or adjusts the control parameters of the air conditioner according to the predicted current heat exchange capacity of the air conditioner.

[0119] In a specific embodiment, adjusting the heat exchange capacity of the air conditioner according to the difference between the predicted comfort level and the target comfort level includes: if the difference between the predicted comfort level and the target comfort level is greater than the preset difference threshold, then adjust the heat exchange capacity of the air conditioner to increase by a preset percentage based on the preset minimum heat exchange capacity; if the difference between the predicted comfort level and the target comfort level is less than or equal to the preset difference threshold, then adjust the heat exchange capacity of the air conditioner to the preset minimum heat exchange capacity.

[0120] For example, if the difference between S_current and S_target > 2, C is set to C_min + 50%; if the difference between S_current and S_target ≤ 2, C is set to the minimum heat exchange capacity C_min.

[0121] In a specific embodiment, the control parameters of the air conditioner are adjusted according to the predicted current heat exchange capacity of the air conditioner, including: searching for the control parameters corresponding to the predicted current heat exchange capacity of the air conditioner in the preset correspondence between the heat exchange capacity of the air conditioner and the control parameters, and adjusting the control parameters of the air conditioner according to the found control parameters corresponding to the current heat exchange capacity of the air conditioner to improve comfort.

[0122] For example, the control parameters corresponding to the current heat exchange capacity of the air conditioner may be determined according to the following steps.

[0123] Step 1: Establish the corresponding relationship between heat exchange (cooling or heating) capacity and control parameters.

[0124] The control parameters may specifically include compressor frequency, indoor fan speed (fan speed), throttling device opening (valve opening). Based on historical data, experimental or simulation results, a corresponding relationship table or corresponding relationship curve between heat exchange capacity C and optimal control parameters is pre-established.

[0125] Step 2: Predict the current heat exchange capacity C of the air conditioner through the prediction model.

[0126] Step 3: Find the corresponding control parameters in a pre-established correspondence table or correspondence curve between the heat exchange capacity C and the optimal control parameters.

[0127] Use the corresponding table or curve established in step 1, with the predicted heat transfer capacity C as input, to find the corresponding optimal control parameters.

[0128] Step 4: Adjust the corresponding control parameters of the air conditioner according to the found control parameters.

[0129] That is, the control parameters of the air conditioner are adjusted to the optimal values ​​obtained in step 3.

[0130] Step 5: Continue to monitor the performance of the air conditioner and adjust control parameters as needed to maintain optimal performance and comfort.

[0131] Table 1 is a table showing the correspondence between the heat exchange capacity C (cooling or heating capacity) and the optimal control parameters in a specific embodiment of the present invention (the data is for example only, and the specific implementation may vary depending on the air conditioner model, control system and communication protocol):

[0132]

[0133] Table 1

[0134] Step S132: adjusting the heat exchange capacity of the air conditioner according to the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner.

[0135] In a specific embodiment, if the predicted current operating power P_expected of the air conditioner is greater than the preset maximum operating power P_max, that is, P_expected > P_max, then the heat exchange capacity C of the air conditioner is adjusted to satisfy that the current operating power P_expected is less than or equal to the preset maximum operating power P_max, that is, to satisfy P_expected ≤ P_max.

[0136] If the predicted current operating power P_expected of the air conditioner is less than or equal to the preset maximum operating power P_max, that is, to satisfy P_expected ≤ P_max, then the current heat exchange capacity C remains unchanged.

[0137] Optionally, after adjusting the heat exchange capacity of the air conditioner according to the predicted current operating power of the air conditioner, it further includes: re-acquiring the current operating parameters and current environmental parameters of the air conditioner every preset time period, and inputting them into a pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort level of the room where it is located. The heat exchange capacity of the air conditioner is adjusted according to the magnitude relationship between the predicted current comfort level of the room where it is located and the target comfort level. Among them, if the predicted current comfort level of the room where it is located is less than the difference between the target comfort level and the preset comfort value, the heat exchange capacity of the air conditioner is increased; if the predicted current comfort level of the room where it is located is greater than the target comfort level, the heat exchange capacity of the air conditioner is decreased. The precondition for adjustment is that the operating power P of the air conditioner does not exceed the preset maximum operating power P_max.

[0138] For example, every certain period of time (the preset time period is 30 minutes for example), the current comfort level S_current of the room where it is located is re-evaluated through the prediction model. If S_current < S_target - 1, the setting of the cooling or heating capacity C is increased. If S_current > S_target, the setting of the cooling or heating capacity C is decreased to save energy.

[0139] The preset time period, that is, the adjustment interval for fine-tuning the comfort level, can be set by the user. For example, the system can provide a setting range for the adjustment interval, such as 15 minutes to 60 minutes, and the user can set it according to preferences and environmental factors. To better adapt to environmental changes, the temperature and humidity changes can also be monitored in real time, and the adjustment interval can be dynamically adjusted to achieve the best effect.

[0140] In order to adjust the heat exchange capacity and implement the control logic, the corresponding parameters of the air conditioner can be adjusted to achieve the adjustment of the heat exchange capacity of the air conditioner:

[0141] 1. Adjust the compressor frequency: By increasing or decreasing the compressor frequency, the cooling or heating capacity of the air conditioner can be increased or decreased.

[0142] 2. Adjust the fan speed: By increasing or decreasing the fan speed, the air volume can be increased or decreased, thereby affecting the cooling or heating capacity.

[0143] 3. Adjust the refrigerant flow rate: By increasing or decreasing the refrigerant flow rate, the cooling capacity or heating capacity can be increased or decreased.

[0144] 4. Adjust the valve opening: By increasing or decreasing the valve opening of the throttling device (such as an electronic expansion valve), the refrigerant flow rate can be increased or decreased, thereby affecting the cooling or heating capacity.

[0145] For example, to increase the cooling or heating capacity C by 50%, the compressor frequency can be increased by 50%, the fan speed can be increased by 50%, the refrigerant flow rate can be increased by 50%, or the valve opening can be increased by 50%. To decrease the cooling or heating capacity C by 20%, the compressor frequency can be decreased by 20%, the fan speed can be decreased by 20%, the refrigerant flow rate can be decreased by 20%, or the valve opening can be decreased by 20%.

[0146] The above are only examples. Depending on factors such as the type and model of the air conditioner, as well as the outdoor temperature and humidity, the specific adjustment methods may vary, and the present invention does not make any limitations. By adjusting these parameters, the air conditioner can be controlled to achieve an ideal heat exchange capacity, while optimizing energy efficiency and maintaining a comfortable indoor environment.

[0147] The following is an example. According to the predicted current comfort level of the room where the user is located and / or the current operating power and / or heat exchange capacity of the air conditioner, the operation of the air conditioner is controlled. Assume that at a certain moment, the comfort level S_current of the room is 6, and the operation of the air conditioner needs to be adjusted.

[0148] Initial adjustment: S_target - S_current = 2, that is, satisfying S_target - S_current ≤ 2. According to the control logic, C is set to C_min.

[0149] Energy efficiency optimization: If the P_expected corresponding to C_min at this time is 1800 W < P_max, keep C_min unchanged.

[0150] Comfort fine-tuning: After 30 minutes, if S_current increases to 7 but still does not reach S_target, it may be necessary to fine-tune and increase C, provided that it does not exceed P_max.

[0151] Figure 5 It is a schematic diagram of another embodiment of the control method of the air conditioner provided by the present invention.

[0152] like Figure 5 As shown, based on any of the above embodiments, according to an embodiment of the present invention, the control method further includes: step S140 and step S150.

[0153] Step S140, determining the value of the current comfort and energy efficiency balance objective function according to the predicted current comfort level of the room and the current operating power of the air conditioner;

[0154] Step S150, adjusting the target comfort level according to the determined value of the current comfort level and energy efficiency balance objective function so that the value of the objective function is less than or equal to a set threshold.

[0155] The comfort and energy efficiency balance objective function is used to balance comfort and energy efficiency. In a specific implementation, the objective function F can be defined as:

[0156] F = w_1 * (S - S_target)^2 + w_2 * (P / P_max)^2

[0157] F represents the objective function, W_1 is the comfort weight, w_2 is the energy efficiency weight, where W_1>w_2, that is, the comfort weight is greater than the energy efficiency weight, and comfort takes precedence over energy efficiency (but when energy consumption exceeds a certain threshold, the energy efficiency weight is increased), S is the predicted current comfort value of the room, S_target is the target comfort value, P is the predicted current operating power of the air conditioner, and P_max is the preset maximum operating power.

[0158] Constraints: Ensure that in any adjustment, the operating power of the air conditioner does not exceed the maximum operating power P_max, and the heat exchange capacity (cooling or heating capacity) C is not lower than the minimum heat exchange capacity (cooling or heating capacity) C_min.

[0159] The maximum operating power can be set or selected by the user, and the maximum operating power P_max can be selected according to the air conditioner model and the room size. For example, the system can provide a reference range, such as 500W~3000W, and recommends that the user adjust within this range to obtain the best energy efficiency ratio.

[0160] The minimum heat exchange capacity (cooling or heating capacity) C_min can be set or selected by the user, or the system can provide a recommended value of the minimum heat exchange capacity (cooling or heating capacity) C_min according to the air conditioner model and ambient temperature. The user can make fine adjustments according to actual needs.

[0161] Specifically, the room comfort S and the air conditioner operating power P are predicted in real time by the deep neural network model DNN, and the current values ​​of the room comfort S and the air conditioner operating power P are used to evaluate the optimization objective function, that is, the value of the current comfort and energy efficiency balance objective function is determined according to the current comfort S and the air conditioner operating power P. The target comfort value S_target is adjusted so that the comfort and energy efficiency balance objective function value F is less than or equal to the set threshold.

[0162] Optionally, when the air conditioner operating power P exceeds a set power threshold, the energy efficiency weight w_2 increases to give priority to energy efficiency.

[0163] By repeatedly executing the aforementioned steps S110 to S130, and executing steps S140 to S150 to adjust the target comfort according to the current comfort and energy efficiency balance objective function value, so that the objective function is less than or equal to the set threshold, the optimal balance between comfort and energy efficiency is achieved.

[0164] The above embodiment of the present invention can use the comfort and energy efficiency balance objective function in the demand response strategy to adjust the target comfort level S_target during peak hours, which can be used in the following scenarios:

[0165] During peak hours, high power consumption is detected, and the target comfort level S_target is adjusted to reduce power consumption. The optimization function is evaluated to determine a new value for S_target that balances comfort and energy efficiency. The system adjusts S_target accordingly, which in turn adjusts the cooling / heating capacity and fan speed of the air conditioner to reduce energy consumption. By using the comfort and energy efficiency balance objective function as the optimization function, a balance can be achieved between comfort and energy efficiency while reducing electricity consumption during peak hours.

[0166] Figure 6 It is a method schematic diagram of another embodiment of the air conditioner control method provided by the present invention.

[0167] like Figure 6 As shown, based on any of the above embodiments, according to yet another embodiment of the present invention, the control method further includes step S160.

[0168] Step S160: display the target comfort level, the current air-conditioning operating power and / or the current comfort level of the room on the user interface.

[0169] The user interface may be a client control interface, such as a control interface on a mobile phone APP or a mini program, or may be an air conditioner control interface. In the user interface, the target comfort value can be adjusted. Specifically, a user interface is provided to allow a user to view and adjust the target comfort S_target in real time, and provide feedback on the current energy consumption and comfort level.

[0170] The present invention is based on a deep neural network (DNN) prediction model to automatically adjust the air conditioner operating power, cooling or heating capacity and room comfort to achieve intelligent control. It can be equipped with multiple sensors and remote communication modules to realize air conditioning control through APP or voice. The prediction model analyzes multiple factors, predicts room comfort and air conditioning energy efficiency, and then automatically adjusts the air conditioning settings to achieve optimal comfort and energy efficiency. Equipped with temperature, humidity and other sensors, environmental parameters can be monitored in real time. It is necessary to integrate and collect various required air conditioning operating parameter data interfaces in the air conditioner mainboard program, such as compressor frequency, expansion valve opening, and internal and external fan speeds. Future trends are analyzed through prediction models, and air conditioning settings are automatically adjusted to achieve energy saving and environmental protection.

[0171] Here is an example of a control:

[0172] Start the air conditioner: The user starts the air conditioner through the mobile phone APP or smart speaker and sets the target comfort level S_target.

[0173] Environmental monitoring: The air conditioner’s built-in sensors monitor room temperature, humidity, light intensity, and human thermal sensation in real time.

[0174] Prediction model operation: Pass the environmental parameters to the DNN prediction model to predict the room comfort S_current and air conditioning operating power P_future.

[0175] Judgment condition: Compare the target comfort level S_target with the predicted comfort level S_current to determine whether the air conditioning settings need to be adjusted.

[0176] Cooling or heating capacity calculation: If S_current is lower than S_target, the air conditioner calculates the required cooling or heating capacity C to improve comfort. If S_current is equal to or higher than S_target, the air conditioner maintains the current cooling or heating capacity unchanged.

[0177] Operation power check: The air conditioner compares the predicted operation power P_expected with the maximum operation power P_max. If P_expected is greater than P_max, the air conditioner adjusts the cooling or heating capacity C so that P_expected is equal to or lower than P_max.

[0178] Real-time adjustments: The air conditioner re-evaluates S_current and S_target every 30 minutes and makes adjustments to maintain room comfort and take energy efficiency into account.

[0179] User feedback: If the user adjusts the target comfort level S_target through the app or smart speaker, the air conditioner recalculates the prediction model and adjusts the air conditioner settings.

[0180] To clearly illustrate the technical solution of the present invention, the execution process of the control method for the air conditioner provided by the present invention will be described below with a specific embodiment.

[0181] Figure 7 It is a schematic diagram of the method of a specific embodiment of the control method for the air conditioner provided by the present invention. As Figure 7 shown,

[0182] Step 1: Startup condition judgment

[0183] If the current comfort level S_current of the room obtained by model prediction is less than the target comfort level S_target, that is, S_current < S_target, then adjust the cooling or heating capacity C of the air conditioner.

[0184] If the current comfort level S_current of the room obtained by model prediction is greater than or equal to the target comfort level S_target, S_current ≥ S_target, then return to predict the current comfort level of the room again through the model.

[0185] Step 2: Preliminary adjustment

[0186] In the case where it is predicted that the current comfort level S_current of the room is less than the target comfort level S_target, adjust the cooling or heating capacity C according to the difference between S_current and S_target:

[0187] If the difference between S_current and S_target > 2, C is set to C_min + 50%; if the difference between S_current and S_target ≤ 2, C is set to C_min.

[0188] Calculate the expected operating power P_expected based on the setting of the cooling or heating capacity C.

[0189] Step 3: Energy efficiency optimization

[0190] If the current operating power P_expected of the air conditioner > P_max, then adjust C to the maximum value that satisfies P_expected ≤ P_max.

[0191] If the current predicted operating power P_expected of the air conditioner < P_max, then keep the current C unchanged.

[0192] Step 4: Comfort fine-tuning

[0193] Detect S_current regularly, re-evaluate the current comfort level S_current in the room every 30 minutes, and adjust C to optimize S_current to approach S_target.

[0194] The invention also provides a control device for an air conditioner.

[0195] Figure 8 FIG. 1 is a structural block diagram of an embodiment of the air conditioner control device provided by the present invention. Figure 8 As shown, the control device 100 includes: an acquisition unit 110 , a prediction unit 120 and a control unit 130 .

[0196] The acquisition unit 110 is used to acquire the current operating parameters and current environmental parameters of the air conditioner.

[0197] The environmental parameters may specifically include: at least one of indoor temperature, indoor humidity, outdoor temperature and outdoor humidity. The operating parameters may specifically include: at least one of throttling device opening (such as expansion valve opening), compressor frequency, internal fan speed, external fan speed and wind guide plate angle. The environmental parameters may be acquired through sensor detection, such as a temperature sensor and / or a humidity sensor.

[0198] The opening of the throttling device (such as the expansion valve opening) affects the refrigerant flow and valve pressure drop. If the opening is too small, the cooling capacity will be reduced and the energy consumption will increase. On the contrary, if the opening is too large, the compressor will be flooded and the system efficiency will be reduced. Working conditions: When the system is running in a low outdoor temperature or a high indoor temperature environment, the throttling device opening has a greater impact on the air conditioning capacity value.

[0199] The internal fan speed (indoor fan speed) affects the air volume and pressure drop of the indoor coil. A higher fan speed can increase the cooling capacity, but it will also increase energy consumption. Reducing the fan speed can reduce energy consumption, but it may affect the heat dissipation performance. When the system is running in a high temperature and high humidity environment, the internal fan speed has a greater impact on the air conditioning capacity value.

[0200] The external fan speed (outdoor fan speed) affects the airflow rate and pressure drop of the outdoor coil. Higher fan speeds can improve heat dissipation and increase cooling capacity, while lower fan speeds can reduce energy consumption but affect heat dissipation. When the system is operating in a high temperature and high humidity environment, the outdoor fan speed has a greater impact on the air conditioning capacity value.

[0201] The deflector angle (guide plate angle) affects the airflow direction and the distribution of indoor coils. An optimized guide angle can improve airflow uniformity and increase cooling capacity, while a suboptimal guide angle will reduce cooling performance. When the system is operated in a space with complex airflow patterns or obstacles, the guide plate angle has a greater impact on the air conditioning capacity value.

[0202] The throttling device opening, compressor frequency, internal fan speed, external fan speed and air guide angle are often ignored in traditional air conditioning capacity prediction schemes, but under certain conditions, they will have a greater impact on system performance. By considering these factors, the air conditioning capacity can be predicted more accurately, thereby optimizing system operation.

[0203] The prediction unit 120 is used to input the acquired current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort level of the room.

[0204] The operating power P, that is, the power consumed by the air conditioner during operation that affects the energy efficiency of the system, is measured in watts (W); the heat exchange capacity C, which can be specifically the cooling or heating capacity, is measured in cooling or heating tons (RT) or kilowatts (kW), indicating the cooling or heating efficiency of the air conditioner, that is, the cooling or heating capacity of the air conditioner, which determines the ability of the air conditioner to cool or heat the room to the required temperature. The comfort level S can specifically be a comprehensive index of the comfort level of the room obtained by evaluating the environmental parameters in the room, and the environmental parameters in the room can specifically include temperature, humidity and / or air quality. The comfort level can be defined, for example, as a numerical value from 0 to 10 representing different degrees of comfort, for example, 0 represents very uncomfortable, i.e., the most uncomfortable, and 10 represents very comfortable, i.e., the most comfortable. In a specific embodiment, the comfort level S can be calculated by the weighted average of the temperature and humidity levels:

[0205] The comfort calculation formula in cooling mode is:

[0206] S = a *(T- T0) / T k + b *(RH-RH0) / RH k

[0207] The comfort calculation formula in heating mode is:

[0208] S = a *( T0- T) / T k + b *(RH-RH0) / RH k

[0209] T is the indoor temperature, RH is the indoor humidity, a is the temperature weight of comfort, b is the humidity weight of comfort, T0 is the preset reference temperature, RH0 is the preset reference humidity, T k is the temperature variation coefficient, RH k is the humidity variation coefficient. The weighted average method can reflect the quantitative influence of temperature and humidity factors on comfort. The parameters in the comfort calculation formula in the cooling mode and the parameters in the comfort calculation formula in the heating mode can be the same or different.

[0210] The reference temperature may be a default value or may be preset by the user, who may select a range according to his or her own preference, such as 18°C ​​to 30°C. Within this range, the system may gradually reduce the target range, such as by 1°C each time, until the desired target comfort level S_target is reached.

[0211] For example, in cooling mode, a is 0.6, b is 0.4, T0 is 22°C, RH0 is 50%, T k Take 5℃, RH k Taking 20%, the expression of cooling mode comfort can be obtained:

[0212] S = 0.6 *(T- 22℃) / 5℃+ 0.4 *(RH degree-50%) / 20%

[0213] For the temperature part, first subtract the base temperature (e.g. 22°C) from the temperature, then divide it by the temperature variation coefficient (e.g. 5°C). This means that in the comfort calculation, for every 5°C rise or fall, the comfort changes by 0.6 units. This is because larger temperature fluctuations affect comfort more significantly. For the humidity part, first subtract the base humidity (e.g. 50%) from the humidity, then divide it by the humidity variation coefficient (e.g. 20%). This means that in the comfort calculation, for every 20% rise or fall, the comfort changes by 0.4 units. The impact of humidity is smaller than that of temperature, so it has a lower weight.

[0214] When the temperature is between 20℃ and 24℃ and the humidity is between 40% and 60%, the comfort level is the highest (closest to 10). This is because it is generally most comfortable within this temperature and humidity range.

[0215] The above formula comprehensively considers the impact of temperature and humidity on comfort, and weights them according to their different importance to comfort. The range of values ​​is set according to general comfort evaluation standards, so that the calculation results can be intuitively corresponded to a comfort level, which is easy to understand and apply.

[0216] Since the temperature in cooling mode is generally greater than 22 degrees, the temperature in heating mode should also be less than 22 degrees.

[0217] The formula for calculating heating comfort is different from that for cooling comfort because the human body perceives temperature and humidity differently in heating conditions.

[0218] For example, in heating mode, a is 0.7, b is 0.3, T0 is 22°C, RH0 is 50%, T k Take 5℃, RH k Taking 20%, the expression of heating mode comfort can be obtained:

[0219] S = 0.7 *(22℃-T) / 5℃+ 0.3 *(RH-50%) / 20%

[0220] In this formula, it is different from the comfort formula of cooling mode:

[0221] In the formula for heating comfort, the influence coefficient of temperature becomes 0.7, and the influence coefficient of humidity becomes 0.3. This is because in the case of heating, the influence of temperature on comfort is more important than humidity.

[0222] The temperature portion is also calculated differently, and when the temperature drops below the standard 22°C, comfort levels will be negatively affected, so adjustments need to be made accordingly.

[0223] Similarly, the calculation method for the humidity component remains the same, taking into account the impact of humidity on comfort.

[0224] The heating comfort formula evaluates comfort by weighing the effects of temperature and humidity, so that the calculation of comfort can be adjusted according to actual conditions. Such a formula can help us better understand the impact of temperature and humidity on comfort, thereby optimizing the effect of indoor environmental regulation.

[0225] Comfort is affected by temperature and humidity levels. When the temperature is between 20℃ and 24℃ and the humidity is between 40% and 60%, the comfort level is the highest (i.e. closest to 10).

[0226] The prediction model may specifically include: a prediction model of the operating power of the air conditioner and / or the heat exchange capacity of the air conditioner and / or the comfort of the room. For example, the prediction models of the operating power of the air conditioner, the heat exchange capacity of the air conditioner and the comfort value of the room may be trained separately. The prediction model may specifically be a deep neural network model.

[0227] Figure 2 FIG. 2 shows a flow chart of a prediction model training process according to a specific embodiment of the present invention. Figure 2 As shown, the prediction model can be trained through the following steps;

[0228] Step S1, collecting the operating power and / or heat exchange capacity of the air conditioner and / or the comfort value of the room under different environmental parameters and different operating parameters as training data for training the prediction model.

[0229] Preferably, before model training, the collected training data is preprocessed. Different target outputs require different data preprocessing methods. For example, for the prediction of room comfort, normalization or standardization is required, while for the prediction of cooling or heating capacity, scaling within a specific range is required.

[0230] For example, the collected training data is normalized to improve the training efficiency. Since the dimensions and value ranges of different input features may be different, normalization is required so that the value range of each feature is unified to [0, 1]. The formula for normalization is as follows:

[0231]

[0232] Among them, Xnorm is the value after normalization, X is the value before normalization, and Xmax and Xmin are the maximum and minimum values ​​of the collected training data, respectively.

[0233] The training data is divided into a training set, a validation set and a test set, for example, the division ratio may be: 70% training set, 15% validation set, 15% test set. After the collected training data is normalized, the training set in the training data is input into a pre-designed deep neural network for model training.

[0234] Step S2, using the collected different environmental parameters and different operating parameters as input features of the neural network model, using the operating power and / or heat exchange capacity of the air conditioner and / or the comfort of the room as the target output of the neural network model, and performing neural network model training.

[0235] A neural network model can be designed for each target output (room comfort, cooling or heating capacity, air conditioning operating power).

[0236] The network structure of each model needs to be fine-tuned according to the characteristics of its prediction target. For example, the prediction of room comfort may need to consider more temperature and humidity related features, while the prediction of heat exchange capacity (cooling or heating capacity) may need more features related to compressor frequency and throttling opening (such as expansion valve opening) (weighting coefficients can be added accordingly in the feature data processing part before model input, and the appropriate coefficients can be selected through the final test results).

[0237] Figure 3 is a diagram of a deep neural network model architecture according to a specific embodiment of the present invention. Figure 3 As shown, the basic structure of each model can include: input layer, hidden layer and output layer.

[0238] Input layer: corresponds to the input features of the model, such as the aforementioned environmental parameters and operating parameters. For example, environmental parameters include: indoor temperature, indoor humidity, outdoor temperature and outdoor humidity; operating parameters include: throttling device opening, compressor frequency, internal fan speed, external fan speed and wind guide plate angle. The above 9 parameters are used as the input features of the model.

[0239] Hidden layers: Design multiple hidden layers, each containing several neurons. For example, you can design 3 hidden layers, each with 128, 64, and 32 neurons respectively. Use the linear rectifier function ReLU as the activation function to increase nonlinearity, that is,

[0240]

[0241] Where x represents the input vector, such as Figure 3 As shown, there are two hidden layers, each containing multiple neurons, 1*32 and 1*64 respectively. The neurons in the hidden layer further process and transform the input data, and extract features through weighting, bias and activation functions.

[0242] Output layer: A single neuron (node) is used to output the final prediction or decision result of the network, for example, the predicted value of the operating power or heat exchange capacity of the air conditioner or the comfort of the room. According to the nature of the target, select a suitable activation function. For room comfort and air conditioner operating power, you can use no activation function or ReLU activation function; for cooling or heating capacity, if it is a positive value, ReLU can also be used.

[0243] Loss function: Choose an appropriate loss function based on the characteristics of each task. Different target outputs may require different loss functions for model training. For example, for the prediction of room comfort, you can choose mean square error as the loss function, while for the prediction of air conditioning operating power, you need to choose a loss function that is more suitable for handling nonlinear relationships, such as cross entropy loss function, Hinge loss function, logarithmic loss function, etc.

[0244] For example, the neural network models for room comfort, cooling or heating capacity, and air conditioning operating power can all be converted into regression tasks. For regression tasks, the mean square error (MSE) can be used as the loss function to measure the square difference between the predicted value and the true value. The calculation method is shown in the following formula (1):

[0245] (1)

[0246] Where n represents the number of samples, y i represents the true value of the i-th sample, y i ′ represents the value of the i-th sample predicted by the model.

[0247] Alternatively, if the target variable is a binary categorical variable, the cross-entropy loss function can be selected as the loss function to measure the direct difference between the predicted probability distribution and the true probability distribution. The calculation method is shown in the following formula (2):

[0248] (2)

[0249] Where n is the total number of categories. In binary classification problems, n is usually 2, that is, there are two categories, such as positive and negative. i is the indicator variable of the i-th category of the true label. If it is a binary classification problem, y i It usually takes the value of 0 or 1, indicating whether the sample belongs to the i-th category. ln (pi) represents the natural logarithm of the probability of the model predicting the i-th category. The natural logarithm function ln is often used to convert probabilities to the logarithmic domain, which helps to deal with situations where the probability value is close to 0 and avoid numerical instability during calculation.

[0250] Optimizer: Use the Adam optimizer, which combines the advantages of the AdaGrad and RMSProp optimizers and is suitable for most scenarios.

[0251] Use the training set data to train the model, and use the validation set data to adjust the hyperparameters. The hyperparameters of each model, such as learning rate, batch size, etc., need to be adjusted according to the characteristics of its training data. This can be achieved through cross-validation or parameter adjustment based on the validation set. Monitor the loss on the validation set to avoid overfitting. Evaluation: Use the test set to evaluate the performance of the model. The indicators of interest may include mean square error (MSE), mean absolute error (MAE), etc. For different target outputs, it is necessary to select appropriate evaluation indicators to evaluate the performance of the model. For example, for the comfort prediction model, the correlation coefficient or root mean square error can be used to evaluate the accuracy of the model.

[0252] This neural network uses a fully connected method between layers, that is, the nodes in each layer are connected to all the nodes in the previous and next layers, which can effectively learn and map input data to output results. In practical applications, each connection corresponds to a weight, and the network learns these weights through training data to minimize prediction errors.

[0253] The control unit 130 is used to determine whether the current comfort level of the room is less than a preset target comfort level. If it is determined that the current comfort level of the room is less than the target comfort level, the operation of the air conditioner is controlled according to the predicted current comfort level of the room and / or the current operating power and / or heat exchange capacity of the air conditioner.

[0254] Determine whether the current comfort value S_current of the room predicted by the neural network model is less than the preset target comfort level S_target. If it is determined that the current comfort level S_current of the room where the prediction is made is greater than or equal to the target comfort level S_target, that is, S_current ≥ S_target, then maintain the current operating state of the air conditioner. If it is determined that the current comfort level S_current of the room where the prediction is made is less than the target comfort level S_target (i.e., S_current < S_target), then control the operation of the air conditioner according to the predicted current comfort level of the room where the prediction is made and / or the current operating power of the air conditioner and / or the heat exchange capacity.

[0255] In a specific embodiment, the control unit 130 controls the operation of the air conditioner according to the predicted current comfort level of the room where the prediction is made and / or the current operating power of the air conditioner and / or the heat exchange capacity, including: initially adjusting the heat exchange capacity of the air conditioner according to the difference between the predicted current comfort level of the room where the prediction is made and the target comfort level or adjusting the control parameters of the air conditioner according to the predicted current heat exchange capacity of the air conditioner; adjusting the heat exchange capacity of the air conditioner according to the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner.

[0256] In a specific embodiment, adjusting the heat exchange capacity of the air conditioner according to the difference between the predicted comfort level and the target comfort level includes: if the difference between the predicted comfort level and the target comfort level is greater than a preset difference threshold, then adjust the heat exchange capacity of the air conditioner to increase by a preset percentage based on the preset minimum heat exchange capacity; if the difference between the predicted comfort level and the target comfort level is less than or equal to the preset difference threshold, then adjust the heat exchange capacity of the air conditioner to the preset minimum heat exchange capacity.

[0257] For example, if the difference between S_current and S_target > 2, C is set to C_min + 50%; if the difference between S_current and S_target ≤ 2, C is set to the minimum heat exchange capacity C_min.

[0258] In a specific embodiment, adjusting the control parameters of the air conditioner according to the predicted current heat exchange capacity of the air conditioner may specifically include: searching for the control parameters corresponding to the predicted current heat exchange capacity of the air conditioner in the pre-set correspondence between the heat exchange capacity of the air conditioner and the control parameters, and adjusting the control parameters of the air conditioner according to the found control parameters corresponding to the predicted current heat exchange capacity of the air conditioner to improve the comfort level.

[0259] For example, the control parameters corresponding to the current heat exchange capacity of the air conditioner may be determined according to the following steps.

[0260] Step 1: Establish the corresponding relationship between heat exchange (cooling or heating) capacity and control parameters.

[0261] The control parameters may specifically include compressor frequency, indoor fan speed (fan speed), throttling device opening (valve opening). Based on historical data, experimental or simulation results, a corresponding relationship table or corresponding relationship curve between the cooling or heating capacity C and the optimal control parameters is pre-established.

[0262] Step 2: Predict the current heat exchange (cooling or heating) capacity C of the air conditioner through the prediction model.

[0263] Step 3: Look up the corresponding control parameters in a pre-established correspondence table or correspondence curve between the cooling or heating capacity C and the optimal control parameters.

[0264] Use the corresponding table or curve established in step 1, with the predicted cooling or heating capacity C as input, to find the corresponding optimal control parameters.

[0265] Step 4: Adjust the corresponding control parameters of the air conditioner according to the found control parameters.

[0266] That is, the control parameters of the air conditioner are adjusted to the optimal values ​​obtained in step 3.

[0267] Step 5: Continue to monitor the performance of the air conditioner and adjust control parameters as needed to maintain optimal performance and comfort.

[0268] Table 1 is a table showing the correspondence between the cooling or heating capacity C and the optimal control parameters in a specific embodiment of the present invention (the data is for example only, and the specific implementation may vary depending on the air conditioner model, control system and communication protocol):

[0269]

[0270] Table 1

[0271] In a specific embodiment, the heat exchange capacity of the air conditioner is adjusted according to the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner, which may specifically include: if the predicted current operating power P_expected of the air conditioner is greater than the preset maximum operating power P_max, that is, P_expected>P_max, then the heat exchange capacity C of the air conditioner is adjusted to satisfy that the current operating power P_expected is less than or equal to the preset maximum operating power P_max, that is, P_expected ≤ P_max.

[0272] If the predicted current operating power P_expected of the air conditioner is less than or equal to the preset maximum operating power P_max, that is, P_expected ≤ P_max, then the current heat exchange capacity C remains unchanged.

[0273] Optionally, the acquisition unit 110 is further configured to: re-acquire the current operating parameters and current environmental parameters of the air conditioner at preset time intervals; the prediction unit 120 is further configured to: input the current operating parameters and current environmental parameters of the air conditioner re-acquired by the acquisition unit into the pre-trained prediction model to predict the current operating power and / or heat exchange capacity of the air conditioner and / or the current comfort level of the room where it is located; the control unit 130 is further configured to: adjust the heat exchange capacity of the air conditioner according to the comparison between the current comfort level of the room predicted by the prediction unit and the target comfort level. Among them, if the predicted current comfort level of the room is less than the difference between the target comfort level and the preset comfort value, then increase the heat exchange (cooling or heating) capacity of the air conditioner; if the predicted current comfort level of the room is greater than the target comfort level, then decrease the (cooling or heating) heat exchange capacity of the air conditioner, provided that the operating power P of the air conditioner does not exceed the preset maximum operating power P_max.

[0274] For example, at regular intervals (the preset time interval is 30 minutes for example), re-evaluate the current comfort level S_current of the room through the prediction model. If S_current < S_target - 1, increase the setting of the cooling or heating capacity C. If S_current > S_target, reduce the setting of the cooling or heating capacity C to save energy.

[0275] The preset time interval, that is, the adjustment interval for fine-tuning the comfort level, can be set by the user. For example, the system can provide a setting range for the adjustment interval, such as 15 minutes to 60 minutes, and the user can set it according to preferences and environmental factors. To better adapt to environmental changes, it is also possible to monitor temperature and humidity changes in real time and dynamically adjust the adjustment interval to achieve the best effect.

[0276] To adjust the heat exchange capacity (cooling capacity / heating capacity) and implement the control logic, the corresponding parameters of the air conditioner can be adjusted to achieve the adjustment of the heat exchange capacity (cooling or heating capacity) C of the air conditioner:

[0277] 1. Adjust the compressor frequency: By increasing or decreasing the compressor frequency, the cooling or heating capacity of the air conditioner can be increased or decreased.

[0278] 2. Adjust the fan speed: By increasing or decreasing the fan speed, the air volume can be increased or decreased, thereby affecting the cooling or heating capacity.

[0279] 3. Adjust the refrigerant flow: By increasing or decreasing the refrigerant flow, the cooling or heating capacity can be increased or decreased.

[0280] 4. Adjust the valve opening: By increasing or decreasing the valve opening of the throttling device (such as an electronic expansion valve), the refrigerant flow rate can be increased or decreased, thereby affecting the cooling or heating capacity.

[0281] For example, to increase the cooling or heating capacity C by 50%, you can increase the compressor frequency by 50%, increase the fan speed by 50%, increase the refrigerant flow rate by 50%, or increase the valve opening by 50%. To reduce the cooling or heating capacity C by 20%, you can reduce the compressor frequency by 20%, reduce the fan speed by 20%, reduce the refrigerant flow rate by 20%, or reduce the valve opening by 20%.

[0282] The above is only an example. Depending on the type and model of the air conditioner and factors such as outdoor temperature and humidity, the specific adjustment method may vary, and the present invention does not limit it. By adjusting these parameters, the air conditioner can be controlled to achieve the ideal cooling / heating capacity, maintaining a comfortable indoor environment while optimizing energy efficiency.

[0283] Fig. 9 FIG. 2 is a structural block diagram of another embodiment of the air conditioner control device provided by the present invention. Fig. 9 As shown, according to another embodiment of the present invention, the control device 100 further includes: a determining unit 140 and an adjusting unit 150 .

[0284] The determination unit 140 is used to determine the value of the current comfort and energy efficiency balance objective function according to the current comfort of the room predicted by the prediction unit 120 and the current operating power of the air conditioner; the adjustment unit is used to adjust the target comfort according to the value of the current comfort and energy efficiency balance objective function determined by the determination unit 140, so that the value of the objective function is less than or equal to a set threshold.

[0285] The comfort and energy efficiency balance objective function is used to balance comfort and energy efficiency. In a specific implementation, the objective function F can be defined as:

[0286] F = w_1 * (S - S_target)^2 + w_2 * (P / P_max)^2

[0287] F represents the objective function, W_1 is the comfort weight, w_2 is the energy efficiency weight, where W_1>w_2, that is, the comfort weight is greater than the energy efficiency weight, and comfort takes precedence over energy efficiency (but when energy consumption exceeds a certain threshold, the energy efficiency weight is increased), S is the predicted current comfort value of the room, S_target is the target comfort value, P is the predicted current operating power of the air conditioner, and P_max is the preset maximum operating power.

[0288] Constraints: Ensure that in any adjustment, the operating power of the air conditioner does not exceed the maximum operating power P_max, and the heat exchange capacity (cooling or heating capacity) C is not lower than the minimum heat exchange capacity (cooling or heating capacity) C_min.

[0289] The maximum operating power can be set or selected by the user, and the maximum operating power P_max can be selected according to the air conditioner model and the room size. For example, the system can provide a reference range, such as 500W~3000W, and recommends that the user adjust within this range to obtain the best energy efficiency ratio.

[0290] The minimum heat exchange capacity (cooling or heating capacity) C_min can be set or selected by the user, or the system can provide a recommended value of the minimum heat exchange capacity (cooling or heating capacity) C_min according to the air conditioner model and ambient temperature. The user can make fine adjustments according to actual needs.

[0291] Specifically, the room comfort S and the air conditioner operating power P are predicted in real time by the deep neural network model DNN, and the current values ​​of the room comfort S and the air conditioner operating power P are used to evaluate the optimization objective function, that is, the value of the current comfort and energy efficiency balance objective function is determined according to the current comfort S and the air conditioner operating power P. The target comfort value S_target is adjusted so that the comfort and energy efficiency balance objective function value F is less than or equal to the set threshold.

[0292] Optionally, when the air conditioner operating power P exceeds a set power threshold, the energy efficiency weight w_2 increases to give priority to energy efficiency.

[0293] By repeatedly executing the operations of the aforementioned acquisition unit 110, prediction unit 120 and control unit 130, and executing the determination unit 140 and adjustment unit 150 to adjust the target comfort according to the current comfort and energy efficiency balance objective function value, so that the objective function is less than or equal to the set threshold, the optimal balance between comfort and energy efficiency is achieved.

[0294] The above embodiment of the present invention can use the comfort and energy efficiency balance objective function in the demand response strategy to adjust the target comfort level S_target during peak hours, which can be used in the following scenarios:

[0295] During peak electricity consumption, high power consumption is detected, and the target comfort level S_target is adjusted to reduce power consumption. The optimization function is evaluated to determine a new value of S_target that balances comfort and energy efficiency. The system adjusts S_target accordingly, which in turn adjusts the cooling / heating capacity and fan speed of the air conditioner to reduce energy consumption. By using the comfort and energy efficiency balance objective function as the optimization function, a balance can be achieved between comfort and energy efficiency while reducing electricity consumption during peak hours.

[0296] Fig.10 FIG. 1 is a structural block diagram of another embodiment of the air conditioner control device provided by the present invention. Fig.10 As shown, according to yet another embodiment of the present invention, the control device 100 further includes: a display unit 160 .

[0297] The display unit 160 is used to display the target comfort level, the current air-conditioning operating power and / or the current room comfort level on the user interface.

[0298] The user interface may be a client control interface, such as a control interface on a mobile phone APP or a mini program, or may be an air conditioner control interface. In the user interface, the target comfort value can be adjusted. Specifically, a user interface is provided to allow a user to view and adjust the target comfort S_target in real time, and provide feedback on the current energy consumption and comfort level.

[0299] The present invention also provides a storage medium corresponding to the air conditioner control method, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the aforementioned methods are implemented.

[0300] The present invention also provides an air conditioner corresponding to the air conditioner control method, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the computer program.

[0301] The present invention also provides an air conditioner corresponding to the control device of the air conditioner, comprising any of the control devices of the air conditioner described above.

[0302] The present invention also provides a computer program product corresponding to the air conditioner control method, comprising a computer program, and when the computer program is executed by a processor, the steps of any of the aforementioned methods are implemented.

[0303] Based on this, the solution provided by the present invention uses a prediction model based on a deep neural network to achieve intelligent prediction and adjustment of room comfort, heat exchange capacity and air conditioning operating power. Through the data-driven prediction model, it can respond more accurately to changes in indoor and outdoor environments, achieve more refined air conditioning control, and improve comfort and energy efficiency.

[0304] Using the output of the prediction model, the system can dynamically adjust the heat exchange capacity and operating power, not only reflecting current demand, but also considering future trends and adjusting the air conditioning settings in advance. This adaptive control strategy is smarter and more efficient than traditional timed scheduling or simple feedback control.

[0305] Taking comfort and energy efficiency into consideration, an optimization function is designed which comprehensively considers the weights of comfort and energy efficiency, so that the system can flexibly adjust the control strategy to achieve the best balance between comfort and energy efficiency.

[0306] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.

[0307] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0308] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0309] If the integrated unit is implemented in the form of 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 the present invention, in essence, or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0310] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A method for controlling an air conditioner, characterized in that: include: Obtaining current operating parameters and current environmental parameters of the air conditioner; Input the acquired current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model to predict the current operating power of the air conditioner and the current comfort level of the room where the air conditioner is located, or predict the current operating power of the air conditioner, the current heat exchange capacity of the air conditioner, and the current comfort level of the room where the air conditioner is located; Determine whether the current comfort level of the room is less than a preset target comfort level. If it is determined that the current comfort level of the room is less than the target comfort level, control the operation of the air conditioner according to the predicted current operating power of the air conditioner and the current comfort level of the room or according to the predicted current operating power of the air conditioner and the current heat exchange capacity of the air conditioner; Determine the value of the current comfort and energy efficiency balance objective function based on the predicted current operating power of the air conditioner and the current comfort of the room; The target comfort is adjusted according to the determined value of the current comfort and energy efficiency balance objective function so that the value of the comfort and energy efficiency balance objective function is less than or equal to a set threshold; wherein the comfort and energy efficiency balance objective function is used to balance comfort and energy efficiency.

2. The method according to claim 1, characterized in that The operating parameters include: at least one of indoor temperature, indoor humidity, outdoor temperature and outdoor humidity; The environmental parameters include: at least one of: throttling device opening, compressor frequency, internal fan speed, external fan speed and air guide plate angle.

3. The method according to claim 1 or 2, characterized in that: The prediction model is trained through the following steps: Collecting the operating power and / or heat exchange capacity of the air conditioner and / or the comfort level of the room where the air conditioner is located under different environmental parameters and different operating parameters as training data for training the prediction model; The collected different environmental parameters and the different operating parameters are used as input features, and the operating power and / or heat exchange capacity of the air conditioner and / or the comfort of the room where the air conditioner is located are used as target outputs to perform neural network model training.

4. The method according to claim 1 or 2, characterized in that: According to the predicted current operating power of the air conditioner and the current comfort level of the room where the air conditioner is located, or according to the predicted current operating power of the air conditioner and the current heat exchange capacity of the air conditioner, controlling the operation of the air conditioner includes: Preliminarily adjusting the heat exchange capacity of the air conditioner according to the difference between the predicted current comfort level of the room and the target comfort level, or adjusting the control parameters of the air conditioner according to the predicted current heat exchange capacity of the air conditioner; The heat exchange capacity of the air conditioner is adjusted according to the predicted current operating power of the air conditioner to optimize the energy efficiency of the air conditioner.

5. The method according to claim 4, characterized in that After adjusting the heat exchange capacity of the air conditioner according to the predicted current operating power of the air conditioner, the method further includes: Re-acquire the current operating parameters and current environmental parameters of the air conditioner at preset intervals, and input them into the pre-trained prediction model to predict the current operating power of the air conditioner and the current comfort level of the room where the air conditioner is located, or predict the current operating power of the air conditioner, the current heat exchange capacity of the air conditioner, and the current comfort level of the room where the air conditioner is located; The heat exchange capacity of the air conditioner is adjusted according to the predicted current comfort level of the room and the target comfort level.

6. The method according to claim 1 or 2, characterized in that: Also includes: The target comfort level, the current operating power of the air conditioner and the current comfort level of the room are displayed on the user interface; wherein the target comfort level can be adjusted on the user interface.

7. A control device for an air conditioner, characterized in that: include: An acquisition unit, used to acquire current operating parameters and current environmental parameters of the air conditioner; A prediction unit, used for inputting the acquired current operating parameters and current environmental parameters of the air conditioner into a pre-trained prediction model, and predicting the current operating power of the air conditioner and the current comfort level of the room where the air conditioner is located, or predicting the current operating power of the air conditioner, the current heat exchange capacity of the air conditioner, and the current comfort level of the room where the air conditioner is located; a control unit, configured to determine whether the current comfort level of the room is less than a preset target comfort level, and if it is determined that the current comfort level of the room is less than the target comfort level, control the operation of the air conditioner according to the predicted current operating power of the air conditioner and the current comfort level of the room or according to the predicted current operating power of the air conditioner and the current heat exchange capacity of the air conditioner; A determination unit, configured to determine a value of a current comfort and energy efficiency balance objective function according to the predicted current operating power of the air conditioner and the current comfort of the room in which the air conditioner is located; An adjustment unit is used to adjust the target comfort level according to the determined value of the current comfort and energy efficiency balance objective function so that the value of the comfort and energy efficiency balance objective function is less than or equal to a set threshold; wherein the comfort and energy efficiency balance objective function is used to balance comfort and energy efficiency.

8. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the control method according to any one of claims 1 to 6 are implemented.

9. An air conditioner, characterized in that: The air conditioner includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the control method described in any one of claims 1 to 6 are implemented, or the air conditioner includes the control device described in claim 7.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of the control method according to any one of claims 1 to 6 when being executed by a processor.