Fan and its oscillation control method, control device and computer-readable storage medium

By obtaining the current signal of the fan oscillation mechanism to determine the boundary position and center point, the problem of inaccurate oscillation angle determination is solved, thus achieving uniform air delivery and improving the user experience.

CN117514875BActive Publication Date: 2026-11-10GD MIDEA ENVIRONMENT APPLIANCES MFG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210907746.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2026-11-10
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The existing fan oscillation angle operating range is affected by sensor accuracy and human factors, which can lead to inaccurate center point position confirmation, resulting in intermittent stalling, affecting user experience and service life.

Method used

By acquiring the current signal of the fan oscillation mechanism, the boundary position of the oscillation mechanism is determined, and the center point position is determined accordingly. The oscillation mechanism is then controlled to operate around the center point to achieve uniform air delivery.

Benefits of technology

It improves the uniformity of fan oscillation and airflow, enhances user experience, reduces fan stalling, and extends fan lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117514875B_ABST
    Figure CN117514875B_ABST
Patent Text Reader

Abstract

This invention discloses a fan and its oscillation control method, control device, and computer-readable storage medium. The method includes: acquiring a current signal of the fan's oscillation mechanism during operation; determining a first boundary position and a second boundary position of the oscillation mechanism based on the current signal; acquiring the running time of the oscillation mechanism from the first boundary position to the second boundary position; determining that the running time is consistent with a preset time; and taking the position corresponding to half of the running time of the oscillation mechanism from the second boundary position as the center point position of the oscillation mechanism. The control method of this invention determines the boundary position of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position based on the boundary position, and drives the oscillation mechanism to operate based on the center point position, enabling the fan to deliver air evenly and enhancing the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fan technology, and more particularly to a fan oscillation control method, a fan oscillation control device, a computer-readable storage medium, and a fan. Background Technology

[0002] A fan is an electrical appliance that uses a motor to drive the blades to rotate, accelerating airflow. Oscillating is a common function of fans, and with the increasing demand for better user experience and more specific usage scenarios, the oscillation angle setting has become indispensable. Most existing fan oscillation angles are based on sensors to determine the position of the center point, and then the oscillation angle is set based on this center point to achieve the oscillating airflow effect. However, due to the inherent inaccuracy of the sensors and human intervention such as stalling or oscillating the fan, the center point position is often not accurately determined. This leads to deviations in the oscillation angle during operation, and intermittent stalling at the boundary positions. This not only reduces the user experience but also affects the fan's lifespan. Summary of the Invention

[0003] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to propose a fan oscillation control method. This method determines the boundary position of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position of the oscillation mechanism based on the boundary position, and drives the oscillation mechanism to operate using the center point position. This enables the fan to deliver air evenly, enhancing the user experience.

[0004] The second objective of this invention is to provide a fan oscillation control device.

[0005] A third objective of this invention is to provide a computer-readable storage medium.

[0006] The fourth objective of this invention is to provide a fan.

[0007] To achieve the above objectives, a first aspect of the present invention provides a fan oscillation control method, comprising: acquiring a current signal of the oscillation mechanism of the fan during operation; determining a first boundary position and a second boundary position of the oscillation mechanism based on the current signal; acquiring the running time of the oscillation mechanism from the first boundary position to the second boundary position; determining that the running time is consistent with a preset time, and taking the position corresponding to half of the running time of the oscillation mechanism from the second boundary position as the center point position of the oscillation mechanism.

[0008] According to the fan oscillation control method of the present invention, firstly, the current signal of the fan oscillation mechanism during operation is acquired; then, the first boundary position and the second boundary position of the oscillation mechanism are determined based on the current signal; next, the running time of the oscillation mechanism from the first boundary position to the second boundary position is acquired; finally, the running time is determined to be consistent with a preset time, and the position corresponding to half of the running time of the oscillation mechanism from the second boundary position is taken as the center point position of the oscillation mechanism. Thus, this method determines the boundary position of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position based on the boundary position, and drives the oscillation mechanism to operate based on the center point position, enabling the fan to deliver air evenly and enhancing the user experience.

[0009] In addition, the fan oscillation control method according to the above embodiments of the present invention may also have the following additional technical features:

[0010] According to one embodiment of the present invention, determining the first boundary position and the second boundary position of the oscillating mechanism based on the current signal includes: controlling the oscillating mechanism to run in a first direction, and determining that the current signal matches a preset current signal during the running in the first direction, and taking the position of the oscillating mechanism at the time of matching as the first boundary position; controlling the oscillating mechanism to run in a second direction, and determining that the current signal matches a preset current signal during the running in the second direction, and taking the position of the oscillating mechanism at the time of matching as the second boundary position, wherein the second direction and the first direction are two opposite directions.

[0011] According to one embodiment of the present invention, when it is determined that the current signal matches a preset current signal during the process of running in the first direction, the oscillating mechanism is controlled to run in the second direction.

[0012] According to one embodiment of the present invention, the oscillating mechanism is controlled to move in the first direction and the second direction at the same speed.

[0013] According to one embodiment of the present invention, the running time of the oscillating mechanism from the first boundary position to the second boundary position is obtained during the process of controlling the oscillating mechanism to run in the second direction.

[0014] According to one embodiment of the present invention, if the running time is found to be inconsistent with the preset time, the first boundary position and the second boundary position of the oscillating mechanism are re-determined based on the current signal.

[0015] According to an embodiment of the present invention, the above-mentioned fan oscillation control method further includes: controlling the oscillation mechanism to run left and right or up and down along the center point position with symmetrical running time to deliver air.

[0016] According to an embodiment of the present invention, the above-described fan oscillation control method further includes: in response to a fan shutdown command, controlling the oscillation mechanism to remain stationary at the center point position.

[0017] According to one embodiment of the present invention, the oscillating mechanism may include a stepper motor, and the current signal may be the current signal of the stepper motor.

[0018] To achieve the above objectives, a second aspect of the present invention provides a fan oscillation control device, comprising: a first acquisition module, used to acquire the current signal of the fan oscillation mechanism during operation;

[0019] The first determining module is used to determine the first boundary position and the second boundary position of the oscillating mechanism based on the current signal; the second acquiring module is used to acquire the running time of the oscillating mechanism from the first boundary position to the second boundary position; the second determining module is used to determine that the running time is consistent with the preset time, and to take the position corresponding to half of the running time of the oscillating mechanism from the second boundary position as the center point position of the oscillating mechanism.

[0020] According to an embodiment of the present invention, a fan oscillation control device includes a first acquisition module acquiring a current signal of the fan's oscillation mechanism during operation, a first determination module determining a first boundary position and a second boundary position of the oscillation mechanism based on the current signal, a second acquisition module acquiring the running time of the oscillation mechanism from the first boundary position to the second boundary position, and a second determination module determining that the running time is consistent with a preset time. The position corresponding to half the running time of the oscillation mechanism from the second boundary position is taken as the center point position of the oscillation mechanism. Thus, the device determines the boundary position of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position based on the boundary position, and drives the oscillation mechanism to operate based on the center point position, enabling the fan to deliver air evenly and enhancing the user experience.

[0021] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium storing a fan oscillation control program thereon, which, when executed by a processor, implements the above-described fan oscillation control method.

[0022] The computer-readable storage medium of this invention, by executing the above-described fan oscillation control method, can achieve uniform airflow driven by the oscillation mechanism at the center point position, thereby enhancing the user experience.

[0023] To achieve the above objectives, a fourth aspect of the present invention provides a fan, including: a memory, a processor, and a fan oscillation control program stored in the memory and executable on the processor. When the processor executes the oscillation control program, it implements the above-described fan oscillation control method.

[0024] According to an embodiment of the present invention, by executing the above-described fan oscillation control method, the fan can achieve uniform airflow driven by the oscillation mechanism at the center point position, thereby enhancing the user experience.

[0025] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0026] Figure 1 A flowchart of a fan oscillation control method according to an embodiment of the present invention;

[0027] Figure 2 This is a schematic diagram of the operation of a fan oscillation mechanism according to an embodiment of the present invention;

[0028] Figure 3 A flowchart illustrating a fan oscillation control method according to a specific example of the present invention;

[0029] Figure 4 This is a block diagram of a fan oscillation control device according to an embodiment of the present invention;

[0030] Figure 5 This is a block diagram of a fan according to an embodiment of the present invention. Detailed Implementation

[0031] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0032] The following description, with reference to the accompanying drawings, outlines an embodiment of the present invention, including a fan oscillation control method, a fan oscillation control device, a computer-readable storage medium, and a fan.

[0033] Figure 1 This is a flowchart of a fan oscillation control method according to an embodiment of the present invention.

[0034] like Figure 1 As shown, the fan oscillation control method of this embodiment may include the following steps:

[0035] S1, acquire the current signal of the fan's oscillation mechanism during operation. The oscillation mechanism may include a stepper motor, and the current signal is the current signal of the stepper motor.

[0036] S2, determine the first boundary position and the second boundary position of the oscillating mechanism based on the current signal.

[0037] S3, obtain the running time of the oscillating mechanism from the first boundary position to the second boundary position.

[0038] S4, determine that the running time is consistent with the preset time, and take the position corresponding to half the running time of the oscillating mechanism from the second boundary position as the center point position of the oscillating mechanism.

[0039] In one embodiment of the present invention, the fan may include an oscillation mechanism, a limiting device, etc. The oscillation mechanism includes a stepper motor with an automatic reversing mechanism. After rotating to a certain angle, the stepper motor automatically reverses direction, driving the oscillation mechanism to rotate and thus causing the fan to oscillate up and down or left and right. When acquiring the current signal during the operation of the oscillation mechanism, the current signal of the stepper motor can be obtained. The limiting device is used to limit the oscillation range of the oscillation mechanism, allowing the oscillation mechanism to move within a certain angle range.

[0040] It should be noted that when acquiring the current signal, not only the stepper motor's current signal but also its voltage signal can be acquired. Based on the relationship between the stepper motor's operating power, voltage signal, and current signal, the stepper motor's current signal can be determined, and further, the current signal of the oscillating mechanism during operation can be determined. The method of acquiring the current signal is not limited to those listed in the above embodiments; it can be determined according to the actual situation and is not limited here.

[0041] During normal operation, the stepper motor's current signal in the oscillating mechanism remains constant. However, if it encounters an obstacle or reaches a preset oscillating boundary position, it will stall. The location of the stall and the change in the current signal determine whether the oscillating mechanism has encountered an obstacle or reached a boundary position. For example, the current signal at the time of stall is compared with the preset current signal at the boundary position. If they are the same, the boundary has been reached; if they are different, it can be assumed that the current signal has changed due to an obstacle encounter. The mechanism continues to move in the same direction until the current signal at the time of stall is the same as the preset current signal at the boundary position, thus determining the boundary position. To determine one boundary position, the same method is used to control the oscillating mechanism to move in the opposite direction from the current boundary position. The change in the current signal is then used to determine whether the other boundary position has been reached. That is, the current signal at the time of stall is compared with the preset current signal at the boundary position. If they are the same, the other boundary position is determined. Therefore, the first and second boundary positions of the oscillating mechanism can be determined based on the changes in the current signal.

[0042] After determining the first boundary position and the second boundary position, the running time from the first boundary position to the second boundary position is also determined. For example, when determining the first boundary position through the above embodiment, timing is started, and timing is stopped when the oscillating mechanism moves in the opposite direction to the second boundary position. The running time from the first boundary position to the second boundary position can be determined based on the start time and the stop time.

[0043] To further determine the accuracy of the first and second boundary positions determined in the above embodiments, the running time of the first and second boundary positions is compared with a preset running time. If the running time is the same as the preset time, the first and second boundary positions determined in the above embodiments are considered to be the actual boundary positions. Starting from the second boundary position, the system moves towards the first boundary position. When half the running time has elapsed, the center point of the two boundary positions is considered to have been reached. After determining the center point, the stepper motor drives the oscillating mechanism to begin uniform airflow. For example, if the oscillation is set to approximately 60 degrees, and the time to complete the 60-degree movement is 6 seconds, then based on the center point, the system moves left for 3 seconds, then right for 6 seconds, and so on, improving the user experience of using the oscillating mechanism for airflow.

[0044] The specific details of the fan oscillation control method of the present invention are described in detail below.

[0045] According to one embodiment of the present invention, determining the first boundary position and the second boundary position of the oscillating mechanism based on the current signal includes: controlling the oscillating mechanism to move in a first direction, and determining that the current signal matches a preset current signal during the movement in the first direction, and taking the position of the oscillating mechanism at the time of matching as the first boundary position; controlling the oscillating mechanism to move in a second direction, and determining that the current signal matches a preset current signal during the movement in the second direction, and taking the position of the oscillating mechanism at the time of matching as the second boundary position, wherein the second direction and the first direction are two opposite directions, and the preset current signal can be calibrated according to the actual situation.

[0046] According to one embodiment of the present invention, when it is determined that the current signal matches a preset current signal during the process of running in the first direction, the oscillating mechanism is controlled to run in the second direction.

[0047] According to one embodiment of the present invention, the oscillating mechanism is controlled to move in the first direction and the second direction at the same speed.

[0048] Specifically, at any position between the first and second boundaries, the oscillating mechanism moves in the first direction to the first boundary position, and then maintains the same rotational speed to move in the opposite direction (the second direction) to the second boundary. The first boundary position can be determined by moving in the first direction or by moving in the second direction. If the first boundary position is determined by moving in the first direction, then the second boundary position is determined by moving in the second direction. Taking the first boundary position determined by moving in the first direction as an example, ... Figure 2 As shown, when the oscillating mechanism moves towards direction B (the first direction) at a set speed, the current signal of the stepper motor is monitored in real time. If the oscillating mechanism encounters a stall position at point B, the current signal changes due to the interaction of forces. The collected current signal is compared with a preset current signal. If they match, point B is designated as the first boundary position. If they do not match, the oscillating mechanism continues to move towards direction B (the first direction) until the current signal collected at the stall position matches the preset current signal, thus determining the first boundary position. When point B is determined as the first boundary position, the oscillating mechanism automatically reverses direction and moves towards point A (the second direction) at the same speed. During the movement of the oscillating mechanism from point B to point A, if it encounters a stall position at point A, the current signal at point A is collected in real time and compared with a preset current signal. If they match, point A is designated as the second boundary position. If they do not match, the mechanism continues to move towards point A (the second direction) until the current signal collected at the stall position matches the preset current signal, thus determining the second boundary position.

[0049] It should be noted that the stall can occur at the first and second boundaries, or anywhere between them. When a stall occurs, the current signal changes. If the changed current signal does not match the preset current signal—for example, if the oscillating mechanism is obstructed by an obstacle (a wall, table, chair, or an external force preventing normal fan oscillation) while moving in the first direction—the oscillating mechanism will continue moving in the first direction until the changed current signal at the first boundary matches the preset current signal, at which point it will change direction and move in the second direction. Similarly, if the oscillating mechanism is obstructed by an obstacle (a wall, table, chair, or an external force preventing normal fan oscillation) while moving in the second direction, the oscillating mechanism will continue moving in the second direction until the changed current signal at the second boundary matches the preset current signal, at which point it will change direction and move in the first direction.

[0050] According to one embodiment of the present invention, the running time of the oscillating mechanism from the first boundary position to the second boundary position is obtained during the process of controlling the oscillating mechanism to run in the second direction.

[0051] According to one embodiment of the present invention, the above method further includes: controlling the oscillating mechanism to move left and right or up and down along the center point position with symmetrical running time to deliver air.

[0052] Specifically, if the fan stalls at a position before reaching the first boundary, and the changed current signal matches a preset current signal, this position will be taken as the first boundary position, and the fan will move in the second direction. However, this first boundary position is not the maximum position the fan can actually operate at during the oscillation process. Alternatively, if the oscillation mechanism moves in the second direction and stalls at a position before reaching the second boundary, and the changed current signal matches a preset current signal, this position will be taken as the second boundary position. However, this second boundary position is not the maximum position the fan can actually operate at during the oscillation process. Therefore, by comparing the time taken for the oscillation mechanism to move from the first boundary position to the second boundary position with a preset time, the first and second boundary positions can be further determined to prevent misjudgment.

[0053] The first and second boundary positions of the oscillating mechanism can be obtained from the above steps. Timing begins when the oscillating mechanism starts moving from the first boundary position to the second boundary position, and stops when it reaches the second boundary position. The running time T can be determined based on the start and stop timing times. If the running time T is the same as the preset time, the first and second boundary positions are confirmed to be correct. Therefore, the position corresponding to half the running time (T / 2) from the second boundary position to the first boundary position can be taken as the center point of the oscillating mechanism. After determining the center point position, the oscillating mechanism swings left, right, up, and down around the center point, delivering air with symmetrical running times. For example, if the angle between the first and second boundary positions is 60 degrees, the oscillating mechanism can move to the first boundary position to the left (first direction) and to the second boundary position to the right (second direction), and the time taken for the oscillating mechanism to move from the first boundary position to the second boundary position is 6 seconds. Starting from the center point of the oscillating mechanism, it moves in one direction for 3 seconds to reach the first boundary position, then moves in the second direction for 6 seconds to reach the second boundary position, and so on, repeating this cycle. Similarly, it moves from the center point of the oscillating mechanism in one direction for 3 seconds to reach the second boundary position, then moves in the first direction for 6 seconds to reach the first boundary position, then moves in the second direction for 6 seconds to reach the second boundary position, and so on, repeating this cycle. Thus, by determining the center point of the oscillating mechanism based on its boundary positions, a symmetrical and uniform airflow effect is achieved with the oscillating mechanism oscillating left and right or up and down, improving the user experience of using the oscillating mechanism for airflow.

[0054] According to one embodiment of the present invention, if the running time is found to be inconsistent with the preset time, the first boundary position and the second boundary position of the oscillating mechanism are re-determined based on the current signal.

[0055] In other words, when the running time T of the oscillating mechanism from the first boundary position to the second boundary position is inconsistent with the preset time, it indicates that the first boundary position or the second boundary position was incorrectly determined based on the previous current signal, or the first boundary position and the second boundary position were incorrectly determined based on the change in the previous current signal, and the first boundary position and the second boundary position need to be re-determined.

[0056] According to one embodiment of the present invention, the method further includes: controlling the oscillating mechanism to remain stationary at the center point position in response to a fan shutdown command.

[0057] Specifically, when controlling the fan to oscillate left and right or up and down around the center point of the oscillation mechanism, if a fan shutdown command is received, the oscillation mechanism can be kept stationary at the center point. For example, if the oscillation mechanism is currently to the left of the center point when the fan is off, it can be moved from left to right to the center point and kept stationary. Similarly, if the oscillation mechanism is currently to the right of the center point when the fan is off, it can be moved from right to left to the center point and kept stationary. Therefore, when the fan restarts, it can symmetrically and evenly oscillate around the center point, improving the user experience of using the oscillation mechanism for airflow.

[0058] As a concrete example, such as Figure 3 As shown, the fan oscillation control method of the present invention may include the following steps:

[0059] S100, the fan is powered on and running.

[0060] S101 controls the oscillating mechanism to move in the first direction and acquires the current signal of the stepper motor in real time.

[0061] S102, determine whether the current signal matches the preset current signal. If yes, proceed to step S103; if no, return to step S101.

[0062] S103, control the oscillating mechanism to move in the second direction and start timing.

[0063] S104 acquires the current signal of the stepper motor in real time.

[0064] S105, determine whether the current signal matches the preset current signal. If yes, proceed to step S106; otherwise, return to step S104.

[0065] S106, timing ends, obtain the running time T of the oscillating mechanism from the first boundary position to the second boundary position.

[0066] S107, Determine whether the running time T is consistent with the preset time. If yes, proceed to step S108; if no, proceed to step S100.

[0067] S108, the oscillating mechanism is moved from the second boundary position to the first boundary position, and the position corresponding to the operation time T / 2 is taken as the center point position of the oscillating mechanism.

[0068] S109, the oscillating mechanism moves left and right or up and down symmetrically around the center point to deliver air.

[0069] S110, in response to the fan's shutdown command, controls the oscillation mechanism to remain stationary at the center point position.

[0070] In summary, the fan oscillation control method according to embodiments of the present invention first acquires the current signal of the fan oscillation mechanism during operation, then determines the first and second boundary positions of the oscillation mechanism based on the current signal, next acquires the running time of the oscillation mechanism from the first boundary position to the second boundary position, and finally determines that the running time is consistent with a preset time. The position corresponding to half the running time of the oscillation mechanism from the second boundary position is taken as the center point position of the oscillation mechanism. Therefore, this method determines the boundary positions of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position based on the boundary positions, and drives the oscillation mechanism to operate based on the center point position, enabling the fan to deliver air evenly and enhancing the user experience.

[0071] Corresponding to the above embodiments, the present invention also proposes a fan oscillation control device.

[0072] like Figure 4 As shown, the fan oscillation control device 100 of this embodiment includes: a first acquisition module 110, a first determination module 120, a second acquisition module 130, and a second determination module 140.

[0073] The first acquisition module 110 acquires the current signal of the fan's oscillation mechanism during operation. The first determination module 120 determines the first and second boundary positions of the oscillation mechanism based on the current signal. The second acquisition module 130 acquires the running time of the oscillation mechanism from the first boundary position to the second boundary position. The second determination module 140 determines that the running time is consistent with a preset time, and takes the position corresponding to half of the running time from the second boundary position as the center point position of the oscillation mechanism.

[0074] According to one embodiment of the present invention, the first determining module 120 determines the first boundary position and the second boundary position of the oscillating mechanism based on the current signal, specifically configured to: control the oscillating mechanism to run in a first direction, and determine that the current signal matches a preset current signal during the running in the first direction, and take the position of the oscillating mechanism at the time of matching as the first boundary position; control the oscillating mechanism to run in a second direction, and determine that the current signal matches a preset current signal during the running in the second direction, and take the position of the oscillating mechanism at the time of matching as the second boundary position, wherein the second direction and the first direction are two opposite directions.

[0075] According to one embodiment of the present invention, the first determining module 120 is further configured to control the oscillating mechanism to run in the second direction when it determines that the current signal matches a preset current signal during the process of running in the first direction.

[0076] According to one embodiment of the present invention, the first determining module 120 is further configured to control the oscillating mechanism to run in the first direction and the second direction at the same speed.

[0077] According to one embodiment of the present invention, the second acquisition module 130 is further configured to acquire the running time of the oscillating mechanism from the first boundary position to the second boundary position during the process of controlling the oscillating mechanism to run in the second direction.

[0078] According to one embodiment of the present invention, the first determining module 120 is further configured to, after the second determining module 140 determines that the running time is inconsistent with the preset time, re-determine the first boundary position and the second boundary position of the oscillating mechanism based on the current signal.

[0079] According to one embodiment of the present invention, the second determining module 140 is further configured to: control the oscillating mechanism to move left and right or up and down along the center point position with symmetrical running time to deliver air.

[0080] According to one embodiment of the present invention, the second determining module 140 is further configured to: control the oscillating mechanism to remain stationary at the center point position in response to a fan shutdown command.

[0081] According to one embodiment of the present invention, the oscillating mechanism includes a stepper motor, and the current signal is the current signal of the stepper motor.

[0082] It should be noted that for details not disclosed in the fan oscillation control device of the present invention, please refer to the details disclosed in the fan oscillation control method of the present invention, which will not be repeated here.

[0083] According to an embodiment of the present invention, a fan oscillation control device includes a first acquisition module acquiring a current signal of the fan's oscillation mechanism during operation, a first determination module determining a first boundary position and a second boundary position of the oscillation mechanism based on the current signal, a second acquisition module acquiring the running time of the oscillation mechanism from the first boundary position to the second boundary position, and a second determination module determining that the running time is consistent with a preset time. The position corresponding to half the running time of the oscillation mechanism from the second boundary position is taken as the center point position of the oscillation mechanism. Thus, the device determines the boundary position of the oscillation mechanism based on the current signal generated during its operation, then determines the center point position based on the boundary position, and drives the oscillation mechanism to operate based on the center point position, enabling the fan to deliver air evenly and enhancing the user experience.

[0084] Corresponding to the above embodiments, the present invention also proposes a computer-readable storage medium.

[0085] The present invention provides a computer-readable storage medium storing a fan oscillation control program thereon, which, when executed by a processor, implements the aforementioned fan oscillation control method.

[0086] The computer-readable storage medium of this invention, by executing the above-described fan oscillation control method, can achieve uniform airflow driven by the oscillation mechanism at the center point position, thereby enhancing the user experience.

[0087] Corresponding to the above embodiments, the present invention also proposes a fan.

[0088] like Figure 5 As shown, the fan 200 of the present invention may include: a memory 210, a processor 220, and a fan oscillation control program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the fan oscillation control program, it implements the above-described fan oscillation control method.

[0089] The fan in this embodiment of the invention, by executing the above-described fan oscillation control method, can achieve uniform airflow driven by the oscillation mechanism at the center point position, thereby enhancing the user experience.

[0090] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0091] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0092] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0093] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0094] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0095] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for controlling the oscillation of a fan, characterized in that, The method includes: Acquire the current signal of the fan's oscillation mechanism during operation; The first and second boundary positions of the oscillating mechanism are determined based on the current signal. Obtain the running time of the oscillating mechanism from the first boundary position to the second boundary position; The running time is determined to be consistent with the preset time, and the position corresponding to the running time of half the running time of the oscillating mechanism from the second boundary position is taken as the center point position of the oscillating mechanism; Determining the first and second boundary positions of the oscillating mechanism based on the current signal includes: controlling the oscillating mechanism to move in a first direction, and determining that the current signal matches a preset current signal during the movement in the first direction, taking the position of the oscillating mechanism at the time of matching as the first boundary position; controlling the oscillating mechanism to move in a second direction, and determining that the current signal matches the preset current signal during the movement in the second direction, taking the position of the oscillating mechanism at the time of matching as the second boundary position, wherein the second direction and the first direction are two opposite directions; If the running time is found to be inconsistent with the preset time, the first boundary position and the second boundary position of the oscillating mechanism are re-determined based on the current signal.

2. The method according to claim 1, characterized in that, When the current signal is determined to match a preset current signal during the movement in the first direction, the oscillating mechanism is controlled to move in the second direction.

3. The method according to claim 1, characterized in that, The oscillating mechanism is controlled to move in the first and second directions at the same speed.

4. The method according to claim 1, characterized in that, During the process of controlling the oscillating mechanism to move in the second direction, the running time of the oscillating mechanism from the first boundary position to the second boundary position is obtained.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: The oscillating mechanism is controlled to move left and right or up and down symmetrically around the center point to deliver air.

6. The method according to claim 5, characterized in that, The method further includes: In response to the fan's shutdown command, the oscillating mechanism is controlled to remain stationary at the center point position.

7. The method according to any one of claims 1-4, characterized in that, The oscillating mechanism includes a stepper motor, and the current signal is the current signal of the stepper motor.

8. A fan oscillation control device, implementing the fan oscillation control method according to any one of claims 1-7, characterized in that, The device includes: The first acquisition module is used to acquire the current signal of the fan's oscillation mechanism during operation; The first determining module is used to determine the first boundary position and the second boundary position of the oscillating mechanism based on the current signal. The second acquisition module is used to acquire the running time of the oscillating mechanism from the first boundary position to the second boundary position; The second determining module is used to determine that the running time is consistent with the preset time, and to take the position corresponding to the running time of the oscillating mechanism running from the second boundary position for half the running time as the center point position of the oscillating mechanism.

9. A computer-readable storage medium, characterized in that, It stores a fan oscillation control program, which, when executed by a processor, implements the fan oscillation control method according to any one of claims 1-7.

10. A fan, characterized in that, include: A memory, a processor, and a fan oscillation control program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the fan oscillation control method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Fan and control method thereof

    CN105257572A

  • Control method, control circuit, device, equipment and medium of electric fan

    CN114320979A