Control method of air conditioner, air conditioner and computer readable storage medium

文档序号:1843695 发布日期:2021-11-16 浏览:36次 中文

阅读说明:本技术 空调器的控制方法、空调器及计算机可读存储介质 (Control method of air conditioner, air conditioner and computer readable storage medium ) 是由 唐亚林 李玉 席战利 李宝华 林勇 于 2021-08-06 设计创作,主要内容包括:本发明公开了一种空调器的控制方法,包括:获取第一温度传感器检测到的温度和第二温度传感器检测到的温度;设定第一温度传感器位于第一设定位置,第二温度传感器位于第二设定位置;调整导风条的角度以朝第一设定位置送风;在空调器以调整后的导风条的角度运行预设时长后,获取第一温度传感器检测到的温度的变化值和第二温度传感器检测到的温度的变化值;在第一温度传感器检测到的温度的变化值小于第二温度传感器检测到的温度的变化值时,对调温度传感器对应的位置信息。本发明还公开了一种空调器、计算机可读存储介质,达到了在温度传感器的位置信息错误时,空调器能够确定温度传感器正确的位置信息的效果。(The invention discloses a control method of an air conditioner, which comprises the following steps: acquiring the temperature detected by a first temperature sensor and the temperature detected by a second temperature sensor; setting a first temperature sensor to be located at a first set position, and setting a second temperature sensor to be located at a second set position; adjusting the angle of the air guide strips to blow air towards a first set position; after the air conditioner runs for a preset time at the adjusted angle of the air guide strip, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor; and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor. The invention also discloses an air conditioner and a computer readable storage medium, which achieve the effect that the air conditioner can determine the correct position information of the temperature sensor when the position information of the temperature sensor is wrong.)

1. A control method of an air conditioner is characterized by comprising the following steps:

acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor;

setting a first temperature sensor to be located at a first set position, and setting a second temperature sensor to be located at a second set position;

adjusting the angle of the air guide strip to blow air towards the first set position;

after the air conditioner runs for a preset time at the adjusted angle of the air guide strip, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor;

and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor.

2. The control method of an air conditioner according to claim 1, further comprising, before the step of setting the first temperature sensor at the first set position and the second temperature sensor at the second set position:

and comparing the temperatures detected by the two temperature sensors to obtain a comparison result, and determining the first temperature sensor and the second temperature sensor according to the comparison result.

3. The method of claim 2, wherein the step of determining the first temperature sensor and the second temperature sensor according to the comparison result comprises:

when the air conditioner operates in a refrigeration mode, determining that the temperature sensor corresponding to the maximum temperature in the comparison result is the first temperature sensor, and determining that the temperature sensor corresponding to the minimum temperature in the comparison result is the second temperature sensor;

and when the air conditioner runs in a heating mode, determining that the temperature sensor corresponding to the minimum temperature in the comparison result is a first temperature sensor, and determining that the temperature sensor corresponding to the maximum temperature in the comparison result is a second temperature sensor.

4. The control method of an air conditioner according to claim 1, further comprising:

acquiring an absolute value of a difference value of the temperatures detected by the two temperature sensors;

and when the absolute value of the difference is larger than or equal to a preset difference, executing the step of setting that the first temperature sensor is located at a first set position and the second temperature sensor is located at a second set position.

5. The control method of an air conditioner according to claim 4, wherein said step of obtaining an absolute value of a difference between the temperatures detected by the two temperature sensors is followed by further comprising:

and when the absolute value of the difference value is smaller than the preset difference value, maintaining the current air outlet direction of the air guide strip.

6. The control method of an air conditioner according to claim 1, wherein said step of acquiring the temperature detected by said first temperature sensor and the temperature detected by said second temperature sensor is preceded by:

acquiring the starting time of the air conditioner;

and when the starting time length is greater than or equal to a set time length, executing the step of acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor.

7. The control method of an air conditioner according to claim 1, wherein the step of acquiring the variation value of the temperature detected by the first temperature sensor and the variation value of the temperature detected by the second temperature sensor is preceded by:

after the air conditioner runs for a preset time length at the adjusted angle of the air guide strip, acquiring an absolute value of a difference value of the temperatures currently detected by the two temperature sensors;

and when the absolute value of the difference value of the currently detected temperatures is greater than or equal to a preset difference value, executing the step of acquiring the change value of the temperatures detected by the first temperature sensor and the change value of the temperatures detected by the second temperature sensor.

8. The method as claimed in claim 1, wherein after the step of obtaining the variation value of the temperature detected by the first temperature sensor and the variation value of the temperature detected by the second temperature sensor after the air conditioner is operated at the adjusted angle of the air guide strip for a preset time period, the method further comprises:

and when the change value of the temperature detected by the first temperature sensor is greater than or equal to the change value of the temperature detected by the second temperature sensor, determining that the position information of the two temperature sensors is correct.

9. An air conditioner, characterized in that the air conditioner comprises: a memory, a processor, and a control program of an air conditioner stored on the memory and executable on the processor, the control program of the air conditioner implementing the steps of the control method of the air conditioner according to any one of claims 1 to 8 when executed by the processor.

10. A computer-readable storage medium, characterized in that a control program of an air conditioner is stored thereon, which when executed by a processor implements the steps of the control method of the air conditioner according to any one of claims 1 to 8.

Technical Field

The present invention relates to the field of air conditioners, and in particular, to a method for controlling an air conditioner, and a computer-readable storage medium.

Background

In daily life of people, an air conditioner is widely used for adjusting indoor environment temperature to meet the requirement of comfort. The accuracy of the temperature adjustment of each indoor area is an important factor for judging whether the air conditioner can meet the comfort requirement of people. In the process of adjusting the indoor temperature, the temperature sensor is used for acquiring the area temperature of the area, so that corresponding adjusting parameters are determined, and the indoor temperature is adjusted. However, when the positional information of the temperature sensor is erroneous, the air conditioner cannot determine the positional information of the temperature sensor.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention mainly aims to provide a control method of an air conditioner, the air conditioner and a computer readable storage medium, and aims to solve the problem that the correct position information of a temperature sensor cannot be determined by a null-lift couple under the condition that the installation position of the temperature sensor is wrong.

In order to achieve the above object, the present invention provides a method for controlling an air conditioner, comprising the steps of:

acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor;

setting a first temperature sensor to be located at a first set position, and setting a second temperature sensor to be located at a second set position;

adjusting the angle of the air guide strip to blow air towards the first set position;

after the air conditioner runs for a preset time at the adjusted angle of the air guide strip, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor;

and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor.

Optionally, before the step of setting the first temperature sensor to be located at the first setting position and the second temperature sensor to be located at the second setting position, the method further includes:

and comparing the temperatures detected by the two temperature sensors to obtain a comparison result, and determining the first temperature sensor and the second temperature sensor according to the comparison result.

Optionally, the step of determining the first temperature sensor and the second temperature sensor according to the comparison result includes:

when the air conditioner operates in a refrigeration mode, determining that the temperature sensor corresponding to the maximum temperature in the comparison result is the first temperature sensor, and determining that the temperature sensor corresponding to the minimum temperature in the comparison result is the second temperature sensor;

and when the air conditioner runs in a heating mode, determining that the temperature sensor corresponding to the minimum temperature in the comparison result is a first temperature sensor, and determining that the temperature sensor corresponding to the maximum temperature in the comparison result is a second temperature sensor.

Optionally, the control method of the air conditioner further includes:

acquiring an absolute value of a difference value of the temperatures detected by the two temperature sensors;

and when the absolute value of the difference is larger than or equal to a preset difference, executing the step of setting that the first temperature sensor is located at a first set position and the second temperature sensor is located at a second set position.

Optionally, after the step of acquiring the absolute value of the difference between the temperatures detected by the respective temperature sensors, the method further includes:

and when the absolute value of the difference value is smaller than the preset difference value, maintaining the current air outlet direction of the air guide strip.

Optionally, before the step of comparing the temperatures detected by the two temperature sensors to obtain the comparison result, the method includes:

acquiring the starting time of the air conditioner;

and when the starting time length is greater than or equal to a preset time length, executing the step of acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor.

Optionally, before the step of acquiring the change value of the temperature detected by the first temperature sensor and the change value of the temperature detected by the second temperature sensor, the method further includes:

after the air conditioner runs for a preset time length at the adjusted angle of the air guide strip, acquiring an absolute value of a difference value of the temperatures currently detected by the two temperature sensors;

and when the absolute value of the difference value of the currently detected temperatures is greater than or equal to a preset difference value, executing the step of acquiring the change value of the temperatures detected by the first temperature sensor and the change value of the temperatures detected by the second temperature sensor.

Optionally, after the step of obtaining the change value of the temperature detected by the first temperature sensor and the change value of the temperature detected by the second temperature sensor after the air conditioner operates at the adjusted angle of the air guide strip for a preset time, the method further includes:

and when the change value of the temperature detected by the first temperature sensor is greater than or equal to the change value of the temperature detected by the second temperature sensor, determining that the position information of the two temperature sensors is correct.

In addition, this application still provides an air conditioner, and the air conditioner includes: the control method comprises a memory, a processor and a control program of the air conditioner, wherein the control program of the air conditioner is stored on the memory and can run on the processor, and when the control program of the air conditioner is executed by the processor, the steps of the control method of the air conditioner are realized.

Furthermore, the present application also provides a computer-readable storage medium having a control program of an air conditioner stored thereon, which when executed by a processor, implements the steps of the control method of the air conditioner as set forth in any one of the above embodiments.

The invention provides a solution, the temperature detected by a first temperature sensor and the temperature detected by a second temperature sensor are obtained, the first temperature sensor is set to be located at a first set position, the second temperature sensor is located at a second set position, air is supplied to the first set position by adjusting the angle of an air guide strip, after an air conditioner runs for a preset time length at the adjusted angle of the air guide strip, the change value of the temperature detected by the first temperature sensor and the change value of the temperature detected by the second temperature sensor are obtained, and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, the position information of the first temperature sensor and the second temperature sensor is determined to be wrong, and the position information corresponding to the temperature sensors is exchanged. The air conditioner can accurately determine the correct position information of the temperature sensors under the condition that the position information of the two temperature sensors is wrong.

Drawings

Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;

FIG. 2 is a flow chart illustrating a control method of an air conditioner according to an embodiment of the present invention;

FIG. 3 is a flow chart illustrating a control method of an air conditioner according to another embodiment of the present invention;

FIG. 4 is a flow chart illustrating a control method of an air conditioner according to still another embodiment of the present invention;

fig. 5 is a schematic view illustrating the inventive concept of the control method of the air conditioner in a cooling mode according to the present invention;

fig. 6 is a schematic view of the inventive concept of the control method of the air conditioner in the heating mode.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The main solution of the embodiment of the invention is as follows: acquiring the temperature detected by a first temperature sensor and the temperature detected by a second temperature sensor; setting a first temperature sensor to be located at a first set position, and setting a second temperature sensor to be located at a second set position; adjusting the angle of the air guide strips to blow air towards a first set position; after the air conditioner runs for a preset time at the adjusted angle of the air guide strip, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor; and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor.

In the related art, when the air conditioner adjusts the temperature, the temperature sensors installed in each area of the air conditioner action space need to be acquired to determine the temperature of the installation position of the air conditioner, and then the adjustment parameters corresponding to the area are determined, so that the temperature of the environment where the air conditioner is located meets the comfort requirement of a user. However, when the temperature sensor is incorrectly installed, the air conditioner cannot obtain correct position information of the air conditioner, and parameter adjustment is wrong.

The invention provides a solution, the temperature detected by a first temperature sensor and the temperature detected by a second temperature sensor are obtained, the first temperature sensor is set to be located at a first set position, the second temperature sensor is located at a second set position, air is supplied to the first set position by adjusting the angle of an air guide strip, after an air conditioner runs for a preset time length at the adjusted angle of the air guide strip, the change value of the temperature detected by the first temperature sensor and the change value of the temperature detected by the second temperature sensor are obtained, and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, the position information of the first temperature sensor and the second temperature sensor is determined to be wrong, and the position information corresponding to the temperature sensors is exchanged. The air conditioner can accurately determine the correct position information of the temperature sensors under the condition that the position information of the two temperature sensors is wrong.

As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.

The terminal of the embodiment of the invention is an air conditioner.

As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.

Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.

Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a control program of an air conditioner.

In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program of the air conditioner stored in the memory 1005 and perform the following operations:

acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor;

setting a first temperature sensor to be located at a first set position, and setting a second temperature sensor to be located at a second set position;

adjusting the angle of the air guide strip to blow air towards the first set position;

after the air conditioner runs for a preset time at the adjusted angle of the air guide strip, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor;

and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

and comparing the temperatures detected by the two temperature sensors to obtain a comparison result, and determining the first temperature sensor and the second temperature sensor according to the comparison result.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

when the air conditioner operates in a refrigeration mode, determining that the temperature sensor corresponding to the maximum temperature in the comparison result is the first temperature sensor, and determining that the temperature sensor corresponding to the minimum temperature in the comparison result is the second temperature sensor;

and when the air conditioner runs in a heating mode, determining that the temperature sensor corresponding to the minimum temperature in the comparison result is a first temperature sensor, and determining that the temperature sensor corresponding to the maximum temperature in the comparison result is a second temperature sensor.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

acquiring an absolute value of a difference value of the temperatures detected by the two temperature sensors;

and when the absolute value of the difference is larger than or equal to a preset difference, executing the step of setting that the first temperature sensor is located at a first set position and the second temperature sensor is located at a second set position.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

and when the absolute value of the difference value is smaller than the preset difference value, maintaining the current air outlet direction of the air guide strip.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

acquiring the starting time of the air conditioner;

and when the starting time length is greater than or equal to a preset time length, executing the step of acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

after the air conditioner runs for a preset time length at the adjusted angle of the air guide strip, acquiring an absolute value of a difference value of the temperatures currently detected by the two temperature sensors;

and when the absolute value of the difference value of the currently detected temperatures is greater than or equal to a preset difference value, executing the step of acquiring the change value of the temperatures detected by the first temperature sensor and the change value of the temperatures detected by the second temperature sensor.

Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:

and when the change value of the temperature detected by the first temperature sensor is greater than or equal to the change value of the temperature detected by the second temperature sensor, determining that the position information of the two temperature sensors is correct.

Referring to fig. 2, in an embodiment, a control method of an air conditioner includes the steps of:

step S10, acquiring a temperature detected by the first temperature sensor and a temperature detected by the second temperature sensor;

step S20, setting the first temperature sensor at a first setting position and the second temperature sensor at a second setting position;

step S30, adjusting the angle of the air guide strip to blow air toward the first set position;

step S40, after the air conditioner operates at the adjusted angle of the air guide strip for a preset time, acquiring a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor;

and step S50, when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, exchanging the position information corresponding to the temperature sensor.

In the operation process of the air conditioner, the temperature change condition of the environment is required to be acquired, so that the operation parameters of the air conditioner are adjusted according to the acquired temperature. Such as controlling the operation of the air guide strips or the fan. In the related art, when the air conditioner adjusts the temperature, the temperature of each area is directly determined according to the temperature sensors arranged in the areas of the acting space of the air conditioner, and then the corresponding adjustment parameters of the areas are determined, so that the temperature of the environment meets the comfort requirement of a user. However, if the positional information of the temperature sensor is incorrect, the corresponding adjustment parameter cannot be determined.

In the present embodiment, the operation space of the air conditioner is divided into two regions, wherein the first setting position may be a space from the center of the air conditioner to the entrance, and the second setting position may be a space from the center of the air conditioner to the balcony, and it is understood that the entrance is located at the left side of the air conditioner and the balcony is located at the right side of the air conditioner.

When the air conditioner acquires the temperatures detected by the two temperature sensors installed in the operating space, the first temperature sensor is set to acquire the temperature at the first set position in the operating space of the air conditioner, but in an actual installation situation, the first temperature sensor is installed at the second set position (that is, the first temperature sensor transmits the temperature value of the second set position of the air conditioner). Thereby, the air conditioner is caused to determine the adjustment parameter of the first setting position according to the temperature of the second setting position by mistake, resulting in parameter adjustment error.

Therefore, the application provides a control method of the air conditioner, and the air conditioner can determine the position installation of the temperature sensor under the condition that the temperature sensor is installed incorrectly.

In this embodiment, when the air conditioner acquires the temperatures of the first temperature sensor and the second temperature sensor, and when adjusting the operation parameters according to the acquired temperatures is performed, the position information of the two temperature sensors is first determined to accurately adjust the operation parameters of the corresponding positions. The first temperature sensor is arranged at a first set position, and the second temperature sensor is arranged at a second set position. The angle of the air guide is adjusted to blow air at a first set position, for example, the air guide can be adjusted to the left by 40 degrees to blow air towards the entrance.

When the air supply time of the air guide strip reaches a preset time length, the temperatures of the first set position and the second set position are obtained again, the change value of the first temperature sensor and the change value of the second temperature sensor are determined, when the change value of the first temperature sensor is smaller than the change value of the second temperature sensor, the set position information of the first temperature sensor is determined to be wrong, the positions of the first temperature sensor and the second temperature sensor are changed, namely the first temperature sensor is determined to obtain the temperature of the second set position, and the second temperature sensor obtains the temperature of the first set position.

Specifically, in the present application, for example, the air conditioner acquires that the temperature of the first temperature sensor is 26 degrees, the temperature of the second temperature sensor is 29 degrees, the position information of the first temperature sensor is set as the first setting position, the position information of the second temperature sensor is set as the second setting position, and the angle of the air guide is adjusted to face the first set position where the first temperature sensor is located, after a preset time period (for example, 10 minutes) is reached, the temperatures of the first temperature sensor and the second temperature sensor are obtained again, the temperature of the first temperature sensor is 25 degrees, the temperature of the second temperature sensor is 32 degrees, the change values of the temperatures of the first temperature sensor and the second temperature sensor are respectively determined twice, the change value of the first temperature sensor is 1, and the change value of the second temperature sensor is 3, namely the change value of the first temperature sensor is smaller than the change value of the second temperature sensor. The air conditioner determines that the set position information of the first temperature sensor is a first set position and the set position information of the second temperature sensor is wrong, and the set positions of the first temperature sensor and the second temperature sensor are exchanged to obtain correct position information.

In this embodiment, when the air conditioner acquires the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor, it is set that the first temperature sensor is located at the first set position, the second temperature sensor is located at the second set position, the air is blown toward the first set position by adjusting the angle of the air guide strip, after the air conditioner operates at the adjusted angle of the air guide strip for a preset time period, a change value of the temperature detected by the first temperature sensor and a change value of the temperature detected by the second temperature sensor are acquired, and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, it is determined that the set position information of the first temperature sensor and the set position information of the second temperature sensor are wrong, and the position information corresponding to the temperature sensors is exchanged. The air conditioner can accurately determine the correct position information of the temperature sensors under the condition that the position information of the two temperature sensors is wrong.

Before the step of setting the first temperature sensor to be at the first setting position and the second temperature sensor to be at the second setting position, the method further comprises the following steps:

and step S01, comparing the temperatures detected by the two temperature sensors to obtain a comparison result, and determining the first temperature sensor and the second temperature sensor according to the comparison result.

In an embodiment, after the air conditioner acquires the temperatures of the first temperature sensor and the second temperature sensor, the temperatures acquired by the first temperature sensor and the second temperature sensor are compared, and the first temperature sensor and the second temperature sensor are determined again according to the comparison result.

Before the air conditioner adjusts the operation parameters of the first set position and the second set position, whether the first temperature sensor is correctly installed at the corresponding first set position and whether the second temperature sensor is correctly installed at the corresponding second set position are firstly determined. Therefore, after the air conditioner acquires the two temperatures, the temperatures of the two temperature sensors are compared, and the first temperature sensor and the second temperature sensor are determined according to the comparison result. Optionally, the temperature of the first temperature sensor is 26 degrees celsius, the temperature of the second temperature sensor is 29 degrees celsius, and the temperature sensor with the smaller comparison result is determined to be the first temperature sensor, that is, the temperature sensor which detects 26 degrees celsius is determined to be the first temperature sensor. And then determining that the first temperature sensor is located at the first set position. The adjusting angle of the air guide strip of the air conditioner is an angle towards a first set position (for example, the air guide plate guides air leftwards by 50 degrees), the temperatures of the first temperature sensor and the second temperature sensor are determined again after the preset time is reached, then the sizes of the change values of the temperature sensors before and after the angle of the air guide plate is adjusted are determined respectively, and the correct set positions of the first temperature sensor and the second temperature sensor are obtained.

Optionally, in this embodiment, when determining the first temperature sensor and the second temperature sensor, a distinction is made according to an operation mode of the air conditioner. And when the air conditioner is in a cooling operation mode, determining that the temperature sensor corresponding to the maximum temperature in the comparison result is a first temperature sensor, and when the air conditioner is in a heating operation mode, determining that the temperature sensor corresponding to the minimum temperature in the comparison result is a second temperature sensor. And further setting the first temperature sensor to be located at the first setting position and the second temperature sensor to be located at the second setting position, and controlling the air deflector of the air conditioner to supply air to the first setting position. When the air supply time of the air deflector reaches a preset time, the temperatures of the first temperature sensor and the second temperature sensor are obtained, the change values of the temperatures of the two temperature sensors are respectively determined, when the change value of the first temperature sensor is smaller than the change value of the second temperature sensor, the set positions of the first temperature sensor and the second temperature sensor are determined to be wrong, and the set positions are exchanged to obtain the correct position of the temperature sensor.

For example, the air conditioner obtains the temperatures of the corresponding areas detected by two temperature sensors installed in the operating space as 29 ℃ and 24 ℃, respectively. The current operation mode of the air conditioner is a refrigeration mode, and a sensor which detects the temperature of 29 ℃ is determined as a first temperature sensor according to a comparison result; correspondingly, the sensor which detects the temperature of 24 ℃ is determined as a second temperature sensor, and the first temperature sensor is determined to be positioned at the first set position. The air conditioner controls the air guide strips to convey the refrigerant towards a first set position, the angle is 50 degrees, and after the preset time duration is reached for 10 minutes, the temperatures of the first temperature sensor and the second temperature sensor are obtained again and are respectively 26 ℃ and 23 ℃. Determining that the change value of the first temperature sensor before and after adjusting the air guide strip is 3 and the change value of the second temperature sensor is 1, determining that the change value of the temperature of the first temperature sensor in the current air outlet direction (the direction of the first set position) is greater than the change value of the temperature of the second temperature sensor, and determining that the position information corresponding to the first temperature sensor and the second temperature sensor is the first set position corresponding to the first temperature sensor and the second set position corresponding to the second temperature sensor respectively, that is, the position information of each temperature sensor in the original air conditioner is correct.

In another scenario, after the preset duration is reached, the air conditioner reacquires that the temperatures of the first temperature sensor and the second temperature sensor are respectively 28 ℃ and 20 ℃, the change values of the first temperature sensor before and after the air guide strip is adjusted are determined to be 1, and the change value of the B sensor is 4, then the change value of the temperature of the first temperature sensor in the current air outlet direction (the first set position orientation) is determined to be smaller than the change values of the temperatures of the other temperature sensors, the set position information of the first temperature sensor and the second temperature sensor is determined to be wrong, that is, the position information of the first temperature sensor is the second set position, the position information of the second temperature sensor is the first set position, and the position information of the temperature sensors is readjusted.

Optionally, in this embodiment, after adjusting the angle of the air guide bar according to the comparison result and the position information corresponding to each temperature sensor, the air conditioner obtains an absolute value of a difference between the temperatures detected by the temperature sensors, maintains the current angle of the air guide bar when the absolute value of the temperature difference between the temperature sensors is less than or equal to a preset difference, so as to keep the temperature of the air conditioner acting space uniform, and obtains a variation value of the temperature detected by each temperature sensor when the difference between the temperature sensors is greater than or equal to the preset difference, determines the position of each temperature sensor, and further determines the accuracy of parameter adjustment.

In this embodiment, a comparison result is obtained by comparing the temperatures detected by the two temperature sensors, the first temperature sensor is determined according to the comparison result, the position of the first temperature sensor is set to be a first set position, the angle of the air guide strip is adjusted to the air outlet direction facing the first set position, the change values of the temperatures detected by the two temperature sensors are obtained after a preset time period is reached, and when the change value of the temperature detected by the first temperature sensor is smaller than the change value of the temperature detected by the second temperature sensor, the position information corresponding to the temperature sensors is exchanged. It is achieved that the correct position can be determined in case the position information of both temperature sensors is erroneous.

Referring to fig. 3, fig. 3 is a schematic flow chart of another embodiment of the present application.

The control method of the air conditioner further comprises the following steps:

step S1, acquiring the absolute value of the difference value of the temperatures detected by the two temperature sensors;

and step S2, when the absolute value of the difference is greater than or equal to a preset difference, executing the step of setting the first temperature sensor to be at the first setting position and the second temperature sensor to be at the second setting position.

In this embodiment, when the air conditioner acquires the temperatures of the temperature sensors, the absolute value of the difference between the temperatures detected by the temperature sensors is calculated, and when the absolute value is determined to be greater than the preset difference, it is determined that the temperature of the operating space is not uniform, and the indoor temperature needs to be adjusted. After the indoor temperature needs to be adjusted, a step of comparing the temperatures detected by the two temperature sensors to obtain a comparison result is executed, so that when the position of the temperature sensor is installed incorrectly, the position information of the two temperature sensors is adjusted to obtain correct position information of the temperature sensor.

Further, in this embodiment, when the absolute value of the difference between the temperatures acquired by the air conditioner and the temperatures of the temperature sensors is smaller than the preset difference, the current angle of the air guide strip is maintained. For example, when the air conditioner obtains that the temperatures detected by the two temperature sensors are 27 ℃ and 22 ℃, and the absolute value of the difference between the temperatures of the two temperature sensors is 5 ℃ (|27-22|), which is greater than the preset difference 2, the setting that the first temperature sensor is located at the first setting position and the second temperature sensor is located at the second setting position is performed. In this embodiment, when determining that the current angle of the air guide strip maintains the indoor environment temperature in a temperature uniform state, the air guide strip is controlled to maintain the current angle so as to maintain the indoor environment temperature in the temperature uniform state.

In still another embodiment, as shown in fig. 4, the step of obtaining the absolute value of the difference between the temperatures detected by the two temperature sensors includes:

step S02, acquiring the starting time of the air conditioner;

step S03, when the starting time length is greater than or equal to a set time length, executing the step of acquiring the temperature detected by the first temperature sensor and the temperature detected by the second temperature sensor.

Optionally, when the starting duration is determined to reach the set duration, the air conditioner acquires the temperatures of the two temperature sensors, the air conditioner is controlled to execute the time for acquiring the temperature sensors, the temperature of the environment where the air conditioner is located is determined to be maintained in a uniform state, the temperatures of the temperature sensors are acquired, the condition that in the initial stage of starting the air conditioner, the temperature information of each area is acquired under the condition that the temperature of the indoor environment is unstable is avoided, and the operation of the air conditioner is adjusted, so that the condition that the air conditioner is mistakenly confirmed is avoided.

The detailed description of the present embodiment is as follows: and when the air conditioner starts a refrigeration mode, when the starting time length reaches the set time length for 20 minutes, the temperature of the environment where the air conditioner is located is confirmed to be in a stable state, and the step of acquiring the absolute value of the difference value of the temperatures detected by the two temperature sensors is executed to acquire the accurate temperature, so that the accuracy of the parameter adjustment of the air conditioner is improved.

Further, in this embodiment, when it is determined that the location information of each temperature sensor is correct, the location information of the temperature sensors is stored, so that the temperature information acquired by the two temperature sensors is directly used when the computer is started and restarted next time, and the location information is no longer determined.

Referring to fig. 5, fig. 5 is a schematic view illustrating the inventive concept of the present application when the air conditioner is in a cooling mode.

And (3) refrigeration operation control:

the method comprises the following steps: starting the air conditioner for refrigeration, and recording time t as starting time;

step two: reading temperature values TAi and TBi of the left and right sensors A, B, and an initial angle Xi of the vertical wind guide strip when t is t0(t0 is preferably 20min), and detecting a temperature uniformity deviation Δ Ti (Δ Ti | TAi-TBi |), wherein Δ Ti is an absolute value of a temperature difference value of the left and right sensors A, B at a time point i;

step three: judging whether the room temperature is uneven according to the magnitude of the delta Ti value:

1. when delta Ti is less than m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle does not need to be adjusted;

2. when the delta Ti is larger than or equal to m and the room temperature is not uniform, the angle of the air guide strip needs to be adjusted, and the next judgment is carried out;

step four: according to the values of TAi and TBi, judging where the room is high in temperature:

1. when TAi is greater than TBi, preliminarily judging that the temperature on the left side of the room is high, adjusting the air guide strip to the left side, wherein the angle is XL +1, and entering the fifth step;

2. when TAi is less than TBi, the temperature on the right side of the room is high, the air guide strip is adjusted towards the right side, the angle is XR +1, and the step seven is carried out;

step five: maintain Δ t (Δ t is preferably 3min), detect Δ TL + 1:

1. the delta TL +1 is less than m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle adjustment is stopped, wherein the delta TL +1 is the absolute value of the temperature difference of the left sensor A, B and the right sensor A, B at the moment L + 1;

2. the delta TL +1 is larger than m, the room temperature is uneven, whether the adjusting direction of the air guide strips is correct or not needs to be confirmed, and the next step is carried out;

step six: detecting TAi +1 and TBi +1, comparing the temperature drop speed delta TA ═ TAi-TAi +1 and delta TB ═ TBi-TBi +1, wherein TAi +1 is the temperature of the temperature sensor A at the moment i + 1:

1. the delta TA is more than or equal to the delta TB, the adjusting direction of the air guide strips is correct, and the A is confirmed to be a left sensor and the B is confirmed to be a right sensor;

2. delta TA is less than delta TB, the direction of the air guide strip is adjusted wrongly, and A is redefined as a right sensor and B is redefined as a left sensor;

step seven: maintain Δ t (Δ t is preferably 3min), detect Δ TR + 1:

1. delta TR +1< m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle adjustment is stopped;

2. the delta TR +1 is larger than m, the room temperature is uneven, whether the adjusting direction of the air guide strips is correct or not needs to be confirmed, and the next step is carried out;

step eight: detecting TAi +1 and TBi +1, comparing the temperature drop speed delta TA ═ TAi-TAi +1 and delta TB ═ TBi-TBi + 1:

1. the delta TB is more than or equal to the delta TA, the adjusting direction of the air guide strips is correct, and the A is confirmed to be a left sensor and the B is confirmed to be a right sensor;

2. delta TB < delta TA, the direction of the air guide strip is adjusted wrongly, and A is redefined as a right sensor and B is redefined as a left sensor;

referring to fig. 6, fig. 6 is a schematic diagram illustrating the inventive concept of the present application when the air conditioner is in a heating mode.

The method comprises the following steps: starting the air conditioner for refrigeration, and recording time t;

step two: when t is t1(t1 is preferably 30min), temperature values TAi and TBi of the left and right sensors A, B, an initial angle Xi of the vertical air guiding strip are read, a temperature uniformity deviation Δ Ti is detected (Δ Ti | TAi-TBi |),

step three: judging whether the room temperature is uneven according to the magnitude of the delta Ti value:

1. when delta Ti is less than m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle does not need to be adjusted;

2. when the delta Ti is larger than or equal to m and the room temperature is not uniform, the angle of the air guide strip needs to be adjusted, and the next judgment is carried out;

step four: according to the values of TAi and TBi, judging where the room is high in temperature:

1. when TAi is less than TBi, preliminarily judging that the temperature of the right side of the room is high, adjusting the air guide strip to the left side, wherein the angle is XL +1, and entering the fifth step;

2. when TAi is greater than TBi, the temperature on the left side of the room is high, the air guide strip is adjusted towards the right side, the angle is XR +1, and the step seven is carried out;

step five: maintain Δ t (Δ t is preferably 3min), detect Δ TL + 1:

1. delta TL +1< m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle adjustment is stopped;

2. the delta TL +1 is larger than m, the room temperature is uneven, whether the adjusting direction of the air guide strips is correct or not needs to be confirmed, and the next step is carried out;

step six: detecting TAi +1 and TBi +1, comparing the temperature rise speed delta TA ═ TAi +1-TAi and delta TB ═ TBi + 1-TBi:

1. the delta TA is more than or equal to the delta TB, the adjusting direction of the air guide strips is correct, and the A is confirmed to be a left sensor and the B is confirmed to be a right sensor;

2. delta TA is less than delta TB, the direction of the air guide strip is adjusted wrongly, and A is redefined as a right sensor and B is redefined as a left sensor;

step seven: maintain Δ t (Δ t is preferably 3min), detect Δ TR + 1:

1. delta TR +1< m (m is preferably 2 ℃), the room temperature is uniform, and the air supply angle adjustment is stopped;

2. the delta TR +1 is larger than m, the room temperature is uneven, whether the adjusting direction of the air guide strips is correct or not needs to be confirmed, and the next step is carried out;

step eight: detecting TAi +1 and TBi +1, comparing the temperature rise speed delta TA ═ TAi +1-TAi and delta TB ═ TBi + 1-TBi:

1. the delta TB is more than or equal to the delta TA, the adjusting direction of the air guide strips is correct, and the A is confirmed to be a left sensor and the B is confirmed to be a right sensor;

2. delta TB < delta TA, the direction of the air guide strip is adjusted wrongly, and A is redefined as a right sensor and B is redefined as a left sensor;

in addition, this application still provides an air conditioner, and the air conditioner includes: the control method comprises a memory, a processor and a control program of the air conditioner, wherein the control program of the air conditioner is stored on the memory and can run on the processor, and when the control program of the air conditioner is executed by the processor, the steps of the control method of the air conditioner are realized.

Furthermore, the present application also provides a computer-readable storage medium having a control program of an air conditioner stored thereon, which when executed by a processor, implements the steps of the control method of the air conditioner as set forth in any one of the above embodiments.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling an air conditioner (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:防冷风控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!