CN113494477A - Circulation fan control method, circulation fan and computer readable storage medium - Google Patents
Circulation fan control method, circulation fan and computer readable storage medium Download PDFInfo
- Publication number
- CN113494477A CN113494477A CN202010197542.8A CN202010197542A CN113494477A CN 113494477 A CN113494477 A CN 113494477A CN 202010197542 A CN202010197542 A CN 202010197542A CN 113494477 A CN113494477 A CN 113494477A
- Authority
- CN
- China
- Prior art keywords
- fan
- distance
- user
- fan head
- air supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D25/00—Pumping installations or systems
- F04D25/02—Units comprising pumps and their driving means
- F04D25/08—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
- F04D25/10—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air
- F04D25/105—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air by changing rotor axis direction, e.g. oscillating fans
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Positive-Displacement Air Blowers (AREA)
- Structures Of Non-Positive Displacement Pumps (AREA)
Abstract
The application provides a circulating fan control method, a circulating fan and a computer readable storage medium, wherein the method comprises the following steps: detecting whether the distance between the fan head and the wall changes at preset time intervals; if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall; then, updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters; and then controlling the fan head to perform swinging air supply according to the target swing parameters so as to enable the air supply area of the fan head to be consistent with the target air supply area. The swing angle of the fan head is adjusted, so that the current air supply area of the fan head is consistent with the air supply area, and the use experience of a user is greatly improved.
Description
Technical Field
The present disclosure relates to the field of circulating fan technologies, and in particular, to a circulating fan control method, a circulating fan, and a computer-readable storage medium.
Background
With the development of the times, the artificial intelligent home furnishing which is visible everywhere in life greatly improves the living standard of people. The existing intelligent circulating fan can only simply adjust the air supply gear and the air supply range, the intelligence is poor, and the gear of the air supply of the circulating fan and the swing angle of the fan head cannot be intelligently adjusted according to the change of the indoor environment. For example, when the circulation fan blows air against a wall, when a user is detected, the head of the circulation fan needs to be raised, and damage to the user due to overlarge wind power of the circulation fan is avoided. Therefore, how to intelligently control the air supply of the circulating fan is a problem to be solved urgently at present.
Disclosure of Invention
The present application mainly aims to provide a circulation fan control method, a circulation fan, and a computer-readable storage medium, which are used for intelligently controlling air supply of the circulation fan to improve user experience.
In a first aspect, the present application provides a circulation fan control method applied to a circulation fan including a fan head, the circulation fan control method including the steps of:
detecting whether the distance between the fan head and the wall changes at preset time intervals;
if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall;
updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters;
and controlling the fan head to perform swinging air supply according to the target swinging parameters so as to enable an air supply area of the fan head to be consistent with the target air supply area.
In a second aspect, the present application also provides a circulation fan comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the circulation fan control method as described above.
In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the loop fan control method as described above.
The application provides a control method of a circulating fan, the circulating fan and a computer readable storage medium, and detects whether the distance between a fan head and a wall changes at intervals of preset time; if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall; then, updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters; and then, controlling the fan head to swing and supply air according to the target swing parameter so as to enable the air supply area of the fan head to be consistent with the target air supply area, thereby ensuring that the air supply area of the circulating fan is not changed when the height of the circulating fan is changed, avoiding the situation that a user cannot blow circulating air blown out by the circulating fan, and greatly improving the use experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural view of a circulation fan in an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for controlling a circulation fan according to an embodiment of the present application;
FIG. 3 is a flow diagram illustrating sub-steps of the method of controlling the circulation fan of FIG. 2;
FIG. 4 is a schematic view of a scenario in which the swing angle changes due to the change in the distance between the circulating fan and the wall according to the embodiment of the present disclosure;
fig. 5 is a schematic view of a scene for determining whether a user is present in an air supply range of a circulation fan according to an embodiment of the present disclosure;
fig. 6 is a block diagram schematically illustrating a structure of a circulation fan according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a circulating fan control method, a circulating fan and a computer readable storage medium. Wherein, the control method of the circulation fan can be applied to the circulation fan.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The embodiment of the application provides a control method of a circulating fan, and the control method of the circulating fan is applied to the circulating fan. Referring to fig. 1, fig. 1 is a schematic structural diagram of a circulation fan in an embodiment of the present application, and as shown in fig. 1, the circulation fan 100 includes a fan head 101, a fan column 102, and a base 103.
Wherein, the two supporting devices of the fan head 101 are connected with one end of the fan column 102, and the fan head 101 can swing flexibly so as to supply air to different positions; one end of the fan column 102 is connected with the base 103, the fan column 102 is used for supporting the fan head 101, and the fan column 102 can be extended and retracted according to actual conditions so as to supply air to different positions; the base 103 is connected to the fan column 102, and the base 103 is used for fixing the circulating fan to prevent the circulating fan from falling down due to shaking.
It is to be understood that the names of the circulation fan 100 in fig. 1 and the above-mentioned portions of the circulation fan 100 are only for identification purposes, and therefore do not limit the embodiments of the present application.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for controlling a circulation fan according to an embodiment of the present disclosure.
As shown in fig. 2, the circulation fan control method includes steps S101 to S104.
And S101, detecting whether the distance between the fan head and the wall changes at preset time intervals.
The circulating fan is in a bottom-up state or a top-down state for air supply, namely, the fan head of the circulating fan supplies air to a ceiling, and the air supply area of the fan head is above the circulating fan; the fan head of the circulating fan supplies air to the ground, and the air supply area of the fan head is arranged below the circulating fan.
The fan head of the circulating fan is in a bottom view state, namely the fan head of the circulating fan supplies air to a ceiling, and the air supply area of the fan head is arranged above the circulating fan. Detecting the distance between the fan head and the wall at intervals of preset time, determining whether the distance between the fan head and the wall changes or not by comparing whether the distances between the fan head and the wall collected at intervals of preset time are the same or not, and determining that the distance between the fan head and the wall does not change if the distances between the fan head and the wall collected at intervals of preset time are the same; if the distances between the fan head and the wall collected at preset time intervals are different, the change of the distance between the fan head and the wall can be determined. The preset time may be set according to an actual situation, and is not specifically limited herein, for example, the preset time may be set to 5 seconds or 10 seconds.
In one embodiment, the distance between the fan head and the wall is obtained at preset time intervals to obtain a target distance; acquiring a historical target distance, wherein the historical target distance is the distance between the fan head and the wall at the last moment, and the target distance is separated from the historical target distance by the preset time; determining whether the target distance is equal to the historical target distance; if the target distance is equal to the historical target distance, determining that the distance between the fan head and the wall is unchanged; and if the target distance is not equal to the historical target distance, determining that the distance between the fan head and the wall changes. The preset time may be set according to an actual situation, and is not specifically limited herein, for example, the preset time may be set to 5 seconds or 10 seconds.
In one embodiment, the circulating fan further comprises a distance sensor, and the distance between the fan head and the wall is collected through the preset distance sensor to obtain a target distance; acquiring the distance between the fan head and the wall acquired by the distance sensor at the last moment to obtain a historical distance; judging whether the target distance is equal to the historical distance or not, and if the target distance is equal to the historical distance, the distance between the fan head and the wall in the upward viewing state is not changed; if the target distance is not equal to the historical target distance, the distance between the fan head and the wall in the upward viewing state changes. The installation position of the preset distance sensor can be selected according to actual conditions, and the application is not specifically limited herein.
In another embodiment, an image in the air supply area of the fan head is collected through a preset camera to obtain a target image; acquiring an image collected by a preset camera in an air supply area of a fan head at the last moment to obtain a historical image; judging whether the imaging areas of the wall in the target image and the historical image are the same; if the imaging areas of the wall in the target image and the historical image are the same, determining that the distance between the fan head in the upward viewing state and the wall is not changed; and if the imaging areas of the wall in the target image and the historical image are different, determining that the distance between the fan head in the upward viewing state and the wall is changed. It should be noted that the preset camera may be installed on the fan head bracket, and when the fan head swings, the fan head bracket does not move, so that the target image and the historical image have the same imaging area for the wall, and it is determined that the distance between the fan head in the upward viewing state and the wall does not change.
And step S102, if the distance is detected to be changed, acquiring the size information of the target air supply area of the fan head and acquiring the current distance between the fan head and the wall.
The size information of the air supply area of the fan head is the air supply area swept by the air supply area of the fan head when the fan head swings at a certain angle, and the size of the air supply area is determined by the swing angle of the fan head and the distance between the fan head and the wall; when the swing angle of the fan head is fixed, the larger the distance between the fan head and the wall is, the larger the size of the air supply area is, and when the distance between the fan head and the wall is fixed, the larger the swing angle of the fan head is, the larger the size of the air supply area is.
After the distance between the fan head and the wall is determined to be changed, acquiring the current distance between the fan head and the wall, which is acquired by a distance sensor, and taking the distance as the current distance; a historical air supply area of a circulation fan is acquired and is used as a target air supply area. The interval time between the air supply time of the historical air supply area and the current time is preset time, the preset time can be set according to actual conditions, the method is not specifically limited again, and for example, the preset time can be set to be 5 seconds.
In an embodiment, a first preset formula is obtained, where the first preset formula is l1=2d1*tan(α/2),d1For historical distance, α is the current yaw angle, l1The length or width of the air supply area; and determining the length or the width of the air supply area of the fan head according to the current yaw angle and the historical distance based on a first preset formula.
Illustratively, a historical distance between a fan head and a wall is obtained, wherein the historical distance is 1.2 meters; acquiring the current yaw angle of the fan head, and acquiring the yaw angle as 140 degrees; based on the first presetFormula l1=2d1Tan (alpha/2), the length of the blowing area of the fan head can be calculated to be 6.5 meters by substituting the historical distance of 1.2 meters and the yaw angle of 140 degrees into the first preset formula.
In another embodiment, a second predetermined formula is obtained, where the second predetermined formula is m1=2d1/tanβ, m1Width of the blowing zone, d1Is a historical distance, beta is a current pitch angle; and determining the width of the air supply area of the fan head according to the current pitch angle and the historical distance based on a second preset formula.
In another embodiment, the size information of the blowing area input by the user is acquired, and the size information of the target blowing area is obtained. It should be noted that, the size information of the target air supply area may be input by a user, or may be obtained by obtaining historical operating parameters of the circulation fan, so as to obtain the size information of the target air supply area, which is not specifically limited herein.
And S103, updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters.
The swing parameters include a swing angle of a fan head of the circulating fan in the vertical direction and/or a swing angle of the fan head in the horizontal left-right direction, the swing angle of the fan head in the vertical direction includes a pitch angle of the fan head at each swing point, the elevation angle is a positive value, the depression angle is a negative value, the swing angle of the fan head in the horizontal left-right direction includes a yaw angle of the fan head at each swing point, the left yaw angle is a negative value, the right yaw angle is a positive value, the pitch angle is an included angle of the fan head deviating from the horizontal plane, the yaw angle is an included angle of the fan head deviating from the vertical plane, two adjacent swing points are separated by a preset angle, and the preset angle can be set according to actual conditions, for example, the preset angle is 2 °.
In one embodiment, a swing gear setting instruction triggered by a user is obtained, wherein the swing gear setting instruction is used for controlling a swing parameter of a circulating fan setting fan head; and controlling the circulating fan to set the swing parameters of the fan head according to the gear setting instruction. The user can trigger the gear setting instruction through a swing gear setting button on the circulating fan or through a control terminal of the circulating fan.
Specifically, a swing gear and a swing pattern identifier are obtained from the swing gear setting instruction, a swing angle corresponding to the swing gear is obtained, and a swing pattern of the circulation fan is determined according to the swing pattern identifier. The swing angle is larger when the swing gear is higher, the swing angle is smaller when the swing gear is lower, for example, the swing gear is first gear, the swing angle is 45 degrees, the swing gear is second gear, the swing angle is 90 degrees, the swing gear is third gear, the swing angle is 120 degrees, and the like.
Illustratively, the swing angle of the fan head is 50 ° and the preset angle is 5 °, then there are 10 swing points of the fan head, which are respectively the swing point 1, the swing point 2, the swing point 3, the swing point 4, the swing point 5, the swing point 6, the swing point 7, the swing point 8, the swing point 9 and the swing point 10, and the pitch angles or yaw angles of the swing point 1, the swing point 2, the swing point 3, the swing point 4, the swing point 5, the swing point 6, the swing point 7, the swing point 8, the swing point 9 and the swing point 10 are respectively 5 °, 10 °, 15 °, 20 °, 25 °, 30 °, 35 °, 40 °, 45 ° and 50 °.
In an embodiment, as shown in fig. 3, step S103 includes sub-steps S1031 to S1033.
And step S1031, obtaining a current swing parameter, and determining whether the circulation fan is in a single swing mode or a double swing mode according to the current swing parameter.
The swing mode of the circulating fan comprises a single swing mode and a double swing mode, the single swing mode comprises one of an up-and-down swing mode and a left-and-right swing mode, and when the circulating fan is in the double swing mode, the fan head is controlled to swing up and down, and meanwhile, the fan head is controlled to swing left and right.
Specifically, a swing pattern identifier in the swing parameter is obtained, whether the swing pattern identifier is a preset identifier is determined, if the swing identifier is the preset identifier, it is determined that the circulation fan is in a double swing mode, and if the swing identifier is not the preset identifier, it is determined that the circulation fan is in a single swing mode. The preset identifier may be set based on actual conditions, for example, the preset identifier is 1.
And a substep S1032 of determining the swing parameter of the fan head in the vertical direction or the horizontal left-right direction according to the current distance and the size information if the circulating fan is in the single swing mode to obtain a target swing parameter.
And if the circulating fan is in the single swinging mode, substituting the current distance between the fan head and the wall and the size information of the target air supply area into a second preset formula for calculation so as to obtain swinging parameters in the horizontal left-right direction and obtain target swinging parameters. The second preset formula may be set according to an actual situation, and is not specifically limited herein.
Illustratively, the second predetermined formula is β ═ 2 × arctan (l)1/2d2),d2For the current distance, beta is the target roll parameter, l1The size information of the air supply area; and determining a target swing parameter of the fan head according to the current distance and the size information of the air supply area based on the second preset formula.
Illustratively, the current distance between the fan head and the wall is obtained, the current distance is 1 meter, and the air supply area of the fan head is 6.5 meters. Based on the second preset formula β ═ 2 × arctan (l)1/2d2) And substituting the current distance of 1 meter and the air supply area of the fan head of 6.5 meters into the second preset formula, and calculating to obtain the target parameter of the fan head of 145 degrees.
In another embodiment, the current distance between the fan head and the wall and the size information of the target air supply area are substituted into a third preset formula to be calculated, so that the swing parameter in the vertical direction is obtained, and the target swing parameter is obtained. The third preset formula may be set according to an actual situation, and is not specifically limited herein.
Exemplary, third PresetThe formula is theta-arctan (2 d)2/m1),d2As the current distance, m1The dimension information of the air supply area is shown, and theta is a target swing parameter; and determining a target swing parameter of the fan head according to the current distance and the size information of the air supply area based on the third preset formula.
Illustratively, the current distance between the fan head and the wall is obtained, the current distance is 1 meter, and the air supply area of the fan head is 6.5 meters. Based on the third predetermined formula θ ═ arctan (2 d)2/m1) And substituting the current distance of 1 meter and the air supply area of the fan head of 6.5 meters into the third preset formula, and calculating to obtain a target swing parameter of the fan head of 17.1 degrees.
As shown in fig. 4, the position of the head of the circulation fan is lowered from the position a to the position C, and the swing angle of the circulation fan is controlled to change from the angle B to the angle D so that the ranges of the air blowing regions before and after the lowering are made to coincide with each other. The distance between the fan head of the circulating fan and the wall is changed, and the air supply range is consistent by adjusting the swing angle of the fan head, so that the user experience is greatly improved.
And a substep S1033, if the circulating fan is in a double-swing mode, determining swing parameters of the fan head in the vertical direction and the horizontal left-right direction according to the current distance and the size information to obtain target swing parameters.
And if the circulating fan is in a double-swing mode, determining swing parameters of the fan head in the vertical direction and the horizontal left-right direction according to the current distance between the fan head and the wall and the size information of a target air supply area of the fan head, so as to obtain the target swing parameters.
Specifically, the current distance between the fan head and the wall and the length size information of the target air supply area are substituted into a fourth preset formula for calculation, so that a yaw angle in the horizontal left-right direction is obtained, and a target yaw angle is obtained; substituting the current distance between the fan head and the wall and the width size information of the target air supply area into a fifth preset formula for calculation, so as to obtain a pitch angle in the vertical direction and obtain a target pitch angle; and obtaining target swinging parameters according to the target yaw angle and the target pitch angle. The fourth preset formula and the fifth preset formula may be set according to actual conditions, and are not specifically limited herein.
Illustratively, the fourth predetermined formula is β1=2*arctan(l2/2d3),d3As the current distance, β2For yaw angle, /)2The size information of the air supply area; based on the fourth preset formula, determining the yaw angle of the fan head according to the current distance and the length size information of the air supply area to obtain a target yaw angle; the fifth predetermined formula is θ1=arctan(2d4/m2),d4As the current distance, m2As width dimension information of the blowing area, theta1Is a pitch angle; based on the fifth preset formula, determining the pitch angle of the fan head according to the current distance and the width size information of the air supply area, so as to obtain a target pitch angle; and obtaining target swinging parameters according to the target yaw angle and the target pitch angle.
Illustratively, the current distance between the fan head and the wall is obtained, the current distance is 1.5 meters, and the length of the air supply area is 6.5 meters. Based on the fourth predetermined formula beta1=2*arctan(l2/2d3) Taking the current distance of 1 meter and the air supply area of 6.5 meters into the fourth preset formula, and calculating to obtain the yaw angle of the fan head of 130 degrees; the width of the air supply area is 2 m, the current distance is 1 m, and the width is substituted into a fifth preset formula theta1=arctan(2d4/m2) Calculating to obtain a pitch angle of the fan head as 56 degrees; thus, the target yaw parameters of the fan head are 130 degrees in yaw angle and 56 degrees in pitch angle.
And step S104, controlling the fan head to swing and supply air according to the target swing parameter so as to enable an air supply area of the fan head to be consistent with the target air supply area.
And after obtaining a target swing parameter corresponding to the distance between the fan head and the wall at present, controlling the fan head to swing according to the target swing parameter so as to enable the air supply area of the fan head to be consistent with the target air supply area. The target air supply area of the fan head is set according to actual conditions, and the application is not limited in particular, for example, in the single swing mode, the target air supply area may be set to be 6 meters.
In an embodiment, if the circulation fan is in the single swing mode, the fan head is controlled to swing and blow air according to the updated swing parameter, so that the blowing area of the fan head is consistent with the target blowing area. Wherein the swing parameter is one of a pitch angle in a vertical direction or a yaw angle in a horizontal left-right direction.
In an embodiment, if the circulation fan is in the dual swing mode, the fan head is controlled to swing and blow air according to the updated swing parameter, so that the blowing area of the fan head is consistent with the target blowing area. Wherein the swing parameters comprise a pitch angle in a vertical direction and a yaw angle in a horizontal left-right direction.
In one embodiment, height and indoor positioning information of each user in an indoor area where the circulation fan is located are obtained; determining whether at least one user is in the air supply range of the circulating fan or not according to the height and the indoor positioning information of each user; and if at least one user is in the air supply range of the circulating fan, adjusting the height of the circulating fan according to the height of the at least one user so that no user exists in the air supply range of the circulating fan. The height of the fan head of the circulating fan is increased, so that a user is not in the air supply range of the fan head, the user cannot be injured due to overlarge wind power, and the user experience is greatly improved. Wherein, through the information of the intelligence wearing of acquireing the user dress, this information includes user's indoor locating information and user's height information.
Specifically, according to the indoor positioning information of each user, determining whether at least one user exists in a preset range of a circulating fan; if at least one user exists in the preset range of the circulating fan, determining the horizontal distance from each user to the fan head according to the indoor positioning information of each user; acquiring a pitch angle and a height of the fan head; determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head; judging whether the air supply height of the circulation fan at the position of each user is greater than the height of the corresponding user; if the air supply height of the circulation fan at the position where each user is located is larger than the height of the corresponding user, determining that no user is located in the air supply range of the circulation fan; if at least one air supply height of the circulation fan exists in the air supply heights of the positions where the users are located, the fact that the users are located in the air supply range of the circulation fan is determined. The preset range is a circular range taking the circulating fan as a center and taking a certain distance as a radius, and the preset range can be set according to actual conditions, and the preset range is not specifically limited in the application, for example, the preset range is a circular range taking the circulating fan as a circle and taking 1 meter as a radius.
The specific step of determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head is as follows: obtaining a third preset formula, wherein the preset formula is H ═ H + x1tan gamma, h is the height of the fan head, x1Is the horizontal distance from the user to the fan head, and gamma is the pitch angle; based on a preset formula, the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head are brought into the preset formula, and the air supply height of the circulating fan at the position where each user is located can be obtained.
For example, as shown in fig. 5, the height and indoor positioning information of each user in the room where the circulation fan is located are obtained, and it is obtained that one user B exists in the air supply range of the circulation fan. Acquiring the rising of the user B to be 1.7 m, determining the horizontal distance D from the fan head A to the user B to be 0.9 m according to the indoor positioning information, determining the minimum elevation angle of the circulating fan to be 45 degrees, determining the distance between the fan head A and the ground to be 0.7 m, and setting the distance between the fan head A and the ground to be H + x based on a preset formula H1tan gamma, which gives a minimum blowing height of 1.6 m for the circulation fan at the user B location. The air blowing height of the circulation fan at the user B is smaller than the rise of the user, and therefore, the user is within the air blowing range of the circulation fan. When the user is in the air supply range of the circulating fanAnd the fan head of the circulating fan is lifted so that a user is not in the air supply range, and the use experience of the user is improved.
The circulating fan control method provided by the above embodiment detects whether the distance between the fan head and the wall changes at intervals of preset time; if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall; then, updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters; and then controlling the fan head to perform swinging air supply according to the target swing parameter so as to enable the air supply area of the fan head to be consistent with the target air supply area. In the embodiment, whether the distance between the fan head and the wall is changed or not is detected, if the distance is changed, the target swing angle of the fan head is determined, and the fan head is controlled to swing according to the target swing angle, so that the current air supply area is consistent with the air supply area, and the use experience of a user is greatly improved.
Referring to fig. 6, fig. 6 is a schematic block diagram of a structure of a circulation fan according to an embodiment of the present disclosure.
As shown in fig. 6, the circulation fan includes a processor 202, a memory 203, and a communication interface 204 connected by a system bus 201, wherein the memory 203 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the loop fan control methods.
The processor 202 is used to provide computational and control capabilities to support the operation of the entire cycle fan.
The internal memory provides an environment for running a computer program in the nonvolatile storage medium, and the computer program, when executed by the processor, causes the processor to execute any one of the loop fan control methods.
The communication interface 204 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the circulation fan to which the present application is applied, and that a particular circulation fan may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
It should be understood that Processor 202 may be a Central Processing Unit (CPU), and that the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
detecting whether the distance between the fan head and the wall changes at preset time intervals;
if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall;
updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters;
and controlling the fan head to perform swinging air supply according to the target swinging parameters so as to enable an air supply area of the fan head to be consistent with the target air supply area.
In one embodiment, the processor, when implementing the detecting whether the distance between the fan head and the wall changes at intervals of preset time, is configured to implement:
obtaining the distance between the fan head and the wall at preset time intervals to obtain a target distance;
acquiring a historical target distance, wherein the historical target distance is the distance between the fan head and the wall at the last moment, and the target distance is separated from the historical target distance by the preset time;
determining whether the target distance is equal to the historical target distance;
if the target distance is equal to the historical target distance, determining that the distance between the fan head and the wall is unchanged;
and if the target distance is not equal to the historical target distance, determining that the distance between the fan head and the wall changes.
In an embodiment, when the processor updates the swing parameter of the fan head according to the current distance and the size information to obtain a target swing parameter, the processor is configured to:
acquiring current swing parameters, and determining whether the circulating fan is in a single swing mode or a double swing mode according to the current swing parameters;
and if the circulating fan is in a single swinging mode, determining the swinging parameters of the fan head in the vertical direction or the horizontal left-right direction according to the current distance and the size information to obtain target swinging parameters.
In one embodiment, the processor, in effecting said determining whether the circulation fan is in single swing or dual swing mode from the current swing parameters, is further configured to effect:
and if the circulating fan is in a double-swing mode, determining swing parameters of the fan head in the vertical direction and the horizontal left-right direction according to the current distance and the size information to obtain target swing parameters.
In one embodiment, the processor, in performing the obtaining the current distance between the fan head and the wall, is configured to perform:
and determining the current distance between the fan head and the wall through a preset distance sensor or a binocular distance measuring device.
In one embodiment, the processor, when implementing the method, is configured to implement:
acquiring the height and indoor positioning information of each user in the indoor area where the circulating fan is located;
determining whether at least one user is in the air supply range of the circulating fan or not according to the height and the indoor positioning information of each user;
and if at least one user is in the air supply range of the circulating fan, adjusting the height of the circulating fan according to the height of the at least one user so that no user exists in the air supply range of the circulating fan.
In one embodiment, the processor, in implementing the determining whether there is at least one user within the range of the air supply of the circulation fan based on the height and indoor positioning information of each user, is configured to implement:
determining whether at least one user exists in a preset range of the circulating fan according to the indoor positioning information of each user;
if at least one user exists in the preset range of the circulating fan, determining the horizontal distance from each user to the fan head according to the indoor positioning information of each user;
acquiring a pitch angle and a height of the fan head;
determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head;
judging whether the air supply height of the circulation fan at the position of each user is greater than the height of the corresponding user;
if the air supply height of the circulating fan at the position where each user is located is larger than the height of the corresponding user, determining that no user is located in the air supply range of the circulating fan;
and if at least one air supply height in the air supply heights of the position of each user of the circulating fan is smaller than or equal to the height of the user, determining that at least one user is in the air supply range of the circulating fan.
In one embodiment, the processor, when implementing, in determining the blowing height of the circulation fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head, is configured to implement:
obtaining a preset formula, wherein the preset formula is H ═ H + x1tan gamma, h is the height of the fan head, x1Is the horizontal distance from the user to the fan head, and gamma is the pitch angle;
and determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head based on the preset formula.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the circulation fan control described above may refer to the corresponding process in the foregoing embodiment of the circulation fan control method, and no further description is provided herein
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of the loop fan control method in the present application.
The computer-readable storage medium may be an internal storage unit of the circulation fan described in the foregoing embodiment, for example, a hard disk or a memory of the circulation fan. The computer-readable storage medium may also be an external storage device of the circulation fan, such as a plug-in hard disk provided on the circulation fan, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A circulation fan control method applied to a circulation fan including a fan head, the method comprising:
detecting whether the distance between the fan head and the wall changes at preset time intervals;
if the distance is detected to be changed, acquiring the size information of a target air supply area of the fan head and acquiring the current distance between the fan head and the wall;
updating the swing parameters of the fan head according to the current distance and the size information to obtain target swing parameters;
and controlling the fan head to perform swinging air supply according to the target swinging parameters so as to enable an air supply area of the fan head to be consistent with the target air supply area.
2. The circulation fan control method according to claim 1, wherein the detecting whether the distance between the fan head and the wall is changed at intervals of a preset time includes:
obtaining the distance between the fan head and the wall at preset time intervals to obtain a target distance;
acquiring a historical target distance, wherein the historical target distance is the distance between the fan head and the wall at the last moment, and the target distance is separated from the historical target distance by the preset time;
determining whether the target distance is equal to the historical target distance;
if the target distance is equal to the historical target distance, determining that the distance between the fan head and the wall is unchanged;
and if the target distance is not equal to the historical target distance, determining that the distance between the fan head and the wall changes.
3. The method for controlling a circular fan according to claim 1, wherein the updating the swing parameter of the fan head according to the current distance and the size information to obtain a target swing parameter comprises:
acquiring current swing parameters, and determining whether the circulating fan is in a single swing mode or a double swing mode according to the current swing parameters;
and if the circulating fan is in a single swinging mode, determining the swinging parameters of the fan head in the vertical direction or the horizontal left-right direction according to the current distance and the size information to obtain target swinging parameters.
4. The circulation fan control method according to claim 3, wherein the determining whether the circulation fan is in the single swing or the double swing mode according to the current swing parameter further comprises:
and if the circulating fan is in a double-swing mode, determining swing parameters of the fan head in the vertical direction and the horizontal left-right direction according to the current distance and the size information to obtain target swing parameters.
5. The circulation fan control method according to claim 1, wherein the acquiring of the current distance between the fan head and the wall comprises:
and determining the current distance between the fan head and the wall through a preset distance sensor or a binocular distance measuring device.
6. The circulation fan control method according to any one of claims 1 to 5, further comprising:
acquiring the height and indoor positioning information of each user in the indoor area where the circulating fan is located;
determining whether at least one user is in the air supply range of the circulating fan or not according to the height and the indoor positioning information of each user;
and if at least one user is in the air supply range of the circulating fan, adjusting the height of the circulating fan according to the height of the at least one user so that no user exists in the air supply range of the circulating fan.
7. The circulation fan control method according to claim 6, wherein the determining whether or not there is at least one user within the blowing range of the circulation fan based on the height and indoor positioning information of each user includes:
determining whether at least one user exists in a preset range of the circulating fan according to the indoor positioning information of each user;
if at least one user exists in the preset range of the circulating fan, determining the horizontal distance from each user to the fan head according to the indoor positioning information of each user;
acquiring a pitch angle and a height of the fan head;
determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head;
judging whether the air supply height of the circulation fan at the position of each user is greater than the height of the corresponding user;
if the air supply height of the circulating fan at the position where each user is located is larger than the height of the corresponding user, determining that no user is located in the air supply range of the circulating fan;
and if at least one air supply height in the air supply heights of the position of each user of the circulating fan is smaller than or equal to the height of the user, determining that at least one user is in the air supply range of the circulating fan.
8. The circulation fan control method according to claim 7, wherein the determining of the blowing height of the circulation fan at the position of each user based on the pitch angle of the fan head, the height of the fan head, and the horizontal distance of each user from the fan head includes:
obtaining a preset formula, wherein the preset formula is H ═ H + x1tan gamma, h is the height of the fan head, x1Is the horizontal distance from the user to the fan head, and gamma is the pitch angle;
and determining the air supply height of the circulating fan at the position of each user according to the pitch angle and the height of the fan head and the horizontal distance from each user to the fan head based on the preset formula.
9. A circulation fan, characterized in that the circulation fan comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the circulation fan control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the loop fan control method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010197542.8A CN113494477B (en) | 2020-03-19 | 2020-03-19 | Circulation fan control method, circulation fan and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010197542.8A CN113494477B (en) | 2020-03-19 | 2020-03-19 | Circulation fan control method, circulation fan and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113494477A true CN113494477A (en) | 2021-10-12 |
CN113494477B CN113494477B (en) | 2023-05-12 |
Family
ID=77993480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010197542.8A Active CN113494477B (en) | 2020-03-19 | 2020-03-19 | Circulation fan control method, circulation fan and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113494477B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117072474A (en) * | 2023-10-10 | 2023-11-17 | 广东顺德中午电器制造有限公司 | Control method of electric fan |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970016163A (en) * | 1995-09-29 | 1997-04-28 | 배순훈 | Fan rotation angle control device |
CN204254762U (en) * | 2013-10-29 | 2015-04-08 | 三菱电机株式会社 | Air purifier |
CN110878981A (en) * | 2018-09-05 | 2020-03-13 | 合肥海尔空调器有限公司 | Air conditioner and control method thereof |
-
2020
- 2020-03-19 CN CN202010197542.8A patent/CN113494477B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970016163A (en) * | 1995-09-29 | 1997-04-28 | 배순훈 | Fan rotation angle control device |
CN204254762U (en) * | 2013-10-29 | 2015-04-08 | 三菱电机株式会社 | Air purifier |
CN105683667A (en) * | 2013-10-29 | 2016-06-15 | 三菱电机株式会社 | Air purifier |
CN110878981A (en) * | 2018-09-05 | 2020-03-13 | 合肥海尔空调器有限公司 | Air conditioner and control method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117072474A (en) * | 2023-10-10 | 2023-11-17 | 广东顺德中午电器制造有限公司 | Control method of electric fan |
CN117072474B (en) * | 2023-10-10 | 2023-12-19 | 广东顺德中午电器制造有限公司 | Control method of electric fan |
Also Published As
Publication number | Publication date |
---|---|
CN113494477B (en) | 2023-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10941613B1 (en) | Building model generation and intelligent light control for smart windows | |
CN108386979B (en) | Control method and device of air conditioner | |
US9456183B2 (en) | Image processing occupancy sensor | |
CN110726217B (en) | Control method and device of air conditioner | |
TWI701606B (en) | Screen brightening method, mobile terminal and storage medium | |
US20190309968A1 (en) | Thermal management system with thermographic sensing | |
JP2014534405A (en) | User-friendly, networked learning thermostat and related systems and methods | |
EP3985318B1 (en) | Air-conditioning control device and air-conditioning control system | |
CN107726560B (en) | Image acquisition equipment, air conditioner and control method of air conditioner | |
US20160054017A1 (en) | Air conditioning management device, air conditioning system, and program | |
CN113494477A (en) | Circulation fan control method, circulation fan and computer readable storage medium | |
CN104951055B (en) | The method and apparatus and air-conditioning equipment of the operation mode of equipment are set | |
CN110332674A (en) | Air conditioner control method, air conditioner and computer readable medium | |
JP6958560B2 (en) | Watching system, watching device, watching method, and watching program | |
US10122542B2 (en) | Method and system for controlling home-automation devices in a dwelling | |
CN111221415B (en) | Control method and device and electronic equipment | |
US20190264941A1 (en) | Information output system, device control system, information output method, and program | |
CN112922887B (en) | Fan air supply control method, system, fan and computer readable storage medium | |
US11725839B2 (en) | Air conditioner control method and device and air conditioner | |
CN112922891B (en) | Fan control method, fan, air supply system and storage medium | |
CN113586501B (en) | Circulation fan control method, circulation fan and computer readable storage medium | |
CN113584831B (en) | Circulation fan control method, circulation fan and computer readable storage medium | |
CN113586496B (en) | Circulation fan control method, circulation fan and computer readable storage medium | |
WO2024071259A1 (en) | Program, information processing method, information processing device, and display device | |
CN112433604A (en) | Intelligent mirror control method based on artificial intelligence and intelligent mirror |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |