Control device and method for oscillating fan

By designing a rocker control module and information processing module in the fan, the fan can rotate at any angle, which solves the problem of difficult fan angle control in the prior art, and improves control accuracy and simplicity of use.

CN119196059APending Publication Date: 2024-12-27AIRPLOVE(XIAMEN)ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411613105.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, the left and right shaking angle range of fans is difficult to precisely control, resulting in increased use complexity and cost.

Method used

A control device for a shaking head fan is designed, including a rocker control module, an information processing module and a fan motor. Through the rocker control module, user instructions are received, mobile information is generated and sent to the information processing module, and the fan motor is controlled to rotate, realizing arbitrary Angle rotation.

Benefits of technology

It realizes precise angle control of the fan, simplifies operation, is suitable for complex application scenarios, and reduces structural complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119196059A_ABST
    Figure CN119196059A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wind power equipment control, in particular to a control device and method for an oscillating fan, and the device comprises a rocker control module, an information processing module and a fan motor; wherein a user instruction is accessed to the input end of the rocker control module; the output end of the rocker control module is connected with the input end of the information processing module, and the output end of the information processing module is connected with the fan motor; the rocker control module is used for moving based on the user instruction to generate moving information; the mobile information is sent to the information processing module; and the information processing module is used for controlling the fan motor to rotate based on the movement information. According to the device, the fan motor is controlled to rotate through the information processing module according to the movement information, so that the fan can rotate at any angle, the control over the rotation of the fan is more direct and accurate, and various complex application scenes are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind power equipment control, and in particular to a control device and method for an oscillating fan in the technical field of wind power equipment control. Background Art

[0002] Fans can be roughly divided into single-degree-of-freedom fans, double-degree-of-freedom fans, and multi-degree-of-freedom fans according to the number of degrees of freedom they can rotate. Single-degree-of-freedom fans can usually only perform shaking motion (i.e., swinging left and right), but the fan blades themselves cannot be adjusted up and down or tilted. Double-degree-of-freedom fans usually have the ability to rotate in two directions. Taking shaking electric fans as an example, this type of fan can not only swing the fan head left and right, but also adjust the up and down angles, thereby changing the direction and range of the wind flow. Multi-degree-of-freedom fans have three or more degrees of freedom of rotation, which can achieve more complex air flow regulation. However, in ordinary household or commercial fans, the design of multiple degrees of freedom may increase the complexity of the structure, manufacturing costs, and difficulty of use. In this way, the fans in the related art generally shake their heads at a certain angle to the left and right, and the angle range is difficult to control. Summary of the invention

[0003] In order to solve the technical problem that the fan in the prior art generally shakes at a certain angle to the left or right, and the angle range is difficult to control, the purpose of the present invention is to provide a control device and method for a shaking fan, and the technical solution adopted is as follows:

[0004] In a first aspect, an embodiment of the present invention provides a control device for an oscillating fan, the device comprising:

[0005] Joystick control module, information processing module and fan motor; wherein:

[0006] The input end of the rocker control module receives the user command; the output end of the rocker control module is connected to the input end of the information processing module, and the output end of the information processing module is connected to the fan motor;

[0007] The joystick control module is used to move based on the user instruction, generate movement information, and send the movement information to the information processing module;

[0008] The information processing module is used to control the rotation of the fan motor based on the movement information.

[0009] In combination with the above-mentioned first aspect, in some possible implementations, the joystick control module is also used to parse the user instructions to obtain parsed data; move based on the parsed data to obtain the moving distance and the moving angle; wherein the movement information includes: the moving distance and the moving angle.

[0010] In combination with the above-mentioned first aspect, in some possible implementations, the joystick control module includes: a joystick, a first filtering unit, a second filtering unit, a third filtering unit, a switch unit, a first fan steering adjustment unit and a second fan steering adjustment unit; wherein, the output end of the joystick is respectively connected to the input end of the first filtering unit, the input end of the second filtering unit and the input end of the third filtering unit; the output end of the first filtering unit is connected to the switch unit; the output end of the second filtering unit is connected to the sliding end of the first fan steering adjustment unit, and the output end of the third filtering unit is connected to the sliding end of the second fan steering adjustment unit.

[0011] In combination with the first aspect, in some possible implementations, the first fan steering adjustment unit includes: a first sliding rheostat, and the second fan steering adjustment unit includes: a second sliding rheostat; wherein:

[0012] The sliding end of the first sliding rheostat and the sliding end of the second sliding rheostat move along with the rotation of the rocker.

[0013] In combination with the first aspect above, in some possible implementations, the sliding end of the first sliding rheostat is further used to move rightward when the rocker is rotated to the right, and to move leftward when the rocker is rotated to the left;

[0014] The sliding end of the second sliding rheostat is also used to move downward when the rocker rotates downward, and move upward when the rocker rotates upward.

[0015] In combination with the above-mentioned first aspect, in some possible implementations, the information processing module includes: a processing unit, a fourth filtering unit, a crystal oscillator and a resonant circuit; wherein, the input end of the fourth filtering unit is connected to the output end of the joystick control module, the output end of the fourth filtering unit is connected to the input end of the processing unit, the crystal oscillator is connected to the clock end of the processing unit, and the resonant circuit is connected to the antenna interface of the processing unit.

[0016] In combination with the first aspect above, in some possible implementations, the information processing module further includes: a storage unit; wherein:

[0017] The input end of the storage unit is connected to the output end of the joystick control module and the output end of the processing unit respectively;

[0018] The processing unit is used to filter the movement information to obtain filtered data; and control the fan motor to rotate based on the filtered data to obtain rotation data;

[0019] The storage unit is used to store the movement information and the rotation data of the joystick control module.

[0020] In combination with the above-mentioned first aspect, in some possible implementations, the processing unit is also used to input prompt information when it is detected that the rotation angle of the fan motor reaches a preset angle threshold; and read the rotation data from the storage unit, invert the rotation data to obtain reverse rotation data; and control the rotation of the fan motor based on the reverse rotation data.

[0021] In combination with the above-mentioned first aspect, in some possible implementations, the fan motor includes: a first motor and a second motor; wherein, the first motor is connected to a first fan steering adjustment unit in the joystick control module, and the second motor is connected to a second fan steering adjustment unit in the joystick control module.

[0022] In a second aspect, a control method for an oscillating fan is provided, the method comprising:

[0023] Acquiring movement information of a joystick control module in the oscillating fan; wherein the joystick control module can collect user instructions input by a user terminal and generate the movement information;

[0024] The information processing module in the oscillating fan is used to control the fan motor of the oscillating fan to rotate based on the movement information.

[0025] According to a third aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0026] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the first aspect or any possible implementation manner described in the first aspect.

[0027] The present invention has the following beneficial effects: by setting a rocker control module, an information processing module and a fan motor in the control device of the oscillating fan, and accessing the user command through the input end of the rocker control module; the output end of the rocker control module is connected to the input end of the information processing module, and the output end of the information processing module is connected to the fan motor; the rocker control module moves based on the user command to generate movement information; and sends the movement information to the information processing module; in this way, the rocker control module accesses the user command through the input end, and the output end is connected to the input end of the information processing module, so that the movement information can be output to the information processing module, so that the information processing module controls the rotation of the fan motor based on the movement information. In this way, the fan motor is controlled to rotate according to the movement information through the information processing module, so that the fan can be rotated at any angle; thereby making the control of the fan rotation more direct, clear and accurate, so as to realize various complex application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 It is a schematic diagram of the structure of a control device for an oscillating fan provided by an embodiment of the present invention;

[0030] Figure 2 is another schematic diagram of the structure of a control device for an oscillating fan provided by an embodiment of the present invention;

[0031] Figure 3 It is another schematic diagram of the structure of a control device for an oscillating fan provided by an embodiment of the present invention;

[0032] Figure 4 It is a schematic diagram of the implementation flow of a control method for an oscillating fan provided by an embodiment of the present invention;

[0033] Figure 5 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of a control device for an oscillating fan proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0035] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0038] The following is a detailed description of a specific solution of a control device for an oscillating fan provided by the present invention in conjunction with the accompanying drawings. Figure 1 , which shows a schematic diagram of the composition structure of a control device for an oscillating fan provided by an embodiment of the present invention, the device 100, comprises: a rocker control module 101, an information processing module 102 and a fan motor 103; wherein:

[0039] The input end of the joystick control module 101 receives user commands; the output end of the joystick control module 101 is connected to the input end of the information processing module 102 , and the output end of the information processing module 102 is connected to the fan motor 103 .

[0040] The joystick control module 101 is used to move based on the user instruction, generate movement information, and send the movement information to the information processing module 102.

[0041] Here, the user instruction can be an instruction inputted by the user terminal through the joystick control module, or can be an instruction collected by the user terminal by the joystick control module. For example, the user terminal operates the joystick in the joystick control module to move to the right, to the left, upward or downward, etc. The movement information includes: the moving distance and moving angle of the joystick.

[0042] In some possible implementations, the joystick control module 101 includes: a joystick, a first filter unit, a second filter unit, a third filter unit, a switch unit, a first fan steering adjustment unit, and a second fan steering adjustment unit; wherein the output end of the joystick is respectively connected to the input end of the first filter unit, the input end of the second filter unit, and the input end of the third filter unit; the output end of the second filter unit is connected to the sliding end of the first fan steering adjustment unit, and the output end of the third filter unit is connected to the sliding end of the second fan steering adjustment unit. Figure 2 As shown, the first filter unit may include a resistor R2 and a capacitor C12. The input end of the first filter unit is the end of the resistor R2 connected to the user command, that is, the output end connected to the joystick. One end of the capacitor C12 is connected to the resistor R2, and the other end is grounded, so that the signal input by the joystick can be filtered through the RC circuit formed by the resistor R2 and the capacitor C12. The second filter unit includes: Figure 2 The resistor R6 and the capacitor C13 are shown. One end of the resistor R6 is connected to the sliding end of the first fan steering adjustment unit, and the other end is connected to one end of the capacitor C13 and the high level, and the other end of the capacitor C13 is grounded. The third filtering unit includes: Figure 2 The resistor R12 and capacitor C14 are shown. One end of the resistor R2 is connected to the sliding end of the second fan steering adjustment unit, and the other end is connected to one end of the capacitor C14 and the high level, and the other end of the capacitor C14 is grounded. Among them, the capacitor C12, the capacitor C13 and the capacitor C14 can be the same capacitor, for example, the capacitor capacity can be 100 nanofarads (nF).

[0043] In some possible implementations, such as Figure 2 As shown, the first fan steering adjustment unit includes: a first sliding rheostat (i.e., sliding rheostat y), and the second fan steering adjustment unit includes: a second sliding rheostat (i.e., sliding rheostat x); wherein: the sliding end of the first sliding rheostat and the sliding end of the second sliding rheostat move with the rotation of the rocker. The sliding end of the first sliding rheostat is also used to move rightward when the rocker rotates rightward, and to move leftward when the rocker rotates leftward; the sliding end of the second sliding rheostat is also used to move downward when the rocker rotates downward, and to move upward when the rocker rotates upward.

[0044] like Figure 2 As shown, the sliding end of the first sliding rheostat is the sliding piece of the sliding rheostat y, and the sliding end of the second sliding rheostat is the sliding piece of the sliding rheostat x.

[0045] In some possible implementations, the joystick is reset to the center position by a spring when it is stationary, which is equivalent to the sliders of the sliding rheostat x and y are centered. The collected voltage is about half of 3.3 volts (V), that is, Figure 2 The voltage of the middle voltage SW_x and SW_y is approximately half of 3.3V.

[0046] When the user pushes the joystick to the right, the slider of the sliding resistor x moves to the right, and the voltage collected by the SW_x pin increases, and vice versa.

[0047] When the user pushes the joystick upward, the sliding resistor y moves upward, and the voltage collected by the SW_y pin increases, and vice versa.

[0048] When the joystick slides to an angle of 30 degrees, the voltage values ​​collected by the sliding rheostat x and y both increase, with x increasing faster. In this way, the voltage collected by the sliding rheostat x and y forms a coordinate representing the position of the joystick. Figure 2 In the example, Key_PB represents the button of the joystick pressed down from the Z axis, which can be used to collect user commands and input them into the input end of the first filter unit. In this way, the joystick control module is set up through the filter unit and the sliding rheostat, so that the sliding rheostat can slide accordingly by toggling the joystick, thereby controlling the fan motor to rotate at any angle.

[0049] The information processing module 102 is used to control the rotation of the fan motor 103 based on the movement information.

[0050] In some embodiments, the information processing module 102 includes: a processing unit, a fourth filtering unit, a crystal oscillator, a resonant circuit, and a storage unit; wherein the input end of the fourth filtering unit is connected to the output end of the joystick control module, the output end of the fourth filtering unit is connected to the input end of the processing unit, the crystal oscillator is connected to the clock end of the processing unit, and the resonant circuit is connected to the antenna interface of the processing unit. The input end of the storage unit is respectively connected to the output end of the joystick control module and the output end of the processing unit.

[0051] like Figure 3 As shown, the fourth filtering unit includes: a resistor R20 and a capacitor C16, wherein the capacity of the capacitor C11 is 1 microfarad (uF). The processing unit can be any type of single-chip microcomputer, for example, an AiP4952 single-chip microcomputer. The crystal oscillator is Figure 3The crystal oscillator Y1 shown has a capacity of 12 megahertz (MHZ). The resonant circuit includes: an inductor L2, a capacitor C14 and a capacitor C15; wherein the capacity of the inductor L2 is 2 nanohenry (nH), and the capacity of the capacitors C14 and C15 is 1 picofarad (pF). The storage unit can be a register in a single chip microcomputer.

[0052] The processing unit is used to filter the movement information to obtain filtered data; and control the fan motor to rotate based on the filtered data to obtain rotation data.

[0053] Here, the rotation data includes: the movement speed and movement direction of the fan motor.

[0054] The storage unit is used to store the movement information and the rotation data of the joystick control module. The received data is saved by the storage unit, for example, saved in an array. In this way, when the processing unit completes the learning, the processing unit has a complete operation data record, and after processing, it can move in the reverse direction and forward direction to achieve the restoration of the motion trajectory.

[0055] Here, after the single-chip microcomputer collects the movement information of the joystick control module, it verifies the movement information, thereby filtering out the correct and legal data, that is, obtaining the filtered data; and then controls the rotation of the fan motor through the filtered data, and obtains the rotation data. The rotation data and the movement information of the joystick control module are stored together in the storage unit, so that the single-chip microcomputer can call the movement information and the rotation data.

[0056] In some possible implementations, after the microcontroller collects the information, it sends the information to be transmitted to the wireless communication processing chip through the serial, half-duplex bus (Inter-Integrated Circuit, IIC) communication protocol. The wireless transmitter chip transmits the signal through the antenna. The transmitted information is in bytes. The format of data communication is: the data header indicates the beginning of the communication data. The receiving end can use this as a mark to start receiving data after receiving the data header; if it is not a data header, the received information can be ignored. The second frame indicates the data length, indicating how many bytes of data follow. From the third frame onwards, the data is represented, and the byte length is the length in SendBuf[1]. The last byte is a byte for checking all the previous contents.

[0057] When the receiving party receives the data, the same operation is performed. If the data does not match, it means that the data is wrong during the communication process, and the data is considered invalid and will not be used. In this embodiment, the data content is mainly the angle and distance of the joystick movement. The angle is generally represented by a floating point number, at least 4 bytes, and the distance can be represented by an integer, at least one byte.

[0058] In some embodiments, the processing unit is further used to parse the filtered data to obtain the moving distance and moving angle of the joystick control module; and control the rotation of the fan motor based on the moving distance and the moving angle to obtain the rotation data.

[0059] In some possible implementations, the processing unit is further used to analyze the moving distance and the moving angle to obtain a first direction vector and a second direction vector; determine the movement speed and movement direction of the fan motor based on the first direction vector and the second direction vector; and control the rotation of the fan motor based on the movement speed and movement direction to obtain the rotation data. In this way, the angle and distance of the game controller movement are collected through the joystick (e.g., game controller) in the joystick control module (e.g., remote control), and the angle distance signal is sent to the processing unit via wireless transmission. The processing unit controls the fan motor to achieve the specified action of the game controller.

[0060] Here, if Figure 3 The single chip microcomputer shown analyzes the filtered data and splits the filtered data into an X-direction vector (i.e., a first direction vector) and a Y-direction vector (i.e., a second direction vector), thereby obtaining the moving distance and moving angle of the joystick in the joystick control module. The moving distance and moving angle are used to control the movement speed and movement direction of the fan motor, thereby obtaining the rotation data. For example, the movement speed is calculated by the X-direction vector and the Y-direction vector. If the X-direction vector and the Y-direction vector are of the same size, that is, the movement speeds in the X and Y directions are the same, then the movement speed of the fan motor is the movement speed in the X direction. times, the movement angle is 45°, and the movement direction of the fan motor can be obtained according to the movement angle. In this way, by analyzing the movement distance and movement angle in the movement information, the movement speed and movement direction of the fan motor can be accurately determined, thereby realizing the rotation of the fan motor at any angle.

[0061] In some possible implementations, the processing unit is also used to input prompt information when it is detected that the rotation angle of the fan motor reaches a preset angle threshold; read the rotation data from the storage unit, invert the rotation data to obtain reverse rotation data; and control the rotation of the fan motor based on the direction rotation data.

[0062] Here, the preset angle threshold can be a user-defined setting, for example, the preset angle threshold in the horizontal direction is set to 150°; the preset angle threshold in the vertical direction can be set to 30°. For example, when the processing unit detects that the rotation angle of the fan motor reaches the horizontal limit angle (such as 150 degrees) and the vertical limit angle (such as 30 degrees from the top to the horizontal downward, a total of 120 degrees), it automatically generates and outputs a prompt message to prompt the user to change the angle. In this way, the fan can realize the universal action function within the horizontal limit angle and the vertical limit angle, and the fan automatically stops when encountering the boundary.

[0063] Alternatively, while outputting the prompt information, the processing unit reads the rotation data from the storage unit, and inverts the movement direction and movement speed of the rotation data in chronological order, thereby obtaining reverse rotation data, and controls the rotation of the fan motor according to the reverse rotation data; thus, by controlling the rotation of the fan motor through the reverse rotation data, the function of returning the fan motor along the original motion trajectory can be realized. In the learning mode, the processing unit can memorize the current rotation trajectory of the fan through the storage unit, and repeat the memorized trajectory after the learning is completed.

[0064] In an embodiment of the present invention, a rocker control module, an information processing module and a fan motor are provided in the control device of the oscillating fan, and the user command is accessed through the input end of the rocker control module; the output end of the rocker control module is connected to the input end of the information processing module, and the output end of the information processing module is connected to the fan motor; the rocker control module moves based on the user command to generate movement information; and sends the movement information to the information processing module; in this way, the rocker control module accesses the user command through the input end, and the output end is connected to the input end of the information processing module, so that the movement information can be output to the information processing module, so that the information processing module controls the rotation of the fan motor based on the movement information. In this way, the fan motor is controlled to rotate according to the movement information by the information processing module, so that the fan can be rotated at any angle.

[0065] The present invention provides a method for controlling an oscillating fan. Figure 4 , which shows a schematic diagram of an implementation flow of a control method for an oscillating fan provided by an embodiment of the present invention, the method comprising:

[0066] 401, obtaining movement information of a joystick control module in an oscillating fan.

[0067] Wherein, the joystick control module can collect user instructions input by the user terminal and generate the movement information;

[0068] 402 , using the information processing module in the oscillating fan to control the fan motor of the oscillating fan to rotate based on the movement information.

[0069] In an embodiment of the present invention, user instructions are collected by a joystick control module in the oscillating fan to generate movement information, and the movement information is sent to the information processing module, and then the information processing module controls the fan motor of the oscillating fan to rotate according to the movement information; in this way, the information processing module controls the fan motor to rotate according to the movement information, so that the fan can be rotated at any angle.

[0070] Optionally, the transmission medium can be a wired link (for example, but not limited to, coaxial cable, optical fiber and digital subscriber line (DSL), etc.) or a wireless link (for example, but not limited to, wireless Fidelity (WIFI), Bluetooth and mobile device network, etc.). It should be noted that: the system provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments provided in the above embodiments belong to the same concept. The specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0071] Figure 5 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 5 As shown, the computer device 500 includes: a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and running on the processor 502, wherein when the processor 502 executes the computer program 503, the computer device can execute any one of the control methods for the oscillating fan introduced above.

[0072] In addition, an embodiment of the present invention also protects a system, which may include a memory and a processor, wherein an executable program code is stored in the memory, and the processor is used to call and execute the executable program code to perform a control method for an oscillating fan provided by an embodiment of the present invention. This embodiment can divide the system into functional modules according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, which is only a logical function division, and there may be other division methods in actual implementation. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0073] It should be understood that the system provided in this embodiment is used to execute the above-mentioned control method of an oscillating fan, so the same effect as the above-mentioned implementation method can be achieved. In the case of an integrated unit, the system may include a processing module and a storage module. Among them, when the system is applied to a device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical boxes, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module can be a memory.

[0074] In addition, the system provided by the embodiment of the present invention may be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip may execute a control method for an oscillating fan provided by the above embodiment. This embodiment also provides a computer-readable storage medium, in which a computer program code is stored, and when the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a control method for an oscillating fan provided by the above embodiment.

[0075] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement a control method for an oscillating fan provided in the above embodiment. Among them, the system, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. Through the description of the above implementation mode, the technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiment described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, system or unit, which may be electrical, mechanical or other forms.

[0076] It should be noted that the sequence of the above-mentioned embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or may be advantageous. The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. The above content is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention.

Claims

1. A control device for an oscillating fan, characterized in that: The control device of the oscillating fan comprises: a rocker control module, an information processing module and a fan motor; wherein: The input end of the rocker control module receives the user command; the output end of the rocker control module is connected to the input end of the information processing module, and the output end of the information processing module is connected to the fan motor; The joystick control module is used to move based on the user instruction, generate movement information, and send the movement information to the information processing module; The information processing module is used to control the rotation of the fan motor based on the movement information.

2. The control device for an oscillating fan according to claim 1, characterized in that: The joystick control module is further used to parse the user command to obtain parsed data; move based on the parsed data to obtain a moving distance and a moving angle; wherein the movement information includes: the moving distance and the moving angle.

3. The control device for an oscillating fan according to claim 1, characterized in that: The joystick control module includes: a joystick, a first filter unit, a second filter unit, a third filter unit, a switch unit, a first fan steering adjustment unit and a second fan steering adjustment unit; wherein the output end of the joystick is respectively connected to the input end of the first filter unit, the input end of the second filter unit and the input end of the third filter unit; the output end of the first filter unit is connected to the switch unit; the output end of the second filter unit is connected to the sliding end of the first fan steering adjustment unit, and the output end of the third filter unit is connected to the sliding end of the second fan steering adjustment unit.

4. The control device for an oscillating fan according to claim 3, characterized in that: The first fan steering adjustment unit includes: a first sliding rheostat, and the second fan steering adjustment unit includes: a second sliding rheostat; wherein: The sliding end of the first sliding rheostat and the sliding end of the second sliding rheostat move along with the rotation of the rocker.

5. The control device for an oscillating fan according to claim 4, characterized in that: The sliding end of the first sliding rheostat is also used to move rightward when the rocker is rotated to the right, and to move leftward when the rocker is rotated to the left; The sliding end of the second sliding rheostat is also used to move downward when the rocker rotates downward, and move upward when the rocker rotates upward.

6. The control device for an oscillating fan according to claim 1, characterized in that: The information processing module includes: a processing unit, a fourth filtering unit, a crystal oscillator and a resonant circuit; wherein the input end of the fourth filtering unit is connected to the output end of the joystick control module, the output end of the fourth filtering unit is connected to the input end of the processing unit, the crystal oscillator is connected to the clock end of the processing unit, and the resonant circuit is connected to the antenna interface of the processing unit.

7. The control device for an oscillating fan according to claim 1, characterized in that: The information processing module further includes a storage unit; wherein: The input end of the storage unit is connected to the output end of the joystick control module and the output end of the processing unit respectively; The processing unit is used to filter the movement information to obtain filtered data; and control the fan motor to rotate based on the filtered data to obtain rotation data; The storage unit is used to store the movement information and the rotation data of the joystick control module.

8. The control device for an oscillating fan according to claim 7, characterized in that: The processing unit is also used to input prompt information when it is detected that the rotation angle of the fan motor reaches a preset angle threshold; read the rotation data from the storage unit, invert the rotation data to obtain reverse rotation data; and control the rotation of the fan motor based on the reverse rotation data.

9. The control device for an oscillating fan according to claim 3, characterized in that: The fan motor comprises: a first motor and a second motor; wherein the first motor is connected to a first fan steering adjustment unit in the rocker control module, and the second motor is connected to a second fan steering adjustment unit in the rocker control module.

10. A method for controlling an oscillating fan, characterized in that: The method comprises: Acquiring movement information of a joystick control module in the oscillating fan; wherein the joystick control module can collect user instructions input by a user terminal and generate the movement information; The information processing module in the oscillating fan is used to control the fan motor of the oscillating fan to rotate based on the movement information.