The content of the invention
It is an object of the invention to provide a kind of smart home fan control system and its control method, to solve the above-mentioned back of the body
The problem of being proposed in scape technology.
To achieve the above object, the present invention provides following technical scheme:
A kind of smart home fan control system, fan is controlled to specified location, including controller, drive by cell phone application
Dynamic modules A, drive module B, linear electric motors, steering motor, obstacle detection module, power module and wireless module, the control
Device connects drive module A, drive module B, obstacle detection module, power module and wireless module respectively, 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 the further scheme of the present invention:The linear electric motors are used to control fan to move along a straight line.
As the further scheme of the present invention:The steering motor is used to control fan during linear motion to turn
It is curved.
As the further scheme of the present invention:The controller uses PIC series monolithics.
As the further scheme of the present invention:The control that the controller is sent by wireless module reception cell phone application refers to
Order, and the position that decision instruction is sent, control drive module A and drive module B drive linear electric motors and steering motor control respectively
Fan processed instructs the position sent to move to described.
As the further scheme of the present invention:The control instruction that the cell phone application is sent includes automatic mode and remote control mould
Formula, the automatic mode refer to:During fan moves to the position that instruction is sent, the barrier of obstacle detection module feedback surrounding enviroment
Hinder principle condition and feed back to controller, controller adjusts steering motor and the working condition of linear electric motors in time, so as to avoid hindering
Hinder thing, the automatic position for reaching instruction and sending;The remote control mode refers to:By the directionkeys at cell phone application interface, fan is controlled
It is mobile.
As the further scheme of the present invention:The controller position that decision instruction is sent by the following method:Work as hand
When machine APP sends the instruction for needing fan to move, the locating module activation in mobile phone, and position is sent 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, so, is just kept away
Exempt from have power line, it has not been convenient to which the shortcomings that moving, wherein lithium battery includes charge circuit.
Compared with prior art, the beneficial effects of the invention are as follows:Smart home fan control system of the present invention and its control
Method, the intelligent mobile of fan can be realized, specified location is moved to by mobile phone control fan, eliminate 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.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Refer to Fig. 1~3, in the embodiment of the present invention, a kind of smart home fan control system, controlled by cell phone application
Fan to specified location, including controller, drive module A, drive module B, linear electric motors, steering motor, obstacle detection module,
Power module and wireless module, the controller connect drive module A, drive module B, obstacle detection module, power supply mould respectively
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 electric motors are used to control fan to move along a straight line.
The steering motor is used to control fan to turn during linear motion.
The controller uses PIC series monolithics.
The control instruction that the controller is sent by wireless module reception cell phone application, and the position that decision instruction is sent,
Control drive module A and drive module B drives linear electric motors and steering motor to control fan to the position for instructing and sending respectively
Put motion.
The control instruction that the cell phone application is sent includes automatic mode and remote control mode, and the automatic mode refers to:Fan
During being moved to the position that instruction is sent, the barrier situation of obstacle detection module feedback surrounding enviroment simultaneously feeds back to controller,
Controller adjusts steering motor and the working condition of linear electric motors in time, automatic to reach what instruction was sent so as to avoiding obstacles
Position;The remote control mode refers to:Pass through the directionkeys at cell phone application interface, control fan movement.
The controller position that decision instruction is sent by the following method:Need what fan moved when cell phone application is sent
During instruction, the locating module activation in mobile phone, and positional information is sent to controller by the wireless module.
Referring to Fig. 3, the difference on fan structure in the present invention with existing fan is:On the base 4 of fan
3 wheels are installed, wherein wheel 2 and wheel 3 is controlled by linear electric motors, 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 electric motors, steering motor, obstacle detection module, power module and wireless module, the controller connect drive respectively
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 electric motors are used for
Fan linear motion is controlled, the steering motor is used to control fan to turn during linear motion;The controller leads to
Cross wireless module and receive the control instruction that cell phone application is sent, and the position that decision instruction is sent, control drive module A and driving
Module B drives linear electric motors and steering motor to control fan to instruct the position sent to move to described respectively.The cell phone application hair
The control instruction gone out includes automatic mode and remote control mode, and the automatic mode refers to:Fan moves to the position that instruction is sent
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 electric motors, so as to avoiding obstacles, the automatic position for reaching instruction and sending;The remote control mode is
Refer to:Pass through the directionkeys at cell phone application interface, control fan movement.Decision instruction is sent by the following method for the controller
Position:When cell phone application sends the instruction for needing fan to move, the locating module activation in mobile phone, and pass through the wireless mould
Block sends positional information to controller.
Fan of the present invention, which such as is also equipped with conventional speed governing, shaken the head at control function, this part, can use existing technology
Realize, just no longer describe herein.
The obstacle detection module and specific avoidance obstacle method of the present invention, class in existing intelligent sweeping can be used
As control, also no longer describe herein.
Power module is realized by built-in lithium battery in the present invention, so, has avoided power line, it has not been convenient to mobile
Shortcoming, wherein lithium battery include charge circuit, and charging circuit includes diode VD1, fuse RF, inductance L, transformer T, electric capacity
C1, resistance R1 and chip U1, described diode VD1 positive poles connection 220V alternating currents one end, diode VD1 negative poles connection fuse
RF, fuse the RF other end connect inductance L, and the inductance L other ends connect electric capacity C1 respectively and transformer T coil L1, electric capacity C1 is another
One end connects diode VD2 positive poles, resistance R4 and electric capacity C6 respectively, and the resistance R4 other ends connect the electric capacity C6 other ends and electricity respectively
R5, resistance R5 other ends connection diode VD6 negative poles are hindered, diode VD6 positive poles connect chip U1 pins S, electric capacity C2, electricity respectively
Hold C5, diode VD3 positive poles, resistance R2, electric capacity C3 and electric capacity C4, electric capacity the C5 other end and connect chip U1 pins FB, electricity respectively
The resistance R2 other ends and resistance R1, resistance the R1 other end connect the electric capacity C3 other ends and transformer T1 coil L3, transformer T lines respectively
L3 other ends connection diode VD3 negative poles are enclosed, the electric capacity C4 other ends connect diode VD5 positive poles, resistance R3, electric capacity respectively
C5 and transformer T coil L2, transformer T coil the L2 other end connect diode VD4 positive poles, and diode VD4 negative poles connect respectively
The electric capacity C5 other ends, the resistance R3 other ends, diode VD5 negative poles 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 up of L, C1
Input filtering device filters out interference, and RF is fuse, and it can not only play current-limiting protection effect instead of cartridge fuse, can also reduce defeated
Enter the loss of level, because LNK564P has frequency jitter characteristic, therefore input need not use electromagnetic interface filter, only with one
Input filter capacitor C1 can meet to require, VD1 uses 1N4937 type silicon diodes, resistance R4, R5, electric capacity C6 and diode
VD6 forms clamping protective circuit, it is ensured that the MOSFET in chip U1 will not be breakdown, and output rectifying tube VD4 uses UF4002 types
1A/400V Ultrafast recovery diodes, C5 are output filter capacitor, and R3 is fictitious load, output end vo electricity during for limiting zero load
Pressure will not be too high, and no-load power consumption is no more than 140mW.
Transformer coil L3 output voltage first passes through VD3, C3 rectifying and wave-filtering, then after R1 and R2 partial pressures, gives
LNK564P provides feedback voltage.LNK564P is operated in constant voltage region in the case of nominal load, and the voltage UFB at FB ends is maintained
1.69V.UFB starts to reduce during overload, and electric power output voltage decreases.At the same time, internal oscillation frequency also linearly drops
It is low, until reach the 50% of original frequency, when FB less than it is automatic restart voltage 0.8V when power supply by service intermittent, i.e., close first
800ms is closed, is then turned on 100ms.This process will be repeated continuously, untill UFB exceedes and restarts voltage automatically again.Work as output
When holding Vo generation short troubles, using average output current can be reduced by restarting function automatically, make average short circuit output current far small
In 1A, if C2 capacity is increased into 0.47uF or higher, open circuit loss can be further reduced.
In summary, smart home fan control system of the present invention and its control method, the intelligent sliding of fan can be realized
It is dynamic, specified location is moved to by mobile phone control fan, eliminates the worry of people's manpower dragging fan repeatedly, intelligence degree
Height, it is adapted to the development of today's society, there are great market prospects.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of 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, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.
Moreover, it will be appreciated that although the present specification is described in terms of embodiments, not each embodiment is only wrapped
Containing an independent technical scheme, this narrating mode of specification is only that those skilled in the art should for clarity
Using specification as an entirety, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
It is appreciated that other embodiment.