CN118030579A - Fan control method and device, fan and storage medium - Google Patents
Fan control method and device, fan and storage medium Download PDFInfo
- Publication number
- CN118030579A CN118030579A CN202410300545.8A CN202410300545A CN118030579A CN 118030579 A CN118030579 A CN 118030579A CN 202410300545 A CN202410300545 A CN 202410300545A CN 118030579 A CN118030579 A CN 118030579A
- Authority
- CN
- China
- Prior art keywords
- wind speed
- fan
- current
- speed
- ambient
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 230000003238 somatosensory effect Effects 0.000 claims abstract description 39
- 230000015654 memory Effects 0.000 claims description 26
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 4
- 230000001105 regulatory effect Effects 0.000 abstract description 5
- 230000006978 adaptation Effects 0.000 abstract description 3
- 230000007613 environmental effect Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 230000001276 controlling effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 3
- 238000004091 panning Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000009776 industrial production Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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
- F04D27/004—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
-
- 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)
Abstract
The invention relates to the technical field of fans, and discloses a fan control method, a device, a fan and a storage medium, wherein the method comprises the following steps: acquiring a first ambient wind speed corresponding to the current oscillating direction of the fan; the motor speed of the fan is adjusted based on the first ambient wind speed. According to the invention, the motor rotating speed of the fan is regulated in real time by acquiring the ambient wind speed in the shaking direction in the running process of the fan, so that the somatosensory wind speed of a user is kept stable, the adaptation experience of the user is improved, and the resource utilization rate is improved to a certain extent.
Description
Technical Field
The invention relates to the technical field of fans, in particular to a fan control method and device, a fan and a storage medium.
Background
Fans have been increasingly used in various places such as home and industrial production. Under the environment with unstable ambient wind speed such as outdoor, the fixed wind speed generated by the fan is unstable after the unstable ambient wind speed is superposed, so that the final wind speed is unstable, and the user feel wind speed is unstable and the experience is poor.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a fan and a storage medium for controlling a fan, so as to solve the problem that in the related art, the fan has unstable somatosensory wind speed in an environment with unstable ambient wind speed, resulting in poor somatosensory experience of the user.
In a first aspect, the present invention provides a fan control method, the method comprising:
Acquiring a first ambient wind speed corresponding to the current oscillating direction of the fan;
And adjusting the motor rotation speed of the fan based on the first ambient wind speed.
According to the invention, the motor rotating speed of the fan is regulated in real time by acquiring the ambient wind speed in the shaking direction in the running process of the fan, so that the somatosensory wind speed of a user is kept stable, the adaptation experience of the user is improved, and the resource utilization rate is improved to a certain extent.
In an alternative embodiment, the acquiring the corresponding first ambient wind speed in the current direction of the fan comprises:
acquiring an environment vector wind speed of an environment where the fan is located and a current shaking direction of the fan;
And calculating a first ambient wind speed corresponding to the current ambient vector wind speed in the current shaking direction.
According to the invention, the first environment wind speed corresponding to the environment vector wind speed in the real-time shaking direction is obtained through calculation by monitoring the environment vector wind speed of the environment where the fan is located and the real-time shaking direction of the fan, so that the accuracy of the first environment wind speed is ensured, the accuracy of the rotation speed adjustment of the fan motor is further improved, and the use experience of a user is improved.
In an alternative embodiment, the calculating the first ambient wind speed corresponding to the current ambient vector wind speed in the current panning direction includes:
Calculating an included angle between the current shaking direction and the current environment vector wind speed;
And calculating a first environment wind speed corresponding to the current environment vector wind speed in the current shaking direction based on the current environment vector wind speed and the included angle.
According to the invention, the first ambient wind speed is obtained by calculating the included angle between the fan oscillating direction and the ambient vector wind speed and calculating by utilizing the principle of trigonometric function calculation, so that the accuracy of the first ambient wind speed is further ensured.
In an alternative embodiment, a wind measuring device is disposed on the fan, a measurement direction of the wind measuring device is synchronous with a shaking direction of the fan, and the acquiring a first ambient wind speed corresponding to the current shaking direction of the fan includes:
And acquiring a first ambient wind speed measured by the wind measuring device in the current oscillating direction of the fan.
According to the wind power measuring device, the wind power measuring device with the synchronous measuring direction and the shaking direction is directly arranged on the fan, so that the first ambient wind speed in the shaking direction can be detected in real time, the accuracy of the first ambient wind speed is guaranteed, the data processing time is shortened, the data acquisition efficiency is improved, the control accuracy of the rotating speed of the wind speed motor is further improved, and the use experience of a user is improved.
In an alternative embodiment, the adjusting the motor speed of the fan based on the first ambient wind speed includes:
Acquiring a target somatosensory wind speed set by a user;
Calculating the deviation between the target somatosensory wind speed and the first environment wind speed to obtain a target wind speed;
Determining a target rotational speed of the fan based on the target wind speed;
And controlling the motor of the fan to run according to the target rotating speed.
According to the method and the device for controlling the fan motor to operate, the target wind speed corresponding to the fan is determined by calculating the deviation between the target body sensing wind speed of the user and the first environment wind speed, and then the wind speed is converted into the target rotating speed of the fan to control the fan motor to operate, so that the accurate control of the rotating speed of the fan motor is realized, and the use experience of the user is further improved.
In an alternative embodiment, the acquiring the target somatosensory wind speed set by the user includes:
acquiring the current running gear of the fan;
And determining the target somatosensory wind speed set by the user based on the current running gear.
According to the invention, the running gear of the fan is monitored, the target somatosensory wind speed set by the user is determined, the automatic identification of the somatosensory wind speed expected by the user is realized, the user only needs to select the fan function gear, the operation is more convenient, and the application range is wider.
In an alternative embodiment, the adjusting the motor speed of the fan based on the first ambient wind speed includes:
Determining a compensation rotational speed based on the first ambient wind speed;
and adjusting the current motor rotation speed of the fan based on the compensation rotation speed.
According to the invention, the compensation rotating speed required by the operation of the fan is determined by directly utilizing the ambient wind speed in the current oscillating direction of the fan, and then the motor rotating speed of the fan is regulated by utilizing the compensation rotating speed, so that the automatic accurate control of the motor rotating speed of the fan is realized, and the use experience of a user is further improved.
In a second aspect, the present invention provides a fan control apparatus, the apparatus comprising:
the acquisition module is used for acquiring a first environment wind speed corresponding to the current shaking direction of the fan;
And the adjusting module is used for adjusting the motor rotating speed of the fan based on the first ambient wind speed.
In a third aspect, the present invention provides a fan comprising: a controller, the controller comprising:
the device comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so that the method of the first aspect or any implementation manner corresponding to the first aspect is executed.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of the first aspect or any of its corresponding embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a fan control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another fan control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a fan performing fan compensation according to an embodiment of the present invention;
fig. 4 is a block diagram of a fan control apparatus according to an embodiment of the present invention;
Fig. 5 is a schematic diagram of a hardware structure of a fan according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fans have been increasingly used in various places such as home and industrial production. Under the environment with unstable ambient wind speed such as outdoor, the fixed wind speed generated by the fan is unstable after the unstable ambient wind speed is superposed, so that the final wind speed is unstable, and the user feel wind speed is unstable and the experience is poor.
Based on the problem that the body feeling wind speed of the user is unstable in the morning of the fan, the embodiment of the invention calculates the compensation wind speed required to be provided by the fan according to the ambient wind speed and the target wind speed, converts the compensation wind speed into the compensation rotating speed of the fan motor and executes the compensation wind speed, can stabilize the body feeling wind speed of the user, and improves the resource utilization rate to a certain extent.
According to an embodiment of the present invention, there is provided a fan control method embodiment, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order other than that shown or described herein.
In the present embodiment, a fan control method is provided, which is applied to a controller of a fan, such as: fig. 1 is a flowchart of a fan control method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
Step S101, obtaining a first ambient wind speed corresponding to a current oscillating direction of the fan.
The environmental wind speed can be obtained by measuring a wind speed and wind direction sensor arranged on the fan, and then calculating to obtain a first environmental wind speed corresponding to the current shaking direction, or a wind detection device which is consistent with the shaking direction is directly arranged on the fan to directly collect the first environmental wind speed corresponding to the current shaking direction, when the environmental wind direction is the same as the shaking direction, the first environmental wind speed is a positive number, otherwise, the first environmental wind speed is a negative number, and the invention is not limited by the way of example.
Step S102, the motor rotation speed of the fan is adjusted based on the first ambient wind speed.
Specifically, since the superposition of the wind speed in the direction of the fan shaking head and the wind speed of the fan affects the body feeling wind speed of the user, in order to maintain the stability of the body feeling wind speed of the user, the motor rotation speed of the fan needs to be adjusted according to the wind speed in the direction of the fan shaking head.
For example, assuming that the somatosensory wind speed set by the user, that is, the wind speed provided by the fan is a, when the first ambient wind speed is B and the wind speed is the same as the wind speed in the direction of shaking the fan, in order to ensure that the somatosensory wind speed of the user maintains a, the motor rotation speed of the fan needs to be reduced so that the wind speed provided by the fan is changed from a to a-B; when the first ambient wind speed is B and opposite to the wind speed in the direction of the oscillating head of the fan, in order to ensure that the user's somatosensory wind speed maintains a, the motor rotation speed of the fan needs to be increased so that the wind speed provided by the fan is changed from a to a+b.
According to the embodiment of the invention, the motor rotating speed of the fan is regulated in real time by acquiring the ambient wind speed in the shaking direction in the running process of the fan, so that the somatosensory wind speed of a user is kept stable, the adaptation experience of the user is improved, and the resource utilization rate is improved to a certain extent.
In the present embodiment, a fan control method is provided, which is applied to a controller of a fan, such as: fig. 2 is a flowchart of a fan control method according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
Step S201, obtaining a first ambient wind speed corresponding to a current oscillating direction of the fan.
Specifically, the step S201 includes:
step S2011, obtaining the environment vector wind speed of the environment where the fan is located and the current shaking direction of the fan.
The environmental vector wind speed can be acquired by a wind speed and direction sensor arranged on the fan or in the environment where the fan is located, for example, the wind speed and direction sensor is arranged on the machine body (arranged at a position which is stable in azimuth and is not influenced by the wind speed and the shaking direction of the fan), and the vector environmental wind speed V0 is measured. The current head shaking direction refers to the positive direction of the fan blade, namely the direction of wind force generated by the fan, and the current head shaking direction can be obtained by directly utilizing the controller of the fan to perform calculation processing, so that the description of the current head shaking direction is omitted in the prior art. In addition, an angle sensor may be disposed on the fan to detect the current oscillating angle of the fan, which is not limited by the present invention.
Step S2012, a first ambient wind speed corresponding to the current ambient vector wind speed in the current shaking direction is calculated.
Specifically, the step S2012 includes:
and a1, calculating an included angle between the current shaking direction and the current environment vector wind speed.
And a step a2, calculating a first ambient wind speed corresponding to the current ambient vector wind speed in the current shaking direction based on the current ambient vector wind speed and the included angle.
Specifically, the first ambient wind speed Va in the panning direction is calculated by the following formula (1) from the ambient vector wind speed V0 and the panning direction:
Va=|V0|*COSθ(1)
and θ is the included angle between the ambient vector wind speed and the direction of the fan shaking head.
In the embodiment of the invention, only the influence of the vector ambient wind speed in the direction of shaking the head is considered, and the influence of other directions is ignored, so that the method is more suitable for the unidirectional wind speed environment.
According to the embodiment of the invention, the first ambient wind speed is obtained by calculating the included angle between the fan oscillating direction and the ambient vector wind speed and calculating by utilizing the principle of trigonometric function calculation, so that the accuracy of the first ambient wind speed is further ensured. And the first environment wind speed corresponding to the environment vector wind speed in the real-time shaking direction is obtained by calculation through monitoring the environment vector wind speed of the environment where the fan is and the real-time shaking direction of the fan, so that the accuracy of the first environment wind speed is ensured, the accuracy of the rotation speed adjustment of the fan motor is further improved, and the use experience of a user is improved.
In some alternative embodiments, the fan is provided with a wind measuring device, the measuring direction of which is synchronized with the direction of the shaking head of the fan. The wind power measuring device can be a wind sensor arranged on a head shaking structure of the fan to synchronously rotate along with the head shaking structure, so that the measuring direction is ensured to be synchronous with the head shaking direction, and the direct measurement of the wind speed in the head shaking direction can be realized.
Further, the step S201 includes:
Step b1, obtaining a first ambient wind speed measured by the wind measuring device in the current oscillating direction of the fan.
According to the embodiment of the invention, the wind power measuring device with the synchronous measuring direction and the shaking direction is directly arranged on the fan, so that the first ambient wind speed in the shaking direction can be detected in real time, the accuracy of the first ambient wind speed is ensured, the data processing time is shortened, the data acquisition efficiency is improved, the control accuracy of the rotating speed of the wind speed motor is further improved, and the use experience of a user is improved.
Step S202, adjusting the motor speed of the fan based on the first ambient wind speed.
Specifically, the step S202 includes:
In step S2021, the target somatosensory wind speed set by the user is acquired.
Specifically, the user may set a target somatosensory wind speed, which is a wind speed value that the user wants to feel, directly on the fan. For the electric fan which can not directly set the target somatosensory wind speed, the target somatosensory wind speed can be obtained through the following steps:
step c1, obtaining the current running gear of the fan.
And c2, determining a target somatosensory wind speed set by a user based on the current running gear.
In practical application, for a fan with a fixed relation between an operation gear and a motor rotation speed, the motor rotation speed can be determined through a gear selected later, and then the target somatosensory wind speed set by a user can be obtained by utilizing the conversion relation between the motor rotation speed and the wind speed.
According to the embodiment of the invention, the running gear of the fan is monitored, the target somatosensory wind speed set by the user is determined, the automatic identification of the expected somatosensory wind speed of the user is realized, the user only needs to select the fan function gear, the operation is more convenient, and the application range is wider.
In step S2022, a deviation between the target somatosensory wind speed and the first ambient wind speed is calculated to obtain the target wind speed.
Specifically, the target wind speed may be calculated by the following formula (2):
Vb=Vn-Va(2)
where Vb denotes a target wind speed, vn denotes a target somatosensory wind speed, va denotes a first ambient wind speed.
In step S2023, the target rotational speed of the fan is determined based on the target wind speed.
Specifically, the target wind speed is the wind speed that the fan needs to provide, and therefore, the target rotation speed of the fan can be directly determined according to the relationship between the wind speed and the rotation speed of the motor.
In step S2024, the motor of the fan is controlled to operate at the target rotation speed.
Specifically, for the wind speed with the rotation speed of the fan motor capable of being adjusted in real time, the fan motor can be directly controlled to run at the target rotation speed, so that the stability of the user body feeling wind speed is ensured. For a fan with a fixed rotating speed, the fan motor can be controlled to run in the gear by selecting the gear closest to the target rotating speed, so that the stability of the wind speed sensed by a user is achieved as much as possible.
In addition, in practical applications, the target rotational speeds required to generate the same target wind speeds are not the same due to the different ambient wind speeds (i.e., the first ambient wind speed described above). Therefore, the target rotating speed required by the fan to finish the specific wind speed can be measured in advance under various environmental wind speeds and recorded, so that the subsequent table look-up or operation is convenient.
Further, the step S2023 may select the target rotation speed corresponding to the scenario closest to the actual ambient wind speed and the target wind speed in the recorded table, and then use the target rotation speed obtained by looking up the table as the operation rotation speed of the fan motor.
And on the basis of the table lookup, the difference A between the actual ambient wind speed and the selected ambient wind speed and the difference B between the actual target wind speed and the selected target wind speed can be compensated to a certain degree.
Final target rotation speed w=selected target rotation speed w0+k+a+p+b. The values of K and P are obtained through a large number of experiments and modeling, and are related to the selection of the ambient wind speed and the selection of the target wind speed, and are not described herein.
According to the embodiment of the invention, the target wind speed corresponding to the fan is determined by calculating the deviation between the target body sensing wind speed of the user and the first ambient wind speed, and then the wind speed is converted into the target rotating speed of the fan to control the fan motor to operate, so that the accurate control of the rotating speed of the fan motor is realized, and the use experience of the user is further improved.
In some optional embodiments, the step S202 includes:
and d1, determining a compensation rotating speed based on the first ambient wind speed.
In practical application, the relation between different first ambient wind speeds and the compensation rotational speed can be determined in advance according to experiments, and then the compensation rotational speed of the fan motor is determined according to the monitored actual first ambient wind speeds.
Illustratively, by dividing the ambient wind speeds into different gradients, each ambient wind speed has a correspondence of "compensated wind speed" to compensated rotational speed. Compensating for wind speed refers to the increased wind speed required based on the current rotational speed. For example: if the fan gear is 2 gears, the wind speed required to be increased for achieving the user somatosensory wind speed is 50, the current environment wind speed is 20, and the compensation wind speed is 50-20=30. At this time, the compensation rotation speed required for reaching the compensation wind speed can be obtained through table lookup.
And d2, adjusting the current motor rotation speed of the fan based on the compensation rotation speed.
Specifically, when the compensation rotation speed is positive, the current motor rotation speed of the fan motor is correspondingly increased, otherwise, when the compensation rotation speed is negative, the current motor rotation speed of the fan motor is correspondingly reduced, so that the stability of the body feeling fan of a user is maintained.
According to the embodiment of the invention, the compensation rotating speed required by the operation of the fan is determined by directly utilizing the ambient wind speed in the current oscillating direction of the fan, and then the motor rotating speed of the fan is regulated by utilizing the compensation rotating speed, so that the automatic accurate control of the motor rotating speed of the fan is realized, and the use experience of a user is further improved.
The fan control method provided by the embodiment of the invention will be described in detail below with reference to specific application examples.
By integrating a wind speed and direction sensor on the fan (a region not affected by the wind speed of the fan), the first ambient wind speed Va is measured and calculated, and the target wind speed Vb required to be output by the fan is calculated in combination with the target somatosensory wind speed Vn.
Specifically, a wind speed and direction sensor is mounted on the body (mounted at a position which is stable in azimuth and is not affected by the wind speed and the direction of shaking the head of the fan), and the vector ambient wind speed V0 is measured. (the direction of shaking head refers to the positive direction of the blade, i.e. the direction of the wind generated by the fan).
And calculating a first ambient wind speed Va in the shaking direction through the ambient vector wind speed V0 and the shaking direction.
Here, va= |v0|cos θ, θ is an included angle between the ambient vector wind speed and the direction of shaking head, and only the influence of the ambient vector wind speed in the direction of shaking head is considered, and the influence of the other directions is ignored, so that the wind turbine is more suitable for the environment with unidirectional wind speed.
As shown in fig. 3, the target wind speed Vb is calculated as vb=vn-Va in combination with the target somatosensory wind speed Vn set by the user.
The first ambient wind speed is hereinafter referred to as the ambient wind speed is different, the fan generates the same target wind speed, and the required target rotation speed W is not the same. Therefore, the target rotating speed required by the specific target wind speed is measured and recorded in advance under various environmental wind speeds, so that the subsequent table look-up or operation is convenient. And then obtaining the target rotating speed W required to be output by the fan through table lookup or calculation according to the values of the first ambient wind speed Va and the target wind speed Vb.
The table lookup method is simpler, that is, y target wind speeds are respectively measured under x environmental wind speeds, the corresponding target rotational speeds are recorded, and the corresponding relation between the target rotational speeds and the environmental wind speeds and the target wind speeds is shown in table 1.
TABLE 1
When in subsequent use, a scenario closest to the actual ambient wind speed and the target wind speed is selected in table 1, and the target rotation speed is taken as the rotation speed of the final motor output. It should be noted that, in practical application, the target rotation speed is at least 0; if the required target rotating speed exceeds the upper limit of the motor, the motor is operated at the highest rotating speed, and the user is prompted to be unable to reach the somatosensory wind speed set by the user, so that the user reselects the target somatosensory wind speed and the like, and the user experience is further improved.
Based on the table look-up, the difference A between the actual ambient wind speed and the selected ambient wind speed and the difference B between the actual target wind speed and the selected target wind speed can be compensated to a certain degree. I.e. the final target speed w=the selected target speed w0+k a+p B. (the values of K and P are obtained through a large number of experiments and modeling, and are related to the selection of the ambient wind speed and the selection of the target wind speed).
According to the embodiment of the invention, the target wind speed required to be provided by the fan motor is calculated according to the environment wind speed and the target somatosensory wind speed set by the user, and is converted into the running rotating speed of the motor and executed, so that the somatosensory wind speed of the user can be stabilized, and the resource utilization rate is improved to a certain extent.
In this embodiment, a fan control device is further provided, and the fan control device is used to implement the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a fan control apparatus, as shown in fig. 4, including:
an acquisition module 401, configured to acquire a first ambient wind speed corresponding to a current oscillating direction of the fan;
an adjustment module 402 for adjusting a motor speed of the fan based on the first ambient wind speed.
In some alternative embodiments, the acquiring module 401 includes:
the first acquisition unit is used for acquiring the environment vector wind speed of the environment where the fan is positioned and the current shaking direction of the fan;
The first calculating unit is used for calculating a first environment wind speed corresponding to the current environment vector wind speed in the current shaking direction.
In some optional embodiments, the first computing unit includes:
the first calculating subunit is used for calculating an included angle between the current shaking direction and the current environment vector wind speed;
The second calculating subunit is used for calculating a first environment wind speed corresponding to the current environment vector wind speed in the current shaking direction based on the current environment vector wind speed and the included angle.
In some alternative embodiments, the fan is provided with a wind force measuring device, and the measuring direction of the wind force measuring device is synchronous with the shaking direction of the fan, and the acquiring module 401 includes:
The second acquisition unit is used for acquiring the first ambient wind speed measured by the wind power measuring device in the current shaking direction of the fan.
In some alternative embodiments, the adjustment module 402 includes:
The third acquisition unit is used for acquiring the target somatosensory wind speed set by the user;
The second calculation unit is used for calculating the deviation between the target somatosensory wind speed and the first environment wind speed to obtain a target wind speed;
A target rotational speed determination unit for determining a target rotational speed of the fan based on the target wind speed;
And the control unit is used for controlling the motor of the fan to run according to the target rotating speed.
In some optional embodiments, the third obtaining unit includes:
The first acquisition subunit is used for acquiring the current running gear of the fan;
and the target somatosensory wind speed determining unit is used for determining the target somatosensory wind speed set by the user based on the current running gear.
In some alternative embodiments, the adjustment module 402 includes:
a compensation rotational speed determination unit for determining a compensation rotational speed based on the first ambient wind speed;
and the rotating speed adjusting unit is used for adjusting the current motor rotating speed of the fan based on the compensation rotating speed.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The fan control apparatus of the present embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application SPECIFIC INTEGRATED Circuit) Circuit, a processor and a memory that execute one or more software or firmware programs, and/or other devices that can provide the above-described functions.
An embodiment of the present invention provides a fan, including: referring to fig. 5, fig. 5 is a schematic structural diagram of a controller for a fan according to an alternative embodiment of the present invention, as shown in fig. 5, the controller includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 5.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The controller also includes a communication interface 30 for the controller to communicate with other devices or communication networks, etc.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.
Claims (10)
1. A method of controlling a fan, the method comprising:
Acquiring a first ambient wind speed corresponding to the current oscillating direction of the fan;
And adjusting the motor rotation speed of the fan based on the first ambient wind speed.
2. The method of claim 1, wherein the obtaining a corresponding first ambient wind speed in a current direction of the fan's head shaking comprises:
acquiring an environment vector wind speed of an environment where the fan is located and a current shaking direction of the fan;
And calculating a first ambient wind speed corresponding to the current ambient vector wind speed in the current shaking direction.
3. The method of claim 2, wherein said calculating a first ambient wind speed for said current ambient vector wind speed in said current heading direction comprises:
Calculating an included angle between the current shaking direction and the current environment vector wind speed;
And calculating a first environment wind speed corresponding to the current environment vector wind speed in the current shaking direction based on the current environment vector wind speed and the included angle.
4. The method according to claim 1, wherein a wind measuring device is provided on the fan, a measuring direction of the wind measuring device is synchronized with a direction of shaking the head of the fan, and the acquiring a corresponding first ambient wind speed in the current direction of shaking the head of the fan comprises:
And acquiring a first ambient wind speed measured by the wind measuring device in the current oscillating direction of the fan.
5. The method of any of claims 1-4, wherein the adjusting the motor speed of the fan based on the first ambient wind speed comprises:
Acquiring a target somatosensory wind speed set by a user;
Calculating the deviation between the target somatosensory wind speed and the first environment wind speed to obtain a target wind speed;
Determining a target rotational speed of the fan based on the target wind speed;
And controlling the motor of the fan to run according to the target rotating speed.
6. The method of claim 5, wherein the obtaining the user-set target somatosensory wind speed comprises:
acquiring the current running gear of the fan;
And determining the target somatosensory wind speed set by the user based on the current running gear.
7. The method of any of claims 1-4, wherein the adjusting the motor speed of the fan based on the first ambient wind speed comprises:
Determining a compensation rotational speed based on the first ambient wind speed;
and adjusting the current motor rotation speed of the fan based on the compensation rotation speed.
8. A fan control apparatus, the apparatus comprising:
the acquisition module is used for acquiring a first environment wind speed corresponding to the current shaking direction of the fan;
And the adjusting module is used for adjusting the motor rotating speed of the fan based on the first ambient wind speed.
9. A fan, comprising: a controller, the controller comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410300545.8A CN118030579A (en) | 2024-03-15 | 2024-03-15 | Fan control method and device, fan and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410300545.8A CN118030579A (en) | 2024-03-15 | 2024-03-15 | Fan control method and device, fan and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118030579A true CN118030579A (en) | 2024-05-14 |
Family
ID=90998453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410300545.8A Pending CN118030579A (en) | 2024-03-15 | 2024-03-15 | Fan control method and device, fan and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118030579A (en) |
-
2024
- 2024-03-15 CN CN202410300545.8A patent/CN118030579A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170364077A1 (en) | Unmanned aerial vehicle, motor control device and method | |
US10632615B2 (en) | Servo driving method, apparatus, and robot thereof | |
US11644302B2 (en) | Method and apparatus for determining pose information of a robot, device and medium | |
Habib et al. | Nonlinear model-based parameter estimation and stability analysis of an aero-pendulum subject to digital delayed control | |
KR101454483B1 (en) | Resonant frequency identification | |
CN111380499B (en) | Method and device for detecting rotation angle | |
CN111998870B (en) | Calibration method and device of camera inertial navigation system | |
CN118030579A (en) | Fan control method and device, fan and storage medium | |
CN114509674A (en) | Method and device for determining orientation angle matched with motor zero setting locking current | |
CN112652018B (en) | External parameter determining method, external parameter determining device and electronic equipment | |
CN108253928B (en) | Attitude angle acquisition method and device and movable equipment | |
CN109015646B (en) | Position information self-calibration method, device, equipment and storage medium | |
CN115329251B (en) | Theoretical power calculation method and device for wind power station | |
CN108253931B (en) | Binocular stereo vision ranging method and ranging device thereof | |
CN112104292B (en) | Motor control method, device, terminal equipment and storage medium | |
CN111089610A (en) | Signal processing method and device of encoder and related components | |
CN117013902A (en) | Motor inductance parameter calculation method, device and system, motor and power equipment | |
CN115309630A (en) | Method, device and equipment for generating automatic driving simulation data and storage medium | |
CN115265581B (en) | Calibration parameter determining method of laser radar and inertial measurement unit and related equipment | |
CN106842927B (en) | Control parameter adjusting method and device and double-wheel self-balancing robot | |
CN114977941B (en) | Inertia identification method, device and medium for alternating current servo system | |
CN116879579B (en) | Vehicle acceleration calculation method, device, computer equipment and storage medium | |
CN113383281A (en) | Control device and control program | |
CN115268510B (en) | Holder control method, holder control device, electronic equipment and computer readable storage medium | |
CN114034320B (en) | Calibration control method, device and equipment for loudspeaker box and readable storage medium |
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 |