CN-122015226-A - Control method and device of air conditioner, air conditioner and medium
Abstract
The embodiment of the invention provides a control method and device of an air conditioner, the air conditioner and a medium, wherein a depth camera is arranged in the air conditioner; the anti-direct-blowing parameters comprise an anti-direct-blowing distance and an air conditioner height, point cloud data in a current space area shot by a depth camera are obtained, human body point cloud is extracted from the point cloud data, the human body height is determined according to the human body point cloud, a target air deflector deflection angle of the air conditioner is determined according to the human body height and the anti-direct-blowing parameters, and the air conditioner is controlled to blow according to the target air deflector deflection angle. According to the embodiment of the invention, the depth camera is arranged to obtain the human point cloud and accurately calculate the height of the person, and the deviation angle of the target air deflector is dynamically determined by combining the anti-direct blowing distance and the height of the air conditioner, so that the high-precision regulation and control of the air flow direction are realized. The direct blowing or excessive upward blowing of cold air is avoided, the direct blowing prevention accuracy is remarkably improved, and the user experience is improved.
Inventors
- Zhou Shuocheng
Assignees
- 珠海格力电器股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260115
Claims (10)
- 1. A control method of an air conditioner, wherein a depth camera is provided in the air conditioner, the method comprising: after the anti-direct-blowing mode is started, acquiring anti-direct-blowing parameters, wherein the anti-direct-blowing parameters comprise an anti-direct-blowing distance and an air conditioner height; acquiring point cloud data in a current space area shot by the depth camera, and extracting human point cloud from the point cloud data; Determining the height of the human body according to the human body point cloud; Determining a deflection angle of a target air deflector of the air conditioner according to the human body height and the anti-direct blowing parameters; and controlling the air conditioner to blow according to the deflection angle of the target air deflector.
- 2. The method according to claim 1, wherein the extracting human point cloud from the point cloud data comprises: Acquiring point clouds within a direct blowing preventing distance from the point cloud data, wherein the direct blowing preventing distance is a horizontal distance between an air outlet of an air conditioner and a direct blowing preventing boundary; And extracting human body point cloud from the point cloud within the anti-direct blowing distance.
- 3. The method according to claim 1, wherein the determining the human body height corresponding to the human body point cloud according to the human body point cloud comprises: Extracting human body key points in the point cloud based on a human body skeleton estimation algorithm, wherein the human body key points comprise head tops, lumbar vertebrae, cervical vertebrae, ankle joints and soles; Determining the central axis of the human body according to the key points of the human body; And determining the human body height corresponding to the human body point cloud according to the highest key point and the lowest key point on the central axis.
- 4. The method for controlling an air conditioner according to claim 1, wherein the determining the target deflector deflection angle of the air conditioner based on the blow-through prevention parameter according to the human body height comprises: Determining a height difference between the air conditioner height and the human body height; and determining the deflection angle of the target air deflector according to the ratio of the height difference to the anti-direct blowing distance.
- 5. The method of controlling an air conditioner according to claim 4, wherein the determining a height difference between the air conditioner height and the human body height comprises: when a plurality of human body point clouds exist in the current space, determining the highest human body height corresponding to the human body point clouds; And determining a height difference between the air conditioner height and the highest human body height.
- 6. The method of claim 4, wherein determining the deflection angle of the target air deflector according to the ratio of the height difference to the anti-blowthrough distance comprises: Determining a minimum deviation angle for preventing the human body from being blown straight according to the ratio of the height difference to the distance for preventing the human body from being blown straight; acquiring a compensation angle; And adding the minimum deflection angle and the compensation angle to obtain the deflection angle of the target air deflector.
- 7. The method according to claim 1, wherein the extracting human point cloud from the point cloud data comprises: Extracting human point cloud from the point cloud data according to a preset period; the method further comprises the steps of: under the condition that the human body point cloud is not extracted, acquiring the deflection angle of the target air deflector in the previous period; And controlling the air conditioner to blow according to the deflection angle of the target air deflector in the previous period.
- 8. A control device of an air conditioner, wherein a depth camera is provided in the air conditioner, the device comprising: the anti-direct-blowing parameter acquisition module is used for acquiring anti-direct-blowing parameters after the anti-direct-blowing mode is started, wherein the anti-direct-blowing parameters comprise an anti-direct-blowing distance and an air conditioner height; The human body point cloud extraction module is used for acquiring point cloud data in the current space area shot by the depth camera and extracting human body point cloud from the point cloud data; the human body height determining module is used for determining the human body height according to the human body point cloud; the target air deflector deflection angle determining module is used for determining the target air deflector deflection angle of the air conditioner according to the human height and the direct blowing prevention parameters; And the first control module is used for controlling the air conditioner to blow according to the deflection angle of the target air deflector.
- 9. An air conditioner comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor, implements the steps of the control method of an air conditioner according to any one of claims 1 to 7.
- 10. A computer-readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the control method of an air conditioner according to any one of claims 1 to 7.
Description
Control method and device of air conditioner, air conditioner and medium Technical Field The present invention relates to the field of air conditioner control technology, and in particular, to a control method and a control device for an air conditioner. Background With the development of artificial intelligence technology, the air conditioning system gradually goes to personalized intelligent regulation and control. However, in the prior art, although the existence of a person can be identified through an infrared sensor or a common sensor and the direct blowing prevention mode is started, the sensing capability is limited, and only 'people/no people' can be judged, so that the angle of the air deflector is regulated by depending on preset fixed parameters or rough region division, the direct blowing prevention effect is low in precision, and the problems that the head is still directly blown by cold air or the refrigeration efficiency is reduced due to excessive rising easily occur, and the user experience is influenced. Disclosure of Invention In view of the foregoing, embodiments of the present invention have been made to provide a control method, apparatus, air conditioner, and medium for an air conditioner that overcomes or at least partially solves the foregoing problems. According to a first aspect of an embodiment of the present invention, there is provided a control method of an air conditioner in which a depth camera is provided, the method including: after the anti-direct-blowing mode is started, acquiring anti-direct-blowing parameters, wherein the anti-direct-blowing parameters comprise an anti-direct-blowing distance and an air conditioner height; acquiring point cloud data in a current space area shot by the depth camera, and extracting human point cloud from the point cloud data; Determining the height of the human body according to the human body point cloud; Determining a deflection angle of a target air deflector of the air conditioner according to the human body height and the anti-direct blowing parameters; and controlling the air conditioner to blow according to the deflection angle of the target air deflector. Optionally, the extracting the human point cloud from the point cloud data includes: Acquiring point clouds within a direct blowing preventing distance from the point cloud data, wherein the direct blowing preventing distance is a horizontal distance between an air outlet of an air conditioner and a direct blowing preventing boundary; And extracting human body point cloud from the point cloud within the anti-direct blowing distance. Optionally, the determining, according to the human body point cloud, a human body height corresponding to the human body point cloud includes: Extracting human body key points in the point cloud based on a human body skeleton estimation algorithm, wherein the human body key points comprise head tops, lumbar vertebrae, cervical vertebrae, ankle joints and soles; Determining the central axis of the human body according to the key points of the human body; And determining the human body height corresponding to the human body point cloud according to the highest key point and the lowest key point on the central axis. Optionally, the determining, according to the height of the human body, the deflection angle of the target air deflector of the air conditioner based on the anti-direct blowing parameter includes: Determining a height difference between the air conditioner height and the human body height; and determining the deflection angle of the target air deflector according to the ratio of the height difference to the anti-direct blowing distance. Optionally, the determining the height difference between the air conditioner height and the human body height includes: when a plurality of human body point clouds exist in the current space, determining the highest human body height corresponding to the human body point clouds; And determining a height difference between the air conditioner height and the highest human body height. Optionally, the determining the deflection angle of the target air deflector according to the ratio of the height difference to the anti-direct blowing distance includes: Determining a minimum deviation angle for preventing the human body from being blown straight according to the ratio of the height difference to the distance for preventing the human body from being blown straight; acquiring a compensation angle; And adding the minimum deflection angle and the compensation angle to obtain the deflection angle of the target air deflector. Optionally, the extracting the human point cloud from the point cloud data includes: Extracting human point cloud from the point cloud data according to a preset period; the method further comprises the steps of: under the condition that the human body point cloud is not extracted, acquiring the deflection angle of the target air deflector in the previous period; And controlling the air condit