[go: up one dir, main page]

US20250257895A1 - Method for controlling air conditioner, air conditioner and computer-readable storage medium - Google Patents

Method for controlling air conditioner, air conditioner and computer-readable storage medium

Info

Publication number
US20250257895A1
US20250257895A1 US19/189,990 US202519189990A US2025257895A1 US 20250257895 A1 US20250257895 A1 US 20250257895A1 US 202519189990 A US202519189990 A US 202519189990A US 2025257895 A1 US2025257895 A1 US 2025257895A1
Authority
US
United States
Prior art keywords
control parameter
air conditioner
historical
parameter combination
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
US19/189,990
Inventor
Qifeng FAN
Zhe Shang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202211351702.5A external-priority patent/CN117989692A/en
Priority claimed from CN202211351676.6A external-priority patent/CN117989690A/en
Priority claimed from CN202211394510.2A external-priority patent/CN118009479A/en
Application filed by GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Assigned to GD MIDEA AIR-CONDITIONING EQUIPMENT CO., LTD. reassignment GD MIDEA AIR-CONDITIONING EQUIPMENT CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FAN, Qifeng, SHANG, Zhe
Publication of US20250257895A1 publication Critical patent/US20250257895A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/80Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/30Velocity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/30Velocity
    • F24F2110/32Velocity of the outside air

Definitions

  • the present application further provides an air conditioner, including a memory, at least one processor, and a program for controlling the air conditioner stored in the memory and executable on the processor, the program for controlling the air conditioner, when executed by the processor, implements the steps of the method for controlling air conditioner as described above.
  • FIG. 2 is a flowchart of a method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 3 is a detailed flowchart of step S 10 of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 5 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 6 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 7 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 8 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 9 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 10 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 11 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 12 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • G Genetic Algorithm
  • PID Proportional Integral Derivative
  • the present application uses the predicted control parameter combination with the greatest similarity between the historical control parameter combination and the predicted control parameter combination executed by the air conditioner in the previous cycle as the target control parameter combination, so that the parameter changes between different cycles of the air conditioner are relatively small, thereby keeping the warm air relatively stable.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present application.
  • the air conditioner may include: a processor 1001 , such as a central processing unit (CPU), a memory 1005 , a user interface 1003 , a network interface 1004 , and a communication bus 1002 .
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display, an input unit such as a keyboard, and the user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (such as a Wireless-Fidelity interface).
  • the memory 1005 may be a high-speed random access memory (RAM), or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module and a program for controlling the air conditioner.
  • the operating system is a program for managing and controlling the hardware and software resources of the air conditioner, based on the operation of the program for controlling the air conditioner and other software or programs.
  • the user interface 1003 is mainly used to connect to the terminal and communicate data with the terminal;
  • the network interface 1004 is mainly used for the background server and communicates data with the background server;
  • the processor 1001 can be used to call the program for controlling the air conditioner stored in the memory 1005 .
  • the air conditioner includes: a memory 1005 , a processor 1001 , and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • the air conditioning parameter adjustment strategy is characterized as a strategy for adjusting the controllable operating parameters inside the air conditioner according to certain user needs.
  • Cosine distance between CR3 and CR0 is:
  • the Euclidean distance between CR2 and CR0 is the shortest, so CR2 is selected as the target control parameter combination with the highest similarity to the historical control parameter combination of the previous cycle.
  • Step S 30 controlling the air conditioner to operate according to the parameter values in the target control parameter combination.
  • the air conditioner is controlled to operate according to the parameter values in the target control parameter combination.
  • the compressor frequency of the air conditioner is controlled to operate at 60 Hz, and the internal fan speed of the air conditioner is controlled to operate at 55 rpm.
  • the target control parameter combination finally executed by the air conditioner is determined according to the parameter similarity between the prediction control parameter combination and the historical control parameter combination.
  • the obtaining the at least two predicted control parameter combinations for the current cycle prediction of the air conditioner includes:
  • the predicted control parameter combination may be determined by using a parameter prediction model to determine the control parameter combination of the air conditioner, and each control parameter combination includes at least two predicted control parameter combinations.
  • the step S 11 includes:
  • the parameter prediction model may include a temperature model.
  • the temperature model is characterized as predicting the future indoor temperature change in the room where the air conditioner is located.
  • the air conditioner determines the control parameter combination composed of each parameter value of each predicted control parameter through the temperature model, and predicts the indoor temperature change corresponding to the control parameter combination, and determines the control parameter combination that satisfies the target indoor temperature according to the indoor temperature change, and uses it as the control parameter combination of the air conditioner that satisfies the temperature model.
  • controllable operating parameters include the indoor fan speed, the outdoor fan speed and the compressor operating frequency
  • the speed value of the indoor fan speed is 750 rpm
  • the speed value of the outdoor fan speed is 800 rpm
  • the frequency value of the compressor operating frequency is 50 Hz
  • the predicted indoor temperature change of the air conditioner is ⁇ T1.
  • the predicted indoor temperature change of the air conditioner is ⁇ T2.
  • the indoor temperature change corresponding to the parameter combination can be determined through the above mapping relationship, that is, the indoor temperature change corresponding to the operation of the air conditioner according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters can be determined.
  • the method for predicting the indoor temperature change corresponding to the control parameter combination can be: recording a controllable operating parameter and an uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical indoor temperature change after each operating cycle of the air conditioner; performing training according to recorded historical operating data of the air conditioner to generate a first mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical indoor temperature change to predict the indoor temperature change based on the first mapping relationship.
  • the temperature change expectation model training process mainly includes the following parts:
  • the operation data of the air conditioner includes: parameter values corresponding to controllable operation parameters and parameter values corresponding to uncontrollable operation parameters.
  • the uncontrollable operation parameters include operation state parameters and user-set parameters.
  • the operation state parameters include environmental state parameters and air conditioner operation state parameters.
  • the environmental state parameters include indoor temperature Tin, outdoor temperature Tout, indoor humidity Hin, and outdoor humidity Hout, etc.
  • the air conditioner operation state parameters include exhaust valve temperature Tp, etc.
  • the user-set parameters are parameters actively set by the user, and the user-set parameters include: set temperature Ts, set wind speed Ws, etc.
  • cycle 1 represents the first T after power-on
  • cycle i represents the i-th T after power-on.
  • the temperature model i.e., the first mapping relationship between controllable operating parameters, uncontrollable operating parameters and historical indoor temperature changes
  • the step S 11 includes:
  • the parameter prediction model may include the wind speed model.
  • the wind speed model is characterized as predicting the air outlet wind speed of the air conditioner that the user hopes to achieve.
  • controllable operating parameters include the internal fan speed and the compressor operating frequency
  • the speed value of the internal fan speed is 750 rpm and the frequency value of the compressor operating frequency is 50 Hz
  • the predicted air outlet wind speed of the air conditioner is V1.
  • the speed value of the internal fan speed is 800 rpm and the frequency value of the compressor operating frequency is 40 Hz
  • the predicted air outlet wind speed of the air conditioner is V2.
  • each parameter combination, and the pre-established mapping relationship between each parameter combination and the air outlet wind speed are also determined.
  • a method for predicting the target speed corresponding to the control parameter combination may be: recording the controllable operating parameter and the uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a second mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical internal fan speed to predict the target speed of the internal fan based on the second mapping relationship.
  • the predicted control parameter combination with the greatest similarity determined can be further optimized and smoothed with the historical control parameter combination executed in the historical cycles of multiple air conditioners, and the optimized and smoothed control parameter combination can be used as the target control parameter combination to enable the air conditioner to operate according to the target control parameter combination.
  • the predicted control parameter combination with the greatest similarity is further optimized and smoothed with the historical control parameter combination executed in the historical cycles of multiple air conditioners, and the optimized and smoothed control parameter combination is used as the target control parameter combination, so that the air conditioner operates according to the target control parameter combination, thereby achieving the effect of avoiding the occurrence of warm air oscillation.
  • the air conditioner includes: a memory 1005 , a processor 1001 , and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • the method for controlling the air conditioner includes the following steps:
  • a control scheme output by a main control logic module in an air conditioner in a current cycle is first obtained, and the control scheme includes at least one predicted control parameter.
  • the predicted control parameter is characterized as an optimal predicted control parameter selected based on a preset selection strategy from the controllable operating parameters predicted by multiple air conditioners in the next cycle.
  • the historical control parameter is characterized as the controllable operating parameter executed by the air conditioner in the previous cycle.
  • the predicted control parameter is not the control parameter of the air conditioner currently operating, but the control parameter that the air conditioner will operate in the next cycle, the next cycle can be understood as the end of the current cycle or the beginning of the next cycle.
  • Step S 220 determining a target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter, the target control parameter is obtained by smoothing the predicted control parameter according to the historical control parameter.
  • this embodiment smoothes the determined predicted control parameters and the historical control parameters executed in multiple historical cycles of the air conditioners, and then uses the smoothed control parameters as the target control parameters.
  • the smoothing method of the target control parameter can be based on a preset smoothing strategy, according to the historical control parameters and the predicted control parameters of multiple historical cycles, to determine the parameter optimization value corresponding to each of the predicted control parameters in the current cycle as the target control parameter of the air conditioner.
  • the smoothing strategy may be arithmetic average optimization, which averages the prediction control function and historical control parameters of multiple historical cycles, and uses the average value as the parameter optimization value corresponding to each prediction control parameter.
  • the predicted control parameters include the compressor frequency P and the internal fan speed W.
  • the above arithmetic mean optimization process is the same as the parameter averaging process in the optimization smoothing method of one embodiment, and will not be repeated here.
  • the smoothing strategy can be weighted average optimization, which obtains the parameter value corresponding to the predicted control parameter in the historical control data, then determines the weight value of the obtained parameter value, and performs weighted calculation on the obtained parameter value based on the determined weight value, so as to obtain the parameter optimization value corresponding to the predicted control parameter.
  • the weight value corresponding to the C1 cycle is 0.3
  • the weight value corresponding to the C2 cycle is 0.2
  • the weight value corresponding to the C3 cycle is 0.1
  • the weight value corresponding to the current cycle is 0.4.
  • Step S 230 controlling the air conditioner to operate according to the target control parameter.
  • the air conditioner is controlled to operate according to the target control parameter.
  • At least one acquired predicted control parameter is smoothed with historical control parameters in multiple cycles, and the smoothed control parameter is used as the target control parameter, thereby avoiding the phenomenon of warm air oscillation in the air conditioner due to excessive difference in control parameter values between adjacent cycles when the air conditioner is executed according to the predicted control parameter.
  • the step of obtaining at least one prediction control parameter of the current cycle prediction of the air conditioner includes the following steps:
  • control scheme can be determined by determining a control parameter combination of the air conditioner through a parameter prediction model, each control parameter combination includes at least two control parameters. Furthermore, when at least two control parameter combinations that satisfy the parameter prediction model are determined, a control parameter combination that satisfies the strategy is selected through a combination selection strategy as the control scheme.
  • the parameter prediction model may include a temperature model, a wind speed model, and a heating and cooling rate model, which have been described in detail in an embodiment and will not be repeated here.
  • the combined selection strategy can be an energy-saving strategy, a comfort strategy, and a health strategy.
  • the energy-saving strategy is characterized as selecting a combination with the highest energy efficiency ratio among various control parameter combinations as a control scheme.
  • the comfort strategy is characterized as selecting a control parameter combination whose comfort value corresponding to each control parameter combination is closest to a preset comfort value as a control scheme.
  • the target operating parameter combination in order to ensure the comfort level of a human body when the air conditioner is operating, can be determined by a comfort value, which is a quantitative value representing the comfort level of a human body in an environment under the air conditioner.
  • the preset comfort value can be the theoretically most comfortable value of the temperature, relative humidity, and wind speed in the environment for a human body.
  • the comfort value determination parameters may be determined by temperature, relative humidity and/or the air outlet speed of the air conditioner.
  • the predicted control parameters include the internal fan speed, the external fan speed and the compressor frequency.
  • the temperature T0 when the human body is in a relatively comfortable state is set to 24° C.
  • the relative humidity RH0 is set to 30%
  • the air outlet speed V0 is set to 0.2 m/S.
  • the preset comfort value is 0, that is, the optimal comfort value. If the comfort value determined in the subsequent parameter combination is greater than 0, it means that under this parameter combination, the user will feel hotter, and if it is less than 0, it means that under this parameter combination, the user will feel colder.
  • the corresponding comfort values of the three are ⁇ 1, 2, and ⁇ 1.5 respectively, so H1, which is closest to the preset comfort value of 0, is selected as the control scheme.
  • the preset health value may be determined by the indoor and outdoor temperature difference and the relative humidity.
  • the relative humidity RH 40%, and based on the preset mapping relationship, the preset health value determined is 100.
  • H6 is selected as the control scheme.
  • a parameter prediction model is used to predict the control parameter combination to be executed by the air conditioner in the future, and when there are multiple control parameter combinations, a parameter combination that satisfies the selection strategy is selected as a control scheme based on the combination selection strategy. This provides a prerequisite for how to select one of the predicted control parameters as the target control parameter in an embodiment. On the basis of one embodiment and in combination with the technical solution in this embodiment, the effect of avoiding the phenomenon of warm air oscillation in the air conditioner due to the large difference in the control parameter values between adjacent cycles when the air conditioner is executed according to the predicted control parameters is achieved.
  • the steps include:
  • C0_y is used as the input side data of the main control logic of the air conditioner, so that the main control logic of the air conditioner outputs the predicted control parameter.
  • the present application optimizes the environmental state parameters on the input side of the main control logic of the air conditioner. On the one hand, it avoids oscillation of the output control parameter combination due to errors in the air conditioner's sensors. On the other hand, it also avoids the occurrence of temperature and wind shock caused by a large difference between the control parameter combination output by the air conditioner and the control parameters between the air conditioners when the temperature of the environment in which the air conditioner is located changes suddenly.
  • the air conditioner includes: a memory 1005 , at least one processor 1001 , and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • an embodiment of the method for controlling an air conditioner of the present application is provided.
  • the method for controlling an air conditioner includes the following steps:
  • optimization is performed based on collected environmental state parameters.
  • Step S 320 determining environmental state optimization parameters of the current cycle of the air conditioner according to the historical environmental state parameters and the current environmental state parameters.
  • the process of determining the environmental state optimization parameters of the current cycle of the air conditioner is the same as in the first embodiment, and will not be repeated here.
  • a weighted average optimization can be performed between the current environmental state parameters and the historical environmental state parameters, and the parameter values corresponding to the environmental state parameters in the historical environmental state parameters are obtained, and then the weight values of the obtained parameter values are determined. Based on the determined weight values, the obtained parameter values are weighted averaged to obtain the optimized values of the environmental parameters corresponding to the air conditioner in the current cycle.
  • the environmental state parameters include indoor temperature T1 and outdoor temperature T4.
  • the historical control parameters C1, C2, and C3 of the three cycles are obtained:
  • the weight value corresponding to the C1 cycle is 0.3
  • the weight value corresponding to the C2 cycle is 0.2
  • the weight value corresponding to the C3 cycle is 0.1
  • the weight value corresponding to the current cycle is 0.4.
  • Step S 330 controlling the air conditioner to operate according to the environmental state optimization parameters.
  • the environmental state optimization parameters are used as input side data of the main control logic of the air conditioner, so that the main control logic of the air conditioner outputs a control parameter combination.
  • the step S 330 includes:
  • the determined environmental state optimization parameters and the operating state parameters of the air conditioner in the current cycle are input into the parameter prediction model to determine the control parameter combination of the air conditioner. Furthermore, when the determined control parameter combinations that satisfy the parameter prediction model are at least two, the control parameter combination that satisfies the strategy is selected through the combination selection strategy.
  • the parameter prediction model may include an operating power model, which is characterized as a prediction based on the operating power of the air conditioner expected by the user.
  • the air conditioner determines the control parameter combination composed of the parameter values of each control parameter combination through the operating power model, and predicts the operating power corresponding to the control parameter combination, and determines the control parameter combination that satisfies the target operating power based on the operating power, and uses it as the control parameter combination of the air conditioner that satisfies the operating power model.
  • controllable operating parameters include the internal fan speed, the external fan speed and the compressor operating frequency
  • the internal fan speed is 750 rpm
  • the external fan speed is 800 rpm
  • the compressor operating frequency is 50 Hz
  • the predicted operating power of the air conditioner is P1.
  • the speed value of the internal fan speed is 800 rpm
  • the speed value of the external fan speed is 900 rpm
  • the frequency value of the compressor operating frequency is 40 Hz.
  • the predicted operating power of the air conditioner is P2.
  • the operating power corresponding to the parameter combination can be determined through the above mapping relationship, that is, the target operating power corresponding to the air conditioner when the air conditioner is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters is determined.
  • the parameter combination corresponding to P2 800 rpm, 900 rpm, 40 Hz is used as the target control parameter combination.
  • the parameter prediction model may also include a capacity energy efficiency model, which is characterized as a prediction based on the operating energy efficiency and/or output capacity of the air conditioner expected by the user.
  • the air conditioner inputs the operating state parameters of the current cycle and the environmental state optimization parameters into the capacity energy efficiency model to predict the operating energy efficiency and/or output capacity corresponding to each control parameter combination of the operating state parameters of the next cycle of the air conditioner; and determines the control parameter combination that satisfies the target operating energy efficiency and/or target output capacity based on the operating energy efficiency and/or the output capacity.
  • controllable operation parameters include the internal fan speed, the external fan speed and the compressor operating frequency
  • the speed value of the internal fan speed is 750 rpm
  • the speed value of the external fan speed is 800 rpm
  • the frequency value of the compressor operating frequency is 50 Hz
  • the predicted operation energy efficiency of the air conditioner is Q1.
  • the speed value of the internal fan speed is 800 rpm
  • the speed value of the external fan speed is 900 rpm
  • the frequency value of the compressor operating frequency is 40 Hz.
  • the predicted operating energy efficiency of the air conditioner is Q2.
  • the operating power corresponding to the parameter combination can be determined through the above mapping relationship. That is, the target operating energy efficiency corresponding to the air conditioner when it is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters.
  • the parameter combination corresponding to Q2 (800 rpm, 900 rpm, 40 Hz) is used as the target control parameter combination.
  • the parameter prediction model may include a temperature model, which has been described in detail in the above embodiment and will not be described again here.
  • the combined selection strategy may be an energy-saving strategy, a comfort strategy, a health strategy, and a similarity strategy.
  • the energy-saving strategy, the comfort strategy, and the health strategy have been described in detail in the above embodiment and will not be repeated here.
  • the similarity strategy is characterized as selecting the one with the largest parameter similarity with the historical control parameters among the control parameter combinations as the target control parameter combination.
  • a parameter prediction model is used to predict the control parameter combination to be executed by the air conditioner in the future, and when there are multiple control parameter combinations, a parameter combination that satisfies the selection strategy is selected as the control parameter combination based on the combination selection strategy, which provides a prerequisite for how to select one of the control parameter combinations as the target control parameter in an embodiment.
  • the step S 330 further includes:
  • this embodiment in order to avoid the temperature oscillation phenomenon of the air conditioner due to the determined control parameter combination changing too much compared with the historical control parameter combination when the air conditioner is operating, therefore, this embodiment optimizes and smoothes the determined control parameter combination and the historical control parameter combination executed in the historical cycles of multiple air conditioners, and then uses the optimized and smoothed control parameters as the target control parameters.
  • the optimization smoothing method of the control parameter combination can be based on a preset parameter optimization strategy, according to the historical control parameter combinations and the control parameter combinations of multiple historical cycles, to determine the parameter optimization value corresponding to each control parameter combination in the current cycle as the target control parameter of the air conditioner.
  • the parameter optimization strategy may be arithmetic mean optimization, and the arithmetic mean optimization process has been described in detail in the above embodiment, which will not be repeated here.
  • the parameter optimization strategy may be weighted average optimization, and the weighted average optimization process has been described in detail in the above embodiment and will not be repeated here.
  • At least one acquired control parameter combination is optimized and smoothed with historical control parameter combinations in multiple cycles, and the control parameters in the optimized and smoothed control parameter combination are used as target control parameters, thereby avoiding the phenomenon of warm air oscillation in the air conditioner due to excessive difference in control parameter values between adjacent cycles when the air conditioner is executed according to the control parameter combination.
  • the computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium.
  • the program instructions are executed by at least one processor in the air conditioner to implement the process steps of the embodiment of the above method.
  • the present application further provides a computer-readable storage medium, which stores a program for controlling an air conditioner.
  • a program for controlling an air conditioner When the program for controlling the air conditioner is executed by a processor, the steps of the method for controlling the air conditioner described in the above embodiment are implemented.
  • the computer-readable storage medium may be a universal serial bus (USB) flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage medium that can store program codes.
  • USB universal serial bus
  • ROM read-only memory
  • magnetic disk magnetic disk
  • optical disk etc.
  • the storage medium provided in the embodiment of the present application is the storage medium used to implement the method of the embodiment of the present application, based on the method introduced in the embodiment of the present application, those skilled in the art can understand the specific structure and deformation of the storage medium, so it is not repeated here. All storage medium used in the method of the embodiment of the present application belong to the scope of protection of the present application.
  • the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer-usable program codes.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • any reference signs placed between brackets shall not be construed as limiting the claims.
  • the word “comprising” does not exclude the presence of components or steps not listed in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of a plurality of such components.
  • the present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware.
  • the use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

A method for controlling an air conditioner, an air conditioner and a computer-readable storage medium are provided. The method includes: obtaining at least two predicted control parameter combinations for a current cycle prediction of the air conditioner and obtaining a historical control parameter combination of the air conditioner from a previous cycle operation; determining a target control parameter combination for the air conditioner according to parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination; and controlling the air conditioner to operate according to the parameter values in the target control parameter combination.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation application of PCT International Patent Application No. PCT/CN2023/111096 filed on Aug. 3, 2023, which claims priority to and benefits of Chinese Patent Application Nos. 202211351676.6, 202211351702.5, both filed on Oct. 31, 2022, and 202211394510.2, filed on Nov. 8, 2022, the entire contents of each of which are incorporated herein by reference for all purposes. No new matter has been introduced.
  • FIELD
  • The present application relates to the field of air conditioner control, and in particular, to a method for controlling an air conditioner, an air conditioner, and a computer-readable storage medium.
  • BACKGROUND
  • During the operation of an air conditioner, due to sensor errors, control parameter hopping (compressor operating frequency, internal fan speed), etc., warm air oscillation may occur, causing user discomfort.
  • In relevant technical solutions, Genetic Algorithm (GA) based on Proportional Integral Derivative (PID) control theory and combined with Artificial Intelligence (AI) machine learning or deep learning is commonly used as the main control logic of the air conditioner. This approach enables refined control of internal parameters of the air conditioner, offering significant advantages in terms of energy efficiency and user comfort.
  • However, when sensor data collection errors occur in the air conditioner, substantial differences may arise between the predicted control parameters and the current control parameters of the air conditioner, potentially leading to oscillations in the air outlet temperature and airflow speed of the air conditioner, thus degrading the user experience. Additionally, this control method may cause frequent oscillations in internal control parameters of the air conditioner (e.g., compressor frequency exhibiting a wavy trend), which can impact the lifespan of related components such as the compressor and internal fan. Furthermore, when the control parameters change greatly, this control method may also cause the temperature and wind speed to oscillate, and degrading the user experience. Therefore, the current air conditioner has the problem of warm air oscillation.
  • The above content is provided solely to assist in understanding the technical solution of the present application and does not constitute an admission that the above content is prior art.
  • SUMMARY
  • The main objective of the present application is to provide a method for controlling an air conditioner, aiming to solve the problem of how to avoid warm air oscillation in the air conditioner.
  • In order to achieve the above objective, the present application provides a method for controlling an air conditioner, including:
      • obtaining at least two predicted control parameter combinations for a current cycle prediction of the air conditioner and obtaining a historical control parameter combination of the air conditioner from a previous cycle operation;
      • determining a target control parameter combination for the air conditioner according to parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination; and
      • controlling the air conditioner to operate according to the parameter values in the target control parameter combination.
  • In addition, to achieve the above objective, the present application further provides a method for controlling an air conditioner, including:
      • obtaining a control scheme predicted by the air conditioner in a current cycle and historical control parameters executed by the air conditioner in historical cycles, the control scheme includes at least one predicted control parameter;
      • determining a target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter, the target control parameter is obtained by smoothing the predicted control parameter according to the historical control parameter; and
      • controlling the air conditioner to operate according to the target control parameter.
  • In addition, to achieve the above objective, the present application further provides a method for controlling an air conditioner, including:
      • obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner;
      • determining environmental state optimization parameters of the current cycle of the air conditioner according to the historical environmental state parameters and the current environmental state parameters; and
      • controlling the air conditioner to operate according to the environmental state optimization parameters.
  • In addition, to achieve the above objective, the present application further provides an air conditioner, including a memory, at least one processor, and a program for controlling the air conditioner stored in the memory and executable on the processor, the program for controlling the air conditioner, when executed by the processor, implements the steps of the method for controlling air conditioner as described above.
  • In addition, to achieve the above objective, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a program for controlling an air conditioner, and when executed by a processor, the steps of the method for controlling air conditioner as described above are implemented.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 3 is a detailed flowchart of step S10 of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 4 is a detailed flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 5 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 6 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 7 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 8 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 9 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 10 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 11 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • FIG. 12 is a flowchart of the method for controlling an air conditioner according to an embodiment of the present application.
  • The realization of the purposes, functional features, and advantages of the present application will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
  • DETAILED DESCRIPTION OF EMBODIMENTS
  • During the operation of an air conditioner, due to sensor errors, control parameter hopping (compressor operating frequency, internal fan speed), etc., warm air oscillation may occur, causing user discomfort.
  • At present, almost all air-conditioning manufacturers use the Genetic Algorithm (GA) (piecewise function) under Proportional Integral Derivative (PID) control theory as the main control logic of the air conditioner; this method is based on certain experience or rules, and the control parameters are relatively stable/continuous.
  • In addition, some air conditioner manufacturers have begun to try to use AI machine learning/deep learning as the main control logic of the air conditioner. The control is more refined and has great advantages in energy saving and comfort, but the control parameters will also be more oscillatory (for example: compressor frequency exhibiting a wavy trend).
  • The present application uses the predicted control parameter combination with the greatest similarity between the historical control parameter combination and the predicted control parameter combination executed by the air conditioner in the previous cycle as the target control parameter combination, so that the parameter changes between different cycles of the air conditioner are relatively small, thereby keeping the warm air relatively stable.
  • In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
  • As an implementation solution, FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present application.
  • As shown in FIG. 1 , the air conditioner may include: a processor 1001, such as a central processing unit (CPU), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display, an input unit such as a keyboard, and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a Wireless-Fidelity interface). The memory 1005 may be a high-speed random access memory (RAM), or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • Those skilled in the art will appreciate that the air conditioner structure shown in FIG. 1 does not limit the air conditioner and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
  • As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module and a program for controlling the air conditioner. The operating system is a program for managing and controlling the hardware and software resources of the air conditioner, based on the operation of the program for controlling the air conditioner and other software or programs.
  • In the structure shown in FIG. 1 , the user interface 1003 is mainly used to connect to the terminal and communicate data with the terminal; the network interface 1004 is mainly used for the background server and communicates data with the background server; the processor 1001 can be used to call the program for controlling the air conditioner stored in the memory 1005.
  • In an embodiment, the air conditioner includes: a memory 1005, a processor 1001, and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining at least two predicted control parameter combinations for a current cycle prediction of the air conditioner and obtaining a historical control parameter combination of the air conditioner from a previous cycle operation;
      • determining a target control parameter combination for the air conditioner according to parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination; and
      • controlling the air conditioner to operate according to the parameter values in the target control parameter combination.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • normalizing the parameters in the predicted control parameter combinations and the historical control parameter combination to obtain normalized values of each control parameter in the predicted control parameter combinations and the historical control parameter combination;
      • calculating the parameter similarity between the normalized values of the predicted control parameter combinations and the historical control parameter combination; and
      • determining the predicted control parameter combination corresponding to a largest parameter similarity as a target control parameter combination.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining a relative numerical value between the normalized values of the predicted control parameter combinations and the historical control parameter combination based on a preset similarity calculation strategy, the similarity calculation strategy includes Manhattan distance calculation, Euclidean distance calculation, and cosine distance calculation; and
      • determining the parameter similarity based on the relative numerical value, the relative numerical value and the parameter similarity are negatively correlated.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, the control parameter combination includes at least two predicted control parameters.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the temperature model, and predicting an indoor temperature change corresponding to the control parameter combination; determining a control parameter combination that satisfies a target indoor temperature according to the indoor temperature change and using the control parameter combination that satisfies the target indoor temperature as the control parameter combination of the air conditioner that satisfies the temperature model; or
      • determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the wind speed model, and predicting a target speed corresponding to the control parameter combination; determining a control parameter combination that satisfies the target speed and using the control parameter combination that satisfies the target speed as the control parameter combination of the air conditioner that satisfies the wind speed model; or
      • determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the heating and cooling rate model, and predicting a temperature change rate corresponding to the control parameter combination; determining a control parameter combination that satisfies the temperature change rate and using the control parameter combination that satisfies the temperature change rate as the control parameter combination of the air conditioner that satisfies the heating and cooling rate model.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • recording a controllable operating parameter and an uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical indoor temperature change after each operating cycle of the air conditioner; performing training according to recorded historical operating data of the air conditioner to generate a first mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical indoor temperature change to predict the indoor temperature change based on the first mapping relationship; or
      • recording the controllable operating parameter and the uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a second mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical internal fan speed to predict the target speed of the internal fan based on the second mapping relationship; or
      • recording the controllable operating parameters and uncontrollable operating parameters in each operating cycle of the air conditioner, and a historical compressor frequency and the historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a third mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, the historical compressor frequency, and the historical internal fan speed to predict the temperature change rate based on the third mapping relationship.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined by a plurality of historical cycles of the air conditioner; and
      • determining environmental state optimization parameters of the current cycle of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine a plurality of predicted control parameter combinations according to the operating state parameters of the current cycle and the environmental state optimization parameters.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining historical control parameter combinations executed in a plurality of historical cycles of the air conditioner and obtaining a predicted control parameter combination with the greatest similarity to the historical control parameter combination from a previous cycle; and
      • determining the target control parameter combination according to the plurality of historical control parameter combinations and the predicted control parameter combination with the greatest similarity.
  • According to the hardware architecture of the air conditioner based on the above-mentioned air conditioning control technology, an embodiment of the method for controlling the air conditioner of the present application is provided.
  • As shown in FIG. 2 , in an embodiment, the method for controlling the air conditioner includes the following steps:
      • step S10, obtaining a control scheme predicted by the air conditioner in a current cycle and historical control parameters executed by the air conditioner in historical cycles, the control scheme includes at least one predicted control parameter.
  • In an embodiment, at least two predicted control parameter combinations output by the main control logic module in the air conditioner in the current cycle are first obtained. The predicted control parameter combination is characterized as controllable operating parameters of the air conditioner that satisfy certain air conditioning parameter adjustment strategies, and the historical control parameter combination is characterized as controllable operating parameters executed by the air conditioner in the previous cycle.
  • Controllable operating parameters can be characterized as the controllable operating parameters of the air conditioner itself, such as the internal fan speed, external fan speed, and compressor frequency, etc. In addition, relatively speaking, uncontrollable operating parameters are characterized as the parameters that cannot be controlled by the air conditioner itself, such as indoor and outdoor temperature, indoor and outdoor humidity, exhaust valve temperature, and other environmental parameters that affect the operation of the air conditioner but cannot be set, or user-set parameters such as target temperature and set target wind speed.
  • The air conditioning parameter adjustment strategy is characterized as a strategy for adjusting the controllable operating parameters inside the air conditioner according to certain user needs.
  • It should be noted that the predicted control parameter combination is not the control parameter combination that the air conditioner is currently operating, but the control parameter combination that the air conditioner will operate in the next cycle, where the next cycle can be understood as the end of the current cycle or the beginning of the next cycle.
  • Step S20, determining a target control parameter combination for the air conditioner according to parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination.
  • In an embodiment, after obtaining at least two prediction control parameter combinations and the historical control parameter combinations of the air conditioner operation in the previous cycle, in order to avoid the predicted control parameter combinations being determined to have too large a change compared to the historical control parameter combinations during the operation of the air conditioner, which may cause the air conditioner to experience a warm air oscillation phenomenon, the parameter similarity between each prediction control parameter combination and the historical control parameter combination is determined, and appropriate parameters are selected from each prediction control parameter combination as the target control parameter combination according to the parameter similarity.
  • In an embodiment, the target control parameter combination may be determined by selecting a predicted control parameter combination having the largest parameter similarity with the historical control parameter combination as the target control parameter combination.
  • Specifically, firstly, the predicted control parameter combination and the historical control parameter combination are normalized to obtain the normalized value of each control parameter combination, then the parameter similarity between the normalized values of the predicted control parameter combination and the historical control parameter combination is calculated, and the one with the largest parameter similarity is selected as the target control parameter combination.
  • Specifically, according to the method of calculating the similarity of the adopted numbers based on the normalized values, the relative numerical size between the normalized values of the predicted control parameter combination and the historical control parameter combination can be calculated by using similarity calculation strategies such as Manhattan distance calculation, Euclidean distance calculation or cosine distance calculation. Then the parameter similarity is determined based on the relative numerical size, and the larger the relative numerical value, the lower the parameter similarity.
  • Exemplarily, the prediction control parameter combination is set to include the compressor frequency P and the internal fan speed W. The three prediction control parameter combinations obtained are CR1=(P1=56, W1=45), CR2=(P2=60, W2=55), CR3=(P3=58, W3=58) and the historical control parameter combination CR0=(P0=63 Hz, W0=56) of the air conditioner operation in the previous historical cycle. The above prediction control parameter combination and historical control parameter combination are normalized respectively. For the operating frequency, “operating frequency/maximum operating frequency” is the normalized value; for the internal fan speed, “fan speed/maximum fan speed” is the normalized value. The normalized value of the compressor frequency of CR1 is H1=56/130=0.43, and the normalized value of the internal fan speed is Z1=45/100=0.45. The normalized value of the compressor frequency of CR2 is H2=60/130=0.46, and the normalized value of the internal fan speed is Z2=55/100=0.55. The normalized value of the compressor frequency of CR3 is H3=58/130=0.45, and the normalized value of the internal fan speed is Z3=58/100=0.58. The normalized value of the compressor frequency of CR0 is H0=63/130=0.48, and the normalized value of the internal fan speed is Z0=56/100=0.56.
  • Next, the normalized values of the predicted control parameter combinations in CR1 to CR3 are compared with the normalized values of the historical control parameter combinations in CR0. Manhattan distance, Euclidean distance or cosine distance can be used for calculation, where the shorter the distance, the higher the similarity.
  • Exemplarily, in an embodiment, Manhattan distance is used to calculate relative numerical values.
      • Manhattan distance between CR1 and CR0=10.48−0.43|+|0.56−0.45|=0.16;
      • Manhattan distance between CR2 and CR0=10.48−0.46|+|0.56−0.55|=0.03;
      • Manhattan distance between CR3 and CR0=10.48−0.45|+|0.56−0.58|=0.05;
  • Obviously, the Manhattan distance between CR2 and CR0 is the shortest, so CR2 is selected as the target control parameter combination with the highest similarity to the historical control parameter combination of the previous cycle.
  • Exemplarily, in an embodiment, Euclidean distance is used to calculate relative numerical values.
      • the Euclidean distance between CR1 and CR0=(|0.48−0.43 {circumflex over ( )}2+10.56−0.45 {circumflex over ( )}2){circumflex over ( )}0.5=0.12;
      • the Euclidean distance between CR2 and CR0=(0.48−0.46|{circumflex over ( )}2+10.56−0.55| {circumflex over ( )}2){circumflex over ( )}0.5=0.02;
      • the Euclidean distance between CR3 and CR0=(|0.48−0.45 {circumflex over ( )}2+10.56−0.58|{circumflex over ( )}2){circumflex over ( )}0.5=0.04;
  • Obviously, the Euclidean distance between CR2 and CR0 is the shortest, so CR2 is selected as the target control parameter combination with the highest similarity to the historical control parameter combination of the previous cycle.
  • Exemplarily, in an embodiment, cosine distance is used to calculate the relative numerical size.
  • Cosine distance between CR1 and CR0:
  • cos ( CR 1 , CR 0 ) = C R 1 × C R 0 "\[LeftBracketingBar]" CR 1 "\[RightBracketingBar]" · "\[LeftBracketingBar]" CR 0 "\[RightBracketingBar]" 0 . 3 3
  • Cosine distance between CR2 and CR0 is:
  • cos ( CR 2 , CR 0 ) = CR 2 × CR 0 "\[LeftBracketingBar]" "\[LeftBracketingBar]" CR 1 "\[RightBracketingBar]" · "\[LeftBracketingBar]" CR 0 "\[RightBracketingBar]" "\[RightBracketingBar]" = 0.07
  • Cosine distance between CR3 and CR0 is:
  • cos ( CR 3 , CR 0 ) = CR 3 × CR 0 "\[LeftBracketingBar]" "\[LeftBracketingBar]" CR 1 "\[RightBracketingBar]" · "\[LeftBracketingBar]" CR 0 "\[RightBracketingBar]" "\[RightBracketingBar]" = 0.12
  • Obviously, the Euclidean distance between CR2 and CR0 is the shortest, so CR2 is selected as the target control parameter combination with the highest similarity to the historical control parameter combination of the previous cycle.
  • Step S30, controlling the air conditioner to operate according to the parameter values in the target control parameter combination.
  • In an embodiment, after the target control parameter combination is determined, the air conditioner is controlled to operate according to the parameter values in the target control parameter combination.
  • Exemplarily, assuming that the determined target control parameter combination is the corresponding parameter in CR2, CR2=(P2=60, W2=55), then the compressor frequency of the air conditioner is controlled to operate at 60 Hz, and the internal fan speed of the air conditioner is controlled to operate at 55 rpm.
  • In an embodiment, when multiple prediction control parameter combinations are obtained, the historical control parameter combinations of the air conditioner in the previous cycle are obtained, and the target control parameter combination finally executed by the air conditioner is determined according to the parameter similarity between the prediction control parameter combination and the historical control parameter combination. By selecting the one of the prediction control parameter combinations that is closest to the value of the historical control parameter combination in the previous cycle as the target control parameter combination, the phenomenon of warm air oscillation of the air conditioner is avoided due to the large difference in the control parameter combination values between adjacent cycles when the air conditioner is executed according to the prediction control parameter combination.
  • As shown in FIG. 3 , in an embodiment, the obtaining the at least two predicted control parameter combinations for the current cycle prediction of the air conditioner includes:
      • step S11, determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, the control parameter combination includes at least two predicted control parameters.
  • In an embodiment, the predicted control parameter combination may be determined by using a parameter prediction model to determine the control parameter combination of the air conditioner, and each control parameter combination includes at least two predicted control parameter combinations.
  • As shown in FIG. 4 , the step S11 includes:
      • step S111, determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the temperature model, and predicting an indoor temperature change corresponding to the control parameter combination; determining a control parameter combination that satisfies a target indoor temperature according to the indoor temperature change and using the control parameter combination that satisfies the target indoor temperature as the control parameter combination of the air conditioner that satisfies the temperature model.
  • Specifically, the parameter prediction model may include a temperature model. The temperature model is characterized as predicting the future indoor temperature change in the room where the air conditioner is located. The air conditioner determines the control parameter combination composed of each parameter value of each predicted control parameter through the temperature model, and predicts the indoor temperature change corresponding to the control parameter combination, and determines the control parameter combination that satisfies the target indoor temperature according to the indoor temperature change, and uses it as the control parameter combination of the air conditioner that satisfies the temperature model.
  • Exemplarily, when the controllable operating parameters include the indoor fan speed, the outdoor fan speed and the compressor operating frequency, when the speed value of the indoor fan speed is 750 rpm, the speed value of the outdoor fan speed is 800 rpm, and the frequency value of the compressor operating frequency is 50 Hz, when the air conditioner is operated according to the parameter combination of (750 rpm, 800 rpm, 50 Hz), the predicted indoor temperature change of the air conditioner is ΔT1. When the speed value of the internal fan speed is 800 rpm, the speed value of the external fan speed is 900 rpm, and the frequency value of the compressor operating frequency is 40 Hz, when the air conditioner is operated according to the parameter combination of (800 rpm, 900 rpm, 40 Hz), the predicted indoor temperature change of the air conditioner is ΔT2. Similarly, since each parameter combination and the pre-established mapping relationship between each parameter combination and the indoor temperature change are also determined, when the air conditioner is operated according to the parameter combination, the indoor temperature change corresponding to the parameter combination can be determined through the above mapping relationship, that is, the indoor temperature change corresponding to the operation of the air conditioner according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters can be determined. When it is determined that the temperature change corresponding to the target indoor temperature is ΔT2, the parameter combination (800 rpm, 900 rpm, 40 Hz) corresponding to ΔT2 is used as the prediction parameter combination.
  • In an embodiment, the method for predicting the indoor temperature change corresponding to the control parameter combination can be: recording a controllable operating parameter and an uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical indoor temperature change after each operating cycle of the air conditioner; performing training according to recorded historical operating data of the air conditioner to generate a first mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical indoor temperature change to predict the indoor temperature change based on the first mapping relationship.
  • For example, in an embodiment, the temperature model can predict the indoor temperature change ΔTin=Tin(N+1)−Tin(N) between the next cycle and the current cycle under various characteristic conditions. The temperature change expectation model training process mainly includes the following parts:
  • a. collecting the operation data of the air conditioner at every preset cycle T (e.g., 30 seconds). The operation data of the air conditioner includes: parameter values corresponding to controllable operation parameters and parameter values corresponding to uncontrollable operation parameters. The uncontrollable operation parameters include operation state parameters and user-set parameters. Specifically, the operation state parameters include environmental state parameters and air conditioner operation state parameters. For example, the environmental state parameters include indoor temperature Tin, outdoor temperature Tout, indoor humidity Hin, and outdoor humidity Hout, etc. The air conditioner operation state parameters include exhaust valve temperature Tp, etc. The user-set parameters are parameters actively set by the user, and the user-set parameters include: set temperature Ts, set wind speed Ws, etc.
  • For example, the air conditioner operates for a total of 30 minutes, including 60 cycles (30 seconds per cycle); and the operating state parameters, user-set parameters and controllable operating parameters of each cycle are collected, such as: in the 5th cycle, Tin=27.6, Tout=34.3, Hin=62, Hout=65, Tp=45, Ts=24, Ws=60.
  • b. for cycle i, extracting the characteristics of the cycle.
  • The operating state parameters, user-set parameters and controllable operating parameters of cycle i are used as the characteristics of cycle i. In addition, the statistical variables of cycles 1 to i need to be introduced as the characteristics of cycle i. Cycle 1 represents the first T after power-on, and cycle i represents the i-th T after power-on.
  • For example, for the 5th cycle (i.e., 120-150 seconds after power-on), Tin=27.6, Tout=34.3, Hin=62, Hout=65, Tp=45, Ts=24, and Ws=60 are used as the characteristics of cycle 5; within cycles 1-5, statistics such as avg(Tin)=28.3 and max(Pr)=46 are also used as the characteristics of cycle 5.
      • c. taking the characteristics of cycle i as the independent variable and the indoor temperature change ΔTin between cycle i+1 and cycle i as the dependent variable to train the temperature change expectation model. Each cycle, as a training data, includes independent variables and dependent variables. The independent variables are all the characteristics of the cycle. The dependent variable is the indoor temperature change ΔTin=Tin(N+1)−Tin(N) between the next cycle and the cycle.
  • For example, for the 5th cycle (i.e., 120-150 seconds after power-on), Tin5=27.6, Tout5=34.3, Hin5=62, Hout5=65, Tp5=45, Ts5=24, Ws5=60, avg(Tin5)=28.3, max(Pr5)=46 are used as the independent variables of cycle 5, and Tin6−Tin5 are used as the dependent variables of cycle 5. The temperature model (i.e., the first mapping relationship between controllable operating parameters, uncontrollable operating parameters and historical indoor temperature changes) is trained using machine learning/deep learning algorithms:

  • y iTini)=f i(Tin,Tout,Hin,Hout,Tp . . . )
  • Similarly, as shown in FIG. 4 , the step S11 includes:
      • step S112, determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the wind speed model, and predicting a target speed corresponding to the control parameter combination; determining a control parameter combination that satisfies the target speed and using the control parameter combination that satisfies the target speed as the control parameter combination of the air conditioner that satisfies the wind speed model.
  • Specifically, the parameter prediction model may include the wind speed model. The wind speed model is characterized as predicting the air outlet wind speed of the air conditioner that the user hopes to achieve.
  • Exemplarily, when the controllable operating parameters include the internal fan speed and the compressor operating frequency, when the speed value of the internal fan speed is 750 rpm and the frequency value of the compressor operating frequency is 50 Hz, when the air conditioner is operated according to the parameter combination of (750 rpm, 50 Hz), the predicted air outlet wind speed of the air conditioner is V1. When the speed value of the internal fan speed is 800 rpm and the frequency value of the compressor operating frequency is 40 Hz, when the air conditioner is operated according to the parameter combination of (800 rpm, 40 Hz), the predicted air outlet wind speed of the air conditioner is V2. Similarly, each parameter combination, and the pre-established mapping relationship between each parameter combination and the air outlet wind speed are also determined. Therefore, when the air conditioner is operated according to the parameter combination, the air outlet wind speed corresponding to the parameter combination can be determined through the above mapping relationship, that is, the corresponding air outlet wind speed when the air conditioner is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters is determined. When it is determined that the air outlet speed corresponding to the target indoor temperature is V2, the parameter combination corresponding to V2 (800 rpm, 40 Hz) is used as the prediction parameter combination.
  • In an embodiment, a method for predicting the target speed corresponding to the control parameter combination may be: recording the controllable operating parameter and the uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a second mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical internal fan speed to predict the target speed of the internal fan based on the second mapping relationship.
  • For the specific determination process, please refer to the above-mentioned temperature model determination embodiment. The difference is that the predicted parameter is changed from the indoor temperature change to the internal fan speed of the air conditioner, which will not be repeated here.
  • Similarly, as shown in FIG. 4 , the step S11 includes:
      • step S113, determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the heating and cooling rate model, and predicting a temperature change rate corresponding to the control parameter combination; determining a control parameter combination that satisfies the temperature change rate and using the control parameter combination that satisfies the temperature change rate as the control parameter combination of the air conditioner that satisfies the heating and cooling rate model.
  • Specifically, the parameter prediction model may include a heating and cooling rate model. The heating and cooling rate model is characterized as predicting the heating speed/cooling speed of the air conditioner desired by the user.
  • Exemplarily, when the controllable operating parameters include the internal fan speed and the compressor operating frequency, when the speed value of the internal fan speed is 750 rpm and the frequency value of the compressor operating frequency is 50 Hz, when the air conditioner is operated according to the parameter combination of (750 rpm, 50 Hz), the predicted heating rate/cooling rate of the air conditioner is ΔV1. When the speed value of the internal fan speed is 800 rpm and the frequency value of the compressor operating frequency is 40 Hz, when the air conditioner is operated according to the parameter combination of (800 rpm, 40 Hz), the predicted air outlet speed of the air conditioner is ΔV2. Similarly, each parameter combination, and the pre-established mapping relationship between each parameter combination and the heating rate/cooling rate are also determined. Therefore, when the air conditioner is operated according to the parameter combination, the heating rate/cooling rate corresponding to the parameter combination can be determined through the above mapping relationship, that is, the corresponding heating rate/cooling rate when the air conditioner is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters is determined. When it is determined that the heating rate/cooling rate corresponding to the target indoor temperature is ΔV2, the parameter combination corresponding to ΔV2 (800 rpm, 40 Hz) is used as the prediction parameter combination.
  • In an embodiment, predicting the temperature change rate corresponding to the control parameter combination can be: recording the controllable operating parameters and uncontrollable operating parameters in each operating cycle of the air conditioner, and a historical compressor frequency and the historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a third mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, the historical compressor frequency, and the historical internal fan speed to predict the temperature change rate based on the third mapping relationship.
  • For the specific determination process, please refer to the above-mentioned temperature model determination embodiment. The difference is that the predicted parameters are changed from the indoor temperature change to the internal fan speed and compressor frequency of the air conditioner, which will not be repeated here.
  • In an embodiment, a parameter prediction model is used to predict multiple predicted control parameter combinations that will be executed by the air conditioner in the future, which provides a prerequisite for how to select one of the predicted control parameter combinations as the target control parameter combination in an embodiment. On the basis of one embodiment and combined with the technical solution in this embodiment, the effect of avoiding the air conditioner from experiencing warm air oscillation due to excessive differences in control parameter combination values between adjacent cycles when the air conditioner is executed according to the predicted control parameter combination is achieved.
  • As shown in FIG. 5 , in an embodiment, before step S10, the method further includes:
      • step S40, obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined by a plurality of historical cycles of the air conditioner;
      • step S50, determining environmental state optimization parameters of the current cycle of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine a plurality of predicted control parameter combinations according to the operating state parameters of the current cycle and the environmental state optimization parameters.
  • In an embodiment, in order to avoid temperature oscillation of the air conditioner, the input side in the main control logic module of the air conditioner may be smoothed, and the parameters of the input side include environmental state parameters and operating state parameters.
  • In an embodiment, the environmental state parameters may include: indoor temperature, outdoor temperature, indoor humidity, outdoor humidity, and PM2.5. The operating state parameters may include: compressor operating frequency, operating power, operating current, and operating voltage.
  • In an embodiment, optimization is performed based on the collected environmental state parameters, and the environmental state optimization parameters of the current cycle of the air conditioner are determined according to the current environmental state parameters collected in the current cycle of the air conditioner and the historical environmental state parameters determined in multiple historical cycles, so as to determine multiple prediction control parameter combinations according to the operating state parameters of the current cycle and the environmental state optimization parameters.
  • In an embodiment, the current environment state parameter and the historical environment state parameter may be averaged.
  • Exemplarily, the environmental state parameters include indoor temperature T1 and outdoor temperature T4, the current environmental state parameter C0_x of the current cycle collected is (T1=26° C., T4=35.8° C.), and then the historical environmental state parameters C1, C2, and C3 determined in three historical cycles are obtained:
  • C 1 = ( T 1 = 27. ° C . , T 4 = 36. ° C . ) ; C 2 = ( T 1 = 26.5 ° C . , T 4 = 36. ° C . ) ; C 3 = ( T 1 = 26.2 ° C . , T 4 = 35.8 ° C . ) .
  • The average T1 value of the above 4 combinations is calculated=27.0+26.5+26.2+26.0)/4=26.4, and the average T4 value=26.0+36.0+35.8+35.8)/4=35.9.
  • Therefore, the optimized environmental state optimization parameter C0_y=(T1=26.3, T4=35.9) is obtained. C0_y is used as the input side data of the main control logic of the air conditioner, so that the main control logic of the air conditioner outputs the predicted control parameter combination.
  • In an embodiment, by optimizing the parameters at the input side of the main control logic of the air conditioner, on the one hand, oscillation of the output prediction control parameter combination due to errors in the air conditioner's sensors is avoided; on the other hand, when the temperature of the environment in which the air conditioner is located changes suddenly, the predicted control parameter combination output by the air conditioner is greatly different from the control parameter combination between the air conditioners, which causes the occurrence of temperature and wind shock.
  • As shown in FIG. 6 , in an embodiment, the method for controlling an air conditioner further includes:
      • step S101, obtaining historical control parameter combinations executed in a plurality of historical cycles of the air conditioner and obtaining a predicted control parameter combination with the greatest similarity to the historical control parameter combination from a previous cycle;
      • step S102, determining the target control parameter combination according to the plurality of historical control parameter combinations and the predicted control parameter combination with the greatest similarity;
      • step S103, controlling the air conditioner to operate according to the target control parameter combination.
  • In an embodiment, in order to avoid the occurrence of warm air oscillation, the predicted control parameter combination with the greatest similarity determined can be further optimized and smoothed with the historical control parameter combination executed in the historical cycles of multiple air conditioners, and the optimized and smoothed control parameter combination can be used as the target control parameter combination to enable the air conditioner to operate according to the target control parameter combination.
  • In an embodiment, the optimization smoothing method may be to average the prediction control parameter combination with the greatest similarity (hereinafter referred to as the most similar prediction control parameter combination) and the historical control parameter combinations of multiple historical cycles.
  • Exemplarily, the predicted control parameter combination includes the compressor frequency P and the internal fan speed W. Assuming that the most likely predicted control parameter combination is C0_x=(P0=60, W0=60), three historical control parameter combinations C1, C2, and C3 are obtained:
  • C 1 = ( P 1 = 65 , W 1 = 65 ) ; C 2 = ( P 2 = 67 , W 2 = 70 ) ; C 3 = ( P 3 = 70 , W 3 = 75 ) ;
      • the average compressor frequency of the above 4 combinations are calculated, P=(60+65+67+70)/4=66, W=(60+65+70+75)/4=68.
  • Therefore, the optimized target control parameter combination C0_y=(P=66, W=68) is obtained, and the air conditioner is controlled to operate at a compressor frequency of 66 Hz and an internal fan speed of 68 rpm.
  • In an embodiment, the predicted control parameter combination with the greatest similarity is further optimized and smoothed with the historical control parameter combination executed in the historical cycles of multiple air conditioners, and the optimized and smoothed control parameter combination is used as the target control parameter combination, so that the air conditioner operates according to the target control parameter combination, thereby achieving the effect of avoiding the occurrence of warm air oscillation.
  • The present application also performs smoothing between at least one predicted control parameter determined and historical control parameters executed in multiple historical cycles of the air conditioners, and then uses the smoothed control parameters as target control parameters so that the air conditioner operates according to the target control parameters, thereby achieving the effect of avoiding the occurrence of warm air oscillation.
  • In an embodiment, the air conditioner includes: a memory 1005, a processor 1001, and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining a control scheme predicted by the air conditioner in a current cycle and historical control parameters executed by the air conditioner in historical cycles, the control scheme includes at least one predicted control parameter;
      • determining a target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter, the target control parameter is obtained by smoothing the predicted control parameter according to the historical control parameter; and
      • controlling the air conditioner to operate according to the target control parameter.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining, based on a preset smoothing strategy, a target control parameter of the air conditioner according to the historical control parameters and the predicted control parameters of one or more historical cycles.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • calculating an average value of one or more historical control parameters and each predicted control parameter as the target control parameter corresponding to the each predicted control parameter.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining a parameter value corresponding to the predicted control parameter in the historical control parameters;
      • determining a weight value of the obtained parameter value; and performing a weighted calculation on the obtained parameter value according to the determined weight value to obtain the target control parameter of the air conditioner.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, the control parameter combination includes at least two control parameters;
      • in response to that at least two control parameter combinations are determined, determining a control parameter combination that satisfies a preset combination selection strategy in the control parameter combinations as the control scheme.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining, based on the temperature model, a control scheme formed by each parameter value of the predicted control parameter of the air conditioner, and predicting an indoor temperature change corresponding to the control parameter combination; determining a control parameter combination that satisfies the target indoor temperature according to the indoor temperature change and using the control parameter combination that satisfies the target indoor temperature as the control parameter combination; or
      • determining, based on the wind speed model, a control parameter combination formed by each parameter value of the predicted control parameter of the air conditioner and predicting a target speed corresponding to the control parameter combination; determining a control parameter combination that satisfies the target speed and using the control parameter combination that satisfies the target speed as the control parameter combination; or
      • determining, based on the heating and cooling rate model, a control parameter combination formed by each parameter value of the predicted control parameter of the air conditioner and predicting a temperature change rate corresponding to the control parameter combination; determining a control parameter combination that satisfies the temperature change rate and using the control parameter combination that satisfies the temperature change rate as the control parameter combination.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • calculating an energy efficiency ratio corresponding to the control parameter combination and determining the control parameter combination corresponding to a highest energy efficiency ratio as the control scheme; or
      • obtaining a comfort value corresponding to an operation of the air conditioner according to each control parameter combination, and determining the control parameter combination whose comfort value is closest to a preset comfort value as the control scheme; or
      • obtaining a health value corresponding to the operation of the air conditioner according to each control parameter combination, and determining the control parameter combination whose health value is closest to a preset health value as the control scheme.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining current environmental state parameters collected in a current cycle of the air conditioner and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner; and
      • determining environmental state optimization parameters corresponding to the environmental state parameters of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine the control scheme according to the operating state parameters of the current cycle and the environmental state optimization parameters.
  • Based on the hardware architecture of the air conditioner based on the above-mentioned air conditioner control technology, another embodiment of the method for controlling the air conditioner of the present application is provided.
  • As shown in FIG. 7 , in an embodiment, the method for controlling the air conditioner includes the following steps:
      • step S210, obtaining a control scheme predicted by the air conditioner in a current cycle and historical control parameters executed by the air conditioner in historical cycles, the control scheme includes at least one predicted control parameter.
  • In an embodiment, a control scheme output by a main control logic module in an air conditioner in a current cycle is first obtained, and the control scheme includes at least one predicted control parameter. The predicted control parameter is characterized as an optimal predicted control parameter selected based on a preset selection strategy from the controllable operating parameters predicted by multiple air conditioners in the next cycle. The historical control parameter is characterized as the controllable operating parameter executed by the air conditioner in the previous cycle.
  • Controllable operating parameters are characterized as the controllable operating parameters of the air conditioner itself, such as the internal fan speed, external fan speed, and compressor frequency, etc. In addition, relatively speaking, uncontrollable operating parameters are characterized as the parameters that the air conditioner itself cannot control, such as indoor and outdoor temperature, indoor and outdoor humidity, exhaust valve temperature, and other environmental parameters that affect the operation of the air conditioner but cannot be set, or user-set parameters such as target temperature and set target wind speed.
  • It should be noted that the predicted control parameter is not the control parameter of the air conditioner currently operating, but the control parameter that the air conditioner will operate in the next cycle, the next cycle can be understood as the end of the current cycle or the beginning of the next cycle.
  • Step S220, determining a target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter, the target control parameter is obtained by smoothing the predicted control parameter according to the historical control parameter.
  • In an embodiment, after obtaining at least one predicted control parameter and multiple historical control parameters, in order to avoid the determined predicted control parameters having too large a change compared to the historical control parameters during the operation of the air conditioner, which may cause warm air oscillation in the air conditioner, this embodiment smoothes the determined predicted control parameters and the historical control parameters executed in multiple historical cycles of the air conditioners, and then uses the smoothed control parameters as the target control parameters.
  • In an embodiment, the smoothing method of the target control parameter can be based on a preset smoothing strategy, according to the historical control parameters and the predicted control parameters of multiple historical cycles, to determine the parameter optimization value corresponding to each of the predicted control parameters in the current cycle as the target control parameter of the air conditioner.
  • Specifically, the smoothing strategy may be arithmetic average optimization, which averages the prediction control function and historical control parameters of multiple historical cycles, and uses the average value as the parameter optimization value corresponding to each prediction control parameter.
  • Exemplarily, in an embodiment, the predicted control parameters include the compressor frequency P and the internal fan speed W. The above arithmetic mean optimization process is the same as the parameter averaging process in the optimization smoothing method of one embodiment, and will not be repeated here.
  • Therefore, the parameter optimization value C0_y=(P=66, W=68) can be obtained, and the air conditioner is controlled to operate at a compressor frequency of 66 Hz and an internal fan speed of 68 rpm.
  • Specifically, the smoothing strategy can be weighted average optimization, which obtains the parameter value corresponding to the predicted control parameter in the historical control data, then determines the weight value of the obtained parameter value, and performs weighted calculation on the obtained parameter value based on the determined weight value, so as to obtain the parameter optimization value corresponding to the predicted control parameter.
  • Exemplarily, in an embodiment, the predicted control parameters include the compressor frequency P and the internal fan speed W. Assuming that the predicted control parameters are C0_x=(P0=60, W0=60), the historical control parameters C1, C2, and C3 of three cycles are obtained:
  • C 1 = ( P 1 = 65 , W 1 = 65 ) ; C 2 = ( P 2 = 67 , W 2 = 70 ) ; C 3 = ( P 3 = 70 , W 3 = 7 5 ) .
  • The weight value corresponding to the C1 cycle is 0.3, the weight value corresponding to the C2 cycle is 0.2, the weight value corresponding to the C3 cycle is 0.1, and the weight value corresponding to the current cycle is 0.4.
  • The compressor frequencies of the above four combinations are weightedly calculated, and the obtained compressor frequency optimization value Py=70*0.1+67*0.2+65*0.3+60*0.4=64, and the obtained internal fan speed optimization value Wy=75*0.1+70*0.2+65*0.3+60*0.4=65.
  • Therefore, the parameter optimization value C0_y=(P=64, W=65) is obtained, and the air conditioner is controlled to operate at a compressor frequency of 64 Hz and an internal fan speed of 65 rpm.
  • Step S230, controlling the air conditioner to operate according to the target control parameter.
  • In an embodiment, after the target control parameter is determined, the air conditioner is controlled to operate according to the target control parameter.
  • In an embodiment, at least one acquired predicted control parameter is smoothed with historical control parameters in multiple cycles, and the smoothed control parameter is used as the target control parameter, thereby avoiding the phenomenon of warm air oscillation in the air conditioner due to excessive difference in control parameter values between adjacent cycles when the air conditioner is executed according to the predicted control parameter.
  • As shown in FIG. 8 , in an embodiment, the step of obtaining at least one prediction control parameter of the current cycle prediction of the air conditioner includes the following steps:
      • step S211, determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, the control parameter combination includes at least two control parameters;
      • step S212: in response to that at least two control parameter combinations are determined, determining a control parameter combination that satisfies a preset combination selection strategy in the control parameter combinations as the control scheme.
  • In an embodiment, the control scheme can be determined by determining a control parameter combination of the air conditioner through a parameter prediction model, each control parameter combination includes at least two control parameters. Furthermore, when at least two control parameter combinations that satisfy the parameter prediction model are determined, a control parameter combination that satisfies the strategy is selected through a combination selection strategy as the control scheme.
  • Specifically, the parameter prediction model may include a temperature model, a wind speed model, and a heating and cooling rate model, which have been described in detail in an embodiment and will not be repeated here.
  • Furthermore, the combined selection strategy can be an energy-saving strategy, a comfort strategy, and a health strategy.
  • Specifically, the energy-saving strategy is characterized as selecting a combination with the highest energy efficiency ratio among various control parameter combinations as a control scheme.
  • Specifically, the comfort strategy is characterized as selecting a control parameter combination whose comfort value corresponding to each control parameter combination is closest to a preset comfort value as a control scheme.
  • For example, in an embodiment, in order to ensure the comfort level of a human body when the air conditioner is operating, the target operating parameter combination can be determined by a comfort value, which is a quantitative value representing the comfort level of a human body in an environment under the air conditioner. The preset comfort value can be the theoretically most comfortable value of the temperature, relative humidity, and wind speed in the environment for a human body.
  • In an embodiment, the comfort value determination parameters may be determined by temperature, relative humidity and/or the air outlet speed of the air conditioner.
  • Exemplarily, the predicted control parameters include the internal fan speed, the external fan speed and the compressor frequency. The temperature T0 when the human body is in a relatively comfortable state is set to 24° C., the relative humidity RH0 is set to 30%, and the air outlet speed V0 is set to 0.2 m/S. Under the aforementioned temperature T0, relative humidity RH0 and air outlet speed V0, the preset comfort value is 0, that is, the optimal comfort value. If the comfort value determined in the subsequent parameter combination is greater than 0, it means that under this parameter combination, the user will feel hotter, and if it is less than 0, it means that under this parameter combination, the user will feel colder.
  • Then, the parameter combination of the air conditioner at the preset comfort value is used as the reference parameter combination at the optimal comfort value, and the following are obtained: the internal fan speed Sin0=1000, the external fan speed Sout0=800, and the compressor frequency Pr0=35.
  • Next, based on the aforementioned parameter prediction model, multiple parameter combinations are obtained:
  • H 1 = [ Sin 1 = 1100 , Sout 1 = 770 , Pr 1 = 40 ] ; H 2 = [ Sin 2 = 900 , Sout 2 = 7 3 0 0 , P r 2 = 30 ] ; H 3 = [ Sin 3 = 1300 , Sout 2 = 760 , Pr 2 = 40 ] .
  • The corresponding comfort values of the three are −1, 2, and −1.5 respectively, so H1, which is closest to the preset comfort value of 0, is selected as the control scheme.
  • Specifically, the health strategy is characterized as selecting the control parameter combination closest to the preset comfort value and determining it as the control scheme. Since the air-conditioned room is tightly sealed and the indoor and outdoor air cannot be exchanged, harmful microorganisms such as bacteria and viruses in the indoor air are easy to breed and multiply, which can easily cause low air quality. Therefore, this embodiment further provides a method for determining the most suitable target parameter combination from multiple parameter combinations based on the health value. The health value is characterized as a quantitative value of the degree of health impact on the human body caused by being under the air conditioner for a long time.
  • In an embodiment, the preset health value may be determined by the indoor and outdoor temperature difference and the relative humidity.
  • Exemplarily, the indoor and outdoor temperature difference ΔT=5° C. when the human body is in a state with a relatively small impact on health is set. The relative humidity RH=40%, and based on the preset mapping relationship, the preset health value determined is 100.
  • Among the determined parameter combinations H4, H5, and H6, the corresponding health values are 73, 85, and 92, respectively, so H6 is selected as the control scheme.
  • In an embodiment, a parameter prediction model is used to predict the control parameter combination to be executed by the air conditioner in the future, and when there are multiple control parameter combinations, a parameter combination that satisfies the selection strategy is selected as a control scheme based on the combination selection strategy. This provides a prerequisite for how to select one of the predicted control parameters as the target control parameter in an embodiment. On the basis of one embodiment and in combination with the technical solution in this embodiment, the effect of avoiding the phenomenon of warm air oscillation in the air conditioner due to the large difference in the control parameter values between adjacent cycles when the air conditioner is executed according to the predicted control parameters is achieved.
  • As shown in FIG. 9 , in an embodiment, before step S210, the steps include:
      • s240, obtaining current environmental state parameters collected in a current cycle of the air conditioner and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner;
      • s250, determining environmental state optimization parameters corresponding to the environmental state parameters of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine the control scheme according to the operating state parameters of the current cycle and the environmental state optimization parameters.
  • In an embodiment, the optimization is performed based on the collected environmental state parameters, and the optimization process is the same as in the above embodiment, which will not be repeated here, so the optimized environmental state optimization parameter C0_y=(T1=26.3, T4=35.9) can also be obtained. C0_y is used as the input side data of the main control logic of the air conditioner, so that the main control logic of the air conditioner outputs the predicted control parameter.
  • The present application optimizes the environmental state parameters on the input side of the main control logic of the air conditioner. On the one hand, it avoids oscillation of the output control parameter combination due to errors in the air conditioner's sensors. On the other hand, it also avoids the occurrence of temperature and wind shock caused by a large difference between the control parameter combination output by the air conditioner and the control parameters between the air conditioners when the temperature of the environment in which the air conditioner is located changes suddenly.
  • In an embodiment, the air conditioner includes: a memory 1005, at least one processor 1001, and a program for controlling the air conditioner stored in the memory and executable on the processor.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner;
      • determining environmental state optimization parameters of the current cycle of the air conditioner according to the historical environmental state parameters and the current environmental state parameters; and
      • controlling the air conditioner to operate according to the environmental state optimization parameters.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • determining an optimized value of the environmental parameter corresponding to the air conditioner in the current cycle as the environmental state optimization parameter based on a preset environmental parameter optimization strategy according to the historical environmental state parameters of the plurality of historical cycles and the current environmental state parameters.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • calculating an average value of the historical environmental state parameters and the current environmental state parameters as the environmental parameter optimization value corresponding to the air conditioner in the current cycle.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining a parameter value corresponding to the environmental state parameter in the historical environmental state parameters;
      • determining weight values of the obtained parameter values; and performing a weighted average calculation on the obtained parameter values according to the determined weight values to obtain the environmental parameter optimization value corresponding to the air conditioner in the current cycle
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining operating state parameters of the air conditioner in the current cycle;
      • determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model according to the operating state parameters of the current cycle and the environmental state optimization parameter, the control parameter combination includes at least two control parameters;
      • in response to that more than two control parameter combinations are determined, determining a target control parameter combination that satisfies a preset parameter combination selection strategy in each of the control parameter combinations; and
      • controlling the air conditioner to operate according to the control parameter value corresponding to the target control parameter combination.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • inputting the operating state parameters of the current cycle and the environmental state optimization parameters into the power model, and predicting an operating energy efficiency and/or an output capability corresponding to each control parameter combination of the operating state parameters of a next cycle of the air conditioner; determining the control parameter combination that satisfies a target operating energy efficiency and/or a target output capability according to the operating energy efficiency and/or the output capability; or
      • inputting the operating state parameters of the current cycle and the environmental state optimization parameters into the capacity energy efficiency model, and predicting the operating energy efficiency and/or the output capacity corresponding to each control parameter combination of the operating state parameters of the next cycle of the air conditioner; and determining the control parameter combination that satisfies the target operating energy efficiency and/or the target output capacity according to the operating energy efficiency and/or the output capacity; or
      • inputting the operating state parameters of the current cycle and the environmental state optimization parameters into the temperature model, and predicting an indoor temperature change corresponding to each of the control parameter combination of the operating state parameters of the next cycle of the air conditioner; and determining the control parameter combination that satisfies the target indoor temperature according to the indoor temperature change.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • calculating energy efficiency ratios corresponding to each of the control parameter combinations and determining the control parameter combination corresponding to a highest energy efficiency ratio as the target control parameter combination; or
      • obtaining a comfort value corresponding to an operation of the air conditioner according to each of the control parameter combinations, and determining the control parameter combination with the comfort value closest to a preset comfort value as the target control parameter combination; or
      • obtaining a health value corresponding to an operation of the air conditioner according to each of the control parameter combinations, and determining the control parameter combination with the health value closest to a preset health value as the target control parameter combination; or
      • calculating a similarity between each of the control parameter combinations and the historical control parameters of the air conditioner in the previous cycle, and determining the control parameter combination with a largest similarity as the target control parameter combination.
  • When the processor 1001 calls the program for controlling the air conditioner stored in the memory 1005, the following operations are performed:
      • obtaining the operating state parameters of the air conditioner in the current cycle;
      • determining the control parameter combination of the air conditioner that satisfies a preset parameter prediction model according to an operating state parameter of the current cycle and the environmental state optimization parameter, the control parameter combination includes at least two control parameters; and
      • determining a target control parameter combination of the air conditioner according to the control parameter combination determined in the current cycle and a historical control parameter combination of the air conditioner in a plurality of historical cycles; and controlling the air conditioner to operate according to the control parameters in the target control parameter combination.
  • Based on the hardware architecture of the air conditioner based on the above-mentioned air conditioner control technology, an embodiment of the method for controlling an air conditioner of the present application is provided.
  • As shown in FIG. 10 , in an embodiment, the method for controlling an air conditioner includes the following steps:
      • step S310, obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner.
  • In an embodiment, optimization is performed based on collected environmental state parameters.
  • Step S320, determining environmental state optimization parameters of the current cycle of the air conditioner according to the historical environmental state parameters and the current environmental state parameters.
  • In an embodiment, the process of determining the environmental state optimization parameters of the current cycle of the air conditioner is the same as in the first embodiment, and will not be repeated here.
  • In an embodiment, a weighted average optimization can be performed between the current environmental state parameters and the historical environmental state parameters, and the parameter values corresponding to the environmental state parameters in the historical environmental state parameters are obtained, and then the weight values of the obtained parameter values are determined. Based on the determined weight values, the obtained parameter values are weighted averaged to obtain the optimized values of the environmental parameters corresponding to the air conditioner in the current cycle.
  • Exemplarily, in an embodiment, the environmental state parameters include indoor temperature T1 and outdoor temperature T4. Assuming that the current environmental state parameters of the space where the air conditioner is located collected in the current cycle are C0_x=(T1=26° C., T4=35.8° C.), the historical control parameters C1, C2, and C3 of the three cycles are obtained:
  • C 1 = ( T 1 = 27. ° C . , T 4 = 36. ° C . ) ; C 2 = ( T 1 = 26.5 ° C . , T 4 = 36. ° C . ) ; C 3 = ( T 1 = 26.2 ° C . , T 4 = 35.8 ° C . ) .
  • The weight value corresponding to the C1 cycle is 0.3, the weight value corresponding to the C2 cycle is 0.2, the weight value corresponding to the C3 cycle is 0.1, and the weight value corresponding to the current cycle is 0.4.
  • The above four combinations of indoor temperatures T1 are weightedly calculated, and the weighted average indoor temperature T1_y=27.0+26.5+26.2+26.0)/4=26.4 is obtained, and the weighted average outdoor temperature T4_y=36.0*0.1+36.0*0.2+35.8*0.3+35.8*0.4=35.9 is obtained.
  • Therefore, the environmental state optimization parameters C0_y=(T1=26.4, T4==35.9) are obtained.
  • Step S330, controlling the air conditioner to operate according to the environmental state optimization parameters.
  • In an embodiment, after the environmental state optimization parameters are determined, the environmental state optimization parameters are used as input side data of the main control logic of the air conditioner, so that the main control logic of the air conditioner outputs a control parameter combination.
  • Exemplarily, in an embodiment, the obtained environmental state optimization parameter is C0_y=(T1=26.4, T4==35.9), C0_y is input into the main control logic, and its corresponding parameter combination is obtained as (internal fan speed Sin0=1000, external fan speed Sout0=800, compressor frequency Pr0=35), then the air conditioner is controlled to operate according to the inner fan 1000 rpm, the outer fan 800 rpm, and the compressor frequency 35 Hz.
  • As shown in FIG. 11 , in an embodiment, the step S330 includes:
      • step S331, obtaining operating state parameters of the air conditioner in the current cycle;
      • step S332, determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model according to the operating state parameters of the current cycle and the environmental state optimization parameter, the control parameter combination includes at least two control parameters;
      • step S333, in response to that more than two control parameter combinations are determined, determining a target control parameter combination that satisfies a preset parameter combination selection strategy in each of the control parameter combinations;
      • step S334, controlling the air conditioner to operate according to the control parameter value corresponding to the target control parameter combination.
  • In an embodiment, the determined environmental state optimization parameters and the operating state parameters of the air conditioner in the current cycle are input into the parameter prediction model to determine the control parameter combination of the air conditioner. Furthermore, when the determined control parameter combinations that satisfy the parameter prediction model are at least two, the control parameter combination that satisfies the strategy is selected through the combination selection strategy.
  • Specifically, the parameter prediction model may include an operating power model, which is characterized as a prediction based on the operating power of the air conditioner expected by the user. The air conditioner determines the control parameter combination composed of the parameter values of each control parameter combination through the operating power model, and predicts the operating power corresponding to the control parameter combination, and determines the control parameter combination that satisfies the target operating power based on the operating power, and uses it as the control parameter combination of the air conditioner that satisfies the operating power model.
  • Exemplarily, when the controllable operating parameters include the internal fan speed, the external fan speed and the compressor operating frequency, when the internal fan speed is 750 rpm, the external fan speed is 800 rpm, and the compressor operating frequency is 50 Hz, when the air conditioner operates according to the parameter combination of (750 rpm, 800 rpm, 50 Hz), the predicted operating power of the air conditioner is P1. When the speed value of the internal fan speed is 800 rpm, the speed value of the external fan speed is 900 rpm, and the frequency value of the compressor operating frequency is 40 Hz. When the air conditioner is operated according to the parameter combination of (800 rpm, 900 rpm, 40 Hz), the predicted operating power of the air conditioner is P2. Similarly, since each parameter combination and the pre-established mapping relationship between each parameter combination and the operating power are also determined, when the air conditioner is operated according to the parameter combination, the operating power corresponding to the parameter combination can be determined through the above mapping relationship, that is, the target operating power corresponding to the air conditioner when the air conditioner is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters is determined. When it is determined that the operating power corresponding to the target indoor temperature is P2, the parameter combination corresponding to P2 (800 rpm, 900 rpm, 40 Hz) is used as the target control parameter combination.
  • Specifically, the parameter prediction model may also include a capacity energy efficiency model, which is characterized as a prediction based on the operating energy efficiency and/or output capacity of the air conditioner expected by the user. The air conditioner inputs the operating state parameters of the current cycle and the environmental state optimization parameters into the capacity energy efficiency model to predict the operating energy efficiency and/or output capacity corresponding to each control parameter combination of the operating state parameters of the next cycle of the air conditioner; and determines the control parameter combination that satisfies the target operating energy efficiency and/or target output capacity based on the operating energy efficiency and/or the output capacity.
  • Exemplarily, take the operation energy efficiency as an example. When the controllable operation parameters include the internal fan speed, the external fan speed and the compressor operating frequency, when the speed value of the internal fan speed is 750 rpm, the speed value of the external fan speed is 800 rpm, and the frequency value of the compressor operating frequency is 50 Hz, when the air conditioner is operated according to the parameter combination of (750 rpm, 800 rpm, 50 Hz), the predicted operation energy efficiency of the air conditioner is Q1. When the speed value of the internal fan speed is 800 rpm, the speed value of the external fan speed is 900 rpm, and the frequency value of the compressor operating frequency is 40 Hz. When the air conditioner is operated according to the parameter combination of (800 rpm, 900 rpm, 40 Hz), the predicted operating energy efficiency of the air conditioner is Q2. Similarly, since each parameter combination and the pre-established mapping relationship between each parameter combination and the operating power are also determined, when the air conditioner is operated according to the parameter combination, the operating power corresponding to the parameter combination can be determined through the above mapping relationship. That is, the target operating energy efficiency corresponding to the air conditioner when it is operated according to the parameter values of the controllable operating parameters and the parameter values of the uncontrollable operating parameters. When it is determined that the operating energy efficiency corresponding to the target operation is Q2, the parameter combination corresponding to Q2 (800 rpm, 900 rpm, 40 Hz) is used as the target control parameter combination.
  • Specifically, the parameter prediction model may include a temperature model, which has been described in detail in the above embodiment and will not be described again here.
  • Furthermore, the combined selection strategy may be an energy-saving strategy, a comfort strategy, a health strategy, and a similarity strategy. The energy-saving strategy, the comfort strategy, and the health strategy have been described in detail in the above embodiment and will not be repeated here.
  • In an embodiment, the similarity strategy is characterized as selecting the one with the largest parameter similarity with the historical control parameters among the control parameter combinations as the target control parameter combination.
  • Specifically, the detailed process of the similarity strategy has been described in the above embodiment and will not be repeated here.
  • In an embodiment, a parameter prediction model is used to predict the control parameter combination to be executed by the air conditioner in the future, and when there are multiple control parameter combinations, a parameter combination that satisfies the selection strategy is selected as the control parameter combination based on the combination selection strategy, which provides a prerequisite for how to select one of the control parameter combinations as the target control parameter in an embodiment. On the basis of one embodiment and combined with the technical solution in this embodiment, the effect of avoiding the warm air oscillation phenomenon of the air conditioner due to the large difference in the control parameter values between adjacent cycles when the air conditioner is executed according to the control parameter combination is achieved.
  • As shown in FIG. 12 , in an embodiment, the step S330 further includes:
      • step S335, obtaining the operating state parameters of the air conditioner in the current cycle;
      • step S336, determining the control parameter combination of the air conditioner that satisfies a preset parameter prediction model according to an operating state parameter of the current cycle and the environmental state optimization parameter, the control parameter combination includes at least two control parameters; and
      • step S337, determining a target control parameter combination of the air conditioner according to the control parameter combination determined in the current cycle and a historical control parameter combination of the air conditioner in a plurality of historical cycles; and controlling the air conditioner to operate according to the control parameters in the target control parameter combination.
  • In an embodiment, in order to avoid the temperature oscillation phenomenon of the air conditioner due to the determined control parameter combination changing too much compared with the historical control parameter combination when the air conditioner is operating, therefore, this embodiment optimizes and smoothes the determined control parameter combination and the historical control parameter combination executed in the historical cycles of multiple air conditioners, and then uses the optimized and smoothed control parameters as the target control parameters.
  • The optimization smoothing method of the control parameter combination can be based on a preset parameter optimization strategy, according to the historical control parameter combinations and the control parameter combinations of multiple historical cycles, to determine the parameter optimization value corresponding to each control parameter combination in the current cycle as the target control parameter of the air conditioner.
  • Specifically, the parameter optimization strategy may be arithmetic mean optimization, and the arithmetic mean optimization process has been described in detail in the above embodiment, which will not be repeated here.
  • Specifically, the parameter optimization strategy may be weighted average optimization, and the weighted average optimization process has been described in detail in the above embodiment and will not be repeated here.
  • In an embodiment, at least one acquired control parameter combination is optimized and smoothed with historical control parameter combinations in multiple cycles, and the control parameters in the optimized and smoothed control parameter combination are used as target control parameters, thereby avoiding the phenomenon of warm air oscillation in the air conditioner due to excessive difference in control parameter values between adjacent cycles when the air conditioner is executed according to the control parameter combination.
  • In addition, it can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the air conditioner to implement the process steps of the embodiment of the above method.
  • Therefore, the present application further provides a computer-readable storage medium, which stores a program for controlling an air conditioner. When the program for controlling the air conditioner is executed by a processor, the steps of the method for controlling the air conditioner described in the above embodiment are implemented.
  • The computer-readable storage medium may be a universal serial bus (USB) flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage medium that can store program codes.
  • It should be noted that since the storage medium provided in the embodiment of the present application is the storage medium used to implement the method of the embodiment of the present application, based on the method introduced in the embodiment of the present application, those skilled in the art can understand the specific structure and deformation of the storage medium, so it is not repeated here. All storage medium used in the method of the embodiment of the present application belong to the scope of protection of the present application.
  • Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer-usable program codes.
  • The present application is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word “comprising” does not exclude the presence of components or steps not listed in the claims. The word “a” or “an” preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc., does not indicate any order. These words may be interpreted as names.
  • Although some embodiments of the present application have been described, those skilled in the art, once aware of the basic inventive concept, may make further changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as encompassing the embodiments as well as all changes and modifications that fall within the scope of the present application.
  • It is apparent that those skilled in the art may make various modifications and variations to the present application without departing from its spirit and scope. Accordingly, if such modifications and variations fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass these modifications and variations.

Claims (20)

1. A method for controlling an air conditioner, comprising:
obtaining at least two predicted control parameter combinations for a current cycle prediction of the air conditioner and obtaining a historical control parameter combination of the air conditioner from a previous cycle operation;
determining a target control parameter combination for the air conditioner according to parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination; and
controlling the air conditioner to operate according to parameter values in the target control parameter combination.
2. The method of claim 1, wherein the determining the target control parameter combination for the air conditioner according to the parameter similarities between each of the predicted control parameter combinations and the historical control parameter combination comprises:
normalizing the parameters in the predicted control parameter combinations and the historical control parameter combination to obtain normalized values of each control parameter in the predicted control parameter combinations and the historical control parameter combination;
calculating the parameter similarity between the normalized values of the predicted control parameter combinations and the historical control parameter combination; and
determining the predicted control parameter combination corresponding to a largest parameter similarity as a target control parameter combination.
3. The method of claim 2, wherein the calculating the parameter similarity between the normalized values of the predicted control parameter combinations and the historical control parameter combination comprises:
determining a relative numerical value between the normalized values of the predicted control parameter combinations and the historical control parameter combination based on a preset similarity calculation strategy, wherein the similarity calculation strategy comprises Manhattan distance calculation, Euclidean distance calculation, and cosine distance calculation; and
determining the parameter similarity based on the relative numerical value, wherein the relative numerical value and the parameter similarity are negatively correlated.
4. The method of claim 1, wherein the obtaining the at least two predicted control parameter combinations for the current cycle prediction of the air conditioner comprises:
determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, wherein the control parameter combination comprises at least two predicted control parameters.
5. The method of claim 4, wherein the parameter prediction model comprises a temperature model, a wind speed model, and a heating and cooling rate model, and the determining the control parameter combination of the air conditioner that satisfies the preset parameter prediction model comprises:
determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the temperature model, and predicting an indoor temperature change corresponding to the control parameter combination; determining a control parameter combination that satisfies a target indoor temperature according to the indoor temperature change and using the control parameter combination that satisfies the target indoor temperature as the control parameter combination of the air conditioner that satisfies the temperature model; or
determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the wind speed model, and predicting a target speed corresponding to the control parameter combination; determining a control parameter combination that satisfies the target speed and using the control parameter combination that satisfies the target speed as the control parameter combination of the air conditioner that satisfies the wind speed model; or
determining a control parameter combination formed by each parameter value of each predicted control parameter of the air conditioner based on the heating and cooling rate model, and predicting a temperature change rate corresponding to the control parameter combination; determining a control parameter combination that satisfies the temperature change rate and using the control parameter combination that satisfies the temperature change rate as the control parameter combination of the air conditioner that satisfies the heating and cooling rate model.
6. The method of claim 5, further comprising:
recording a controllable operating parameter and an uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical indoor temperature change after each operating cycle of the air conditioner; performing training according to recorded historical operating data of the air conditioner to generate a first mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical indoor temperature change to predict the indoor temperature change based on the first mapping relationship; or
recording the controllable operating parameter and the uncontrollable operating parameter in each operating cycle of the air conditioner, and a historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a second mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, and the historical internal fan speed to predict the target speed of the internal fan based on the second mapping relationship; or
recording the controllable operating parameters and uncontrollable operating parameters in each operating cycle of the air conditioner, and a historical compressor frequency and the historical internal fan speed after each operating cycle of the air conditioner; performing training according to the recorded historical operating data of the air conditioner to generate a third mapping relationship between the controllable operating parameters, the uncontrollable operating parameters, the historical compressor frequency, and the historical internal fan speed to predict the temperature change rate based on the third mapping relationship.
7. The method of claim 1, wherein before the obtaining the at least two predicted control parameter combinations for the current cycle prediction of the air conditioner, the method further comprises:
obtaining current environmental state parameters collected by the air conditioner in a current cycle and obtaining historical environmental state parameters determined by a plurality of historical cycles of the air conditioner; and
determining environmental state optimization parameters of the current cycle of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine a plurality of predicted control parameter combinations according to the operating state parameters of the current cycle and the environmental state optimization parameters.
8. The method of claim 1, further comprising:
obtaining historical control parameter combinations executed in a plurality of historical cycles of the air conditioner and obtaining a predicted control parameter combination with the greatest similarity to the historical control parameter combination from a previous cycle; and
determining the target control parameter combination according to the plurality of historical control parameter combinations and the predicted control parameter combination with the greatest similarity.
9. A method for controlling an air conditioner, comprising:
obtaining a control scheme predicted by the air conditioner in a current cycle and historical control parameters executed by the air conditioner in historical cycles, wherein the control scheme comprises at least one predicted control parameter;
determining a target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter, wherein the target control parameter is obtained by smoothing the predicted control parameter according to the historical control parameter; and
controlling the air conditioner to operate according to the target control parameter.
10. The method of claim 9, wherein the determining the target control parameter of the air conditioner according to the historical control parameter and the predicted control parameter comprises:
determining, based on a preset smoothing strategy, a target control parameter of the air conditioner according to the historical control parameters and the predicted control parameters of one or more historical cycles.
11. The method of claim 10, wherein the smoothing strategy comprises an arithmetic mean optimization strategy, and the determining, based on the preset smoothing strategy, the target control parameter of the air conditioner according to the historical control parameters and the predicted control parameters of one or more historical cycles comprises:
calculating an average value of one or more historical control parameters and each predicted control parameter as the target control parameter corresponding to the each predicted control parameter.
12. The method of claim 10, wherein the smoothing strategy comprises a weighted average optimization strategy, and the determining, based on the preset smoothing strategy, the target control parameter of the air conditioner according to the historical control parameters and the predicted control parameters of one or more historical cycles comprises:
obtaining a parameter value corresponding to the predicted control parameter in the historical control parameters;
determining a weight value of the obtained parameter value; and
performing a weighted calculation on the obtained parameter value according to the determined weight value to obtain the target control parameter of the air conditioner.
13. The method of claim 9, wherein the obtaining a control scheme predicted by the air conditioner in a current cycle comprises:
determining a control parameter combination of the air conditioner that satisfies a preset parameter prediction model, wherein the control parameter combination comprises at least two control parameters;
in response to that at least two control parameter combinations are determined, determining a control parameter combination that satisfies a preset combination selection strategy in the control parameter combinations as the control scheme.
14. The method of claim 13, wherein the parameter prediction model comprises a temperature model, a wind speed model, and a heating and cooling rate model, and the determining the control parameter combination of the air conditioner that satisfies the preset parameter prediction model comprises:
determining, based on the temperature model, a control scheme formed by each parameter value of the predicted control parameter of the air conditioner, and predicting an indoor temperature change corresponding to the control parameter combination; determining a control parameter combination that satisfies the target indoor temperature according to the indoor temperature change and using the control parameter combination that satisfies the target indoor temperature as the control parameter combination; or
determining, based on the wind speed model, a control parameter combination formed by each parameter value of the predicted control parameter of the air conditioner and predicting a target speed corresponding to the control parameter combination; determining a control parameter combination that satisfies the target speed and using the control parameter combination that satisfies the target speed as the control parameter combination; or
determining, based on the heating and cooling rate model, a control parameter combination formed by each parameter value of the predicted control parameter of the air conditioner and predicting a temperature change rate corresponding to the control parameter combination; determining a control parameter combination that satisfies the temperature change rate and using the control parameter combination that satisfies the temperature change rate as the control parameter combination.
15. The method of claim 13, wherein the determining the control parameter combination that satisfies the preset combination selection strategy in the control parameter combinations as the control scheme comprises:
calculating an energy efficiency ratio corresponding to the control parameter combination and determining the control parameter combination corresponding to a highest energy efficiency ratio as the control scheme; or
obtaining a comfort value corresponding to an operation of the air conditioner according to each control parameter combination, and determining the control parameter combination whose comfort value is closest to a preset comfort value as the control scheme; or
obtaining a health value corresponding to the operation of the air conditioner according to each control parameter combination, and determining the control parameter combination whose health value is closest to a preset health value as the control scheme.
16. The method of claim 9, wherein before obtaining the control scheme predicted by the air conditioner in the current cycle, the method further comprises:
obtaining current environmental state parameters collected in a current cycle of the air conditioner and obtaining historical environmental state parameters determined in a plurality of historical cycles of the air conditioner; and
determining environmental state optimization parameters corresponding to the environmental state parameters of the air conditioner based on the historical environmental state parameters and the current environmental state parameters to determine the control scheme according to operating state parameters of the current cycle and the environmental state optimization parameters.
17. An air conditioner comprising:
a memory;
at least one processor; and
a program for controlling the air conditioner stored in the memory and executable on the at least one processor,
wherein when the program for controlling the air conditioner is executed by the at least one processor, the method for controlling the air conditioner according to claim 1 is implemented.
18. A computer-readable storage medium, wherein a program for controlling an air conditioner is stored on the computer-readable storage medium, and when the program for controlling the air conditioner is executed by at least one processor, the method for controlling the air conditioner according claim 1 is implemented.
19. An air conditioner comprising:
a memory;
at least one processor; and
a program for controlling the air conditioner stored in the memory and executable on the at least one processor,
wherein when the program for controlling the air conditioner is executed by the at least one processor, the method for controlling the air conditioner according to claim 9 is implemented.
20. A computer-readable storage medium, wherein a program for controlling an air conditioner is stored on the computer-readable storage medium, and when the program for controlling the air conditioner is executed by at least one processor, the method for controlling the air conditioner according claim 9 is implemented.
US19/189,990 2022-10-31 2025-04-25 Method for controlling air conditioner, air conditioner and computer-readable storage medium Pending US20250257895A1 (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
CN202211351676.6 2022-10-31
CN202211351702.5 2022-10-31
CN202211351702.5A CN117989692A (en) 2022-10-31 2022-10-31 Air conditioner control method, air conditioner and computer readable storage medium
CN202211351676.6A CN117989690A (en) 2022-10-31 2022-10-31 Air conditioner control method, air conditioner and computer readable storage medium
CN202211394510.2 2022-11-08
CN202211394510.2A CN118009479A (en) 2022-11-08 2022-11-08 Air conditioner control method, air conditioner and computer readable storage medium
PCT/CN2023/111096 WO2024093411A1 (en) 2022-10-31 2023-08-03 Air conditioner control method, air conditioner, and computer readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/111096 Continuation WO2024093411A1 (en) 2022-10-31 2023-08-03 Air conditioner control method, air conditioner, and computer readable storage medium

Publications (1)

Publication Number Publication Date
US20250257895A1 true US20250257895A1 (en) 2025-08-14

Family

ID=90929623

Family Applications (1)

Application Number Title Priority Date Filing Date
US19/189,990 Pending US20250257895A1 (en) 2022-10-31 2025-04-25 Method for controlling air conditioner, air conditioner and computer-readable storage medium

Country Status (3)

Country Link
US (1) US20250257895A1 (en)
EP (1) EP4614082A1 (en)
WO (1) WO2024093411A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118760275B (en) * 2024-09-05 2025-01-17 福州云能达科技有限公司 Transformer temperature control system and method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0134726B1 (en) * 1994-10-10 1998-04-28 구자홍 Temperature controller for an airconditioner
CN106839288A (en) * 2017-01-13 2017-06-13 赵建杰 A kind of control method of computer floor air-conditioning system
CN108224714A (en) * 2017-12-28 2018-06-29 广东美的制冷设备有限公司 Blowing feeling control method, device and computer readable storage medium
CN110553353B (en) * 2019-09-17 2020-10-09 广东美的制冷设备有限公司 Control method of air conditioner, air conditioner and storage medium
CN111306720B (en) * 2018-12-12 2021-05-18 上海汽车集团股份有限公司 A method and device for setting air conditioning parameters
CN109974237B (en) * 2019-04-01 2020-03-06 珠海格力电器股份有限公司 Air conditioner and method and device for adjusting operation strategy of air conditioner
CN113339959B (en) * 2021-06-15 2022-05-17 珠海格力电器股份有限公司 Air conditioner control method and device, storage medium and air conditioner
CN113418286B (en) * 2021-06-17 2023-01-24 绍兴艾能科技有限公司 Self-adaptive thermal sensing robot and air conditioner temperature adjusting method
CN114413420A (en) * 2021-12-24 2022-04-29 珠海格力电器股份有限公司 Control method of air conditioner and air conditioner

Also Published As

Publication number Publication date
EP4614082A1 (en) 2025-09-10
WO2024093411A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN110749053B (en) Control method and device of air conditioner
CN110726218B (en) Air conditioner, control method and device thereof, storage medium and processor
WO2024113906A1 (en) Server cluster temperature adjustment method and device
CN110425698A (en) A kind of air conditioning control method and device of user preference self study
US20250257895A1 (en) Method for controlling air conditioner, air conditioner and computer-readable storage medium
WO2024093410A1 (en) Control method for air conditioner, air conditioner, and computer-readable storage medium
CN110928341B (en) Temperature control method, device, equipment and storage medium
CN120043227A (en) Energy-saving intelligent control system and method for air conditioner of efficient refrigeration machine room
US20250237399A1 (en) Method for controlling air conditioner based on operation power, air conditioner, and readable storage medium
CN114692493A (en) Energy-saving method and system for building refrigeration system and electronic equipment
CN117824114A (en) A method, device, terminal and medium for optimal control of chiller
CN117906253A (en) Air conditioner control method, air conditioner and computer readable storage medium
KR102049005B1 (en) Centralized HVAC System Using Genetic Algorithm and Method Using The Same
CN117355710A (en) A method and device for controlling refrigeration equipment
CN113339967A (en) Elevator air conditioner control method and device, electronic equipment and storage medium
CN117989690A (en) Air conditioner control method, air conditioner and computer readable storage medium
CN120049069A (en) Thermal management method, system, computing equipment and medium for battery energy storage power station
CN119623243A (en) A data center energy-saving system based on reinforcement learning
CN109882995B (en) Equipment and energy-saving control method thereof
CN118669313A (en) Intelligent energy-saving control method and system for air compression station
CN114857812B (en) Energy-saving control method, energy-saving control device, electronic device and storage medium
WO2024093356A1 (en) Control method for air conditioning device, and device and storage medium
CN117295316A (en) A communication equipment room control method, system, device and medium
EP4589211A1 (en) Method for controlling air conditioner, and air conditioner and computer-readable storage medium
CN115164378A (en) Fresh air handling unit regulation and control method based on digital twins and related device

Legal Events

Date Code Title Description
AS Assignment

Owner name: GD MIDEA AIR-CONDITIONING EQUIPMENT CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FAN, QIFENG;SHANG, ZHE;REEL/FRAME:071061/0059

Effective date: 20250425

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION