Anti-collision control system and control method for oscillating fan
By designing an anti-collision control system in the shaking head fan, using the gyroscope to perceive the angle and cooperate with the main control circuit for automatic adjustment, the problem of high load and low angle adjustment efficiency of the motor caused by steering of the shaking head fan in the prior art is solved, automatic anti-collision and angle adjustment are achieved, and the service life of the motor is extended.
Patent Information
- Application Number
- CN202411994570.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-06-24
AI Technical Summary
Existing shaking fans can easily cause high load on the motor during steering, and the angle adjustment efficiency is low, making it easy to collide with obstacles and cause damage to the motor.
An anti-collision control system is designed, including a power conversion circuit, a main control circuit and a gyroscope processing circuit. The angle of the shaking head motor is sensed through the gyroscope, and data processing and feedback control are carried out in conjunction with the main control circuit to achieve automatic adjustment and anti-collision.
The automatic anti-collision angle adjustment of the shaking motor is realized, which improves the angle detection efficiency and timeliness, reduces the overload caused by the motor due to long-term collision obstacles, and extends the service life.
Smart Images

Figure CN120194030A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of swing fan control, and particularly relates to an anti-collision control system and a control method for a swing fan. Background Art
[0002] As the pace of people's life is getting faster and faster, and the requirements for time and efficiency are getting higher and higher, a good product needs to meet the various needs of users. Most of the existing fan products use a stepper motor for swing drive, and the swing angle is generally controlled by the way of stepper motor counting. In the control process, the existing method is to limit and turn through a mechanical structure, which cannot prevent the impact on the motor and cause the motor to be overloaded when the fan swings and turns. Long-term use is likely to cause damage to the motor; and when the fan moves to another position, the previously set angle may fail, resulting in the situation that the fan collides with obstacles during the swing movement, causing damage due to the overload of the stepper motor. Summary of the Invention
[0003] The present invention aims at the deficiencies of the current technology and provides an anti-collision control system and a control method for a swing fan, aiming to solve the technical problem that the swing fan in the existing technology needs to be adjusted manually and the automatic adjustment efficiency is poor.
[0004] The technical solution adopted by the present invention to achieve the above object is as follows:
[0005] An anti-collision control system for a swing fan, the anti-collision control system is electrically connected to a swing motor, and the anti-collision control system includes a power conversion circuit, a main control circuit and a gyroscope processing circuit; the main control circuit is electrically connected to the power conversion circuit and the gyroscope processing circuit; the gyroscope processing circuit is electrically connected to the swing motor, and the gyroscope processing circuit is used for the angle perception and collection of the swing motor; the main control circuit is used for data collection and processing, feedback control signal output, monitoring and drive control; the power conversion circuit is used for power conversion and supply, so as to provide a 3.3V voltage power supply and a 12V voltage power supply; the main control circuit is provided with a swing motor connection circuit; the gyroscope processing circuit is provided with a gyroscope.
[0006] For further improvement, the power conversion circuit is provided with a pin end VCC and a pin end VDD; the main control circuit includes a control chip U3, the control chip U3 is provided with a plurality of motor drive ends, and the motor drive ends are electrically connected to the swing motor connection circuit; the motor drive ends all include a pin end SHAKE-PWM1, a pin end SHAKE-PWM2, a pin end SHAKE-PWM3 and a pin end SHAKE-PWM4;
[0007] The shaking motor connection circuit includes a first switch signal control circuit, a second switch signal control circuit, a third switch signal control circuit, a fourth switch signal control circuit, and an electrical plug-in end. The first switch signal control circuit is connected to the second switch signal control circuit, the third switch signal control circuit, and the fourth switch signal control circuit. The first switch signal control circuit is electrically connected to the pin SHAKE-PWM1. The second switch signal control circuit is electrically connected to the pin SHAKE-PWM2. The third switch signal control circuit is electrically connected to the pin SHAKE-PWM3. The fourth switch signal control circuit is electrically connected to the pin SHAKE-PWM4. The electrical plug-in end is provided with a first pin end, a second pin end, a third pin end, a fourth pin end, and a fifth pin end. The first pin end, the second pin end, the third pin end, and the fourth pin end are respectively electrically connected to the first switch signal control circuit, the second switch signal control circuit, the third switch signal control circuit, and the fourth switch signal control circuit. The fifth pin end is electrically connected to the pin VCC of the power conversion circuit.
[0008] For further improvement, the first switch signal control circuit, the second switch signal control circuit, the third switch signal control circuit, and the fourth switch signal control circuit of the power conversion circuit all include a resistor R33, a resistor R34, and a MOS transistor Q2. The drain of the MOS transistor Q2 is respectively electrically connected to the first pin end, the second pin end, the third pin end, and the fourth pin end. The source of the MOS transistor Q2 is respectively connected to one end of the resistor R34, and the source is connected to a ground terminal. One end of the resistor R33 is respectively electrically connected to the pin SHAKE-PWM1, the pin SHAKE-PWM2, the pin SHAKE-PWM3, and the pin SHAKE-PWM4. The other end of the resistor R33 is electrically connected to the gate of the MOS transistor Q2, and the other end of the resistor R34 is electrically connected to the other end of the resistor R33.
[0009] For further improvement, the gyroscope processing circuit includes a control chip U7. The control chip U7 is provided with pin ends SDA, SCK, SENB, INT1, VDD1, VDDI0, GND, RESV, INT, MCLK, MSDA, and SDO. The pin end GND is connected to the pin end RESV and then grounded.
[0010] The control chip U3 is provided with a pin end MOTION-SCLK, a pin end MOTION-SS, a pin end MOTION-MOSI, a pin end MOTION-MISO, a pin end I2C-SDA, a pin end I2C-SCL, a pin end MOTION-INT0 and a pin end MOTION-INT1; the pin end MOTION-SCLK is connected to the pin end SCK, the pin end MOTION-SS is connected to the pin end SENB, the pin end MOTION-MOSI is connected to the pin end SDA, the pin end MOTION-MISO is connected to the pin end SDO, the pin end I2C-SDA is connected to the pin end MSDA, the pin end I2C-SCL is connected to the pin end MCLK, the pin end MOTION-INT0 is connected to the pin end INT, and the pin end MOTION-INT1 is connected to the pin INT1.
[0011] For further improvement, a first connection point is provided between the pin end MOTION-MOSI and the pin end SDA, between the pin end MOTION-SCLK and the pin end SCK, between the pin end MOTION-MISO and the pin end SDO, between the connection of the pin end MOTION-INT0 and the pin end INT, and between the connection of the pin end MOTION-INT1 and the pin INT1. A resistor R70 is provided at each first connection point. The other ends of the resistor R70, the pin end VDD1, and the pin end VDDI0 are all electrically connected to the pin end VDD.
[0012] For further improvement, a capacitor C28 is provided at each of the pin end VDDI0 and the pin end VDD1, and each capacitor C28 is provided with a second grounding end.
[0013] For further improvement, the control chip U3 is further provided with a pin end FAN-POWER-ON, which is used to connect an external button to control the turning on or off of the drive.
[0014] For further improvement, the power conversion circuit includes a control chip U1, a conversion circuit, and a switch connection circuit. The control chip U1 is a TPS563201DDCR chip, and the switch connection circuit is electrically connected to the control chip U1; the main control circuit is further provided with an RS485 interface end and a fan motor interface end. The RS485 interface end is used for telecommunication connection with an external communication circuit, and the fan motor interface end is used for electrical connection with the fan control circuit of the fan motor to achieve the function of speed control.
[0015] A control method for implementing the anti-collision control system for a shaking head fan includes the following steps:
[0016] S1. Electrical connection and power-on: The anti-collision control system for the oscillating fan is electrically connected to the oscillating motor through the connection circuit, and then electrically connected to an external power supply. After the connection is completed, the anti-collision control system for the oscillating fan is started through the pin FAN-POWER-ON.
[0017] S2. Driving of the oscillating motor: The control chip U3 outputs a switch control signal for driving. The switch control signal drives the first switch signal control circuit, the second switch signal control circuit, the third switch signal control circuit, and the fourth switch signal control circuit to perform a phase-by-phase starting action, thereby driving the oscillating motor to act.
[0018] S3. Angle data acquisition by the gyroscope processing circuit: The oscillating motor performs an oscillating action. The gyroscope processing circuit senses and collects the angle of the oscillating action and feeds the sensed and collected data back to the control chip U3. When the gyroscope processing circuit detects that the angle of the oscillating motor does not change, it is recorded as the wall-touching limit angle. The gyroscope processing circuit feeds the data of the wall-touching limit angle back to the control chip U3, and the control chip U3 performs data recording and processing.
[0019] S4. Completion of anti-collision angle setting: The control chip U3 processes the angle data and feeds back the processed oscillating rotation angle range to the gyroscope processing circuit. The control chip U3 controls the oscillating motor to act within the oscillating rotation angle range and monitors the oscillating action of the oscillating motor through the gyroscope processing circuit. The anti-collision angle is automatically set.
[0020] Step S2 further includes the following steps:
[0021] S2.1. The gyroscope in the gyroscope processing circuit is in a zero state at the beginning. Then, when the oscillating motor acts, the gyroscope records the step data of the oscillating motor. When the oscillating motor encounters an obstacle and its angle does not change, the gyroscope processing circuit records the total step data.
[0022] S2.2. The oscillating motor resets and then swings. The gyroscope processing circuit searches again, and the gyroscope processing circuit attenuates the total step data. If the oscillating motor does not encounter an obstacle, the step data recording of the angle is completed. If the oscillating motor encounters an obstacle and its angle does not change, the gyroscope processing circuit repeats steps S2.1 - S2.2 until no obstacle is encountered.
[0023] Advantages of the present invention: The present invention provides a gyroscope processing circuit for angle sensing and collection of the shaking head motor, and cooperates with the main control circuit to provide functions of data collection and processing, feedback control signal output, monitoring, and drive control to achieve anti-collision and automatic angle finding actions for the shaking head motor. Moreover, real-time detection of the angle of the shaking head motor can be realized, with higher and more timely detection efficiency. When moving to another position, the gyroscope processing circuit corrects the collision position again and cooperates with the main control circuit to achieve automatic detection and adjustment, providing the intelligence of automatic adjustment, and greatly reducing the situation of overloading of the shaking head motor due to long-term collision with obstacles, thereby improving the service life of the shaking head motor.
[0024] The following further describes the present invention in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for use in the embodiments or the description of the prior art. Obviously, the following-described accompanying drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other accompanying drawings can be obtained based on these drawings without creative efforts.
[0026] Figure 1 It is a schematic diagram of the overall module structure of the anti-collision control system for the shaking head fan in this embodiment;
[0027] Figure 2 It is a schematic circuit diagram of the anti-collision control system for the shaking head fan in this embodiment;
[0028] Figure 3 It is a schematic circuit diagram of the power conversion circuit in this embodiment;
[0029] Figure 4 It is a schematic circuit diagram of the main control circuit in this embodiment;
[0030] Figure 5 It is a schematic circuit diagram of the power conversion circuit in this embodiment;
[0031] Figure 6 It is a schematic circuit diagram of the gyroscope processing circuit in this embodiment;
[0032] Figure 7 It is a schematic diagram of the principle of the control method in this embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] The following described is only the preferred embodiment of the present invention, and does not limit the protection scope of the present invention accordingly.
[0034] Embodiment, see the attached Figures 1 to 7, a collision avoidance control system for a swing fan. The collision avoidance control system 1 is electrically connected to a swing motor 2, and the swing motor 2 is a swing motor of a servo driver. The collision avoidance control system 1 includes a power conversion circuit 3, a main control circuit 4, and a gyroscope processing circuit 5. The main control circuit 4 is electrically connected to the power conversion circuit 3 and the gyroscope processing circuit 5. The gyroscope processing circuit 5 is electrically connected to the swing motor 2, and the gyroscope processing circuit 5 is used for angle sensing and collection of the swing motor 2. The main control circuit 4 is used for data collection and processing, feedback control signal output, monitoring, and drive control. The power conversion circuit 3 is used for power conversion and supply, thereby providing a 3.3V voltage power supply and a 12V voltage power supply. The main control circuit 4 is provided with a swing motor connection circuit 6. The gyroscope processing circuit 5 is provided with a gyroscope.
[0035] The power conversion circuit 3 is provided with a pin end VCC and a pin end VDD. The main control circuit 4 includes a control chip U3. The control chip U3 is provided with a plurality of motor drive ends 40, and the motor drive ends 40 are electrically connected to the swing motor connection circuit 6. Each of the motor drive ends 40 includes a pin end SHAKE-PWM1, a pin end SHAKE-PWM2, a pin end SHAKE-PWM3, and a pin end SHAKE-PWM4.
[0036] The swing motor connection circuit 6 includes a first switch signal control circuit 60, a second switch signal control circuit 61, a third switch signal control circuit 62, a fourth switch signal control circuit 63, and an electrical plug-in end 64. The first switch signal control circuit 60 is connected to the second switch signal control circuit 61, the third switch signal control circuit 62, and the fourth switch signal control circuit 63. The first switch signal control circuit 60 is electrically connected to the pin end SHAKE-PWM1. The second switch signal control circuit is electrically connected to the pin end SHAKE-PWM2. The third switch signal control circuit 62 is electrically connected to the pin end SHAKE-PWM3. The fourth switch signal control circuit is electrically connected to the pin end SHAKE-PWM4. The electrical plug-in end 64 is provided with a first pin end, a second pin end, a third pin end, a fourth pin end, and a fifth pin end. The first pin end, the second pin end, the third pin end, and the fourth pin end are respectively electrically connected to the first switch signal control circuit 60, the second switch signal control circuit 61, the third switch signal control circuit 62, and the fourth switch signal control circuit 63. The fifth pin end is electrically connected to the pin end VCC of the power conversion circuit 3.
[0037] The first switch signal control circuit 60, the second switch signal control circuit 61, the third switch signal control circuit 62, and the fourth switch signal control circuit 63 of the power conversion circuit 3 each include a resistor R33, a resistor R34, and an MOS transistor Q2. The drain of the MOS transistor Q2 is electrically connected to the first pin end, the second pin end, the third pin end, and the fourth pin end respectively; the source of the MOS transistor Q2 is connected to one end of the resistor R34 respectively, and the source is connected to a ground terminal; one end of the resistor R33 is electrically connected to the pin end SHAKE-PWM1, the pin end SHAKE-PWM2, the pin end SHAKE-PWM3, and the pin end SHAKE-PWM4 respectively, the other end of the resistor R33 is electrically connected to the gate of the MOS transistor Q2, and the other end of the resistor R34 is electrically connected to the other end of the resistor R33.
[0038] The gyroscope processing circuit 5 includes a control chip U7; the control chip U7 is provided with pin ends SDA, SCK, SENB, INT1, VDD1, VDDI0, GND, RESV, INT, MCLK, MSDA, and SDO; the pin end GND is connected to the pin end RESV and then grounded.
[0039] The control chip U3 is provided with pin ends MOTION-SCLK, MOTION-SS, MOTION-MOSI, MOTION-MISO, I2C-SDA, I2C-SCL, MOTION-INT0, and MOTION-INT1; the pin end MOTION-SCLK is connected to the pin end SCK, the pin end MOTION-SS is connected to the pin end SENB, the pin end MOTION-MOSI is connected to the pin end SDA, the pin end MOTION-MISO is connected to the pin end SDO, the pin end I2C-SDA is connected to the pin end MSDA, the pin end I2C-SCL is connected to the pin end MCLK, the pin end MOTION-INT0 is connected to the pin end INT, and the pin end MOTION-INT1 is connected to the pin INT1.
[0040] There are first connection points between the pin MOTION-MOSI and the pin SDA, between the pin MOTION-SCLK and the pin SCK, between the pin MOTION-MISO and the pin SDO, between the pin MOTION-INT0 and the connection of the pin INT, and between the pin MOTION-INT1 and the connection of the pin INT1. Resistors R70 are provided at the first connection points. The other ends of the resistors R70, the pin VDD1, and the pin VDDI0 are all electrically connected to the pin VDD.
[0041] Capacitors C28 are provided at the pin VDDI0 and the pin VDD1, and the capacitors C28 each have a second ground terminal.
[0042] The control chip U3 also has a pin FAN-POWER-ON, which is used to connect to an external button to control the turning on or off of the drive.
[0043] The power conversion circuit 3 includes a control chip U1, a conversion circuit, and a switch connection circuit. The control chip U1 is a TPS563201DDCR chip, and the switch connection circuit is electrically connected to the control chip U1. The main control circuit 4 also has an RS485 interface terminal and a fan motor interface terminal. The RS485 interface terminal is used for telecommunication connection with an external communication circuit, and the fan motor interface terminal is used for electrical connection with the fan control circuit of the fan motor to achieve the function of speed control.
[0044] A control method for implementing the anti-collision control system 1 for a shaking head fan includes the following steps:
[0045] S1. Electrical connection and power-on: The anti-collision control system 1 for the shaking head fan is electrically connected to the shaking head motor 2 through the shaking head motor connection circuit 6, and then electrically connected to an external power supply. After the connection is completed, the anti-collision control system 1 for the shaking head fan is started through the pin FAN-POWER-ON.
[0046] S2. Driving of the shaking head motor 2: The control chip U3 outputs a switch control signal for driving. The switch control signal drives the first switch signal control circuit 60, the second switch signal control circuit 61, the third switch signal control circuit 62, and the fourth switch signal control circuit 63 to perform a phase-by-phase starting action, thereby driving the shaking head motor 2 to act.
[0047] S3. The gyroscope processing circuit 5 collects angular data: The shaking head motor 2 performs a shaking head action. The gyroscope processing circuit 5 senses and collects the angle of the shaking head action, and feeds the sensed and collected data back to the control chip U3. When the gyroscope processing circuit 5 detects that the angle of the shaking head motor 2 does not change, it is recorded as the collision limit angle. The gyroscope processing circuit 5 feeds the data of the collision limit angle back to the control chip U3, and the control chip U3 performs data recording and processing;
[0048] S4. The anti-collision angle setting is completed: The control chip U3 processes the angular data, and feeds back the processed shaking head rotation angle range to the gyroscope processing circuit 5. The control chip U3 controls the shaking head motor 2 to act within the shaking head rotation angle range, and monitors the shaking action of the shaking head motor 2 through the gyroscope processing circuit 5, and the anti-collision angle is automatically set.
[0049] The S2 further includes the following steps:
[0050] S2.1. The gyroscope in the gyroscope processing circuit 5 is in a zero state at the beginning. Then, when the shaking head motor 2 acts, the gyroscope records the step data of the shaking head motor 2. When the shaking head motor 2 encounters an obstacle, its angle does not change, and the gyroscope processing circuit 5 records the total step data;
[0051] S2.2. The shaking head motor 2 resets and then swings. The gyroscope processing circuit 5 searches again, and the gyroscope processing circuit 5 attenuates the total step data. If the shaking head motor 2 does not encounter an obstacle, the step data recording of the angle is completed; if the shaking head motor 2 encounters an obstacle and its angle does not change, the gyroscope processing circuit 5 repeats steps S2.1 - S2.2 until no obstacle is encountered.
[0052] By setting the gyroscope processing circuit to sense and collect the angle of the shaking head motor, and cooperating with the data collection and processing, feedback control signal output, monitoring and drive control functions provided by the main control circuit, the present invention realizes the anti-collision and automatic angle finding action of the shaking head motor, and can realize the real-time detection of the angle of the shaking head motor, with higher and more timely detection efficiency. When moving to another position, the gyroscope processing circuit corrects the collision position again and cooperates with the main control circuit to realize automatic detection and adjustment, providing the intelligence of automatic adjustment, and greatly reducing the situation that the shaking head motor is overloaded due to long-term collision with obstacles, and improving the service life of the shaking head motor.
[0053] The present invention is not limited to the above embodiments. Other anti-collision control systems and control methods for oscillating fans obtained by adopting the same or similar structures, devices, processes or methods as those of the above embodiments of the present invention are all within the protection scope of the present invention.
Claims
1. An anti-collision control system for an oscillating fan, the anti-collision control system being electrically connected to an oscillating motor, characterized in that: The anti-collision control system includes a power conversion circuit, a main control circuit, and a gyroscope processing circuit; the main control circuit is electrically connected to the gyroscope processing circuit of the power conversion circuit; the gyroscope processing circuit is electrically connected to the shaking motor, and the gyroscope processing circuit is used for angle sensing and collection of the shaking motor; the main control circuit is used for data collection and processing, feedback control signal output, monitoring and drive control; the power conversion circuit is used for power conversion and supply, thereby providing 3.3V voltage power supply and 12V voltage power supply; the main control circuit is provided with a shaking motor connection circuit; the gyroscope processing circuit is provided with a gyroscope.
2. The anti-collision control system for an oscillating fan according to claim 1, characterized in that: The power conversion circuit is provided with a pin terminal VCC and a pin terminal VDD; the main control circuit includes a control chip U3, and the control chip U3 is provided with a plurality of motor drive terminals, and the motor drive terminals are electrically connected to the shaking motor connection circuit; the motor drive terminals each include a pin terminal SHAKE-PWM1, a pin terminal SHAKE-PWM2, a pin terminal SHAKE-PWM3 and a pin terminal SHAKE-PWM4; The shaking motor connection circuit includes a first switch signal control circuit, a second opening signal control circuit, a third switch signal control circuit, a fourth switch signal control circuit and an electrical plug-in terminal. The first switch signal control circuit is electrically connected to the second opening signal control circuit, the third switch signal control circuit and the fourth switch signal control circuit. The first switch signal control circuit is electrically connected to the pin end SHAKE-PWM1, the second switch signal control circuit is electrically connected to the pin end SHAKE-PWM2, the third switch signal control circuit is electrically connected to the pin end SHAKE-PWM3, and the fourth switch signal control circuit is electrically connected to the pin end SHAKE-PWM4; the electrical plug-in terminal is provided with a first pin end, a second pin end, a third pin end, a fourth pin end and a fifth pin end. The first pin end, the second pin end, the third pin end and the fourth pin end are electrically connected to the first switch signal control circuit, the second opening signal control circuit, the third switch signal control circuit and the fourth switch signal control circuit respectively; the fifth pin end is electrically connected to the pin end VCC of the power conversion circuit.
3. The anti-collision control system and control method for an oscillating fan according to claim 2, characterized in that: The first switch signal control circuit, the second opening signal control circuit, the third switch signal control circuit and the fourth switch signal control circuit of the power conversion circuit all include a resistor R33, a resistor R34 and a MOS tube Q2, the drain of the MOS tube Q2 is electrically connected to the first pin end, the second pin end, the third pin end and the fourth pin end respectively; the source of the MOS tube Q2 is connected to one end of the resistor R34 respectively, and the source is connected to the ground end; one end of the resistor R33 is electrically connected to the pin end SHAKE-PWM1, the pin end SHAKE-PWM2, the pin end SHAKE-PWM3 and the pin end SHAKE-PWM4 respectively, the other end of the resistor R33 is electrically connected to the gate of the MOS tube Q2, and the other end of the resistor R34 is electrically connected to the other end of the resistor R33.
4. The anti-collision control system for an oscillating fan according to claim 3, characterized in that: The gyroscope processing circuit includes a control chip U7; the control chip U7 is provided with a pin terminal SDA, a pin terminal SCK, a pin terminal SENB, a pin terminal INT1, a pin terminal VDD1, a pin terminal VDDI0, a pin terminal GND, a pin terminal RESV, a pin terminal INT, a pin terminal MCLK, a pin terminal MSDA, and a pin terminal SDO; the pin terminal GND is connected to the pin terminal RESV and is grounded; The control chip U3 is provided with pin terminals MOTION-SCLK, MOTION-SS, MOTION-MOSI, MOTION-MISO, I2C-SDA, I2C-SCL, MOTION-INT0 and MOTION-INT1; the pin terminal MOTION-SCLK is connected to the pin terminal SCK, the pin terminal MOTION-SS is connected to the pin terminal SENB, the pin terminal MOTION-MOSI is connected to the pin terminal SDA, the pin terminal MOTION-MISO is connected to the pin terminal SDO, the pin terminal I2C-SDA is connected to the pin terminal MSDA, the pin terminal I2C-SCL is connected to the pin terminal MCLK, the pin terminal MOTION-INT0 is connected to the pin terminal INT, and the pin terminal MOTION-INT1 is connected to the pin INT1.
5. The anti-collision control system for an oscillating fan according to claim 4, characterized in that: A first connection point is provided between the pin end MOTION-MOSI and the pin end SDA, between the pin end MOTION-SCLK and the pin end SCK, between the pin end MOTION-MISO and the pin end SDO, between the pin end MOTION-INT0 and the pin end INT, and between the pin end MOTION-INT1 and the pin INT1. A resistor R70 is provided at the first connection point. The other end of the resistor R70, the pin end VDD1 and the pin end VDDI0 are all electrically connected to the pin end VDD.
6. The anti-collision control system for an oscillating fan according to claim 5, characterized in that: The pin end VDDI0 and the pin end VDD1 are both provided with a capacitor C28, and the capacitor C28 is also provided with a second ground terminal.
7. The anti-collision control system for an oscillating fan according to claim 6, characterized in that: The control chip U3 is also provided with a pin terminal FAN-POWER-ON, and the pin terminal FAN-POWER-ON is used to connect an external button to control the on or off action of the drive.
8. The anti-collision control system for an oscillating fan according to claim 7, characterized in that: The power conversion circuit includes a control chip U1, a conversion circuit and a switch connection circuit. The control chip U1 is a TPS563201DDCR chip. The switch connection circuit is electrically connected to the control chip U1. The main control circuit is also provided with an RS485 interface and a fan motor interface. The RS485 interface is used for telecommunication connection with an external communication circuit, and the fan motor interface is used for electrical connection with a fan motor control circuit to achieve speed control.
9. A control method for implementing the anti-collision control system for an oscillating fan according to any one of claims 1 to 8, characterized in that: It includes the following steps: S1. Electrical connection and power on: the anti-collision control system for the oscillating fan is electrically connected to the oscillating motor through the oscillating motor connection circuit, and then electrically connected to the external power supply. After the connection is completed, the anti-collision control system for the oscillating fan is started through the pin terminal FAN-POWER-ON; S2. Driving of the shaking motor: the control chip U3 outputs a switch control signal driving, and the switch control signal drives the first switch signal control circuit, the second opening signal control circuit, the third switch signal control circuit, and the fourth switch signal control circuit to start the phase by phase, thereby driving the shaking motor to move; S3. The gyroscope processing circuit collects angle data: the shaking motor performs shaking motion, the gyroscope processing circuit senses and collects the angle of the shaking motion, and feeds back the sensed and collected data to the control chip U3. When the gyroscope processing circuit detects that the angle of the shaking motor does not change, it is recorded as the wall-impacting limit angle. The gyroscope processing circuit feeds back the data of the wall-impacting limit angle to the control chip U3, and the control chip U3 performs data recording and processing; S4. Anti-collision angle setting is completed: the control chip U3 processes the angle data, and feeds back the processed shaking angle range to the gyroscope processing circuit. The control chip U3 controls the shaking motor to move within the shaking angle range, and monitors the shaking action of the shaking motor through the gyroscope processing circuit. The anti-collision angle is automatically set.
10. The control method according to claim 9, characterized in that: The S2 further comprises the following steps: S2.
1. The gyroscope in the gyroscope processing circuit is initially reset to zero state, and then when the shaking motor is in motion, the gyroscope records the step data of the shaking motor. When the shaking motor encounters an obstacle, its angle does not change, and the gyroscope processing circuit records the total step data; S2.
2. The shaking motor is reset and then swings, the gyroscope processing circuit searches again, and the gyroscope processing circuit attenuates the total step data. If the shaking motor does not hit an obstacle, the step data recording of the angle is completed; if the shaking motor hits an obstacle, its angle does not change, and the gyroscope processing circuit repeats steps S2.1-S2.2 until it does not hit an obstacle.