Oscillating control method and electric fan applying oscillating control method

By calculating and controlling the fan head angle and time, combining the angle detection component and controller, the problem of inability to blow the air caused by excessive fan head angle is solved, improving the use feeling and avoiding stuck in the limit position.

CN120332225APending Publication Date: 2025-07-18GUANGDONG HOMERIT HLDG LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510564620.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The shaking angle of the existing electric fans is too large and cannot be adjusted, resulting in a single user not being able to blow the wind for a long period of clearance, which cannot meet the use needs of hot weather.

Method used

By calculating the fan head angle and time, combined with the preset speed, the fan is controlled to operate in different directions to adjust the head angle to avoid getting stuck in the limit position, and the angle detection component and controller are used to automatically adjust the head angle.

Benefits of technology

It realizes the rotation angle of the fan as needed to avoid the wind from being blown for a long time, improves the use feeling, and avoids the fan stuck in the limit position and does not move.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120332225A_ABST
    Figure CN120332225A_ABST
Patent Text Reader

Abstract

The invention discloses a head shaking control method and an electric fan applying the head shaking control method, and the head shaking control method comprises the following steps: S1, the fan receives instruction information sent by a user, and the instruction information is a head shaking angle theta1 set by the user; s2, according to the received instruction information and the preset head shaking speed, the time t1 used by the fan to operate the head shaking angle theta1 is calculated; and S3, when the fan receives the instruction, the head shaking angle theta 2 used when the fan runs to the limit position from the position where the fan receives the instruction in the head shaking direction before the instruction is received is calculated, and according to the preset head shaking speed, the head shaking angle theta 2 is calculated. By means of the method, the rotation angle of the fan can be adjusted according to needs, the phenomenon that a user cannot blow wind in a long interval due to the fact that the head shaking angle is too large is avoided, the use feeling of the user is improved, the head shaking angle of the fan can be automatically adjusted, and the phenomenon that the user cannot blow wind in the fan head shaking process is avoided. And the phenomenon that the fan is clamped at the limit position and does not move is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of household appliances, and particularly to a head-shaking control method and an electric fan applying the same. Background Art

[0002] Fans are common household appliances. When the weather is hot, people often use fans to cool down.

[0003] At present, floor-standing electric fans sold on the market are of two types: those with a head that can shake or those without a shaking head. The head-shaking angle of the electric fan with a shaking head is about 120°. However, the head-shaking angle is too large and cannot be adjusted. A single user has a relatively long interval during which they cannot feel the wind, and there is no sense of coolness, which cannot meet the usage requirements of the electric fan for blowing wind in hot weather. Summary of the Invention

[0004] Aiming at the above defects, the purpose of the present invention is to provide a head-shaking control method and an electric fan applying the same, so as to solve the problems that the existing electric fan has a too large and unadjustable head-shaking angle, a single user has a relatively long interval during which they cannot feel the wind, and there is no sense of coolness, and it cannot meet the usage requirements of the electric fan for blowing wind in hot weather.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] A head-shaking control method is applied to a fan. The head-shaking control method includes the following steps:

[0007] S1, the fan receives the instruction information sent by the user, and the instruction information is the head-shaking angle θ1 set by the user;

[0008] S2, according to the received instruction information and the preset head-shaking speed, calculate the time t1 used for the fan to run the head-shaking angle θ1;

[0009] S3, calculate the head-shaking angle θ2 used for the fan to run from the position where the fan receives the instruction to the limit position along the head-shaking direction before receiving the instruction when the fan receives the instruction, and according to the preset head-shaking speed, calculate the time t2 used for the fan to run the head-shaking angle θ2 along the head-shaking direction before receiving the instruction;

[0010] S4, if θ2≥0.5θ1, then execute step S5; if θ2<0.5θ1, then execute step S6;

[0011] S5, proceed in the following steps in sequence:

[0012] S51, the fan continues to run along the head-shaking direction before receiving the instruction at the position where the fan receives the instruction, and the running time is 0.5t1;

[0013] S52. Calculate the shaking angle θ3 that the fan takes to run from the position it reaches at 0.5t1 during operation to the extreme position along the direction opposite to the previous shaking direction before receiving the instruction, and calculate the time t3 that the fan takes to run the shaking angle θ3 along the direction opposite to the previous shaking direction before receiving the instruction according to the preset shaking speed;

[0014] S53. If θ3≥θ1, execute step S54; if θ3<θ1, execute step S55;

[0015] S54. Proceed in the following steps in sequence:

[0016] S541. The fan runs along the direction opposite to the previous shaking direction before receiving the instruction for a running time of t1;

[0017] S542. The fan runs along the previous shaking direction before receiving the instruction for a running time of t1;

[0018] S543. Repeat steps S541 - S542 to control the fan to run according to the shaking angle θ1 set by the user;

[0019] S55. Proceed in the following steps in sequence:

[0020] S551. The fan runs along the direction opposite to the previous shaking direction before receiving the instruction for a running time of t3;

[0021] S552. The fan runs along the previous shaking direction before receiving the instruction for a running time of t3.

[0022] S553. Repeat steps S551 - S552 to control the fan to run according to the shaking angle θ3;

[0023] S6. Proceed in the following steps in sequence:

[0024] S61. The fan continues to run along the previous shaking direction before receiving the instruction at the position where the instruction is received for a running time of t2;

[0025] S62. The fan runs along the direction opposite to the previous shaking direction before receiving the instruction for a running time of 0.5t1 + t2;

[0026] S63. The fan runs along the previous shaking direction before receiving the instruction for a running time of 0.5t1 + t2.

[0027] S64. Repeat steps S62 - S63 to control the fan to run according to the shaking angle 0.5θ1 + θ2.

[0028] Preferably, in steps S2 and S3, the formula used for calculation is θ = ωt;

[0029] Wherein, θ is the shaking angle, with the unit of degree; ω is the preset shaking speed, with the unit of degree / second; t is the running time of the shaking, with the unit of second.

[0030] A fan, to which the above-mentioned shaking control method is applied, includes a fixed seat, a left-right shaking component, a connecting component, an angle detection component, a controller, a fan head and a supporting component;

[0031] The fan head is fixedly installed on the connecting component, the connecting component is rotatably installed at the top of the fixed seat, the fixed seat is fixedly installed at the top of the supporting component, the left-right shaking component and the angle detection component are arranged on the connecting component, and the controller is electrically connected to the left-right shaking component and the angle detection control component through wires;

[0032] The left-right shaking component is used to drive the connecting component to rotate left and right relative to the fixed seat, the angle detection component is used to detect the rotation angle of the connecting component, and the controller is used to control the operation of the left-right shaking component according to the rotation angle detected by the angle detection component.

[0033] Preferably, the connecting component includes a support and a rotating shaft, the rotating shaft is coaxially and rotatably installed at the top of the fixed seat, and the support is coaxially and fixedly installed at the top of the rotating shaft.

[0034] Preferably, the left-right shaking component includes a driving motor, the driving motor is fixedly installed on the support, the output shaft of the driving motor is coaxially connected with a gear, one side of the gear is meshed and connected with an arc rack, the arc rack is fixedly installed on the fixed seat, and the arc rack is coaxially arranged with the rotating shaft.

[0035] Preferably, the angle detection component includes a magnet, an arc-shaped sliding hole is formed on the upper surface of the support, the magnet slides through the arc-shaped sliding hole and is fixedly connected with the arc rack, first Hall element circuit boards and second Hall element circuit boards installed on the support are respectively arranged on both sides of the magnet, and the first Hall element circuit board and the second Hall element circuit board are respectively arranged at both ends of the arc-shaped sliding hole.

[0036] Preferably, the magnet is cylindrical.

[0037] Preferably, the controller is electrically connected to the first Hall element circuit board, the second Hall element circuit board and the driving motor through wires.

[0038] Preferably, the connecting component further includes an outer cover, the fan head is installed on the outer cover, the outer cover covers the support, and the fixed seat, the left-right shaking component, the connecting component, the angle detection component and the controller are located inside the outer cover.

[0039] Preferably, the support assembly includes a base and a telescopic rod. The telescopic rod is installed at the top of the base, and the fixed seat is installed at the top of the telescopic rod.

[0040] The technical solution provided by the present invention may include the following beneficial effects:

[0041] By this method, the rotation angle of the fan can be adjusted as needed, avoiding the phenomenon that the user cannot be blown by the wind during a relatively long gap period due to too large a shaking angle, improving the user experience, and the shaking angle of the fan can be automatically adjusted to avoid the fan getting stuck at the extreme position and not moving during the shaking process of the fan. Description of the Drawings

[0042] Figure 1 is a flowchart of the shaking control method of the present invention;

[0043] Figure 2 is a schematic structural diagram of one side of the shaking assembly of the present invention;

[0044] Figure 3 is a schematic structural diagram of the other side of the shaking assembly of the present invention;

[0045] Figure 4 is a schematic structural diagram of the electric fan of the present invention.

[0046] Wherein: 1, fixed seat; 2, left and right shaking assembly; 21, driving motor; 22, gear; 23, arc-shaped rack; 3, connection assembly; 31, support; 311, arc-shaped sliding hole; 32, outer cover; 4, angle detection assembly; 41, first Hall element circuit board; 42, second Hall element circuit board; 43, magnet; 5, fan head; 6, support assembly; 61, base; 62, telescopic rod. Detailed Description of the Embodiment

[0047] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions from beginning to end. The embodiments described below with reference to the drawings are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0048] In the description of the present invention, it should be understood that the orientation or positional relationships indicated by the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationships shown in the drawings. These are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present invention. In addition, features defined with "first", "second" may explicitly or implicitly include one or more of such features, used to distinguish and describe features, without order or importance.

[0049] In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, the terms "install", "connect", "couple" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] The following combines the drawings Figures 1 to 4 and further illustrates the technical solution of the present invention through specific embodiments.

[0051] As Figures 1-4 shown, a shaking control method is applied to a fan. The shaking control method includes the following steps:

[0052] S1. The fan receives the instruction information issued by the user, and this instruction information is the shaking angle θ1 set by the user;

[0053] S2. According to the received instruction information and the preset shaking speed, calculate the time t1 used for the fan to run the shaking angle θ1.

[0054] S3. Calculate the shaking angle θ2 that the fan runs from the position where the fan receives the instruction to the limit position along the shaking direction before receiving the instruction when the fan receives the instruction, and according to the preset shaking speed, calculate the time t2 used for the fan to run the shaking angle θ2 along the shaking direction before receiving the instruction.

[0055] S4. If θ2≥0.5θ1, then execute step S5; if θ2<0.5θ1, then execute step S6.

[0056] S5. Proceed in the following steps in sequence:

[0057] S51. The fan continues to run along the shaking direction before receiving the instruction at the position where it receives the instruction, and the running time is 0.5t1;

[0058] S52. Calculate the shaking angle θ3 that the fan takes to run from the position it reaches at 0.5t1 during operation to the extreme position along the direction opposite to the shaking direction before receiving the instruction, and calculate the time t3 that the fan takes to run the shaking angle θ3 along the direction opposite to the shaking direction before receiving the instruction according to the preset shaking speed.

[0059] S53. If θ3≥θ1, execute step S54; if θ3<θ1, execute step S55.

[0060] S54. Proceed in the following steps in sequence:

[0061] S541. The fan runs along the direction opposite to the shaking direction before receiving the instruction for a running time of t1.

[0062] S542. The fan runs along the shaking direction before receiving the instruction for a running time of t1.

[0063] S543. Repeat steps S541 - S542 to control the fan to run according to the shaking angle θ1 set by the user.

[0064] S55. Proceed in the following steps in sequence:

[0065] S551. The fan runs along the direction opposite to the shaking direction before receiving the instruction for a running time of t3.

[0066] S552. The fan runs along the shaking direction before receiving the instruction for a running time of t3.

[0067] S553. Repeat steps S551 - S552 to control the fan to run according to the shaking angle θ3.

[0068] S6. Proceed in the following steps in sequence:

[0069] S61. The fan continues to run along the shaking direction before receiving the instruction at the position where the instruction is received for a running time of t2.

[0070] S62. The fan runs along the direction opposite to the shaking direction before receiving the instruction for a running time of 0.5t1 + t2.

[0071] S63. The fan runs along the shaking direction before receiving the instruction for a running time of 0.5t1 + t2.

[0072] S64. Repeat steps S62 - S63 to control the fan to run according to the shaking angle 0.5θ1 + θ2.

[0073] By using this method, the rotation angle of the fan can be adjusted as needed, avoiding the phenomenon that the user cannot be blown by the wind during a relatively long gap period due to an overly large shaking angle, improving the user experience, and the shaking angle of the fan can be automatically adjusted to prevent the fan from getting stuck at the extreme position during the shaking process.

[0074] In an embodiment, the maximum shaking angle θ of the fan is 120 degrees, and the time t taken for the fan to move from one extreme position in the shaking direction to the other extreme position is 20 seconds. That is, in this mode, the preset shaking speed of the fan is 6 degrees / second; when the shaking angle θ1 set by the user is 30 degrees, the time t1 taken for the fan to shake 30 degrees is 5 seconds, and the shaking angle θ2 taken for the fan to run from the position where the instruction is received to the extreme position along the shaking direction before receiving the instruction is calculated, and according to the preset shaking speed, the time t2 taken for the fan to run the shaking angle θ2 along the shaking direction before receiving the instruction is calculated;

[0075] Specifically, if θ2≥15 degrees, the fan continues to run along the shaking direction before receiving the instruction after receiving the instruction for 2.5 seconds, and then the shaking angle θ3 taken for the fan to run from the position reached after running for 2.5 seconds to the extreme position along the direction opposite to the shaking direction before receiving the instruction is calculated, and according to the preset shaking speed, the time t3 taken for the fan to run the shaking angle θ3 along the direction opposite to the shaking direction before receiving the instruction is calculated; if θ3≥30 degrees, the fan runs along the direction opposite to the shaking direction before receiving the instruction for 5 seconds, and then runs along the shaking direction before receiving the instruction for 5 seconds, so as to control the fan to run at the shaking angle of 30 degrees set by the user; if θ3<30 degrees, the fan first runs along the direction opposite to the shaking direction before receiving the instruction for the time t3, and then runs along the shaking direction before receiving the instruction for the time t3, so as to control the fan to run at the shaking angle θ3;

[0076] If θ2<15 degrees, the fan continues to run along the shaking direction before receiving the instruction after receiving the instruction for the time t2, then runs along the direction opposite to the shaking direction before receiving the instruction for 2.5 + t2 seconds, and then runs along the shaking direction before receiving the instruction for 2.5 + t2 seconds, so as to control the fan to run at the shaking angle of 0.5θ1+θ2.

[0077] It should be noted that in the two processes where θ3 < 30 degrees and the fan runs in the direction opposite to the previous shaking direction for a running time of t3, and θ2 < 15 degrees and the fan continues to run in the previous shaking direction for a running time of t2 after receiving the instruction, the fan will move to the extreme position. At this time, the fan cannot continue to run along the shaking direction. Therefore, it is necessary to control the shaking time of the fan to avoid the fan colliding with and being damaged by the extreme position, and to avoid the phenomenon that the fan gets stuck at the extreme position during the shaking process.

[0078] As Figure 1 shown, in steps S2 and S3, the formula used for calculation is θ = ωt;

[0079] where θ is the shaking angle, in degrees; ω is the preset shaking speed, in degrees per second; and t is the running time of the shaking operation, in seconds.

[0080] As Figures 2-4 shown, a fan applying the above-mentioned shaking control method includes a fixed seat 1, a left-right shaking assembly 2, a connecting assembly 3, an angle detection assembly 4, a controller, a fan head 5, and a support assembly 6;

[0081] The fan head 5 is fixedly installed on the connecting assembly 3. The connecting assembly 3 is rotatably installed at the top of the fixed seat 1. The fixed seat 1 is fixedly installed at the top of the support assembly 6. The left-right shaking assembly 2 and the angle detection assembly 4 are arranged on the connecting assembly 3. The controller is electrically connected to the left-right shaking assembly 2 and the angle detection and control assembly 4 through wires;

[0082] The left-right shaking assembly 2 is used to drive the connecting assembly 3 to rotate left and right relative to the fixed seat 1. The angle detection assembly 4 is used to detect the rotation angle of the connecting assembly 3. The controller is used to control the operation of the left-right shaking assembly 2 according to the rotation angle detected by the angle detection assembly 4.

[0083] Specifically, the rotation angle of the connecting assembly 3 can be detected by the provided angle detection assembly 4. The controller determines whether the rotation angle of the connecting assembly 3 conforms to the preset angle according to the rotation angle detected by the angle detection assembly 4. If not, the controller controls the left-right shaking assembly 2 to adjust the rotation angle of the connecting assembly 3 to the preset angle or an appropriate angle, so that the rotation angle of the electric fan can be adjusted as needed, avoiding the phenomenon that the user cannot be blown by the wind for a long gap period due to an excessive shaking angle, improving the user's experience, and automatically adjusting the shaking angle of the fan to avoid the phenomenon that the fan gets stuck at the extreme position during the shaking process.

[0084] As Figure 2As shown, the connection component 3 of the fan in this embodiment includes a support 31 and a rotating shaft. The rotating shaft is coaxially and rotatably installed at the top of the fixed seat 1, and the support 31 is coaxially and fixedly installed at the top of the rotating shaft.

[0085] Specifically, the support 31 can drive the rotating shaft to rotate at the top of the fixed seat 1, so that the support 31 rotates left and right relative to the fixed seat 1.

[0086] As Figures 2-3 shown, the left and right swing component 2 includes a driving motor 21. The driving motor 21 is fixedly installed on the support 31. The output shaft of the driving motor 21 is coaxially connected with a gear 22. One side of the gear 22 is meshed and connected with an arc-shaped rack 23. The arc-shaped rack 23 is fixedly installed on the fixed seat 1, and the arc-shaped rack 23 is coaxially arranged with the rotating shaft.

[0087] Specifically, the driving motor 21 drives the gear 22 to rotate. Since the arc-shaped rack 23 is fixed on the fixed seat 1 and coaxially arranged with the rotating shaft, and the support 31 can rotate left and right relative to the fixed seat 1, under the drive of the driving motor 21, the gear 22 rotates around the axis of the arc-shaped rack 23, and the gear 22 is always meshed with the arc-shaped rack 23, so as to drive the support 31 to rotate left and right relative to the fixed seat 1.

[0088] As Figures 2-3 shown, the angle detection component 4 includes a magnet 43. An arc-shaped sliding hole 311 is formed on the upper surface of the support 31. The magnet 43 slidably passes through the arc-shaped sliding hole 311 and is fixedly connected with the arc-shaped rack 23. First Hall element circuit boards 41 and second Hall element circuit boards 42 installed on the support 31 are respectively arranged on both sides of the magnet 43, and the first Hall element circuit board 41 and the second Hall element circuit board 42 are respectively arranged at both ends of the arc-shaped sliding hole 311.

[0089] Specifically, when the magnet 43 moves, the magnetic field intensity changes. Since there is a linear relationship between the magnetic field intensity and the Hall voltage, the magnetic field intensity can be calculated through the Hall voltage. The magnet 43 moves back and forth in the arc-shaped sliding hole 311, so the range interval of the change in the magnetic field intensity remains unchanged. The magnetic field intensity and the Hall voltage at different positions of the magnet 43 are pre-tested. In this way, in the follow-up, only by knowing the Hall voltage values of the first Hall element circuit board 41 and the second Hall element circuit board 42, the magnetic field intensity can be known, and thus it can be known where the magnet 43 moves, and then the angle of movement of the magnet 43 can be calculated. The controller controls the operation of the left and right swing component 2 according to the detected movement angle, so that the magnet 43 moves at a preset angle or an appropriate angle to realize the adjustment of the angle of the fan head 5.

[0090] As Figure 3As shown, the magnet 43 is in a cylindrical shape.

[0091] Specifically, the cylindrical shape of the magnet 43 can make the magnet 43 slide more smoothly within the arc-shaped sliding hole 311.

[0092] As Figure 3 shown, the controller is electrically connected to the first Hall element circuit board 41, the second Hall element circuit board 42, and the drive motor 21 through wires.

[0093] As Figures 2-4 shown, the connection assembly 3 further includes an outer cover 32. The fan head 5 is installed on the outer cover 32, and the outer cover 32 covers the support 31. The fixed seat 1, the left and right swing assembly 2, the connection assembly 3, the angle detection assembly 4, and the controller are located inside the outer cover 32.

[0094] Specifically, the provided outer cover 32 can protect the fixed seat 1, the left and right swing assembly 2, the connection assembly 3, the angle detection assembly 4, and the controller, and can improve the aesthetics of the device.

[0095] As Figure 4 shown, the support assembly 6 includes a base 61 and a telescopic rod 62. The telescopic rod 62 is installed at the top of the base 61, and the fixed seat 1 is installed at the top of the telescopic rod 62.

[0096] Specifically, the provided telescopic rod 62 can adjust the height of the fan head 5 to adapt to the usage requirements of people of different heights.

[0097] The technical principle of the present invention has been described above in combination with specific embodiments. These descriptions are only for explaining the principle of the present invention and cannot be construed in any way as a limitation on the protection scope of the present invention. Based on the explanations herein, those skilled in the art can readily conceive of other specific embodiments of the present invention without creative efforts, and these embodiments will fall within the protection scope of the present invention.

Claims

1. A shaking head control method, applied to a fan, characterized in that, The described shaking control method comprises the following steps: S1. The fan receives the instruction information sent by the user, and this instruction information is the shaking angle θ1 set by the user; S2. According to the received instruction information and the preset shaking speed, calculate the time t1 taken for the fan to operate at the shaking angle θ1; S3. Calculate the shaking angle θ2 of the fan from the position where the fan receives the instruction to the limit position along the shaking direction before receiving the instruction when the fan receives the instruction, and according to the preset shaking speed, calculate the time t2 taken for the fan to operate at the shaking angle θ2 along the shaking direction before receiving the instruction; S4. If θ2≥0.5θ1, execute step S5; if θ2<0.5θ1, execute step S6; S5. Proceed in the following steps in sequence: S51. The fan continues to operate along the shaking direction before receiving the instruction at the position where the fan receives the instruction, and the operation time is 0.5t1; S52. Calculate the shaking angle θ3 of the fan from the position reached after operating for 0.5t1 to the limit position along the direction opposite to the shaking direction before receiving the instruction, and according to the preset shaking speed, calculate the time t3 taken for the fan to operate at the shaking angle θ3 along the direction opposite to the shaking direction before receiving the instruction; S53. If θ3≥θ1, execute step S54; if θ3<θ1, execute step S55; S54. Proceed in the following steps in sequence: S541. The fan operates along the direction opposite to the shaking direction before receiving the instruction, and the operation time is t1; S542. The fan operates along the shaking direction before receiving the instruction, and the operation time is t1; S543. Repeat steps S541 - S542 to control the fan to operate at the shaking angle θ1 set by the user; S55. Proceed in the following steps in sequence: S551. The fan operates along the direction opposite to the shaking direction before receiving the instruction, and the operation time is t3; S552. The fan operates along the shaking direction before receiving the instruction, and the operation time is t3; S553. Repeat steps S551 - S552 to control the fan to operate at the shaking angle θ3; S6. Proceed in the following steps in sequence: S61. The fan continues to operate along the shaking direction before receiving the instruction at the position where the fan receives the instruction, and the operation time is t2; S62. The fan operates along the direction opposite to the shaking direction before receiving the instruction, and the operation time is 0.5t1 + t2; S63. The fan operates along the shaking direction before receiving the instruction, and the operation time is 0.5t1 + t2; S64. Repeat steps S62 - S63 to control the fan to operate at the shaking angle 0.5θ1 + θ2; 2. The shaking control method according to claim 1, characterized in that: In steps S2 and S3, the formula used for calculation is θ = ωt; where θ is the shaking angle, with the unit of degree; ω is the preset shaking speed, with the unit of degree / second; t is the shaking operation time, with the unit of second.

3. A fan, to which the swing control method according to any one of claims 1-2 is applied, characterized in that: It includes a fixed seat (1), a left - right shaking component (2), a connecting component (3), an angle detection component (4), a controller, a fan head (5) and a support component (6); The fan head (5) is fixedly installed on the connection component (3), the connection component (3) is rotatably installed on the top end of the fixed seat (1), the fixed seat (1) is fixedly installed on the top end of the support component (6), the left and right swing component (2) and the angle detection component (4) are arranged on the connection component (3), and the controller is electrically connected to the left and right swing component (2) and the angle detection and control component (4) through wires; The left and right swing component (2) is used to drive the connection component (3) to rotate left and right relative to the fixed seat (1), the angle detection component (4) is used to detect the rotation angle of the connection component (3), and the controller is used to control the operation of the left and right swing component (2) according to the rotation angle detected by the angle detection component (4).