Summary of the invention
The purpose of the present invention is to provide a kind of smart home fan control system and its control methods, to solve above-mentioned back
The problem of being proposed in scape technology.
To achieve the above object, the invention provides the following technical scheme:
A kind of smart home fan control system controls fan to designated position, including controller, drive by cell phone application
Dynamic modules A, drive module B, linear motor, steering motor, obstacle detection module, power module and wireless module, the control
Device is separately connected drive module A, drive module B, obstacle detection module, power module and wireless module, and drive module A is also connected with
Direct motor, drive module B are also connected with steering motor;The wireless module is connected to cell phone application by family wifi.
As a further solution of the present invention: the linear motor is for controlling fan linear motion.
As a further solution of the present invention: the steering motor turns during linear motion for controlling fan
It is curved.
As a further solution of the present invention: the controller uses PIC series monolithic.
As a further solution of the present invention: the controller receives the control that cell phone application issues by wireless module and refers to
It enables, and the position that decision instruction issues, control drive module A and drive module B respectively drives linear motor and steering motor control
Fan processed is moved to the position that described instruction issues.
As a further solution of the present invention: the control instruction that the cell phone application issues includes automatic mode and remote control mould
Formula, the automatic mode refer to: during fan is moved to the position that instruction issues, the barrier of obstacle detection module feedback surrounding enviroment
Hinder principle condition and feed back to controller, controller adjusts the working condition of steering motor and linear motor in time, to avoid hindering
Hinder object, the automatic position for reaching instruction and issuing;The remote control mode refers to: by the directionkeys at cell phone application interface, controlling fan
It is mobile.
As a further solution of the present invention: the controller position that decision instruction issues by the following method: working as hand
When machine APP issues the instruction for needing fan mobile, the locating module in mobile phone is activated, and sends position by the wireless module
Information is to controller.
As further scheme of the invention: power module is realized by built-in lithium battery in the present invention, in this way, just keeping away
Exempt from have power supply line, it has not been convenient to which mobile disadvantage, wherein lithium battery includes charge circuit.
Compared with prior art, the beneficial effects of the present invention are: smart home fan control system of the present invention and its control
Method can be realized the intelligent mobile of fan, controls fan by mobile phone and is moved to designated position, eliminates people's manpower repeatedly
The worry of fan is dragged, intelligence degree is high, is adapted to the development of today's society, has great market prospects.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Please refer to Fig. 1~3, in the embodiment of the present invention, a kind of smart home fan control system is controlled by cell phone application
Fan to designated position, including controller, drive module A, drive module B, linear motor, steering motor, obstacle detection module,
Power module and wireless module, the controller are separately connected drive module A, drive module B, obstacle detection module, power supply mould
Block and wireless module, drive module A are also connected with direct motor, and drive module B is also connected with steering motor;The wireless module passes through
Family wifi is connected to cell phone application.
The linear motor is for controlling fan linear motion.
The steering motor is turned during linear motion for controlling fan.
The controller uses PIC series monolithic.
The controller receives the control instruction that cell phone application issues, and the position that decision instruction issues by wireless module,
Control drive module A and drive module B respectively drives the position that linear motor and steering motor control fan are issued to described instruction
Set movement.
The control instruction that the cell phone application issues includes automatic mode and remote control mode, and the automatic mode refers to: fan
During the position issued to instruction moves, the barrier situation of obstacle detection module feedback surrounding enviroment simultaneously feeds back to controller,
Controller adjusts the working condition of steering motor and linear motor in time, so that avoiding obstacles, automatic to reach what instruction issued
Position;The remote control mode refers to: by the directionkeys at cell phone application interface, it is mobile to control fan.
The controller position that decision instruction issues by the following method: fan movement is needed when cell phone application issues
When instruction, the locating module in mobile phone is activated, and sends location information to controller by the wireless module.
Referring to Fig. 3, on fan structure in the present invention with existing fan the difference is that: on the pedestal 4 of fan
3 wheels are installed, wherein wheel 2 and wheel 3 are controlled by linear motor, and wheel 1 is controlled by steering motor.
Referring to Fig. 1, Fig. 1 is the control principle block diagram of control system of the present invention, including controller, drive module A, driving
Module B, linear motor, steering motor, obstacle detection module, power module and wireless module, the controller are separately connected drive
Dynamic modules A, drive module B, obstacle detection module, power module and wireless module, drive module A are also connected with direct motor, drive
Dynamic model block B is also connected with steering motor;The wireless module is connected to cell phone application by family wifi;The linear motor is used for
Fan linear motion is controlled, the steering motor is turned during linear motion for controlling fan;The controller is logical
It crosses wireless module and receives the control instruction that cell phone application issues, and the position that decision instruction issues, control drive module A and driving
Module B respectively drives linear motor and steering motor control fan is moved to the position that described instruction issues.The cell phone application hair
Control instruction out includes automatic mode and remote control mode, and the automatic mode refers to: fan is moved to the position that instruction issues
Period, the barrier situation of obstacle detection module feedback surrounding enviroment simultaneously feed back to controller, and controller adjusts steering electricity in time
The working condition of machine and linear motor, thus avoiding obstacles, the automatic position for reaching instruction and issuing;The remote control mode is
Refer to: by the directionkeys at cell phone application interface, it is mobile to control fan.The controller by the following method decision instruction issue
Position: when cell phone application issues the instruction for needing fan mobile, the locating module in mobile phone is activated, and passes through the wireless mould
Block sends location information to controller.
Fan of the present invention, which such as is also equipped with conventional speed regulation, shakes the head at control functions, this part, can use existing technology
It realizes, just no longer describes herein.
Obstacle detection module and specific avoidance obstacle method of the invention, can be using class in existing intelligent sweeping machine
As control, also no longer describe herein.
Power module is realized by built-in lithium battery in the present invention, in this way, having avoided power supply line, it has not been convenient to mobile
Disadvantage, wherein lithium battery includes charge circuit, and charging circuit includes diode VD1, fuse RF, inductance L, transformer T, capacitor
C1, resistance R1 and chip U1, the diode VD1 anode connect 220V alternating current one end, and diode VD1 cathode connects fuse
RF, the fuse RF other end connect inductance L, and the inductance L other end is separately connected capacitor C1 and transformer T coil L1, capacitor C1 is another
One end is separately connected diode VD2 anode, resistance R4 and capacitor C6, the resistance R4 other end and is separately connected the capacitor C6 other end and electricity
R5 is hindered, the resistance R5 other end connects diode VD6 cathode, and diode VD6 anode is separately connected chip U1 pin S, capacitor C2, electricity
Hold C5, diode VD3 anode, resistance R2, capacitor C3 and capacitor C4, the capacitor C5 other end and is separately connected chip U1 pin FB, electricity
The resistance R2 other end and resistance R1, the resistance R1 other end are separately connected the capacitor C3 other end and transformer T1 coil L3, transformer T line
It encloses the L3 other end and connects diode VD3 cathode, the capacitor C4 other end is separately connected diode VD5 anode, resistance R3, capacitor
C5 and transformer T coil L2, the transformer T coil L2 other end connect diode VD4 anode, and diode VD4 cathode is separately connected
The capacitor C5 other end, the resistance R3 other end, diode VD5 cathode and output end vo, the chip U1 use LNK564P.
Alternating current 220V input voltage first passes around VD1 and makees halfwave rectifier, then extremely low-loss by being made of L, C1
Input filtering device filters out interference, and RF is fuse, it can not only replace cartridge fuse to play the role of current-limiting protection, can also reduce defeated
The loss for entering grade, since LNK564P has frequency jitter characteristic, input terminal is not needed using electromagnetic interface filter, only with one
Input filter capacitor C1 can be met the requirements, and VD1 uses 1N4937 type silicon diode, resistance R4, R5, capacitor C6 and diode
VD6 constitutes clamping protective circuit, it is ensured that the MOSFET in chip U1 will not be breakdown, and output rectifying tube VD4 uses UF4002 type
1A/400V Ultrafast recovery diode, C5 are output filter capacitor, and R3 is fictitious load, for limiting output end vo electricity when zero load
Pressure will not be excessively high, and no-load power consumption is no more than 140mW.
The output voltage of transformer coil L3 first passes through VD3, C3 rectifying and wave-filtering, after R1 and R2 partial pressure, gives
LNK564P provides feedback voltage.LNK564P is worked in nominal load in constant voltage region, and the voltage UFB at the end FB is maintained
1.69V.UFB starts to reduce when overload, and electric power output voltage decreases.At the same time, internal oscillation frequency also linearly drops
It is low, until reaching the 50% of original frequency, when FB closes service intermittent lower than power supply when being restarted automatically voltage 0.8V first
800ms is closed, 100ms is then turned on.This process will be repeated continuously, until UFB is more than to be restarted automatically voltage again.Work as output
When holding Vo that short trouble occurs, average output current can be reduced using function is restarted automatically, keeps average short circuit output electric current far small
In 1A, if the capacity of C2 is increased to 0.47uF or higher, no-load loss can be further decreased.
In conclusion smart home fan control system of the present invention and its control method, can be realized the intelligent sliding of fan
It is dynamic, fan is controlled by mobile phone and is moved to designated position, eliminates the worry of people's manpower dragging fan repeatedly, intelligence degree
Height is adapted to the development of today's society, has great market prospects.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiments being understood that.