Air conditioner, control method and device thereof, electronic equipment and storage medium
Through the environmental parameter compensation model, the temperature setting value of the air conditioner is predicted and corrected, and the problems of low temperature control accuracy and poor adaptability in the prior art are solved, thereby achieving higher temperature control accuracy and user comfort.
Patent Information
- Application Number
- CN202510484005.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-06-17
Smart Images

Figure CN120160262A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of air conditioners, and particularly to an air conditioner and its control method, device, electronic device, and storage medium. Background Art
[0002] In order to improve the thermal comfort in the area where the user is located (such as temperature control accuracy, perceived temperature, etc.), in the related art, the temperature compensation is calculated based on the temperature and humidity detected by the indoor environment sensor, and the frequency and wind speed of the air conditioner are controlled according to the compensated set temperature. However, when the user is in different areas, the thermal comfort also varies. The indoor environment sensor is set at a fixed position and detects the temperature of a certain area, rather than the actual temperature of the area where the user is located. Therefore, the temperature control accuracy of the temperature compensation method in the related art is not high and the adaptability is poor. Summary of the Invention
[0003] The present invention aims to at least solve one of the technical problems in the related art to some extent. For this purpose, the first object of the present invention is to propose a control method for an air conditioner, which predicts the environmental parameter difference between the location of the air conditioner and the location of the user through an environmental parameter compensation model, and corrects the user setting value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort in the user activity area.
[0004] The second object of the present invention is to propose a computer-readable storage medium.
[0005] The third object of the present invention is to propose an electronic device.
[0006] The fourth object of the present invention is to propose a control device for an air conditioner.
[0007] The fifth object of the present invention is to propose an air conditioner.
[0008] To achieve the above object, according to the first aspect embodiment of the present invention, a control method for an air conditioner is proposed, including: obtaining user location information and obtaining the current operation data of the air conditioner; based on a pre-constructed environmental parameter compensation model, obtaining a predicted parameter difference according to the current operation data and the user location information, where the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information; determining a target setting value according to the predicted parameter difference and the user setting value, and controlling the air conditioner according to the target setting value.
[0009] The control method of an air conditioner according to an embodiment of the present invention includes obtaining user location information, obtaining the current operating data of the air conditioner, and obtaining a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operating data and the user location information. The environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operating data and the user location information, determine a target set value according to the predicted parameter difference and the user set value, and control the air conditioner according to the target set value. Thus, by predicting the environmental parameter difference between the location of the air conditioner and the location of the user through the environmental parameter compensation model and correcting the user set value according to the predicted parameter difference, the temperature control accuracy and comfort of the user activity area are improved.
[0010] According to an embodiment of the present invention, the environmental parameter compensation model is constructed in the following manner: Obtain the operating data of the air conditioner at different positions and different operating states within a preset area, where at least one of the operating conditions, air outlet direction, environmental parameter set value, and air supply speed of the air conditioner is different when it is in different operating states, and the operating data includes the environmental parameters at the location of the air conditioner; Divide the preset area to obtain a plurality of sub-areas, and obtain the average environmental parameter of each sub-area at different times; Use the operating data, air outlet direction, and the location of the air conditioner as inputs, and the environmental difference between the average environmental parameter of each sub-area and the environmental parameter at the corresponding time as the output to train the initial compensation model.
[0011] According to an embodiment of the present invention, obtaining a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operating data and the user location information includes: Inputting the current operating data, user location information, air outlet direction of the air conditioner, and the location of the air conditioner into the environmental parameter compensation model to obtain a predicted parameter difference.
[0012] According to an embodiment of the present invention, in the case where there are multiple pieces of user location information, obtaining a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operating data and the user location information includes: Based on the environmental parameter compensation model, obtaining a plurality of initial parameter differences according to each piece of user location information and the current operating data; Determining the weighted average value of the plurality of initial parameter differences as the predicted parameter difference.
[0013] According to an embodiment of the present invention, determining a target set value according to the predicted parameter difference and the user set value includes: In the case where the predicted parameter difference satisfies a preset difference range, compensating the user set value according to the predicted parameter difference to obtain a target set value; In the case where the predicted parameter difference does not satisfy the preset difference range, compensating the user set value according to the boundary value of the preset difference range and the predicted parameter difference to obtain a target set value.
[0014] According to an embodiment of the present invention, compensating the user setting value according to the boundary value of the preset difference range and the prediction parameter difference includes: when the prediction parameter difference is greater than the upper limit value of the preset difference range, compensating the user setting value according to the upper limit value of the preset difference range; or when the prediction parameter difference is less than the lower limit value of the preset difference range, compensating the user setting value according to the lower limit value of the preset difference range.
[0015] According to an embodiment of the present invention, when the air conditioner is in the dehumidification mode, the prediction parameter difference is the predicted humidity difference, and the user setting value is the user-set humidity; or when the air conditioner is in the heating mode or the cooling mode, the prediction parameter difference is the predicted temperature difference, and the user setting value is the user-set temperature.
[0016] According to an embodiment of the present invention, when an environmental detection device is provided at the user's location, the method further includes: obtaining environmental data detected by the environmental detection device; training an environmental parameter compensation model according to the environmental data and the current operation data.
[0017] According to an embodiment of the present invention, the air conditioner further includes a position sensor. Before obtaining the user position information, the method further includes: obtaining indoor point cloud data detected by the position sensor, where the indoor point cloud data includes first point cloud data and second point cloud data, the first point cloud data is the point cloud data that remains unchanged within a preset time, and the second point cloud data is the point cloud data other than the first point cloud data; constructing an indoor map according to the first point cloud data, where the indoor map includes the position information of the air conditioner; determining the user position information according to the second point cloud data.
[0018] According to an embodiment of the present invention, before obtaining the user position information, the method further includes: obtaining an indoor image; respectively determining the position information of the air conditioner and the user position information according to the indoor image.
[0019] According to an embodiment of the present invention, the method further includes: receiving a setting instruction sent by a terminal, and determining the user position information and the position information of the air conditioner according to the setting instruction, where the setting instruction is generated when the user selects the user's location and the location of the air conditioner in the indoor image loaded on the terminal.
[0020] To achieve the above object, according to an embodiment of the second aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is processed by a processor, it executes the control method of the air conditioner in any of the foregoing embodiments.
[0021] A computer-readable storage medium according to an embodiment of the present invention, by executing a computer program of the above-described control method of the air conditioner, predicts the environmental parameter difference between the location of the air conditioner and the location of the user through an environmental parameter compensation model, and corrects the user setting value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user's activity area.
[0022] To achieve the above object, according to an embodiment of the third aspect of the present invention, an electronic device is provided, including: a memory, a processor, and a control program of the air conditioner stored on the memory and executable on the processor. When the processor executes the control program of the air conditioner, the control method of the air conditioner in any of the foregoing embodiments is implemented.
[0023] An electronic device according to an embodiment of the present invention, by the processor executing a computer program of the above-described control method of the air conditioner, predicts the environmental parameter difference between the location of the air conditioner and the location of the user through an environmental parameter compensation model, and corrects the user setting value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user's activity area.
[0024] To achieve the above object, according to an embodiment of the fourth aspect of the present invention, a control device for an air conditioner is provided, including: a first acquisition module, configured to acquire user location information and acquire current operation data of the air conditioner; a second acquisition module, configured to obtain a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operation data and the user location information, where the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information; a first determination module, configured to determine a target setting value according to the predicted parameter difference and the user setting value; and a control module, configured to control the air conditioner according to the target setting value.
[0025] A control device for an air conditioner according to an embodiment of the present invention, acquires user location information through the first acquisition module and acquires current operation data of the air conditioner, and obtains a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operation data and the user location information through the second acquisition module, where the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information, and determines a target setting value according to the predicted parameter difference and the user setting value through the first determination module, and controls the air conditioner according to the target setting value through the control module. Thus, the environmental parameter difference between the location of the air conditioner and the location of the user is predicted through the environmental parameter compensation model, and the user setting value is corrected according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user's activity area.
[0026] To achieve the above object, according to an embodiment of the fifth aspect of the present invention, an air conditioner is provided, which includes the aforementioned electronic device or the control device of the aforementioned air conditioner.
[0027] According to the air conditioner of the embodiment of the present invention, by adopting the above-mentioned electronic device or the control device of the air conditioner, the difference in environmental parameters between the location of the air conditioner and the location of the user is predicted through the environmental parameter compensation model, and the user set value is corrected according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0028] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be understood through the practice of the present invention. Description of the Drawings
[0029] Figure 1 is a schematic flowchart of a control method of an air conditioner according to an embodiment of the present invention;
[0030] Figure 2 is a schematic flowchart of a control method of an air conditioner according to an embodiment of the present invention;
[0031] Figure 3 is a schematic flowchart of a control method of an air conditioner according to a specific embodiment of the present invention;
[0032] Figure 4 is a schematic system diagram of an electronic device according to an embodiment of the present invention;
[0033] Figure 5 is a schematic structural diagram of a control device of an air conditioner according to an embodiment of the present invention;
[0034] Figure 6 is a schematic system diagram of an air conditioner according to an embodiment of the present invention;
[0035] Figure 7 is a schematic system diagram of an air conditioner according to another embodiment of the present invention. Detailed Embodiments
[0036] The embodiments of the present invention will be described in detail below. Examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present invention, and should not be construed as limiting the present invention.
[0037] The air conditioner and its control method, device, electronic device, and storage medium according to the embodiments of the present invention will be described below with reference to the drawings.
[0038] Figure 1It is a schematic flowchart of a control method for an air conditioner according to an embodiment of the present invention. As Figure 1 shown, the control method of the air conditioner includes:
[0039] S101, obtain user location information and obtain the current operation data of the air conditioner.
[0040] Specifically, the user can set the user location through the intelligent control terminal of the air conditioner. For example, a smartphone installed with an air conditioner control APP (Application, mobile software) inputs the user location (such as areas for fitness, dining, watching movies, etc.), or the user location is detected by a sensor. When the air conditioner receives a startup instruction, the air conditioner will obtain the user-predefined location information from the memory or obtain the user location detected by the sensor to obtain the user location information. The current operation data includes indoor environmental temperature, evaporator temperature, outdoor environmental temperature, air supply speed, indoor environmental humidity, user-set temperature, user-set humidity, and the continuous startup time of the compressor. The current operation data can be detected by sensors on the air conditioner.
[0041] It should be noted that in the case where the air conditioner does not have a position sensor, if the user does not reset the user location, the previously stored user location information will continue to be read.
[0042] S102, based on a pre-constructed environmental parameter compensation model, obtain a predicted parameter difference according to the current operation data and the user location information, where the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information.
[0043] Specifically, the air conditioner is provided with sensors for collecting environmental parameters. The sensors collect the environmental parameters near the air conditioner and provide them to the air conditioner so that the air conditioner can be controlled according to the collected environmental parameters. However, in actual applications, due to the principle of air thermal density difference and the principle of fluid mechanics, there are vertical temperature stratification and horizontal temperature differences in the air-conditioned room. The environmental parameters at the user's location may be quite different from the environmental parameters at the air conditioner's location, thus affecting the user's comfort. The environmental parameter compensation model can predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information, so that the air conditioner can be controlled according to the environmental parameters at the user's location subsequently.
[0044] In some embodiments, the environmental parameter compensation model is constructed as follows: Obtain the operating data of the air conditioner at different positions and different operating states within a preset area, where at least one of the operating conditions, air outlet direction, environmental parameter set value, and air supply speed of the air conditioner is different in different operating states, and the operating data includes the environmental parameters at the position where the air conditioner is located; Divide the preset area to obtain multiple sub-areas, and obtain the average environmental parameter value of each sub-area at different times; Use the operating data, air outlet direction, and the position where the air conditioner is located as inputs, and the environmental difference between the average environmental parameter value of each sub-area and the environmental parameters at the corresponding time as the output to train the initial compensation model.
[0045] Specifically, the environmental parameter compensation model can be constructed before leaving the factory. As Figure 2 shown, the air conditioner can be placed at positions such as the corner near the door, the corner near the window, and the middle of the room in the simulated environment laboratory (i.e., the preset area). Then, by adjusting the environmental parameters and the operating parameters of the air conditioner, the air conditioner is made to be in different operating states. Specifically, the air conditioner can be made to be in different operating conditions by controlling the outdoor environmental temperature, and the air conditioner can be controlled according to different air outlet directions, different environmental parameter set values, and different air supply speeds. The operating conditions include high condition, medium condition, and low condition, and the three conditions respectively correspond to the weather environments that users most often face. For example, assuming the air conditioner is in the cooling mode, the higher the outdoor environmental temperature, the higher the condition of the air conditioner. During the construction of the environmental parameter compensation model, as Figure 2 shown, it is also necessary to divide the simulated environment laboratory into multiple sub-areas, and each sub-area is provided with sensors for collecting environmental parameters. Then, obtain the operating data of the air conditioner at different positions and different operating states, and obtain the average environmental parameter value of each sub-area at different times. Construct an input vector based on the operating data, air outlet direction, and the position where the air conditioner is located, and use the environmental difference between the average environmental parameter value of each sub-area and the environmental parameters at the corresponding time as the output. Then, use the input vector and the output to train the initial compensation model.
[0046] Taking Figure 2 shown as an example, place the air conditioner in 3 different positions, and divide the laboratory into 6 sub-areas. Multiple environmental parameter sensors (such as temperature sensors and humidity sensors) are set in each sub-area. First, place the air conditioner on the Figure 2 left side in Figure 2 shown, and control the air conditioner according to the first air outlet direction shown in Figure 2Control the air conditioner according to the second air outlet direction shown in the figure, and sequentially adjust the operating conditions, the set values of environmental parameters, and the air supply speed. Then, obtain the operating data and the average value of environmental parameters at the second preset time interval; according to Figure 2 Control the air conditioner according to the third air outlet direction shown in the figure, and sequentially adjust the operating conditions, the set values of environmental parameters, and the air supply speed. Then, obtain the operating data and the average value of environmental parameters at the second preset time interval. Then, place the air conditioner at Figure 2 the middle position in, and according to Figure 2 Control the air conditioner according to the three air outlet directions shown in the figure, and sequentially adjust the operating conditions, the set values of environmental parameters, and the air supply speed. Then, obtain the operating data and the average value of environmental parameters at the second preset time interval. Finally, place the air conditioner at Figure 2 the right side in, and according to Figure 2 Control the air conditioner according to the three air outlet directions shown in the figure, and sequentially adjust the operating conditions, the set values of environmental parameters, and the air supply speed. Then, obtain the operating data and the average value of environmental parameters at the second preset time interval. In this way, multiple groups of experimental data can be obtained. Then, use the operating data, the air outlet direction, and the location of the air conditioner as the input, and the environmental difference between the average value of environmental parameters in each sub-region and the environmental parameters at the corresponding time as the output to train the initial compensation model.
[0047] In some embodiments, based on the pre-constructed environmental parameter compensation model, obtain the predicted parameter difference according to the current operating data and the user location information, including: input the current operating data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner into the environmental parameter compensation model to obtain the predicted parameter difference.
[0048] It can be understood that the difference between the environmental parameters at the user's location and the environmental parameters at the air conditioner's location is related to the current operating state of the air conditioner, the user location, the air outlet direction of the air conditioner, and the location of the air conditioner. Therefore, before the air conditioner leaves the factory, an environmental parameter compensation model can be constructed according to the current operating data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner. After the user turns on the machine, the air conditioner obtains the user location information and the current operating data, and inputs the current operating data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner into the environmental parameter compensation model to obtain the predicted parameter difference.
[0049] In an alternative embodiment, the user location information and the current operating data may be acquired at a first preset time interval, and the current operating data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner are input into the environmental parameter compensation model to obtain the latest predicted parameter difference. When the user changes the user location or the air conditioner location through the APP, the air conditioner immediately obtains the predicted parameter difference based on the changed user location information and the air conditioner location, and controls the air conditioner based on the new predicted parameter difference and the user set value.
[0050] In some embodiments, the air conditioner further includes a position sensor. Before acquiring the user location information, the method further includes: acquiring indoor point cloud data detected by the position sensor, where the indoor point cloud data includes first point cloud data and second point cloud data, the first point cloud data is the point cloud data that remains unchanged within a preset time, and the second point cloud data is the point cloud data other than the first point cloud data; constructing an indoor map according to the first point cloud data, where the indoor map includes the location information of the air conditioner; and determining the user location information according to the second point cloud data.
[0051] Specifically, the position sensor can detect the positions of indoor objects and the user, thereby obtaining point cloud data. Since indoor objects are fixed, the point cloud data corresponding to indoor objects remains unchanged within a preset time, while the user is dynamic, and the point cloud data corresponding to the user changes within a preset time. Therefore, the point cloud data can be divided into first point cloud data and second point cloud data. The first point cloud data is the point cloud data that remains unchanged within a preset time and is used to represent indoor objects such as furniture and air conditioners, and the second point cloud data is the point cloud data other than the first point cloud data and is used to represent the user. An indoor map can be constructed according to the first point cloud data, and the indoor map includes the indoor layout and indoor objects. Therefore, the indoor map includes the location of the air conditioner, and based on the dynamic position information in the location information and the indoor map, the position of the user in the room can be determined, thereby obtaining the user location information.
[0052] Taking the position sensor as a millimeter-wave radar as an example, the millimeter-wave radar scans in the indoor environment, collects the reflection signals of indoor objects and the user, processes the collected reflection signals, extracts information such as the position and speed of the target object, and then converts this information into point cloud data, that is, points discretely distributed in three-dimensional space, and constructs an indoor map using the point cloud data.
[0053] In some embodiments, before acquiring the user location information, the method further includes: acquiring an indoor image; and determining the location information of the air conditioner and the user location information respectively according to the indoor image.
[0054] Specifically, the user can use the application on the mobile phone to scan the interior of the room to obtain an indoor image, or take a photo of the indoor environment with the mobile phone to get an indoor image, and then upload the indoor image through the application on the mobile phone. Since the indoor image includes images of indoor appliances and indoor furniture, etc., the position of the air conditioner can be identified from the indoor image, and the user's location can be inferred based on the indoor furniture. For example, the indoor furniture includes a sofa, and the user is usually near the sofa, so the position where the sofa is located can be determined as the user location information.
[0055] In some embodiments, the method further includes: receiving a setting instruction sent by the terminal, and determining the user location information and the location information of the air conditioner according to the setting instruction, where the setting instruction is generated when the user selects the user's location and the location of the air conditioner in the indoor image loaded on the terminal.
[0056] Specifically, after the user uses the terminal to scan the indoor image or uploads the indoor image to the terminal, the indoor image can be loaded on the terminal. The user selects his own location and the location of the air conditioner in the indoor image loaded on the terminal device. The terminal generates a setting instruction in response to the user's operation and sends the setting instruction to the air conditioner, and the air conditioner determines the user location information and the location of the air conditioner according to the setting instruction.
[0057] For example, the terminal can be a mobile phone. The user uses the mobile phone to take a photo of the interior of the room to obtain an indoor image, and uploads the indoor image in the application on the mobile phone. The application in the mobile phone loads the indoor image. The user selects his own location and the location of the air conditioner in the indoor image loaded by the application, and then the application generates a setting instruction and sends it to the air conditioner.
[0058] Furthermore, the terminal can also divide the indoor map into multiple regions according to the location of the air conditioner, or divide it into multiple regions according to the indoor layout, such as a dining area, a living room area, etc. The user can select the region corresponding to his own location.
[0059] S103, determine the target set value according to the prediction parameter difference and the user set value, and control the air conditioner according to the target set value.
[0060] Specifically, compensate the user set value according to the prediction parameter difference to obtain the target set value, and then based on control algorithms such as PID (Proportional Integral Derivative) control algorithm or MPC (Model Predictive Control), control the compressor frequency and the internal fan speed according to the target set value, so that the environmental parameters at the user's location are close to the user set value, thereby improving the user's comfort.
[0061] In some embodiments, when the air conditioner is in the dehumidification mode, the predicted parameter difference is the predicted humidity difference, and the user setting value is the user-set humidity; or when the air conditioner is in the heating mode or the cooling mode, the predicted parameter difference is the predicted temperature difference, and the user setting value is the user-set temperature.
[0062] It can be understood that when the air conditioner is in the dehumidification mode, the air conditioner is controlled based on the indoor environmental humidity. Therefore, the environmental parameter compensation model predicts the humidity difference between the indoor environmental humidity at the user's location and the indoor environmental humidity at the air conditioner's location to obtain the predicted humidity difference. At this time, the user setting value is the user-set humidity, and the predicted humidity difference is used to compensate the user-set humidity. When the air conditioner is in the heating mode or the cooling mode, the air conditioner is controlled based on the indoor environmental temperature. Therefore, the environmental parameter compensation model predicts the temperature difference between the indoor environmental temperature at the user's location and the indoor environmental temperature at the air conditioner's location to obtain the predicted temperature difference. At this time, the user setting value is the user-set temperature, and the predicted temperature difference is used to compensate the user-set temperature.
[0063] For example, assume that the air conditioner is in the cooling mode, the user setting value is 26°C, and the predicted temperature difference predicted by the environmental parameter compensation model is 3°C. Therefore, if the indoor environmental temperature at the user's location is to reach 26°C, the air conditioner needs to be controlled according to the set value of 23°C so that the indoor environmental temperature at the user's location is close to 26°C.
[0064] In the above embodiments, the environmental parameter compensation model predicts the environmental parameter difference between the location of the air conditioner and the location of the user, and corrects the user setting value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user's activity area.
[0065] In some embodiments, when there are multiple pieces of user location information, based on the pre-constructed environmental parameter compensation model, the predicted parameter difference is obtained according to the current operation data and the user location information, including: based on the environmental parameter compensation model, multiple initial parameter differences are obtained according to each piece of user location information and the current operation data; the weighted average value of the multiple initial parameter differences is determined as the predicted parameter difference.
[0066] Specifically, in actual applications, there may be multiple users in the room, and the multiple users may be in different locations. At this time, the position sensor can detect multiple pieces of user location information. Therefore, the initial parameter difference corresponding to the location of each user can be determined according to each piece of user location information and the current operation data, and then the multiple initial parameter differences are weighted and averaged, and the weighted average value is determined as the predicted parameter difference.
[0067] It should be noted that if the user location information is set by the user through the APP, even if there are multiple users indoors, the air conditioner is controlled based on the user-set user location information.
[0068] In some embodiments, determining the target set value according to the predicted parameter difference and the user set value includes: when the predicted parameter difference satisfies the preset difference range, compensating the user set value according to the predicted parameter difference to obtain the target set value; when the predicted parameter difference does not satisfy the preset difference range, compensating the user set value according to the boundary value of the preset difference range and the predicted parameter difference to obtain the target set value.
[0069] Specifically, after obtaining the predicted parameter difference, it is necessary to determine whether the predicted parameter difference is within the preset difference range. If the predicted parameter difference satisfies the preset difference range, the user set value is compensated according to the predicted parameter difference. Therefore, the target set value is the sum value of the predicted parameter difference and the user set value; if the predicted parameter difference does not satisfy the preset difference range, the user set value is compensated according to the boundary value of the preset difference range and the predicted parameter difference, so as to avoid the situation that the adjustment range of the target set value is too large, resulting in a decrease in user comfort.
[0070] It should be noted that the preset difference range corresponding to the predicted parameter difference being the predicted temperature difference may be different from the preset difference range corresponding to the predicted parameter difference being the predicted humidity difference, and it needs to be set according to the actual situation.
[0071] In some embodiments, compensating the user set value according to the boundary value of the preset difference range and the predicted parameter difference includes: when the predicted parameter difference is greater than the upper limit value of the preset difference range, compensating the user set value according to the upper limit value of the preset difference range; or when the predicted parameter difference is less than the lower limit value of the preset difference range, compensating the user set value according to the lower limit value of the preset difference range.
[0072] That is to say, if the predicted parameter difference is greater than the upper limit value of the preset difference range, the target set value is the sum value of the upper limit value of the preset difference range and the user set value; if the predicted parameter difference is less than the lower limit value of the preset difference range, the target set value is the sum value of the lower limit value of the preset difference range and the user set value.
[0073] In some embodiments, when there is an environmental detection device set at the location where the user is located, the method further includes: obtaining the environmental data detected by the environmental detection device; training the environmental parameter compensation model according to the environmental data and the current operation data.
[0074] Specifically, when an environment detection device is set at the location where the user is located and the environment detection device has a communication function and can establish a communication connection with the air conditioner, the environment detection device can send the detected environmental data to the air conditioner, and the air conditioner further trains the environmental parameter compensation model based on the environmental data and the current operation data to adjust the weights of the environmental parameter compensation model.
[0075] In an alternative embodiment, the environment detection device can be a wearable device with environment detection functions, such as a smart bracelet with temperature detection or humidity detection functions, or a movable device with environment detection functions, such as a floor cleaning robot with environment detection functions. The floor cleaning robot can be controlled to move to the location where the user is located to detect the environmental data at that location.
[0076] In the above embodiment, when an environment detection device is set at the location where the user is located, the weights of the environmental parameter compensation model can also be updated according to the environmental data detected by the environment detection device and the current operation data, thereby further improving the accuracy and adaptability of the control method of the air conditioner.
[0077] The technical solution of the present application will be further described in detail below in conjunction with specific embodiments:
[0078] As Figure 4 shown, when the air conditioner is in the cooling mode or the heating mode, the control method of the air conditioner includes:
[0079] S201, obtain the user location information, the location of the air conditioner, and the air outlet direction of the air conditioner from the memory.
[0080] S202, determine whether the time interval between the current time and the update time of the last target setting value reaches a first preset time interval. If so, execute step S205; if not, execute step S203.
[0081] S203, determine whether a change instruction for the user location information or the location of the air conditioner is received. If so, execute step S204; if not, return to step S202.
[0082] S204, update the user location information or the location of the air conditioner according to the change instruction and write it into the memory.
[0083] S205, obtain the current operation data of the air conditioner.
[0084] S206, input the current operation data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner into the environmental parameter compensation model to obtain a predicted temperature difference.
[0085] In S207, it is determined whether the predicted temperature difference satisfies a preset difference range. If so, step S208 is executed; if not, step S209 is executed.
[0086] In S208, the target set value is updated to the sum of the predicted temperature difference and the user-set temperature.
[0087] In S209, it is determined whether the predicted temperature difference is greater than the upper limit value of the preset difference range. If so, step S210 is executed; if not, step S211 is executed.
[0088] In S210, the target set value is updated to the sum of the upper limit value of the preset difference range and the user-set temperature.
[0089] In S211, the target set value is updated to the sum of the lower limit value of the preset difference range and the user-set temperature.
[0090] In S212, the air conditioner is controlled according to the target set value.
[0091] In summary, according to the control method of the air conditioner in the embodiment of the present invention, user location information is obtained, the current operating data of the air conditioner is obtained, and based on a pre-constructed environmental parameter compensation model, a predicted parameter difference is obtained according to the current operating data and the user location information. The environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operating data and the user location information, determine the target set value according to the predicted parameter difference and the user set value, and control the air conditioner according to the target set value. Thus, the environmental parameter difference between the location of the air conditioner and the location of the user is predicted through the environmental parameter compensation model, and the user set value is corrected according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0092] Corresponding to the above embodiments, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is processed by a processor, it executes the control method of the air conditioner in any of the foregoing embodiments.
[0093] According to the computer-readable storage medium in the embodiment of the present invention, by executing the computer program of the above control method of the air conditioner, the environmental parameter difference between the location of the air conditioner and the location of the user is predicted through the environmental parameter compensation model, and the user set value is corrected according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0094] Corresponding to the above embodiments, an embodiment of the present invention also provides an electronic device. As Figure 4As shown in the figure, the electronic device 100 includes: a memory 110, a processor 120, and a control program for an air conditioner stored in the memory 110 and executable on the processor 120. When the processor 120 executes the control program for the air conditioner, the control method of the air conditioner according to any of the foregoing embodiments is implemented.
[0095] According to the electronic device of the embodiment of the present invention, by the processor executing the computer program of the above control method of the air conditioner, predicting the environmental parameter difference between the location of the air conditioner and the location of the user through the environmental parameter compensation model, and correcting the user set value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0096] Corresponding to the above embodiments, an embodiment of the present invention further provides a control device for an air conditioner. As Figure 5 shown, the control device for the air conditioner includes: a first acquisition module 10, a second acquisition module 20, a first determination module 30, and a control module 40.
[0097] Among them, the first acquisition module 10 is used to acquire user location information and acquire the current operation data of the air conditioner; the second acquisition module 20 is used to obtain a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operation data and the user location information, wherein the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information; the first determination module 30 is used to determine a target set value according to the predicted parameter difference and the user set value; the control module 40 is used to control the air conditioner according to the target set value.
[0098] In some embodiments, the second acquisition module 20 is further used to: input the current operation data, the user location information, the air outlet direction of the air conditioner, and the location of the air conditioner into the environmental parameter compensation model to obtain a predicted parameter difference.
[0099] In some embodiments, the environmental parameter compensation model is constructed in the following manner: acquiring the operation data of the air conditioner at different positions and different operation states in a preset area, wherein at least one of the operation conditions, the air outlet direction, the environmental parameter set value, and the air supply speed of the air conditioner is different when the air conditioner is in different operation states, and the operation data includes the environmental parameters at the location of the air conditioner; dividing the preset area to obtain a plurality of sub-areas, and acquiring the average environmental parameter of each sub-area at different times; using the operation data, the air outlet direction, and the location of the air conditioner as inputs, and the environmental difference between the average environmental parameter of each sub-area and the environmental parameter at the corresponding time as outputs, training the initial compensation model.
[0100] In some embodiments, the second acquisition module 20 is further configured to: when there are multiple pieces of user location information, based on the environmental parameter compensation model, obtain multiple initial parameter differences according to each piece of user location information and the current operation data; and determine the weighted average of the multiple initial parameter differences as the predicted parameter difference.
[0101] In some embodiments, the first determination module 30 is further configured to: when the predicted parameter difference satisfies the preset difference range, compensate the user set value according to the predicted parameter difference to obtain the target set value; when the predicted parameter difference does not satisfy the preset difference range, compensate the user set value according to the boundary value of the preset difference range and the predicted parameter difference to obtain the target set value.
[0102] In some embodiments, the first determination module 30 is further configured to: when the predicted parameter difference is greater than the upper limit value of the preset difference range, compensate the user set value according to the upper limit value of the preset difference range; or when the predicted parameter difference is less than the lower limit value of the preset difference range, compensate the user set value according to the lower limit value of the preset difference range.
[0103] In some embodiments, when the air conditioner is in the dehumidification mode, the predicted parameter difference is the predicted humidity difference, and the user set value is the user set humidity; or when the air conditioner is in the heating mode or the cooling mode, the predicted parameter difference is the predicted temperature difference, and the user set value is the user set temperature.
[0104] In some embodiments, the device further includes a training module (not shown). The training module is configured to, when there is an environmental detection device set at the location where the user is located, acquire the environmental data detected by the environmental detection device; and train the environmental parameter compensation model according to the environmental data and the current operation data.
[0105] In some embodiments, the air conditioner further includes a position sensor, and the device further includes a second determination module (not shown). The second determination module is configured to, before acquiring the user location information, acquire the indoor point cloud data detected by the position sensor. The indoor point cloud data includes first point cloud data and second point cloud data. The first point cloud data is the point cloud data that remains unchanged within a preset time, and the second point cloud data is the point cloud data other than the first point cloud data; construct an indoor map according to the first point cloud data, where the indoor map includes the location information of the air conditioner; and determine the user location information according to the second point cloud data.
[0106] In some embodiments, the device further includes a third determination module (not shown). The third determination module is configured to receive a setting instruction sent by the terminal, and determine the user location information according to the setting instruction, where the terminal is configured to generate the setting instruction when the user selects the location where the user is located in the indoor map loaded by the terminal.
[0107] It should be noted that the specific implementation manners of the control device of the air conditioner according to the embodiments of the present invention correspond one by one to the specific implementation manners of the control method of the air conditioner according to the embodiments of the present invention described above, and will not be elaborated herein.
[0108] The control device of the air conditioner according to the embodiments of the present invention obtains user location information through a first acquisition module, obtains the current operation data of the air conditioner, and obtains a predicted parameter difference based on a pre-constructed environmental parameter compensation model according to the current operation data and the user location information through a second acquisition module, where the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information, and determines a target set value according to the predicted parameter difference and the user set value through a first determination module, and controls the air conditioner according to the target set value through a control module. Thus, the environmental parameter difference between the location of the air conditioner and the location of the user is predicted through the environmental parameter compensation model, and the user set value is corrected according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0109] Corresponding to the above embodiments, an embodiment of the present invention also provides an air conditioner. As Figure 6 and Figure 7 shown, the air conditioner 1000 includes the aforementioned electronic device 100 or the control device 200 of the aforementioned air conditioner.
[0110] The air conditioner according to the embodiments of the present invention, by adopting the above-mentioned electronic device or the control device of the air conditioner, predicts the environmental parameter difference between the location of the air conditioner and the location of the user through the environmental parameter compensation model, and corrects the user set value according to the predicted parameter difference, thereby improving the temperature control accuracy and comfort of the user activity area.
[0111] Note that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection part with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise appropriately processing if necessary, and then stored in a computer memory.
[0112] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well-known in the art can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0113] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0114] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention.
[0115] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated in this embodiment. Thus, the features defined by the terms "first", "second", etc. in the embodiments of the present invention may explicitly or implicitly indicate that at least one such feature is included in this embodiment. In the description of the present invention, the meaning of the word "plural" is at least two or more than two, such as two, three, four, etc., unless otherwise specifically defined in the embodiments.
[0116] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "mounted", "connected", "coupled" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or integrated. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be directly connected, or indirectly connected through an intermediate medium, or it can be the communication inside two elements, or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific implementation circumstances.
[0117] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as a limitation to the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for controlling an air conditioner, characterized in that: include: Acquiring user location information and current operating data of the air conditioner; Based on a pre-built environmental parameter compensation model, a predicted parameter difference is obtained according to the current operation data and the user location information, wherein the environmental parameter compensation model is used to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information; A target setting value is determined according to the predicted parameter difference and a user setting value, and the air conditioner is controlled according to the target setting value.
2. The method according to claim 1, characterized in that The environmental parameter compensation model is constructed in the following way: Acquiring operating data of the air conditioner at different locations and in different operating states within a preset area, wherein at least one of the operating condition, air outlet direction, environmental parameter setting value, and air supply speed of the air conditioner is different in different operating states, and the operating data includes the environmental parameters of the location where the air conditioner is located; Dividing the preset area to obtain a plurality of sub-areas, and obtaining an average value of environmental parameters of each sub-area at different times; The initial compensation model is trained with the operating data, the air outlet direction and the location of the air conditioner as inputs and the environmental difference between the average environmental parameter of each sub-area and the environmental parameter at the corresponding time as output.
3. The method according to claim 1, characterized in that Based on a pre-built environmental parameter compensation model, a predicted parameter difference is obtained according to the current operation data and the user location information, including: The current operation data, the user location information, the air outlet direction of the air conditioner and the location of the air conditioner are input into the environmental parameter compensation model to obtain the predicted parameter difference.
4. The method according to claim 1, characterized in that In the case where there are multiple user location information, based on a pre-built environmental parameter compensation model, a predicted parameter difference is obtained according to the current operation data and the user location information, including: Based on the environmental parameter compensation model, a plurality of initial parameter difference values are obtained according to each of the user location information and the current operation data; A weighted average of a plurality of the initial parameter differences is determined as the predicted parameter difference.
5. The method according to any one of claims 1 to 4, characterized in that Determining a target setting value according to the prediction parameter difference and a user setting value includes: When the predicted parameter difference satisfies a preset difference range, compensating the user set value according to the predicted parameter difference to obtain a target set value; In the case that the predicted parameter difference does not satisfy the preset difference range, the user set value is compensated according to the boundary value of the preset difference range and the predicted parameter difference to obtain the target set value.
6. The method according to claim 5, characterized in that Compensating the user set value according to the boundary value of the preset difference range and the prediction parameter difference, comprising: In a case where the prediction parameter difference is greater than an upper limit of the preset difference range, compensating the user set value according to the upper limit of the preset difference range; or In a case where the prediction parameter difference is less than a lower limit of the preset difference range, the user set value is compensated according to the lower limit of the preset difference range.
7. The method according to claim 1, characterized in that When the air conditioner is in a dehumidification mode, the predicted parameter difference is the predicted humidity difference, and the user setting is the user set humidity; or When the air conditioner is in a heating mode or a cooling mode, the predicted parameter difference is a predicted temperature difference, and the user set value is a user set temperature.
8. The method according to claim 1, characterized in that In the case where an environment detection device is provided at the location of the user, the method further includes: Acquiring environmental data detected by the environmental detection device; The environmental parameter compensation model is trained according to the environmental data and the current operation data.
9. The method according to claim 1, characterized in that: The air conditioner further includes a position sensor. Before acquiring the user position information, the method further includes: Acquire indoor point cloud data detected by the position sensor, the indoor point cloud data comprising first point cloud data and second point cloud data, the first point cloud data being point cloud data that remains unchanged within a preset time, and the second point cloud data being point cloud data other than the first point cloud data; constructing an indoor map according to the first point cloud data, wherein the indoor map includes the location information of the air conditioner; The user location information is determined according to the second point cloud data.
10. The method according to claim 1, characterized in that Before obtaining the user location information, the method further includes: Acquire indoor images; The position information of the air conditioner and the position information of the user are determined respectively according to the indoor image.
11. The method according to claim 10, characterized in that The method further comprises: A setting instruction sent by a receiving terminal is received, and the user location information and the location information of the air conditioner are determined according to the setting instruction, wherein the setting instruction is generated when the user selects the user location and the air conditioner location in the indoor image loaded on the terminal.
12. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is processed by a processor, the control method of the air conditioner as described in any one of claims 1-11 is executed.
13. An electronic device, characterized in that: include: A memory, a processor, and a control program for an air conditioner stored in the memory and executable on the processor, wherein when the processor executes the control program for the air conditioner, a control method for the air conditioner according to any one of claims 1 to 11 is implemented.
14. A control device for an air conditioner, characterized in that: include: A first acquisition module, used to acquire user location information and current operation data of the air conditioner; a second acquisition module, configured to obtain a predicted parameter difference according to the current operation data and the user location information based on a pre-built environmental parameter compensation model, wherein the environmental parameter compensation model is configured to predict the environmental parameter difference between the location of the air conditioner and the location of the user according to the current operation data and the user location information; A first determination module, used to determine a target setting value according to the prediction parameter difference and a user setting value; A control module is used to control the air conditioner according to the target setting value.
15. An air conditioner, characterized in that: The electronic device according to claim 13 or the control device for an air conditioner according to claim 14 is included.