Summary of the invention
The present invention be directed to the defect of existing garage door switch, a kind of intelligent garage door tele-control system based on radio communication is proposed, this control system combines wireless communication technology and automatic control technology, can carry out bluetooth or WiFi Long-distance Control to common garage door, thereby allow user control the unlatching of garage door or to close by a kind of should being used for.
Realize technical scheme of the present invention as follows:
An intelligent garage door tele-control system based on radio communication, this system comprises
The smart client in garage, it is arranged on mobile terminal, for sending the order that opens or closes of garage door;
The smart box in garage, for receive that client sends open or close order time, generate control signal and be transferred to motor for door of garage control panel and control the rotation of motor, realize opening or closing of garage door.
Further, the order that opens or closes of transmission garage door of the present invention is to realize by the bluetooth module on mobile terminal or WiFi module.
Further, the smart box in garage of the present invention comprises bluetooth module, WiFi module, relay module and voltage transformation module; Wherein
Voltage transformation module, for will input voltage transitions after be bluetooth module and WiFi module for power supply;
Bluetooth module adopts CC2540 chip to realize, and for receiving the order that opens or closes of the smart client transmission in garage, and is transferred to relay module;
WiFi module adopts HF-A11X chip to realize, and for receiving the order that opens or closes of the smart client transmission in storehouse, and is transferred to relay module;
Relay module comprises resistance R 1, resistance R 2, triode Q1 and relay chip, wherein the output terminal of the output terminal of bluetooth module and WiFi module is connected with the base stage of triode by resistance R 1 respectively, the base stage of triode is by resistance R 2 ground connection, the grounded emitter of triode, the collector of triode is connected with the input end of relay chip simultaneously, the normally closed contact of relay chip and common port access Electric Machine Control plate, as the input signal of Electric Machine Control plate.
Beneficial effect:
First, the present invention adopts state-of-the-art Internet of Things wireless communication technology (comprising WiFi and bluetooth etc.) to replace traditional 433MHz technology for radio frequency, has overcome the shortcomings that traditional 433MHz technology for radio frequency antijamming capability is weak, networking is constant, reliability is general.The combination of two kinds of technology can make user go to select more convenient pattern according to self environment, and for example garage annex has the operable WiFi user can choice for use WiFi pattern, absence in choice for use bluetooth mode.
The second, the present invention is arranged at smart garage client on mobile terminal, replaces traditional button innovatively and remote-control key is controlled garage door with the mobile terminal such as mobile phone, panel computer.Constantly perfect along with smart mobile phone function, and more and more products are integrated on smart mobile phone by APP software, at present people have been accustomed to realizing with smart mobile phone, panel computer the function of these products, are arranged at the smart client in garage on mobile terminal and bring in replacement garage door key and also will make the user to use very convenient; This invention relates to ingenious, simple and practical, has higher extendability and advance.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail.
Overall design philosophy of the present invention: replace traditional garage door key with a kind of brand-new product garage spirit, develop the smart client in garage by software programming under ios/Android environment, the smart box in the garage of design with bluetooth or WiFi module; Smart garage client is placed on mobile terminal, and mobile terminal communicates with bluetooth or the WiFi module of the smart box in garage by the bluetooth or the WiFi that carry, and transmission opens or closes the order of garage door; The bluetooth of the smart box in garage or WiFi module are passed through hardware circuits which process after receiving and opening or closing order, send its treatable signal (similar in appearance to the push button signalling of current open and close garage door) to motor for door of garage control panel, realize the control to motor for door of garage.
As shown in Figure 3, the present invention is a kind of intelligent garage door tele-control system based on radio communication, and this system comprises
The smart client in garage, it is arranged on mobile terminal, for sending the order of opening and closing of garage door;
The smart box in garage, in the time receiving the order opening or closing of client transmission, generates control signal and is sent to motor for door of garage control panel the rotation of controlling motor, realizes the switch of garage door.
Fig. 1 is the smart client schematic diagram in garage of the present invention, the software module of developing under the systems such as the ios/Android that the smart client in garage refers at the mobile terminal such as mobile phone, iPad, it is set up and communicates by letter with the smart box in garage by the bluetooth or the WiFi that carry on mobile terminal, adopt in two kinds of communication modes when the smart box of either type and garage is connected and all need passwords, to ensure the security of system.Mobile terminal bluetooth or WiFi can preserve password, are certainly dynamically connected to ensure the convenience of operation.The smart box in garage also provides password modify feature, and Modify password guarantees to only have the household of oneself to be certainly dynamically connected so over time.
Fig. 2 is the smart box schematic diagram in garage of the present invention, and the smart box critical piece in garage comprises bluetooth communication, WiFi communication module, power module, voltage transformation module and relay module.Main Function is to communicate by the smart client in the garage in bluetooth module or WiFi module and mobile terminal, receives the order that opens or closes garage door that the smart client in garage sends, and then order is converted into voltage signal.Due to its voltage is less cannot drive motor control circuit, so need relay module to convert small voltage signal to low and high level signal, then this signal is given to garage Electric Machine Control plate, the rotation of controlling motor drives the pass of garage door and closes.
Fig. 4 is respectively the process flow diagram that garage door opens or closes of realizing of intelligent garage door tele-control system based on radio communication of the present invention, comprises the following steps:
(1) first on mobile terminal, open the smart client in garage, select bluetooth or WiFi communication pattern, input password (needs to arrange password first, after preserving, next login can be dynamically connected certainly), after successful connection, the smart client in garage can show successful connection, can send and open or shutdown command;
(2) bluetooth communication or the WiFi communication module of the smart box in garage receive after signal, carry out signal conversion by self hardware circuit, give Electric Machine Control plate by enough voltage signals that can drive motor control panel;
(3) Electric Machine Control plate will be controlled stably to the position of motor and speed, ensures that garage door switch is steady.The present invention's Electric Machine Control plate used can be the Electric Machine Control plate of original wall or remote controller garage gate, only need to slightly make an amendment and just can be connected with the smart box in garage, can realize easily like this transformation of original garage door, saves user's cost.
Fig. 5 is the main schematic diagram of the smart cassette interior in garage, comprises bluetooth module, WiFi module, relay module and voltage transformation module; Wherein
Voltage transformation module, for will input voltage transitions after be bluetooth module and WiFi module for power supply;
Bluetooth module adopts CC2540 chip to realize, and for receiving the order that opens or closes of the smart client transmission in garage, and is transferred to relay module;
WiFi module adopts HF-A11X chip to realize, and for receiving the order that opens or closes of the smart client transmission in storehouse, and is transferred to relay module;
Relay module comprises resistance R 1, resistance R 2, triode Q1 and relay chip, wherein the output terminal of the output terminal of bluetooth module and WiFi module is connected with the base stage of triode by resistance R 1 respectively, the base stage of triode is by resistance R 2 ground connection, the grounded emitter of triode, the collector of triode is connected with the input end of relay chip simultaneously, the normally closed contact of relay chip and common port access Electric Machine Control plate, as the input signal of Electric Machine Control plate.
Example
As shown in Figure 6, communicate as example with bluetooth module:
In the present embodiment, the built-in aerial of bluetooth CC2540 chip receives command signal, and its peripheral RC circuit plays the effect of filtering, and peripheral crystal oscillator provides internal clocking frequency for CC2540 chip.Voltage transformation module adopts 1117 chips, and it is input as the voltage of 5V, converts the voltage signal of 3.3V through builtin voltage to, and its pin VO is connected with all VDD pins of CC2540 chip, and the operating voltage of CC2540 chip is provided.In addition, the P1_2 pin of CC2540 chip is connected with a triode, triode Q1 can be considered gauge tap, in the time that the base stage of triode is transfused to high level, triode saturation conduction, collector becomes low level, relay coil energising, contact adhesive, in the time that the base stage of triode is transfused to low level, triode cut-off, collector becomes high level, relay coil power-off, contact disconnects.And using the normally closed contact of relay chip and common port as output terminal.In Fig. 6, the operating voltage of bluetooth CC2540 chip is 2.0V-3.6V, carry out voltage transitions, and the operating voltage of relay chip and 1117 chips all can fix on 5V, the voltage that can be 5V by 220V voltage transition by transformer so add 1117 chips.The principle of work summary of this circuit diagram is: because bluetooth CC2540 chip is a programmable bluetooth module, so by write-in program in advance using P1_2 pin as output pin, export low and high level to triode according to the switch command of the client receiving, triode Q1 can be considered that gauge tap comes normally closed, the normally opened contact of pilot relay, and by normally closed contact and common port access Electric Machine Control plate, as its input signal.
Bluetooth module of the present invention is the low-power consumption Bluetooth RF module based on the research and development of the CC2540 of TI company chip, is a high-performance wireless transceiver for Internet of Things, can be widely used in the short distance Internet of Things wireless communication field of various occasions.This module is particularly suitable for applying to the electronic product based on low-power consumption bluetooth in bluetooth 4.0, can improve the reliability of operation; Improve transmission range and the anti-interference of signal; Make signal transmission not affected by barrier; Can also realize the Interoperability solving between different electronic products, battery life also can significant prolongation.And bluetooth 4.0 is up-to-date versions in 2012, be 3.0 upgraded version, be power saving compared with the most important characteristic of 3.0 version bluetooth 4.0, extremely low operation and stand-by power consumption can make button cell continuous working several years.In addition, low cost and across vendor interoperability, many characteristics such as 3 milliseconds of low delays, AES-128 encryption, and move towards commercialization, in the Xperia of latest version Z, Galaxy S3, S4, Note2, iPhone5, iPhone4S, Meizu MX3, HTC One X, millet mobile phone 2, The New iPad, iPad4, MacBook Air, Macbook Pro and Tianwan businessman ACER AS3951 series/Getway NV57 series, in ASUS UX21/31 Samsung NOTE series, bluetooth 4.0 technology are all applied.
WiFi communication module of the present invention is used HF-A11X module as AP, mobile terminal can Supporting connectivity on HF-A11X module, by wireless network control subscriber equipment.This module is a programmable WiFi module equally, by write-in program in advance using Pin2 pin as output pin, according to the switch command output low and high level of the client receiving to relay module.Be used for driving that relay is normally closed, normally opened contact, and by normally closed contact and common port access Electric Machine Control plate, as its input signal, its function is identical with above-mentioned bluetooth module.
Fig. 7 is motor for door of garage travelling speed expectation curve, is divided into four sections: accelerating sections, steady section, 1 section of deceleration and slow down 2 sections.At accelerating sections, expect that motor speed can respond fast, but will control overshoot simultaneously, prevent (being the unstable of system) out of control; At steady section, require motor travelling speed steady, consideration be system steady-state behaviour with and robustness; Braking section is divided into 1 section of deceleration and slows down 2 sections, reduces the load shock that motor is subject to, and ensures on the other hand the rapidly opened and closed of door.
Electric Machine Control plate will make the operation that ensures that garage door system is good, must ensure that garage door switch is steady, reduces the suffered load shock of motor, improves the reliability of system, the extension device life-span.The stationary performance of garage door switch is mainly reflected in the control of motor speed.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.