Intelligent door and window control system
The present invention relates to Smart Home technical field, especially a kind of intelligent door and window control system for realizing remotely control.
With the progress of science and technology, the improvement of people's living standards, the use of household electrical appliance are more widespread, while people are urgent
The management of needs efficient family life.Thus people are proposed more to the intelligent, security of modern house system, convenience
High requirement.Along with the communication technology, electronic technology, control technology fast development, various smart homes report to the police and control system
System arises at the historic moment.
System intelligent remote control is carried out currently without for door and window, be therefore badly in need of one kind and realize door and window Based Intelligent Control system
Content of the invention
The present invention is proposed to overcome the deficiencies in the prior art.
In order to solve above-mentioned technical problem, basic technical scheme proposed by the present invention is：A kind of intelligent door and window control system
Based Intelligent Control end, server, router and door and window control terminal, the Based Intelligent Control end send control to remote port
Instruction is simultaneously transmitted to door and window control terminal through router, and the door and window control terminal is by the relevant information for detecting via route
Device is transmitted to server, and is transmitted to Based Intelligent Control end after treatment；
Wherein, the door and window control terminal includes MCU controller, and the MCU controller is connected with signal and receives/transmission group
Part, door and window control machinery component, door and window detection components, door and window position detection components and anti-theft components；
Signal reception/the sending assembly is for receiving control information and outwardly sending information；
The door and window control machinery component includes the door and window of circuit for controlling motor, drive mechanism and connection drive mechanism, institute
Circuit for controlling motor connection drive mechanism is stated, for controlling the action of drive mechanism to realize the control of door and window；
Signal reception/the sending assembly is connected to MCU controller by SPI or UART interface；
The door and window detection components include the first current detection circuit, signal amplification circuit and the AD conversion being sequentially connected electrically
Circuit, the A/D convertor circuit are connected to the MCU controller, if MCU controller is received being transmitted by the first current detection circuit
Current information be then judged to that drive mechanism in operating condition, is otherwise at off working state；
Door and window position detection components include the second current detection circuit and signaling conversion circuit, the second electric current inspection
Slowdown monitoring circuit obtains the secondary signal of the current duration by drive mechanism, and the secondary signal is changed through signaling conversion circuit
After transmit to MCU controller, the MCU controller is compared with comparison information according to the corresponding current duration of secondary signal
And the positional information of door and window is obtained, the comparative information is curent change table, and the process for obtaining the curent change table is：First
The position of now door and window is recorded during secondary only electricity, is then once again powered up and is obtained corresponding position after stopping electricity and draw；
The anti-theft components include the magnetic alarm sensor on door and window, the letter that the magnetic alarm sensor will be obtained
Number the MCU controller is connected to by the I/O interface of the MCU controller.
Further, the signal reception/sending assembly is 2G or 3G or 4G signaling module or WIFI signal module.
Further, the drive mechanism is servomotor.
The invention has the beneficial effects as follows：
The intelligent door and window Control System Design of the present invention is to be sent to long-range door and window control terminal by Based Intelligent Control end
Control signal is to realize the remotely control to door and window；Which has, and system design is simple, super low-power consumption, being capable of large-scale use.
Description of the drawings
Fig. 1 is the schematic diagram of the intelligent door and window control system of the present invention；
Fig. 2 is the structural representation of the door and window control terminal of Fig. 1.
Below with reference to accompanying drawing 1 to accompanying drawing 2, the present invention is described further, but should not limit the present invention's with this
The intelligent door and window control system of the present invention includes the control of Based Intelligent Control end 10, server 20, router 30 and door and window
Terminal 40.Described Based Intelligent Control end 10 is communicated to connect with server 20 by internet, and server 20 is by internet and road
Communicated to connect by device 30, the router 30 constitutes an Internet of Things LAN with door and window control terminal 20.
In the present invention, Based Intelligent Control end 10 can make smart mobile phone, panel computer etc..Corresponding by being input into or selecting
Control signal can achieve to 20 transmission of control signals of server.
Specifically, server 20 can realize the control of multiple door and window systems with 30 network connection of multiple routers with this.
Each router 30 can form a little Internet of things system.
Specifically, door and window control terminal 40 includes MCU controller 401, and the MCU controller 401 is connected with signal and connects and transmits/receives
Sending component 402, door and window control machinery component 403, door and window detection components 404, door and window position detection components 405 and anti-theft components；
Reception/sending assembly 402 is for receiving control information and outwardly sending information；The signal receives/transmission group
Part 402 is connected to MCU controller 401 by SPI or UART interface；Signal reception/the sending assembly 402 can be 2G or 3G
Or 4G signaling module or WIFI signal module.Signal reception/the sending assembly 402 defines little Internet of Things system with router 30
Door and window control machinery component 403 includes circuit for controlling motor 4031, drive mechanism 4032 and connection drive mechanism
4032 door and window, the circuit for controlling motor 4031 connect drive mechanism 4032, for control the action of drive mechanism 4032 with
Realize the control of door and window.Wherein, drive mechanism 4032 is servomotor, and circuit for controlling motor 4031 is according to the signal control for receiving
The motion of drive mechanism processed 4032, drive mechanism 4032 export power and drive the opening and closing of door and window.Specifically, drive mechanism 4032
Door and window is connected by connecting rod, door and window is promoted with this.
Door and window detection components 404 include the first current detection circuit 4041, the signal amplification circuit 4042 being sequentially connected electrically
With A/D convertor circuit 4043, the A/D convertor circuit 4043 is connected to the MCU controller 401.First current detection circuit 4041
Connection servomotor, and obtain the current information of servomotor；It is judged to if MCU controller 401 receives current information drive
Motivation structure is in operating condition, is otherwise at off working state；
Door and window position amount detection components 405 include the second current detection circuit 4051 and signaling conversion circuit 4052, described the
Two current detection circuits 4051 obtain the secondary signal of the current duration by drive mechanism 4032, and the secondary signal is passed through
Signaling conversion circuit 4052 is transmitted to MCU controller 401 after changing, and the MCU controller 401 is according to the corresponding electric current of secondary signal
Duration compares and obtains the positional information of door and window with comparison information, and the comparative information is curent change table, obtains
The process of the curent change table is：The position of now door and window is recorded in first time only electricity, is obtained after being then once again powered up and stopping electricity
To corresponding position, and so on, drawn according to the particular location of door and window and obtain the curent change table；For example can be turned according to door and window
The size of current described in angle correspondence that crosses is used as standard carries out the drafting of form.
Anti-theft components include the magnetic alarm sensor 406 on door and window, the magnetic alarm sensor 406 by obtain
Signal is connected to the MCU controller 401 by the I/O interface of the MCU controller 401.In the case of being damaged, magnetic is reported to the police
Sensor 406 exports alarm signal, and reaches MCU controller 401, and is finally transported to Based Intelligent Control end 10.
The announcement of book and teaching according to the above description, those skilled in the art in the invention can also be to above-mentioned embodiment party
Formula is changed and is changed.Therefore, specific embodiment disclosed and described above the invention is not limited in, to the present invention's
Some modifications and changes should also be as falling in the scope of the claims of the present invention.Although additionally, used in this specification
Some specific terms, but these terms are merely for convenience of description, do not constitute any restriction to the present invention.