Fan Control Method, Device, Storage Medium and Electronic Device

By controlling the fan motor to achieve the target speed in a gradual rotation speed, the sudden change in wind speed during gear switching is solved, the stability and comfort during the fan operation is achieved, and the user experience is improved.

CN116085287BActive Publication Date: 2025-07-08GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211472805.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2025-07-08
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

The sudden change in wind speed of existing fans during gear switching causes a decrease in user comfort and an increase in wind noise, reducing user experience.

Method used

By controlling the fan motor to achieve the target speed in a gradual manner, avoid sudden changes in wind speed, the motor speed is controlled using the intermediate speed gradient method of arithmetic series and the PWM output.

Benefits of technology

It effectively avoids the wind noise and comfort caused by sudden wind speed changes, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116085287B_ABST
    Figure CN116085287B_ABST
Patent Text Reader

Abstract

The present invention provides a fan control method, device, storage medium and electronic device, relating to the technical field of intelligent fans. The fan includes: a motor for driving the blades of the fan to rotate. The method includes: receiving a gear shifting instruction; determining a first target speed of the motor based on the gear shifting instruction; controlling the motor to reach the first target speed in a manner of gradually changing the speed, so that the motor continuously operates at the first target speed. The technical solution provided by the present invention can effectively avoid sudden changes in wind speed during the operation of the fan, thereby greatly improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent fans, and particularly to a fan control method, device, storage medium and electronic device. Background Art

[0002] When the existing fan switches gears, it will directly jump to the wind speed of the target gear and run. However, this sudden change in wind speed will reduce the user's comfort and cause relatively large wind noise, further reducing the user experience. Summary of the Invention

[0003] In view of the above problems in the prior art, the present application proposes a fan control method, device, storage medium and electronic device, which can effectively avoid sudden changes in wind speed during the operation of the fan, thereby greatly improving the user experience.

[0004] To achieve the above object, the technical solution of the present invention is realized as follows:

[0005] In a first aspect, an embodiment of the present invention provides a fan control method. The fan includes: a motor for driving the blades of the fan to rotate; the method includes:

[0006] Receiving a gear switching instruction;

[0007] Based on the gear switching instruction, determining a first target speed of the motor;

[0008] Controlling the motor to reach the first target speed in a gradually changing manner of speed, so that the motor continuously operates at the first target speed.

[0009] In some embodiments, the controlling the motor to reach the first target speed in a gradually changing manner of speed includes:

[0010] Obtaining the current speed of the motor;

[0011] Obtaining at least one intermediate speed set between the current speed and the first target speed, so that the current speed, the intermediate speed and the first target speed are arranged in an arithmetic progression; wherein, the first term of the arithmetic progression is the current speed, and the last term of the arithmetic progression is the first target speed;

[0012] Controlling the motor to operate at the speeds corresponding to each value of the arithmetic progression in turn until the first target speed is reached.

[0013] In some embodiments, the controlling the motor to operate at the speeds corresponding to each value of the arithmetic progression in turn until the first target speed is reached includes:

[0014] Starting from the second term of the arithmetic progression, control the motor to run at the rotational speed corresponding to each of the values for the same first preset time period in sequence until the first target rotational speed is reached.

[0015] In some embodiments, before obtaining the current rotational speed of the motor, the controlling the motor to reach the first target rotational speed in a gradually changing rotational speed manner further includes:

[0016] Obtain a preset motor rotational speed corresponding to a preset intermediate gear of the fan as the starting rotational speed;

[0017] Control the motor to run at the starting rotational speed for a second preset time period, and use the starting rotational speed as the current rotational speed.

[0018] In some embodiments, the fan has a humidifying function; the method further includes:

[0019] During the continuous operation of the motor at the first target rotational speed, when a humidifying function activation instruction is received, determine a second target rotational speed of the motor;

[0020] Control the motor to reach the second target rotational speed in a gradually changing rotational speed manner so that the motor continuously runs at the second target rotational speed; wherein, the second target rotational speed is greater than the first target rotational speed.

[0021] In some embodiments, the determining the second target rotational speed of the motor when a humidifying function activation instruction is received during the continuous operation of the motor at the first target rotational speed includes:

[0022] During the continuous operation of the motor at the first target rotational speed, when a humidifying function activation instruction is received, obtain current gear information;

[0023] Based on the current gear information, determine the second target rotational speed corresponding to the current gear information.

[0024] In some embodiments, the fan has a humidifying function; before the determining the first target rotational speed of the motor based on the gear switching instruction, the method further includes:

[0025] Receive a humidifying function activation instruction;

[0026] The determining the first target rotational speed of the motor based on the gear switching instruction includes:

[0027] Based on the gear switching instruction and the humidifying function activation instruction, determine the first target rotational speed of the motor.

[0028] In some embodiments, the method further includes:

[0029] During the process that the motor continuously operates at the first target speed, when a humidification function off command is received, determine a third target speed of the motor;

[0030] Control the motor to reach the third target speed in a manner of gradually changing the speed, so that the motor continuously operates at the third target speed; wherein, the third target speed is less than the first target speed.

[0031] In some embodiments, the controlling the motor to reach the first target speed in a manner of gradually changing the speed, so that the motor continuously operates at the first target speed, includes:

[0032] Adopt a PWM output mode to control the motor to reach the first target speed in a manner of gradually changing the speed, so that the motor continuously operates at the first target speed.

[0033] In a second aspect, an embodiment of the present invention provides a fan control device, the fan includes: a motor for driving the blades of the fan to rotate; the device includes:

[0034] A receiving unit, configured to receive a gear shifting instruction;

[0035] A determining unit, configured to determine a first target speed of the motor based on the gear shifting instruction;

[0036] A control unit, configured to control the motor to reach the first target speed in a manner of gradually changing the speed, so that the motor continuously operates at the first target speed.

[0037] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which program code is stored, and when the program code is executed by a processor, the fan control method as described in any one of the above embodiments is implemented.

[0038] In a fourth aspect, an embodiment of the present invention provides an electronic device, the electronic device includes a memory and a processor, and program code that can run on the processor is stored on the memory, and when the program code is executed by the processor, the fan control method as described in any one of the above embodiments is implemented.

[0039] The fan control method, device, storage medium, and electronic device provided by the embodiments of the present invention control the motor of the fan to reach the first target speed in a gradually changing speed manner, so that the blades of the fan can also reach the target wind speed in a gradually changing speed manner, effectively avoiding the problems of wind noise and reduced comfort caused by sudden changes in wind speed. It can be seen that the technical solution provided by the embodiments of the present invention can effectively avoid sudden changes in wind speed during the operation of the fan, thereby greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The scope of the present disclosure can be better understood by reading the following detailed description of the exemplary embodiments in conjunction with the accompanying drawings. The accompanying drawings included are:

[0041] Figure 1 Is the method flow of the embodiment of the present invention Figure 1 ;

[0042] Figure 2 Is the method flow of the embodiment of the present invention Figure 2 ;

[0043] Figure 3 Is the method flow of the embodiment of the present invention Figure 3 ;

[0044] Figure 4 Is the structure diagram of the device of the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following will describe in detail the implementation methods of the present invention in conjunction with the accompanying drawings and embodiments, so as to fully understand how the present invention uses technical means to solve technical problems and achieve the implementation process of technical effects and implement accordingly.

[0046] Many specific details are set forth in the following description to facilitate a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited by the specific embodiments disclosed below.

[0047] Example 1

[0048] The embodiments of the present invention provide a fan control method. The fan includes: a motor for driving the blades of the fan to rotate; as Figure 1 shown, the fan control method described in this embodiment includes step S101, step S102, and step S103. The specific contents of these steps are described in detail below:

[0049] Step S101, receiving a gear shift instruction;

[0050] In this embodiment, the gear shifting instruction is issued by the user. The user can send the gear shifting instruction to the system through the function buttons on the fan, or the user can also send the gear shifting instruction to the system by means of remote control. It can be understood that the above-mentioned gear shifting instruction includes the target gear information that the user wants to switch to.

[0051] For example, the fan has a total of 8 gears, and the wind speed of each gear increases in turn, with the wind speed of the first gear being the smallest and the wind speed of the eighth gear being the largest. The gear shifting instruction can be an instruction to switch from one gear to another during the operation of the fan in a certain gear; the gear shifting instruction can also be an instruction to switch from a certain gear to the 0th gear during the operation of the fan in a certain gear, that is, the fan shutdown instruction; the gear shifting instruction can also be an instruction to switch from the 0th gear to a certain gear during the operation of the fan, that is, the fan startup instruction. For each gear, the system presets a corresponding motor speed, thus corresponding to different wind speeds. For the above-mentioned 0th gear, the preset motor speed is 0, so that the fan can stop running.

[0052] Step S102, based on the gear shifting instruction, determine the first target speed of the motor;

[0053] In this embodiment, as described above, each gear is preset with a corresponding motor speed. Based on the target gear information included in the gear shifting instruction, it is possible to know the target gear that the user wants to switch to, and then it is possible to determine the motor speed at this gear. That is, the preset motor speed at the target gear is the above-mentioned first target speed.

[0054] Step S103, control the motor to reach the first target speed in a gradually changing manner, so that the motor continuously runs at the first target speed.

[0055] In order to accurately and effectively achieve the gradual change of the motor speed and thus improve the user experience, the control of the motor to reach the first target speed in a gradually changing manner in this embodiment includes: obtaining the current speed of the motor; obtaining at least one intermediate speed set between the current speed and the first target speed, so that the current speed, the intermediate speed and the first target speed are arranged in an arithmetic progression; where the first term of the arithmetic progression is the current speed and the last term of the arithmetic progression is the first target speed; controlling the motor to run at the speed corresponding to each value of the arithmetic progression in turn until the first target speed is reached.

[0056] To further improve the user experience, controlling the motor to run at the rotational speeds corresponding to each value of the arithmetic progression in sequence until the first target rotational speed is reached in this embodiment includes: starting from the second term of the arithmetic progression, controlling the motor to run at the rotational speeds corresponding to each value for the same first preset time period until the first target rotational speed is reached.

[0057] In this embodiment, the at least one intermediate rotational speed above can be preset by the system or set temporarily by the system according to the current rotational speed of the motor. Under normal operation of the system, the rotational speed of the motor corresponding to each gear is constant. Therefore, switching from one gear to another is switching from a known rotational speed of the motor to another known rotational speed. Based on this, multiple intermediate rotational speeds between the two rotational speeds of the motor can be preset in advance. When switching gears, the preset multiple intermediate rotational speeds can be directly called.

[0058] During the actual operation of the fan, it is possible that the rotational speed of the motor in a certain gear / certain gears is inconsistent with the preset rotational speed. At this time, the system can temporarily set the intermediate rotational speed between the current rotational speed and the first target rotational speed of the motor to more effectively achieve the gradual change process of the rotational speed of the motor.

[0059] For example, the current rotational speed of the motor is R0, the first target rotational speed is Rt, and there are 2 set intermediate rotational speeds, namely R1 and R2, and R0, R1, R2, Rt are arranged in an arithmetic progression. Then, the system first controls the motor to run at the rotational speed R1 for a period of time, then controls the motor to run at the rotational speed R2 for the same period of time, and then controls the motor to run continuously and stably at the rotational speed Rt, so as to achieve the gradual change process of the rotational speed of the motor from R0 to Rt. That is, during the gear shifting process of the fan, the rotational speed of the motor increases / decreases by X revolutions per S milliseconds until the target rotational speed is reached.

[0060] It can be understood that when the user wants to switch to a higher gear for operation, that is, when R0 < Rt, the motor reaches the first target rotational speed in a way that the rotational speed gradually increases; when the user wants to switch to a lower gear for operation, that is, when R0 > Rt, the motor reaches the first target rotational speed in a way that the rotational speed gradually decreases.

[0061] It should be noted that the rotational speed of the motor gradually changing to the target rotational speed in the above arithmetic progression arrangement is only a specific implementation manner. In practical applications, the rotational speed of the motor can also reach the target rotational speed in other gradual change manners, and this embodiment does not make specific limitations on this.

[0062] In order to further effectively achieve a gradual change in the motor speed, in this embodiment, before obtaining the current speed of the motor, controlling the motor to reach the first target speed in a manner of gradual speed change further includes: obtaining a preset motor speed corresponding to a preset intermediate gear of the fan as the starting speed; controlling the motor to operate at the starting speed for a second preset time period, and taking the starting speed as the current speed. In this embodiment, the intermediate gear of the fan can be preset, preferably the gear with a value in the middle of all gear values. For example, if the fan has five gears, the third gear can be set as the intermediate gear. In this embodiment, when the fan has eight gears, the fourth gear of the fan can be used as the intermediate gear of the fan, and the preset motor speed corresponding to the fourth gear is taken as the starting speed. The motor is controlled to operate at this starting speed for a period of time, for example, after operating for 0.5 s, and then gradually changes from this starting speed to the first target speed in the manner described above.

[0063] That is, another way to control the motor to reach the first target speed in a manner of gradual speed change according to this embodiment is: obtaining a preset motor speed corresponding to a preset intermediate gear of the fan as the starting speed; controlling the motor to operate at the starting speed for a second preset time period, and taking the starting speed as the current speed; obtaining at least one intermediate speed set between the current speed and the first target speed so that the current speed, the intermediate speed, and the first target speed are in an arithmetic progression; wherein, the first term of the arithmetic progression is the current speed, and the last term of the arithmetic progression is the first target speed; starting from the second term of the arithmetic progression, controlling the motor to operate at the speed corresponding to each value for the same first preset time period until the first target speed is reached.

[0064] In this embodiment, it is also possible to switch to the target speed of the target gear in a manner of gradual gear change. For example, if the fan is currently operating in the first gear and the target gear of the gear change command is the fifth gear, the system controls the motor speed to operate at the speeds of the second gear, the third gear, and the fourth gear in sequence, and then switches to the fifth gear, which can also achieve the technical effects of gradual change of the motor speed and reduction of the noise caused by sudden change of the wind speed.

[0065] In this embodiment, the fan has a humidifying function. Specifically, the fan is a circulating cooling fan with a humidifying function. Existing circulating cooling fans with a humidifying function have well addressed the needs in dry and hot regions. When the humidifying function of this fan is turned on, the water pump starts to work, pumping water from the water storage container to the wet curtain through a pipeline. The blades of the fan blow the wet curtain to send out air, making the air blown by the fan have a certain humidity, thus achieving the purpose of humidifying the air. However, due to the process of water intake and drainage in this humidifying method, water is prone to form accumulated water vortices in the pipeline, resulting in a relatively large water sound and generating significant noise, which reduces the user's comfort level.

[0066] To address the above technical problems, in this embodiment, the method of reducing the water pumping volume and increasing the wind speed during humidification is adopted to reduce the water flow noise. That is, when the fan is operating at the same gear, the wind speed when the humidifying function is turned on is greater than the wind speed when the humidifying function is not turned on. Since a larger wind speed can blow out more water vapor, it can reduce the water pumping volume to a certain extent, and thus can reduce the water flow sound during the water intake and drainage processes to a certain extent. And the motor rotates at a gradually changing speed to the target speed, which can effectively reduce the wind noise caused by sudden changes in wind speed. Combining the above two can effectively reduce the noise during the operation of the fan as a whole.

[0067] Based on the above idea, as Figure 2 shown, the method described in the embodiment of the present invention further includes: during the continuous operation of the motor at the first target speed, when a humidifying function activation instruction is received, determining a second target speed of the motor; controlling the motor to reach the second target speed in a manner of gradually changing the speed, so that the motor continuously operates at the second target speed; wherein, the second target speed is greater than the first target speed.

[0068] To quickly and accurately determine the second target speed of the motor, the step of determining the second target speed of the motor during the continuous operation of the motor at the first target speed when a humidifying function activation instruction is received in this embodiment includes: during the continuous operation of the motor at the first target speed, when a humidifying function activation instruction is received, obtaining the current gear information corresponding to the first target speed; based on the current gear information, determining the second target speed corresponding to the current gear information.

[0069] Specifically, the system pre-sets the motor speed corresponding to each gear, and the motor speed includes the motor speed when the humidification function is turned on and the motor speed when the humidification function is not turned on. Among them, at the same gear, the motor speed when the humidification function is turned on is greater than the motor speed when the humidification function is not turned on. That is, for each gear, the system will pre-set two different motor speeds. For example, at the first gear, the motor speed when the humidification function is turned on is Ra, and the motor speed when the humidification function is not turned on is Rb, and Ra > Rb. When the motor is running continuously at a certain speed, when the system receives the humidification function turn-on instruction, it will first judge which gear the fan is currently running in. Based on the current running gear, the corresponding motor speed when the humidification function is turned on can be obtained. Then, the system controls the motor to reach the motor speed when the humidification function is turned on in a way of gradual speed change.

[0070] The specific gradual change method is the same as that described above. For example, gradually changing from the speed Rb to the speed Ra, at least one intermediate speed Rc is set between the speed Rb and the speed Ra, and Rb, Rc, Ra are in an arithmetic progression. Then, the system controls the motor to run at the intermediate speed Rc in sequence, and then controls the motor to continue running at the speed Ra to realize the gradual change process of the motor speed.

[0071] When the user turns on the humidification function while shifting gears, the system will directly determine the target speed when the humidification function is turned on at the target gear, and reach the target speed in a way of gradual speed change to effectively reduce the overall noise during the operation of the fan. As Figure 3 shown, in this embodiment, before determining the first target speed of the motor based on the gear shift instruction, the method further includes: receiving a humidification function turn-on instruction; on this premise, the determining the first target speed of the motor based on the gear shift instruction in this embodiment includes: determining the first target speed of the motor based on the gear shift instruction and the humidification function turn-on instruction.

[0072] In order to reduce the water flow rate when the humidification function is turned off, and further reduce the water flow noise of the fan, as Figure 3 shown, the method in this embodiment further includes: when receiving a humidification function turn-off instruction during the process of the motor continuously running at the first target speed, determining a third target speed of the motor; controlling the motor to reach the third target speed in a way of gradual speed change so that the motor continues to run at the third target speed; where the third target speed is less than the first target speed.

[0073] Specifically, during the operation of the fan when the humidifying function is turned on, when receiving the instruction from the user to turn off the humidifying function, the motor speed will correspondingly decrease, and the corresponding wind speed will also decrease accordingly, so that the water vapor carried by the blown air will also decrease accordingly. At the same time, the motor reaches the motor speed set when the humidifying function is not turned on at the same gear in a gradually changing speed manner, which can generally reduce the operating noise of the fan.

[0074] It should be noted that the above describes the application scenario where the user turns on the humidifying function while switching gears. To distinguish it from the scenario where the user turns on the humidifying function after switching gears, the above-mentioned third target speed is introduced in this embodiment. In actual application, the value of this third target speed is the motor speed set when the humidifying function is not turned on at the same gear.

[0075] In order to control the speed of the motor more stably and accurately, the control of making the motor reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed in this embodiment includes: controlling the motor to reach the first target speed in a gradually changing speed manner by using the PWM (Pulse Width Modulation) output method so that the motor continuously operates at the first target speed.

[0076] Among them, the PWM output method can make the voltage of the fan more stable, and thus achieve the technical effect of controlling the speed of the motor more stably and accurately.

[0077] It should be noted that if the user switches gears during the process of the motor speed gradually changing, the system will reset the intermediate speed between the current speed and the target speed of the motor according to the current speed and the target speed of the motor, so that the motor runs at the set intermediate speed in sequence and then switches to the target speed, so that the user can't feel the sudden change of the wind speed of the fan under any circumstances.

[0078] In actual application, assume that the fan with the humidifying function has a total of 8 gears and starts to work. First, it is judged whether the whole machine turns on the humidifying function. If the humidifying function is not turned on, the motor reaches the target speed a in a gradually changing speed manner and continuously operates at the target speed a; if the humidifying function is turned on, the motor reaches the target speed A in a gradually changing speed manner and continuously operates at the target speed A, and it is judged whether to switch between the humidifying function and the non-humidifying function. If switching between the humidifying and non-humidifying functions at the same gear, the motor speed increases / decreases by X revolutions per S milliseconds until the target speed. If the gear is switched during the process of increasing / decreasing the speed, the intermediate speed between the current speed and the target speed is reset again, so that the motor speed increases / decreases by Y revolutions per S milliseconds until the target speed.

[0079] In practical applications, when the DC motor of the fan starts, it switches to the target gear in a gradually changing gear manner. The motor will start at the intermediate gear 4, run for s seconds (assumed to be 0.5 s) first and then switch to the set gear, and the set gear is displayed during the start-up process. When the current gear is not equal to the set gear, it switches 1 gear towards the set gear every Z milliseconds (assumed to be 200 ms) until the set target gear is reached.

[0080] According to the control method provided in this embodiment, the fan can have the following four application scenarios in practical applications:

[0081] First, the gear switching in a non-humidifying room.

[0082] When switching gears in a non-humidifying function room, it will execute switching 1 gear every Z milliseconds (assumed to be 200 ms). Assuming that non-humidifying normal wind gear 5 is turned on, it will first run at gear 4 for s seconds (assumed to be 0.5 s) and then switch 1 gear every Z milliseconds until the motor speed at which the humidifying function is not turned on at the target gear 5 is reached, and then it will keep running at this motor speed at which the humidifying function is not turned on.

[0083] Second: The gear switching in a humidifying room.

[0084] When switching gears is turned on in a humidifying function room, it will execute switching 1 gear every Z milliseconds (assumed to be 200 ms). Assuming that humidifying gear 5 is turned on, it will first run at gear 4 for s seconds (assumed to be 0.5 s) and then switch 1 gear every Z milliseconds until the motor speed at which the humidifying function is turned on at the target gear 5 is reached, and then it will keep running at this motor speed at which the humidifying function is turned on.

[0085] Third: Switching from non-humidifying to humidifying at the same gear.

[0086] When switching from non-humidifying to humidifying at the same gear, the motor speed increases by x revolutions per S milliseconds until the target speed is reached, achieving a process of gradual wind speed increase.

[0087] Fourth: Switching from humidifying to non-humidifying at the same gear

[0088] When switching from humidifying to non-humidifying at the same gear, the motor speed decreases by x revolutions per S milliseconds until the target speed is reached, achieving a process of gradual wind speed decrease.

[0089] Among them, in the humidifying function state, when the water volume of the water pump is constant, the motor increases its speed, which can increase the humidifying amount within the standard time of the current gear and can reduce the water flow noise to a certain extent. And the motor reaches the target speed in a gradually changing speed manner, which can ensure that the working sound is within a stable decibel range and improve the comfort of users during the use process.

[0090] The fan control method provided by the embodiment of the present invention controls the motor of the fan to reach the first target speed in a gradually changing speed manner, so that the blades of the fan can also reach the target wind speed in a gradually changing speed manner, effectively avoiding the problems of wind noise and decreased comfort caused by sudden wind speed changes. It can be seen that the technical solution provided by the embodiment of the present invention can effectively avoid sudden wind speed changes during the operation of the fan, thereby greatly improving the user experience.

[0091] Example 2

[0092] Corresponding to the above method embodiment, the present invention further provides a fan control device, where the fan includes: a motor for driving the blades of the fan to rotate; as Figure 4 shown, the device in this embodiment includes:

[0093] A receiving unit 201 for receiving a gear shifting instruction;

[0094] A determining unit 202 for determining the first target speed of the motor based on the gear shifting instruction;

[0095] A control unit 203 for controlling the motor to reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed.

[0096] In this embodiment, the control unit 203 includes:

[0097] A first obtaining unit for obtaining the current speed of the motor;

[0098] A second obtaining unit for obtaining at least one intermediate speed set between the current speed and the first target speed, so that the current speed, the intermediate speed, and the first target speed are arranged in an arithmetic progression; where the first term of the arithmetic progression is the current speed, and the last term of the arithmetic progression is the first target speed;

[0099] A control subunit for controlling the motor to operate at the speeds corresponding to each value of the arithmetic progression in sequence until the first target speed is reached.

[0100] In this embodiment, the control subunit controls the motor to operate at the speeds corresponding to each value of the arithmetic progression in sequence until the first target speed is reached in the following manner:

[0101] Starting from the second term of the arithmetic progression, control the motor to operate at the speeds corresponding to each value for the same first preset time period until the first target speed is reached.

[0102] In this embodiment, the control unit 203 further includes:

[0103] A third acquisition unit, configured to acquire a preset motor speed corresponding to a preset intermediate gear of the fan as a starting speed before acquiring the current speed of the motor.

[0104] The control sub-unit is further configured to control the motor to operate at the starting speed for a second preset time period, and use the starting speed as the current speed.

[0105] In this embodiment, the fan has a humidifying function; the determining unit 202 is further configured to determine a second target speed of the motor when a humidifying function enabling instruction is received during the continuous operation of the motor at the first target speed.

[0106] The control unit 203 is further configured to control the motor to reach the second target speed in a gradually changing speed manner, so that the motor continuously operates at the second target speed; wherein, the second target speed is greater than the first target speed.

[0107] In this embodiment, the determining unit 202 determines the second target speed of the motor in the following manner:

[0108] During the continuous operation of the motor at the first target speed, when a humidifying function enabling instruction is received, acquire the current gear information.

[0109] Based on the current gear information, determine the second target speed corresponding to the current gear information.

[0110] In this embodiment, the fan has a humidifying function; the receiving unit 201 is further configured to receive a humidifying function enabling instruction before determining the first target speed of the motor based on the gear switching instruction; the determining unit 202 is further configured to determine the first target speed of the motor based on the gear switching instruction and the humidifying function enabling instruction.

[0111] Further, the determining unit 202 is further configured to determine a third target speed of the motor when a humidifying function disabling instruction is received during the continuous operation of the motor at the first target speed.

[0112] The control unit 203 is further configured to control the motor to reach the third target speed in a gradually changing speed manner, so that the motor continuously operates at the third target speed; wherein, the third target speed is less than the first target speed.

[0113] In this embodiment, the control unit 203 controls the motor to reach the first target speed in a gradually changing speed manner, so that the motor continuously operates at the first target speed, in the following manner:

[0114] The motor is controlled in a PWM output mode to reach the first target speed in a gradually changing speed manner, so that the motor continuously operates at the first target speed.

[0115] For the working principle, working process and other content related to the specific implementation manner of the above device, reference can be made to the specific implementation manner of the fan control method provided by the present invention, and the same technical content will not be described in detail herein.

[0116] The fan control device provided by the embodiment of the present invention controls the motor of the fan to reach the first target speed in a gradually changing speed manner, so that the fan blades can also reach the target wind speed in a gradually changing speed manner, effectively avoiding the problems of wind noise and reduced comfort caused by sudden wind speed changes. It can be seen that the technical solution provided by the embodiment of the present invention can effectively avoid sudden wind speed changes during the operation of the fan, thereby greatly improving the user experience.

[0117] Example 3

[0118] According to an embodiment of the present invention, there is also provided a computer-readable storage medium, on which program code is stored. When the program code is executed by a processor, the fan control method as described in any one of the above embodiments is implemented.

[0119] Example 4

[0120] According to an embodiment of the present invention, there is also provided an electronic device, which includes a memory and a processor. Program code that can run on the processor is stored on the memory. When the program code is executed by the processor, the fan control method as described in any one of the above embodiments is implemented.

[0121] The fan control method, device, storage medium and electronic device provided by the embodiment of the present invention control the motor of the fan to reach the first target speed in a gradually changing speed manner, so that the fan blades can also reach the target wind speed in a gradually changing speed manner, effectively avoiding the problems of wind noise and reduced comfort caused by sudden wind speed changes. It can be seen that the technical solution provided by the embodiment of the present invention can effectively avoid sudden wind speed changes during the operation of the fan, thereby greatly improving the user experience.

[0122] The present invention solves the following technical problems: A solution is proposed to solve the problems of relatively loud water sounds during the water supply and drainage processes and the wind noise caused by sudden wind speed changes during gear switching in a humidifying fan in a humidifying scenario. By means of PWM output of the cold fan blower, problems such as relatively loud water sounds during the water supply and drainage processes affecting user rest are solved.

[0123] The present invention has the following beneficial effects: A judgment logic for solving the problem of relatively high fan noise is proposed. Without increasing costs, according to whether the humidification function is turned on during user use, the corresponding rotation speed is matched. Among them, the humidification state is a high-power working state, which increases the fan rotation speed, thereby increasing the humidification amount. And when the PWM reaches a certain value, the water sound problem can be further improved, enhancing the comfort of the user during use.

[0124] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present invention.

[0126] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. And the aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0128] Although the embodiments disclosed in the present invention are as described above, the content described is only an embodiment adopted for the convenience of understanding the present invention and is not intended to limit the present invention. Any person skilled in the art within the technical field to which the present invention pertains may make any modifications and changes in the form of implementation and details without departing from the spirit and scope disclosed by the present invention. However, the scope of protection of the present invention shall still be subject to the scope defined by the appended claims.

Claims

1. A fan control method, characterized in that, The fan has a humidifying function, and the fan includes: a motor for driving the blades of the fan to rotate; The method includes: Receiving a gear shifting instruction; Based on the gear shifting instruction, determining a first target speed of the motor; Controlling the motor to reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed; During the process that the motor continuously operates at the first target speed, when receiving a humidifying function activation instruction, determining a second target speed of the motor; Controlling the motor to reach the second target speed in a gradually changing speed manner so that the motor continuously operates at the second target speed; wherein, the second target speed is greater than the first target speed; The step of determining the second target speed of the motor when receiving the humidifying function activation instruction during the process that the motor continuously operates at the first target speed includes: During the process that the motor continuously operates at the first target speed, when receiving the humidifying function activation instruction, obtaining the current gear information; Based on the current gear information, determining the second target speed corresponding to the current gear information.

2. The fan control method according to claim 1, wherein The step of controlling the motor to reach the first target speed in a gradually changing speed manner includes: Obtaining the current speed of the motor; Obtaining at least one intermediate speed set between the current speed and the first target speed so that the current speed, the intermediate speed, and the first target speed are arranged in an arithmetic progression; wherein, the first term of the arithmetic progression is the current speed, and the last term of the arithmetic progression is the first target speed; Controlling the motor to operate successively at the speeds corresponding to each value of the arithmetic progression until reaching the first target speed.

3. The fan control method according to claim 2, wherein, The step of controlling the motor to operate successively at the speeds corresponding to each value of the arithmetic progression until reaching the first target speed includes: Starting from the second term of the arithmetic progression, controlling the motor to operate successively at the speeds corresponding to each value for the same first preset time period until reaching the first target speed.

4. The fan control method according to claim 2, wherein, Before obtaining the current speed of the motor, the step of controlling the motor to reach the first target speed in a gradually changing speed manner further includes: Obtaining a preset motor speed corresponding to a preset intermediate gear of the fan as the starting speed; Controlling the motor to operate at the starting speed for a second preset time period and taking the starting speed as the current speed.

5. The fan control method according to claim 1, wherein The step of controlling the motor to reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed includes: Adopting a PWM output mode to control the motor to reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed.

6. A fan control device, characterized in that, The fan has a humidifying function, and the fan includes: a motor for driving the blades of the fan to rotate; The device includes: A receiving unit for receiving a gear shifting instruction; A determining unit for determining a first target speed of the motor based on the gear shifting instruction; A control unit for controlling the motor to reach the first target speed in a gradually changing speed manner so that the motor continuously operates at the first target speed; The determining unit is further configured to determine a second target speed of the motor when a humidifying function activation instruction is received during the continuous operation of the motor at the first target speed; The control unit is further configured to control the motor to reach the second target speed in a gradually changing speed manner so that the motor continuously operates at the second target speed; wherein the second target speed is greater than the first target speed; The determining unit is configured to: Acquire current gear information when a humidifying function activation instruction is received during the continuous operation of the motor at the first target speed; Determine the second target speed corresponding to the current gear information based on the current gear information.

7. A computer-readable storage medium, on which program code is stored, characterized in that, When the program code is executed by a processor, it implements the fan control method according to any one of claims 1 to 5.

8. An electronic device, characterized in that, The electronic device includes a memory and a processor. A program code that can run on the processor is stored on the memory. When the program code is executed by the processor, it implements the fan control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Utility-type household small fan with air humidification function

    CN107228081A

  • Operation control method for air conditioner with condensed water recovery system and air conditioner

    CN113124498A

  • Controller for dehumidifier

    JP1999237105A