Temperature control method and device and electronic equipment

By using incremental PID algorithm to calculate the fan demand speed increment and adjust the fan speed in the heat pump water machine air conditioning system, the room temperature fluctuation problem caused by the system of the fan turning on or off is solved in the existing system, and more efficient energy efficiency and comfort are achieved.

CN119713484APending Publication Date: 2025-03-28SHENZHEN ENVICOOL HEALTH ENVIRONMENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411911580.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing heat pump water machine air conditioning systems lack systematic control methods for opening or closing of fans, resulting in large fluctuations in room temperature, affecting comfort and energy efficiency.

Method used

The incremental PID algorithm is used to calculate the fan's demand speed increment based on the indoor temperature and the set temperature, and adjust the fan's speed according to this increment to accurately control the indoor temperature.

Benefits of technology

By accurately adjusting the fan speed, energy consumption caused by room temperature fluctuations is reduced, energy efficiency and user comfort of the air conditioning system are improved, noise impact is reduced, and the stability and intelligence level of the indoor environment are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119713484A_ABST
    Figure CN119713484A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of air conditioners, and discloses a temperature control method and device and electronic equipment. The method comprises the steps that the indoor temperature and the set temperature of an air conditioner are obtained; an incremental PID algorithm is adopted to calculate the required rotating speed increment of the fan according to the indoor temperature and the set temperature; and adjusting the rotating speed of the fan according to the required rotating speed increment to control the indoor temperature change. According to the method, the required rotating speed increment of the fan is calculated according to the indoor temperature and the set temperature by applying the incremental PID algorithm, and the rotating speed of the fan is accurately adjusted according to the required rotating speed increment, so that the indoor temperature is accurately controlled. The energy consumption caused by room temperature fluctuation is reduced, the influence of frequent starting and stopping of the fan on the hearing feeling of a user is avoided, and the energy efficiency of the heat pump water machine air conditioning system and the comfort degree of the user are improved. By dynamically adjusting the rotating speed of the draught fan, the stability and comfort of the indoor environment are effectively improved, meanwhile, the operation complexity is lowered, the requirement for human intervention is reduced, and the intelligent level and the automation level of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioning, and in particular to a temperature control method, device, electronic device and computer-readable storage medium. Background Art

[0002] In modern building environments, indoor temperature control is a key factor in ensuring living comfort. In traditional heat pump water-cooling systems, the methods for controlling room temperature at the terminal mainly include electric valve switching, proportional valve flow regulation, and fan on / off control.

[0003] In the process of realizing the present invention, the inventors found that the prior art has at least the following technical problems: at present, there is a lack of systematic control methods to control the opening or closing of the fan. Randomly opening or closing the fan to adjust the temperature often easily leads to large fluctuations in the room temperature. Moreover, frequent starting and stopping of the fan not only affects the stability of the indoor temperature, but also affects people's auditory perception due to noise problems.

[0004] Therefore, how to provide a control method for turning on or off a fan to improve the comfort of the indoor environment is an urgent problem that needs to be solved by those skilled in the art. Summary of the invention

[0005] In order to solve the problem in the prior art that the indoor environmental comfort cannot be guaranteed due to the random opening or closing of the fan of the heat pump water air conditioner, the present invention provides a temperature control method, device, electronic device and computer-readable storage medium.

[0006] A method for temperature control, comprising: Get the indoor temperature and the set temperature of the air conditioner; An incremental PID (Proportion Integral Differential) algorithm is used to calculate the required speed increment of the fan according to the indoor temperature and the set temperature; The speed of the fan is adjusted according to the required speed increment to control the indoor temperature change.

[0007] Optionally, the use of an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature includes: Acquire a temperature control mode of the air conditioner, and determine a corresponding temperature control coefficient according to the temperature control mode; The difference between the indoor temperature and the set temperature at at least two moments is calculated, and the required speed increment is calculated according to the difference and the temperature control coefficient.

[0008] Optionally, adjusting the speed of the fan according to the required speed increment includes: Obtaining the gear position of the fan and determining the speed range corresponding to the gear position; Obtaining a current speed of the fan, and determining that the sum of the current speed and the required speed increment is the desired speed; Determining whether the expected speed is within a speed range corresponding to the gear position; If yes, adjusting the speed of the fan to the desired speed; If not, the rotation speed of the fan is adjusted to a rotation speed within the rotation speed range that is closest to the expected rotation speed.

[0009] Optionally, the method further includes: Acquire a temperature control mode of the air conditioner, and determine a first shutdown temperature and a second shutdown temperature according to the temperature control mode and the set temperature; When the indoor temperature reaches the first shutdown temperature, the speed of the fan is lower than the lower limit of the speed range corresponding to the gear position, and the duration exceeds a preset time, turning off the fan; When the indoor temperature reaches the second shutdown temperature and the rotation speed of the fan is lower than the lower limit of the rotation speed range corresponding to the gear position, the fan is turned off.

[0010] Optionally, the method further includes: When the fan is in an off state, determining the startup temperature according to the temperature control mode and the set temperature; When the indoor temperature reaches the startup temperature, the fan is turned on, and the process returns to the step of using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0011] Optionally, after adjusting the speed of the fan according to the required speed increment, the method further includes: Re-obtaining the indoor temperature after the current wind speed adjustment cycle ends; Determining whether the indoor temperature reaches the set temperature; If not, the process returns to the step of using the incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0012] Optionally, the method further includes: Sum all the required speed increments in the current water temperature adjustment cycle to obtain the total required speed; Acquire the temperature control mode of the air conditioner, and determine the required water temperature increment corresponding to the required total speed according to the temperature control mode and a preset corresponding relationship; After the current water temperature adjustment cycle ends, the water temperature is adjusted according to the required water temperature increment.

[0013] A temperature control device, comprising: The acquisition module is used to obtain the indoor temperature and the set temperature of the air conditioner; A calculation module, used for calculating the required speed increment of the fan according to the indoor temperature and the set temperature by using an incremental PID algorithm; The control module is used to adjust the speed of the fan according to the required speed increment to control the indoor temperature change.

[0014] An electronic device, comprising: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the temperature control method as described in any one of the above items is implemented.

[0015] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements any one of the temperature control methods described above.

[0016] The temperature control method provided by the embodiment of the present invention has at least the following beneficial effects: The present invention obtains the indoor temperature and the set temperature of the air conditioner; then uses an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature; finally, adjusts the fan speed according to the required speed increment to control the indoor temperature change. By using the incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature, and based on this, the precise adjustment of the fan speed is achieved to accurately control the indoor temperature. Not only does it reduce the energy consumption caused by room temperature fluctuations, it also avoids the impact of frequent fan start and stop on the user's hearing, and improves the energy efficiency and user comfort of the heat pump water air conditioning system. By dynamically adjusting the fan speed, the stability and comfort of the indoor environment are effectively improved, while reducing the complexity of operation, reducing the need for human intervention, and enhancing the intelligence and automation level of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 A flow chart of a temperature control method provided by an embodiment of the present invention; Figure 2 for Figure 1 A flow chart of a practical expression of S03 in a provided temperature control method; Figure 3 A flow chart of another temperature control method provided by an embodiment of the present invention; Figure 4 A flow chart of another temperature control method provided by an embodiment of the present invention; Figure 5 A schematic structural diagram of a temperature control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0020] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0022] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0023] In modern building environments, indoor temperature control is a key factor in ensuring living comfort. In traditional heat pump water-cooling systems, the methods for controlling room temperature at the terminal mainly include electric valve switching, proportional valve flow regulation, and fan on / off control.

[0024] In the process of realizing the present invention, the inventors found that the prior art has at least the following technical problems: at present, there is a lack of systematic control methods to control the opening or closing of the fan. Randomly opening or closing the fan to adjust the temperature often easily leads to large fluctuations in the room temperature. Moreover, frequent starting and stopping of the fan not only affects the stability of the indoor temperature, but also affects people's auditory perception due to noise problems.

[0025] Therefore, how to provide a control method for turning on or off a fan to improve the comfort of the indoor environment is an urgent problem that needs to be solved by those skilled in the art.

[0026] Please refer to Figure 1, is a flow chart of a temperature control method provided by an embodiment of the present invention, comprising the following steps: Step S01, obtaining the indoor temperature and the set temperature of the air conditioner.

[0027] In this embodiment, the system first measures and records the actual temperature in the room, and obtains the target temperature set by the user. This process is the basis for achieving precise temperature control and provides necessary data support for subsequent calculations and adjustments. By comparing the actual temperature with the set temperature, the system can determine the temperature deviation and adjust the working state of the air-conditioning equipment accordingly to ensure that the indoor temperature can reach or be maintained at the level expected by the user.

[0028] This embodiment provides the necessary input parameters for the incremental PID algorithm. This step ensures that the air conditioning system can dynamically adjust the fan speed according to the temperature difference between the actual and expected temperature, so as to achieve the purpose of quickly and stably regulating the indoor temperature. By monitoring and comparing these two temperature values ​​in real time, the system can respond more accurately, optimize energy efficiency, and improve user comfort.

[0029] In some embodiments, the indoor temperature and the set temperature of the air conditioner can be obtained through the temperature sensor and the air conditioner control panel integrated in the air conditioning system. The temperature sensor monitors the actual indoor temperature in real time and transmits the data to the air conditioning system; at the same time, the user sets the desired temperature value on the air conditioning control panel, and this set temperature is also transmitted to the air conditioning system. By obtaining these two key temperature values, the system can perform precise temperature adjustment and control.

[0030] Step S02, using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0031] In this embodiment, the incremental PID algorithm is a basic form of digital PID control algorithm, which is a control algorithm that performs PID control by increasing the control amount (the difference between the current control amount and the previous control amount). This embodiment uses the incremental PID formula to calculate the adjustment amount of the fan speed by comparing the difference between the current indoor temperature and the set temperature in real time. The incremental PID algorithm calculates the difference between the set temperature and the indoor temperature to generate a speed increment, thereby gradually adjusting the fan speed so that the indoor temperature gradually approaches the set temperature. It can not only quickly respond to indoor temperature changes, achieve smoother and more accurate temperature control, and improve indoor comfort, but also avoid system over-adjustment or under-adjustment caused by error accumulation.

[0032] In some embodiments, the incremental PID algorithm mentioned in step S02 is used to calculate the required speed increment of the fan according to the indoor temperature and the set temperature, which may specifically include the following steps: Step S11, obtaining the temperature control mode of the air conditioner, and determining the corresponding temperature control coefficient according to the temperature control mode.

[0033] Step S12, calculating the difference between the indoor temperature and the set temperature at at least two moments, and calculating the required speed increment according to the difference and the temperature control coefficient.

[0034] In this embodiment, when the temperature control mode is the cooling mode, the required speed increment of the fan can be calculated according to formula (1): (1) in, is the required speed increment of the fan, , , are the temperature control coefficients in cooling mode, is the indoor temperature at time n, To set the temperature, is the indoor temperature at time n-1, is the indoor temperature at time n-2.

[0035] When the temperature control mode is heating mode, the required speed increment of the fan can be calculated according to formula (2): (2) in, , , are the temperature control coefficients in heating mode respectively.

[0036] Based on the above technical solution, this embodiment can more accurately control the indoor temperature and meet the temperature adjustment requirements in different modes by setting different temperature control coefficients for cooling and heating modes respectively. At the same time, the temperature data of the previous few moments are used to calculate the current required speed increment. Such dynamic adjustment helps to reduce temperature fluctuations and achieve a more stable and comfortable indoor environment. In addition, the introduction of the incremental PID algorithm can more effectively avoid integral saturation, reduce system overshoot and response time, and thus improve the stability of the air-conditioning system compared to traditional PID control.

[0037] Step S03, adjusting the speed of the fan according to the required speed increment to control the change of indoor temperature.

[0038] In this embodiment, after the required speed increment of the fan is calculated by the incremental PID algorithm, the air conditioning system increases or decreases the speed of the fan accordingly according to the speed increment, ensuring that the air conditioning system can quickly respond to changes in indoor temperature and achieve a more stable and comfortable indoor environment. In this way, the air conditioning system can not only more effectively meet the user's comfort needs, but also optimize energy use and avoid unnecessary energy consumption.

[0039] In some embodiments, the air conditioning system adjusts the fan speed according to the required speed increment. If the required speed increment is a positive number, the air conditioning system will increase the fan speed to speed up air circulation and improve cooling or heating efficiency; if it is a negative number, the fan speed will be reduced to avoid over-cooling or heating. This process is continuous and dynamic, ensuring that the adjustment of the fan speed can respond to changes in indoor temperature in a timely manner, thereby achieving precise control of indoor temperature.

[0040] Furthermore, in order to ensure the stability and response speed of the system, the air conditioning system can also consider the physical limitations and safe operating range of the fan to avoid too fast speed changes or exceeding the design parameters of the fan. In this way, it can not only improve indoor comfort, but also extend the service life of the fan, achieve energy saving and reduce maintenance costs.

[0041] In some embodiments, after executing step S03 to adjust the speed of the fan according to the required speed increment, the following steps may also be performed: Step S21, reacquiring the indoor temperature after the current wind speed adjustment cycle ends.

[0042] In this embodiment, by setting a wind speed adjustment cycle to avoid the waste of computing resources caused by real-time calculation of the required speed, the energy efficiency and response speed of the air-conditioning system can be significantly improved. Specifically, this embodiment allows the system to perform calculations within a preset time interval instead of continuously performing real-time calculations, thereby reducing the processor load and energy consumption. By reacquiring the indoor temperature after the wind speed adjustment cycle, the system can more accurately evaluate the current temperature control effect and adjust the fan speed accordingly to ensure that the indoor temperature is closer to the temperature set by the user. This method not only improves energy efficiency, but also extends the service life of the equipment by reducing the occupation of computing resources, while also reducing maintenance costs.

[0043] Step S22, determining whether the indoor temperature reaches the set temperature.

[0044] If not, the process returns to step S02 and uses an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0045] In this embodiment, if the indoor temperature has not reached the set value, this step will trigger the system to return to step S02, that is, to re-use the incremental PID algorithm to calculate the required speed increment of the fan. This process is a closed-loop control, which ensures that the air conditioning system can continuously monitor the indoor temperature and dynamically adjust the fan speed according to real-time data to achieve accurate control of the indoor temperature.

[0046] In this way, the air conditioning system can respond to indoor temperature changes more flexibly and efficiently, reduce temperature fluctuations, and improve user comfort. At the same time, this method helps to avoid over-cooling or over-heating, thereby saving energy and achieving more environmentally friendly and economical indoor climate control. This continuous feedback and adjustment mechanism is the core of modern intelligent temperature control systems. It ensures the stability and energy saving of the indoor environment through refined management.

[0047] In some embodiments, if the indoor temperature reaches the set temperature, the fan can also be turned off, or the fan can be controlled to run at the lowest speed. This embodiment saves energy by turning off the fan or reducing the fan speed to the minimum to maintain the indoor temperature without additional cooling or heating. This approach can not only improve energy efficiency and reduce unnecessary energy consumption, but also reduce the operating noise of the fan, creating a quieter and more comfortable indoor environment for users. In addition, by reducing the load of the fan after reaching the set temperature, the service life of the air-conditioning equipment can be extended, the maintenance cost can be reduced, and the dual benefits of economy and environmental protection can be achieved.

[0048] Based on the above technical solution, the embodiment of the present invention obtains the indoor temperature and the set temperature of the air conditioner, then uses the incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature, and finally adjusts the fan speed according to the required speed increment to control the indoor temperature change. By using the incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature, and based on this, the precise adjustment of the fan speed is achieved to accurately control the indoor temperature. It not only reduces the energy consumption caused by room temperature fluctuations, but also avoids the impact of frequent start and stop of the fan on the user's hearing, and improves the energy efficiency and user comfort of the heat pump water air conditioning system. By dynamically adjusting the fan speed, the stability and comfort of the indoor environment are effectively improved, while reducing the complexity of operation, reducing the need for human intervention, and enhancing the intelligence and automation level of the system.

[0049] Please refer to Figure 2 ,for Figure 1 A flow chart of an actual performance of S03 in a temperature control method provided. In some embodiments, the speed of the fan is adjusted according to the required speed increment mentioned in step S03, which may specifically include: Figure 2 Steps shown: Step S31, obtaining the gear position of the fan and determining the speed range corresponding to the gear position.

[0050] In this embodiment, the system first identifies the gear position of the fan, and the current gear position of the fan is determined by detecting signals related to the gear position. These signals can come from sensors or control circuits inside the fan, which can reflect the current gear state of the fan. Specifically, the microcontroller or processor in the air conditioning system monitors these gear signals to obtain real-time gear information of the fan. This information is then used to determine the speed range of the fan, that is, the minimum and maximum speeds at which the fan can operate in the current gear position.

[0051] Each gear has its own specific speed range, which defines the minimum and maximum speeds that the fan can run at in that gear. By obtaining the current gear of the fan, the system can determine the speed range of the fan, thus providing a basis for subsequent speed adjustments. The importance of this step is that it allows the control system to take into account the physical and design limitations of the fan when adjusting the fan speed to avoid exceeding the safe operating range. For example, if the required speed increment will cause the fan speed to exceed the upper or lower limit of the current gear, the control system will adjust the fan to the value closest to the desired speed within the gear, rather than blindly adjusting it according to the increment. This not only protects the fan from damage, but also ensures that the air conditioning system can operate at optimal efficiency, while providing smoother temperature control and enhancing user comfort.

[0052] In some embodiments, the speed control of the fan adopts a manual gear design with non-fixed speed to adapt to different indoor temperature adjustment requirements. The following is a detailed description of the process: 1) The fan gear is divided into three levels, and the third gear is the high wind speed. Each gear has its specific speed range, including a lower speed limit and an upper speed limit.

[0053] 2) The speed adjustment is not fixed, but floats between the upper and lower limits of each gear according to the change of indoor temperature. This design allows the system to maintain precise control of indoor temperature while effectively controlling the noise level and ensuring the reliable operation of the fan.

[0054] 3) The specific speed settings are as follows: In cooling mode, the lower speed limits of the three gears increase in sequence: [Cooling 1st gear wind lower speed limit] ≤ [Cooling 2nd gear wind lower speed limit] ≤ [Cooling 3rd gear wind lower speed limit].

[0055] In cooling mode, the upper limit speeds of the three gears increase in sequence: [Cooling 1st gear upper limit speed] < [Cooling 2nd gear upper limit speed] < [Cooling 3rd gear upper limit speed].

[0056] In heating mode, the speed setting is similar to that in cooling mode.

[0057] 4) In automatic gear mode, the fan's operating speed will be automatically adjusted between the upper speed limit of the highest gear and the lower speed limit of the lowest gear to achieve optimal indoor temperature control.

[0058] With this design, the air conditioning system can respond more flexibly to changes in indoor temperature while maintaining energy efficiency and user comfort. This speed control strategy helps reduce energy consumption, extend equipment life, and provide a smoother and quieter indoor environment.

[0059] Step S32, obtaining the current speed of the fan, and determining that the sum of the current speed and the required speed increment is the desired speed.

[0060] In this embodiment, the system obtains the instantaneous speed of the fan through a sensor or built-in monitoring device, which is the actual operating speed of the fan at a certain moment. The system then adds this current speed to the required speed increment calculated by the incremental PID algorithm to obtain an expected speed value, which represents the ideal speed that the fan should reach in order to achieve or maintain the indoor target temperature.

[0061] Step S33, determining whether the expected speed is within the speed range corresponding to the gear position.

[0062] If yes, execute step S34; if no, execute step S35.

[0063] The purpose of this embodiment is to ensure that the speed adjustment of the fan does not exceed its safety and performance limits. In this embodiment, the system compares the desired speed calculated by the incremental PID algorithm with the speed range allowed by the current gear. This speed range, that is, the speed interval corresponding to the gear, is determined by the design and performance parameters of the fan, and it defines the minimum and maximum speeds at which the fan can operate stably in this gear.

[0064] If the expected speed falls within this range, the system will execute step S34 to adjust the fan speed directly to the expected speed to achieve accurate control of the indoor temperature. If the expected speed exceeds this range, the system needs to execute step S35 to adjust the fan speed to the value closest to the expected speed within the range to avoid overspeeding of the fan and ensure stable operation of the fan and comfort of the indoor environment.

[0065] Step S34, adjusting the speed of the fan to a desired speed.

[0066] In this embodiment, the desired speed is a target speed value calculated by an incremental PID algorithm based on the difference between the indoor temperature and the set temperature. Once the desired speed is calculated and confirmed to be within the speed range allowed by the current gear of the fan, the control system will execute the adjustment command to accurately set the fan speed to the desired value.

[0067] This adjustment process is achieved through the motor drive or inverter in the control system, which can smoothly change the fan speed according to the control signal. By adjusting the fan speed to the desired speed, the air conditioning system can more accurately control the circulation of indoor air and heat exchange, so as to reach and maintain the user-set indoor temperature faster, improve comfort and optimize energy efficiency. This method helps to reduce temperature fluctuations and avoid over-cooling or heating, while also helping to reduce noise and extend the service life of the fan.

[0068] Step S35, adjusting the rotation speed of the fan to a rotation speed that is closest to the expected rotation speed within the rotation speed range.

[0069] In this embodiment, when the desired speed calculated by the incremental PID algorithm exceeds the speed range allowed by the current gear of the fan, the system will not directly adjust the fan speed to the desired value to avoid unstable operation or damage to the fan. Instead, it will take conservative adjustment measures to set the fan speed to a value closest to the desired speed within the current gear speed range.

[0070] This strategy allows the fan to operate within a safe operating range while meeting the indoor temperature regulation requirements as much as possible. By selecting the speed value closest to the desired speed within the speed range, the system can minimize the impact on the indoor temperature control accuracy while avoiding fan wear or increased energy consumption caused by excessive speed adjustment. This approach helps balance the performance, life and energy efficiency of the fan, ensuring the long-term stable operation of the air conditioning system while providing users with a comfortable indoor environment.

[0071] Based on the above technical solution, this embodiment provides a sophisticated and efficient fan speed adjustment mechanism to ensure the accuracy and energy efficiency of indoor temperature control. By obtaining the fan gear and the corresponding speed range, the system can adjust the speed according to actual needs and the performance characteristics of the fan. This method allows the fan to smoothly transition between different gears while ensuring that the speed adjustment does not exceed the safety and performance limits of the equipment.

[0072] Please refer to Figure 3 , is a flow chart of another temperature control method provided by an embodiment of the present invention. Based on the above embodiment, in some embodiments, the another temperature control method may specifically include the following steps: Step S41, obtaining the indoor temperature and the set temperature of the air conditioner.

[0073] Step S42, using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0074] Step S43, adjusting the speed of the fan according to the required speed increment to control the change of indoor temperature.

[0075] Step S44, obtaining the temperature control mode of the air conditioner, and determining the first shutdown temperature and the second shutdown temperature according to the temperature control mode and the set temperature.

[0076] In this embodiment, the system first identifies the temperature control mode of the air conditioner, that is, determines whether the air conditioner is in cooling or heating mode. Then, the system calculates two specific temperature values, namely the first shutdown temperature and the second shutdown temperature, based on the identified temperature control mode and the temperature set by the user. These temperature values ​​are used as part of the control logic to decide when to shut down the fan to save energy and maintain indoor comfort.

[0077] Specifically, the first shutdown temperature is to stop the fan from running when the indoor temperature reaches a relatively comfortable and energy-efficient level to avoid over-cooling or heating. The second shutdown temperature is a more stringent threshold. When the indoor temperature reaches this value, the system will shut down the fan regardless of the current speed of the fan to prevent energy waste.

[0078] In some embodiments, when the temperature control mode of the air conditioner is the cooling mode, the first shutdown temperature can be obtained by subtracting a first preset value from the set temperature, such as the first preset value can be set to 1°C or 1.5°C, and the specific value can be associated with the preset duration. The second shutdown temperature can be obtained by subtracting a second preset value from the set temperature, such as the second preset value can be set to 2°C.

[0079] In some embodiments, when the temperature control mode of the air conditioner is the heating mode, the first shutdown temperature can be obtained by adding the set temperature to a third preset value, such as the third preset value can be set to 1°C or 1.5°C, and the specific value can be associated with the preset duration. The second shutdown temperature can be obtained by adding the set temperature to a fourth preset value, such as the fourth preset value can be set to 2°C.

[0080] Step S45, when the indoor temperature reaches the first shutdown temperature, the speed of the fan is lower than the lower limit of the speed range corresponding to the gear position, and the duration exceeds the preset time, the fan is turned off.

[0081] This embodiment provides an energy-saving control strategy for automatically shutting down the air-conditioning fan under certain conditions. The purpose is to reduce energy consumption and improve the operating efficiency of the air-conditioning system. When the indoor temperature has dropped to the comfort level set by the user (i.e., the first shutdown temperature), and the speed of the fan has dropped below the minimum speed allowed by its gear, if this state continues for a preset period of time (i.e., the preset duration), the system will consider it unnecessary to continue running the fan.

[0082] In some embodiments, when the temperature control mode of the air conditioner is the cooling mode, assuming that the current speed of the fan is R, the required speed increment calculated by the incremental PID algorithm is ΔR. If the sum of R and ΔR is lower than the minimum speed of the fan for normal operation at this gear, and the indoor temperature T1 is lower than the set temperature Ts minus 1°C for 5 consecutive minutes, the system will stop the fan to avoid over-cooling and save energy.

[0083] If the sum of R and ΔR is lower than the minimum speed, and the indoor temperature T1 is lower than the set temperature Ts minus 1.5℃ for 2 consecutive minutes, the system will also stop the fan operation.

[0084] In some embodiments, when the temperature control mode of the air conditioner is heating mode, if the current speed R of the fan plus the required speed increment ΔR is lower than the minimum speed of the gear, and the indoor temperature T1 is higher than the set temperature Ts plus 1°C for 5 consecutive minutes, the system will stop the fan to prevent overheating.

[0085] If the sum of R and ΔR is lower than the minimum speed, and the indoor temperature T1 is higher than the set temperature Ts plus 1.5°C for 2 consecutive minutes, the system will also stop the fan operation.

[0086] Step S46, when the indoor temperature reaches the second shutdown temperature and the speed of the fan is lower than the lower limit of the speed range corresponding to the gear position, turn off the fan.

[0087] In this embodiment, the second shutdown temperature is a preset critical value. When the indoor temperature reaches or exceeds this value, and the speed of the fan has dropped below the lower limit of the speed range allowed by the current gear, the system will automatically shut down the fan. In cooling mode, if the indoor temperature drops to a certain safety margin lower than the set temperature, the system will shut down the fan to prevent over-cooling. Similarly, in heating mode, if the indoor temperature rises to a certain safety margin higher than the set temperature, the system will also shut down the fan to prevent over-heating.

[0088] For example, when R+ΔR is lower than the lower speed limit of the current gear and T1 is lower than Ts-2°C during cooling (T1 is higher than Ts+2°C during heating), the fan is turned off.

[0089] This control method helps maintain the indoor temperature within the comfortable range set by the user, while reducing the operating time of the air-conditioning system, lowering energy consumption, extending equipment life, and reducing noise pollution, providing users with a more energy-efficient, quiet and comfortable indoor environment.

[0090] Step S47, when the fan is in the off state, determine the startup temperature according to the temperature control mode and the set temperature.

[0091] In this embodiment, after the fan stops running, the system automatically monitors the indoor temperature and decides when to restart the fan to maintain indoor comfort. In this embodiment, the system calculates a specific startup temperature value based on the current temperature control mode (cooling or heating) and the temperature set by the user.

[0092] In cooling mode, the start-up temperature is usually set to a specific value higher than the set temperature. When the indoor temperature rises to this start-up temperature, the system will restart the fan to start cooling to prevent the indoor temperature from being too high. Conversely, in heating mode, the start-up temperature is set to a specific value lower than the set temperature. Once the indoor temperature drops to this start-up temperature, the fan will restart to provide heat to ensure that the indoor temperature is not too low.

[0093] Step S48, when the indoor temperature reaches the startup temperature, turn on the fan.

[0094] Return to step S42 and use an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0095] In this embodiment, when the indoor temperature reaches the preset startup temperature due to some reasons (such as the temperature gradually rises or falls after the fan is turned off), the system will automatically start the fan to start the cooling or heating process.

[0096] For example, if it is detected that T1 is greater than Ts+1°C in cooling mode (T1 is lower than Ts-1°C in heating mode), the fan is controlled to start running from the lower speed limit of the current gear.

[0097] Once the fan is turned on, the system returns to step S42, using an incremental PID algorithm to calculate the required fan speed increment based on the indoor temperature and the set temperature. This step is a cyclic process in the control system, which uses an incremental PID algorithm to dynamically calculate the fan speed that should be reached in order to effectively adjust the indoor temperature. By comparing the current indoor temperature with the temperature set by the user, the algorithm calculates a required speed increment, and the control system then adjusts the fan speed according to this increment to achieve more accurate temperature control.

[0098] Based on the above technical solution, this embodiment not only improves the accuracy and response speed of indoor temperature control through this automated control strategy, but also helps save energy and improve user comfort. By intelligently managing the start and stop and speed adjustment of the fan, the air conditioning system can operate more efficiently, while reducing long-term operating costs and achieving energy conservation and environmental protection.

[0099] Please refer to Figure 4, is a flow chart of another temperature control method provided by an embodiment of the present invention. Based on the above embodiment, in some embodiments, the further temperature control method may specifically include the following steps: Step S51, summing up all required speed increments in the current water temperature adjustment cycle to obtain a total required speed.

[0100] In this embodiment, the total required speed is obtained by accumulating the required speed increment (ΔR) calculated each time according to the difference between the indoor temperature and the set temperature during the entire water temperature adjustment cycle. The total required speed can more comprehensively reflect the trend and amplitude of the indoor temperature change. The purpose of this step is to more accurately capture the demand for indoor temperature adjustment, thereby providing a basis for subsequent water temperature adjustment.

[0101] For example, during the operation of the air conditioning system, if the fan is monitored to be running at a low speed for a period of time, or the fan is frequently started and stopped, this may indicate that the fan speed is not sufficient to effectively regulate the indoor temperature. In addition, if the indoor temperature cannot reach the user-set temperature by adjusting the fan speed for a long time, this further indicates that the current water temperature setting may not be appropriate.

[0102] In this case, the air conditioning system will determine the new water temperature requirement based on the total required speed. Once the terminal device calculates the new water temperature requirement, the host will exchange data with the terminal device through wired (such as RS-485 communication protocol) or wireless (such as Bluetooth) communication. The host will poll the terminal device to collect parameters including but not limited to indoor temperature, set temperature, fan speed, and calculated water temperature requirement. Based on the collected data, the host can further analyze and decide whether the water temperature setting needs to be adjusted, and how to adjust it to achieve the best indoor temperature control effect.

[0103] In some embodiments, to achieve more stable and energy-saving indoor temperature control, considering that the inertia of water temperature changes is greater than that of wind speed changes and it takes longer to achieve the desired changes, the water temperature adjustment cycle can be set to ten times the wind speed adjustment cycle.

[0104] Step S52, obtaining the temperature control mode of the air conditioner, and determining the required water temperature increment corresponding to the required total speed according to the temperature control mode and a preset corresponding relationship.

[0105] In this embodiment, the relationship between the total amount of fan speed change required and the water temperature adjustment is calculated based on the current operating mode of the air conditioner (cooling or heating) and the temperature set by the user. This process first identifies the temperature control mode of the air conditioner, and then uses the preset corresponding relationship to convert the accumulated total amount of required speed change into the corresponding water temperature adjustment demand.

[0106] Specifically, if the air conditioner is running in cooling mode, the system will determine how much the water temperature needs to be lowered to maintain the indoor temperature based on the total amount of demand speed changes. Conversely, in heating mode, the system will calculate how much the water temperature needs to be increased based on the total amount of demand speed changes.

[0107] The preset correspondence relationship may be in the form of a preset correspondence relationship table, as shown in the following table: Among them, ΣΔR is the required total speed, ΔT is the required water temperature increment, ΣΔR1, ΣΔR2, ΣΔR3, ΣΔR4, ΣΔR5, ΣΔR6 are respectively pre-set speed values, and ΣΔR1<ΣΔR2<ΣΔR3<0<ΣΔR4<ΣΔR5<ΣΔR6.

[0108] This embodiment allows the air conditioning system to more accurately control the indoor temperature while taking into account energy efficiency and user comfort. In this way, the air conditioning system can achieve more intelligent and automated temperature control, improve the quality of life of users, while reducing energy consumption, extending the life of the equipment, and providing a more comfortable indoor environment.

[0109] Step S53, adjusting the water temperature according to the required water temperature increment after the current water temperature adjustment cycle ends.

[0110] This embodiment is used for accurate management of water temperature in air conditioning systems. After completing a preset water temperature adjustment cycle, the system adjusts the water temperature according to the previously calculated required water temperature increment (ΔT) to ensure that the indoor temperature can more effectively reach and maintain the comfort level set by the user. This adjustment method helps to optimize energy use and reduce unnecessary energy consumption, while improving the accuracy of indoor temperature control and user comfort. In this way, the air conditioning system can operate more intelligently and efficiently, while reducing energy consumption, extending equipment life, and providing a more comfortable indoor environment.

[0111] Based on the above technical solution, this embodiment analyzes the increment of the required speed during the entire adjustment cycle, so that the system can more accurately judge the trend of indoor temperature changes, thereby more accurately adjusting the water temperature to achieve indoor temperature stability. At the same time, adjusting the water temperature according to the total amount of required speed changes helps to avoid unnecessary energy waste. By periodically adjusting the water temperature, the system can respond to changes in indoor temperature more quickly, reduce temperature fluctuations, and improve user comfort. It reflects the intelligent characteristics of the air-conditioning system, and can automatically adjust parameters according to actual operating conditions, improve the system's automation level, and reduce the need for manual intervention.

[0112] Please refer to Figure 5 , is a schematic diagram of the structure of a temperature control device provided by an embodiment of the present invention, and the temperature control device may include: The acquisition module 100 is used to acquire the indoor temperature and the set temperature of the air conditioner; A calculation module 200 is used to calculate the required speed increment of the fan according to the indoor temperature and the set temperature using an incremental PID algorithm; The control module 300 is used to adjust the speed of the fan according to the required speed increment to control the indoor temperature change.

[0113] Based on the above embodiments, in a specific embodiment, the calculation module 200 can be specifically used for: Acquire a temperature control mode of the air conditioner, and determine a corresponding temperature control coefficient according to the temperature control mode; The difference between the indoor temperature and the set temperature at at least two moments is calculated, and the required speed increment is calculated according to the difference and the temperature control coefficient.

[0114] Based on the above embodiments, in a specific embodiment, the control module 300 can be specifically used for: Get the gear position of the fan and determine the speed range corresponding to the gear position; Obtain the current speed of the fan, and determine that the sum of the current speed and the required speed increment is the expected speed; Determine whether the expected speed is within the speed range corresponding to the gear position; If yes, adjust the fan speed to the desired speed; If not, the speed of the fan is adjusted to a speed that is closest to the expected speed within the speed range.

[0115] Based on the above embodiment, in a specific embodiment, the control module 300 can also be used for: Obtaining a temperature control mode of the air conditioner, and determining a first shutdown temperature and a second shutdown temperature according to the temperature control mode and a set temperature; When the indoor temperature reaches the first shutdown temperature, the fan speed is lower than the lower limit of the speed range corresponding to the gear position, and the duration exceeds the preset time, the fan is turned off; When the indoor temperature reaches the second shutdown temperature and the speed of the fan is lower than the lower limit of the speed range corresponding to the gear position, the fan is turned off.

[0116] Based on the above embodiment, in a specific embodiment, the control module 300 can also be used for: When the fan is in the off state, the startup temperature is determined according to the temperature control mode and the set temperature; When the indoor temperature reaches the start-up temperature, the fan is turned on, and the process returns to the step of using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0117] Based on the above embodiment, in a specific embodiment, the control module 300 can also be used for: Re-obtain the indoor temperature after the current wind speed adjustment cycle ends; Determine whether the indoor temperature reaches the set temperature; If not, the process returns to the step of using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

[0118] Based on the above embodiment, in a specific embodiment, the control module 300 can also be used for: Sum all required speed increments in the current water temperature adjustment cycle to obtain the total required speed; Obtain the temperature control mode of the air conditioner, and determine the required water temperature increment corresponding to the required total speed according to the temperature control mode and the preset corresponding relationship; After the current water temperature adjustment cycle ends, the water temperature is adjusted according to the required water temperature increment.

[0119] This embodiment provides an electronic device, including a processor and a memory, the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the above-mentioned temperature control method is implemented. Its execution method and beneficial effects are similar and will not be repeated here.

[0120] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned temperature control method is implemented. Its execution method and beneficial effects are similar and will not be repeated here.

[0121] It should be noted that although the above describes the various steps in a specific order, it does not mean that the various steps must be executed in the above specific order. In fact, some of these steps can be executed concurrently or even in a different order as long as the required functions can be achieved.

[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A temperature control method, characterized in that: include: Get the indoor temperature and the set temperature of the air conditioner; An incremental PID algorithm is used to calculate the required speed increment of the fan according to the indoor temperature and the set temperature; The speed of the fan is adjusted according to the required speed increment to control the indoor temperature change.

2. The method according to claim 1, characterized in that The incremental PID algorithm is used to calculate the required speed increment of the fan according to the indoor temperature and the set temperature, including: Acquire a temperature control mode of the air conditioner, and determine a corresponding temperature control coefficient according to the temperature control mode; The difference between the indoor temperature and the set temperature at at least two moments is calculated, and the required speed increment is calculated according to the difference and the temperature control coefficient.

3. The method according to claim 1, characterized in that The adjusting the speed of the fan according to the required speed increment includes: Obtaining the gear position of the fan and determining the speed range corresponding to the gear position; Obtaining a current speed of the fan, and determining that the sum of the current speed and the required speed increment is the desired speed; Determining whether the expected speed is within a speed range corresponding to the gear position; If yes, adjusting the speed of the fan to the desired speed; If not, the rotation speed of the fan is adjusted to a rotation speed within the rotation speed range that is closest to the expected rotation speed.

4. The method according to claim 3, characterized in that The method further comprises: Acquire a temperature control mode of the air conditioner, and determine a first shutdown temperature and a second shutdown temperature according to the temperature control mode and the set temperature; When the indoor temperature reaches the first shutdown temperature, the speed of the fan is lower than the lower limit of the speed range corresponding to the gear position, and the duration exceeds a preset time, turning off the fan; When the indoor temperature reaches the second shutdown temperature and the rotation speed of the fan is lower than the lower limit of the rotation speed range corresponding to the gear position, the fan is turned off.

5. The method according to claim 4, characterized in that The method further comprises: When the fan is in an off state, determining the startup temperature according to the temperature control mode and the set temperature; When the indoor temperature reaches the startup temperature, the fan is turned on, and the process returns to the step of using an incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

6. The method according to claim 1, characterized in that After adjusting the speed of the fan according to the required speed increment, the method further includes: Re-obtaining the indoor temperature after the current wind speed adjustment cycle ends; Determining whether the indoor temperature reaches the set temperature; If not, the process returns to the step of using the incremental PID algorithm to calculate the required speed increment of the fan according to the indoor temperature and the set temperature.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Sum all the required speed increments in the current water temperature adjustment cycle to obtain the total required speed; Acquire the temperature control mode of the air conditioner, and determine the required water temperature increment corresponding to the required total speed according to the temperature control mode and a preset corresponding relationship; After the current water temperature adjustment cycle ends, the water temperature is adjusted according to the required water temperature increment.

8. A temperature control device, characterized in that: include: The acquisition module is used to obtain the indoor temperature and the set temperature of the air conditioner; A calculation module, used for calculating the required speed increment of the fan according to the indoor temperature and the set temperature by using an incremental PID algorithm; The control module is used to adjust the speed of the fan according to the required speed increment to control the indoor temperature change.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the temperature control method as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the temperature control method according to any one of claims 1 to 7 is implemented.