Disclosure of Invention
The invention provides an air conditioner control method and device for improving comfortableness and an air conditioner unit, and aims to at least solve the problem that the comfortableness control cannot be realized when a lower air outlet of an air conditioner is used for discharging air in the prior art.
In order to solve the technical problems, according to one aspect of the embodiment of the invention, an air conditioner control method is provided, wherein the air conditioner at least comprises a first air outlet and a second air outlet, the first air outlet is positioned at the upper part of an indoor space where the air conditioner is positioned, the second air outlet is positioned at the lower part of the indoor space where the air conditioner is positioned, the method comprises the steps of detecting whether the air conditioner outputs air from the second air outlet, detecting the position of a target object through a sensor of the first air outlet if the air conditioner outputs air from the second air outlet, calculating the air outlet angle of the second air outlet according to the position of the target object, and controlling the air outlet of the second air outlet according to the air outlet angle of the second air outlet.
Further, calculating the air outlet angle of the second air outlet according to the position of the target object comprises calculating the air outlet angle alpha 1 in the horizontal direction of the first air outlet according to the position of the target object, wherein the air outlet angle alpha 1 in the horizontal direction of the first air outlet is equal to the air outlet angle alpha 2 in the horizontal direction of the second air outlet, and/or calculating the height h1 of the target object according to the position of the target object and calculating the air outlet angle theta 2 in the vertical direction of the second air outlet according to the height of the target object.
Further, the position coordinates of the target object are (x 1, y 1), and the horizontal air outlet angle alpha 1 of the first air outlet is calculated through the following formula, wherein alpha 1 = arctan (y 2/x 1) -arctan (y 1/x 1), and y2 is the distance between the intersection point of the straight line determined by the top of the first air outlet and the target object and the ground and the second air outlet.
Further, the height h1 of the target object is calculated according to the following formula, wherein h1=h (y 2-y 1)/y 2, and h is the height difference between the first air outlet and the second air outlet.
Further, the vertical direction air outlet angle θ2 of the second air outlet is calculated by the following formula θ2=arctan (h 1/y 1).
Further, calculating the air outlet angle of the second air outlet according to the position of the target object further comprises calculating the air outlet angle theta 1 in the vertical direction of the first air outlet according to the position of the target object, wherein theta1=arctan (y 2/h) -arctan (y 1/h).
Further, controlling the air outlet of the second air outlet according to the air outlet angle of the second air outlet comprises blowing according to the air outlet angle of the second air outlet, or calculating the air outlet angle of the air-avoidance person according to the air outlet angle of the second air outlet, wherein the air outlet angle of the air-avoidance person is the complete air outlet angle of the second air outlet minus the air outlet angle of the second air outlet, and blowing according to the air outlet angle of the air-avoidance person.
Further, before detecting whether the air conditioner outputs air from the second air outlet, monitoring whether user comfort control is triggered, wherein the user comfort control is used for achieving air along with-person blowing control or air avoiding-person blowing control, the air along with-person blowing control is used for blowing according to the air outlet angle of the second air outlet, the air avoiding-person blowing control is used for blowing according to the air avoiding-person outlet angle, and if so, triggering and detecting whether the air conditioner outputs air from the second air outlet.
According to another aspect of the embodiment of the invention, an air conditioner control device is provided, wherein the air conditioner at least comprises a first air outlet and a second air outlet, the first air outlet is positioned at the upper part of an indoor space where the air conditioner is positioned, the second air outlet is positioned at the lower part of the indoor space where the air conditioner is positioned, the device comprises an air outlet detection module used for detecting whether the air conditioner is used for outputting air from the second air outlet, a position detection module used for detecting the position of a target object through a sensor of the first air outlet if the air conditioner is used for outputting air from the second air outlet, and a control module used for calculating the air outlet angle of the second air outlet according to the position of the target object and controlling the air outlet of the second air outlet according to the air outlet angle of the second air outlet.
According to still another aspect of the embodiment of the present invention, there is provided an air conditioning unit including the air conditioning control device as described above.
According to yet another aspect of embodiments of the present invention, there is provided a storage medium containing computer-executable instructions for performing an air conditioner control method as described above when executed by a computer processor.
According to the air conditioner control scheme for improving the comfort, when a unit is switched to the lower air outlet for air outlet according to logic requirements, a sensor at the upper air outlet detects a temperature field of a room to confirm the position of a person, and then the temperature field is converted into the space position of the lower air outlet through conversion, so that the comfort control of the air along with people or avoiding people is realized. Through the scheme, the problem that comfort control cannot be realized when the lower air outlet of the air conditioner is used for air outlet in the prior art can be effectively solved, and comfort experience of a user is improved.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
Example 1
In a preferred embodiment 1 of the present invention, an air conditioner control method is provided, and the control method can be directly applied to various air conditioners, especially an air duct machine with up-down air outlet function, or an air duct machine with other reversing air outlet function. Preferably, the air duct machine is usually installed on an indoor wall body, and comprises a side air outlet and an upper air outlet which are positioned at the upper part of the wall body, and a lower air outlet is also arranged at the lowest part of the wall body. During heating, air is discharged from the second air outlet, and hot air is fed into the room through an air pipe in the wall.
Specifically, FIG. 1 shows an alternative flow chart of the method, as shown in FIG. 1, comprising the steps S102-S106 of:
s102, detecting whether the air conditioner outputs air from a second air outlet;
s104, if so, detecting the position of the target object through a sensor of the first air outlet;
S106, calculating the air outlet angle of the second air outlet according to the position of the target object, and controlling the air outlet of the second air outlet according to the air outlet angle of the second air outlet.
In the above embodiment, an air conditioner control scheme for improving comfort is provided, when a unit is switched to a lower air outlet for air outlet according to logic requirements, a sensor at the upper air outlet detects a temperature field of a room to confirm a personnel position, and then the personnel position is converted into a space position of the lower air outlet through conversion, so that comfort control of wind along with people or avoiding people is realized. Through the scheme, the problem that comfort control cannot be realized when the lower air outlet of the air conditioner is used for air outlet in the prior art can be effectively solved, and comfort experience of a user is improved.
The machine set is started, the infrared sensor normally detects the temperature field distribution of a room, and the detection of the room temperature field and the personnel position is not limited to the infrared sensor, and various detection modes such as millimeter wave radar are also included. If there is a target object, such as a person, in the room, the position coordinates (x 1, y 1) of the person are marked, and as shown in fig. 2, the origin of coordinates of the position coordinates of the target object is located at the center of the second air outlet. The unit calculates the air outlet angle of the first air outlet according to the height difference h of the first air outlet (corresponding to the upper air outlet in fig. 2-4), the second air outlet (corresponding to the lower air outlet in fig. 2-4), the projection coordinates of a person and other data, wherein the air outlet angle in the vertical direction is theta 1, preferably, the air outlet angle in the vertical direction is vertical air outlet angle, the air outlet angle in the horizontal direction is alpha 1, preferably, the air outlet angle in the horizontal direction is left and right air outlet angle, and fig. 2 shows a schematic side view of the air outlet of the upper air outlet, as shown in fig. 2:
tan (θ+θ1) =y2/h, where y2 is the distance from the intersection point of the straight line determined by the top of the target object and the first air outlet and the ground to the second air outlet.
tanθ=y1/h;
Therefore, the vertical direction air outlet angle θ1, θ1=arctan (y 2/h) -arctan (y 1/h) of the first air outlet is calculated according to the position of the target object.
Fig. 3 shows a schematic top view of the upper air outlet, in which the first air outlet and the second air outlet are generally overlapped, and thus fig. 3 is also a schematic top view of the second air outlet from left to right, as shown in fig. 3:
tan(α+α1)=y2/x2;
tanα=y1/x1;
x1=x2;
Therefore, the horizontal direction outlet air angle α1 of the first outlet is calculated by the following formula α1=arctan (y 2/x 1) -arctan (y 1/x 1). And α1=α2.
The unit controller converts the air outlet angle calculated by the first air outlet into the air outlet angle of the second air outlet, wherein the air outlet angle theta 2 in the vertical direction and the air outlet angle alpha 2 in the horizontal direction. Fig. 4 shows a schematic diagram of a side view of the upper and lower outlets, as shown in fig. 4:
And h 1/h= (y 2-y 1)/y 2, wherein the height difference h of the first air outlet and the second air outlet can be obtained in a set mode or can be obtained by detection of other sensors.
tanθ2=h1/y1;
Therefore, the vertical direction air outlet angle θ2 of the second air outlet is calculated by the following formula:
θ2=arctan(h1/y1)。
After the air outlet angle of the second air outlet is determined, controlling the air outlet of the second air outlet according to the air outlet angle of the second air outlet, wherein the method comprises the steps of blowing according to the air outlet angle of the second air outlet, controlling the air along with a person, or calculating the air-avoiding air outlet angle according to the air outlet angle of the second air outlet, wherein the air-avoiding air outlet angle is the complete air outlet angle of the second air outlet minus the air outlet angle of the second air outlet, and blowing according to the air-avoiding air outlet angle. The complete air outlet angle is the maximum air outlet angle that the second air outlet can realize, and when calculating the vertical direction air outlet angle, the complete air outlet angle is the maximum air outlet angle that the second air outlet can realize in the vertical direction, and when calculating the horizontal direction air outlet angle, the complete air outlet angle is the maximum air outlet angle that the second air outlet can realize in the horizontal direction. Preferably, the complete air outlet angle of the air pipe machine is 180 degrees.
Further, before detecting whether the air conditioner outputs air from the second air outlet, monitoring whether user comfort control is triggered, wherein the user comfort control is used for achieving air along with-person blowing control or air avoiding-person blowing control, the air along with-person blowing control is used for blowing according to the air outlet angle of the second air outlet, the air avoiding-person blowing control is used for blowing according to the air avoiding-person outlet angle, and if so, triggering and detecting whether the air conditioner outputs air from the second air outlet. The comfort control scheme is not limited to the air-out along with people and people avoidance, and also comprises various comfort controls such as temperature field adjustment and the like.
Through the conversion switching operation of the air outlet angle, the infrared sensor of the upper air outlet can be used for detecting the position of a human body, and then the upper air outlet, the lower air outlet, the left air outlet and the right air outlet of the lower air outlet are controlled to realize that the air is along with people and people avoidance, so that the comfort of a user in the air outlet state under a unit is ensured.
Example 2
Based on the air conditioner control method provided in the above embodiment 1, there is also provided in a preferred embodiment 2 of the present invention an air conditioner control device, specifically, fig. 5 shows an optional block diagram of the device, as shown in fig. 5, the device includes:
the air outlet detection module 502 is configured to detect whether the air conditioner outputs air from the second air outlet;
the position detection module 504 is connected with the air outlet detection module 502, and is used for detecting the position of the target object through the sensor of the first air outlet if the position of the target object is detected;
The control module 506 is connected to the position detection module 504, and is configured to calculate an air outlet angle of the second air outlet according to the position of the target object, and control the air outlet of the second air outlet according to the air outlet angle of the second air outlet.
In the above embodiment, an air conditioner control scheme for improving comfort is provided, when a unit is switched to a second air outlet according to logic requirements, a sensor at a first air outlet detects a temperature field of a room to confirm a personnel position, and then the temperature field is converted into a space position of the second air outlet through conversion, so that comfort control of wind along with people or avoiding people is realized. Through the scheme, the problem that comfort control cannot be realized when the second air outlet of the air conditioner is out in the prior art can be effectively solved, and comfort experience of a user is improved.
The control module 506 includes a calculating unit, configured to calculate an air outlet angle of the second air outlet according to a position of the target object, including calculating a horizontal air outlet angle α1 of the first air outlet according to the position of the target object, where the horizontal air outlet angle α1 of the first air outlet is equal to the horizontal air outlet angle α2 of the second air outlet, calculating a height h1 of the target object according to the position of the target object, and calculating a vertical air outlet angle θ2 of the second air outlet according to the height of the target object.
Further, the position coordinates of the target object are (x 1, y 1), and the horizontal air outlet angle alpha 1 of the first air outlet is calculated through the following formula, wherein alpha 1 = arctan (y 2/x 1) -arctan (y 1/x 1), and y2 is the distance between the intersection point of the straight line determined by the top of the first air outlet and the target object and the ground and the second air outlet.
Optionally, the height h1 of the target object is calculated according to the following formula, wherein h1=h (y 2-y 1)/y 2, and h is the difference between the heights of the first air outlet and the second air outlet.
Further, the vertical direction air outlet angle θ2 of the second air outlet is calculated by the following formula θ2=arctan (h 1/y 1).
Preferably, the air outlet angle of the second air outlet is calculated according to the position of the target object, and further comprises the step of calculating the air outlet angle theta 1 in the vertical direction of the first air outlet according to the position of the target object, wherein theta1=arctan (y 2/h) -arctan (y 1/h).
The control module 506 further includes a control unit configured to control the second air outlet to output air according to the air outlet angle of the second air outlet, and includes a person-following wind control subunit configured to blow according to the air outlet angle of the second air outlet, and a person-avoiding wind control subunit configured to calculate a person-avoiding wind outlet angle according to the air outlet angle of the second air outlet, where the person-avoiding wind outlet angle is a complete air outlet angle of the second air outlet minus the air outlet angle of the second air outlet, and blow according to the person-avoiding wind outlet angle.
The specific manner in which the respective units and modules perform the operations in the apparatus of the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail here.
Example 3
Based on the air conditioner control device provided in the above embodiment 2, there is also provided an air conditioner set in a preferred embodiment 3 of the present invention, including the air conditioner control device as described above.
In the above embodiment, an air conditioner control scheme for improving comfort is provided, when a unit is switched to a lower air outlet for air outlet according to logic requirements, a sensor at the upper air outlet detects a temperature field of a room to confirm a personnel position, and then the personnel position is converted into a space position of the lower air outlet through conversion, so that comfort control of wind along with people or avoiding people is realized. Through the scheme, the problem that comfort control cannot be realized when the air outlet of the lower air conditioner in the prior art is exhausted can be effectively solved, and comfort experience of a user is improved.
Example 4
Based on the air conditioner control method provided in the above-described embodiment 1, there is also provided in a preferred embodiment 4 of the present invention a storage medium containing computer-executable instructions for executing the air conditioner control method as described above when executed by a computer processor.
In the above embodiment, an air conditioner control scheme for improving comfort is provided, when a unit is switched to a lower air outlet for air outlet according to logic requirements, a sensor at the upper air outlet detects a temperature field of a room to confirm a personnel position, and then the personnel position is converted into a space position of the lower air outlet through conversion, so that comfort control of wind along with people or avoiding people is realized. Through the scheme, the problem that comfort control cannot be realized when the air outlet of the lower air conditioner in the prior art is exhausted can be effectively solved, and comfort experience of a user is improved.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.