Intelligent monitoring and alarming system based on WLAN (wireless local area network)
The present utility model relates to a kind of intelligent monitoring and alarming system based on WLAN (wireless local area network), and it is a kind of 24 hours continual remotely intelligently monitoring warning systems.
In information, communication continuous today of development, people have been not only simple warning function for the requirement of warning system, and warning system develops into and has prompting, anti-theft security etc. and be a complete intelligence system of one.Present monitoring alarm product mainly contains wired alarming system and wireless alarm system two classes.The wired monitoring warning system, the many and unrest of line, cost height, cost performance are low; Wireless alarm system is installed more convenient quick, be easy to safeguard and the planning adjustment, has maneuverability, convenience, be cable network can't be obtained, yet the sensor Ad Hoc network complexity of present wireless alarm system, easily transmission range chaotic, wireless signal is not far, owing to there are the problems referred to above, above-mentioned warning system can't allow user's, particularly civil area user accept.Need badly a kind of function admirable, reliable and stable, use simple and directly, can realize the wireless alarm system of remote monitoring.
The utility model content
The utility model purpose is to overcome above-mentioned weak point, a kind of intelligent wireless warning system based on WLAN (wireless local area network) is proposed, with the wireless network is trunk, utilize computing machine, embedded system and communication network technology, equipment such as monitoring and alarming system and computing machine, mobile phone are organically combined, also increased new functions such as remote control domestic electrical equipment.Owing to adopt WI-FI module based on WLAN (wireless local area network), system can send sound and light alarm by (as fire alarm, theft alarm, gas leak) timely pick-up transducers signal under abnormal conditions, send electronic warning information by WI-FI module or gsm module simultaneously, and system can also control household electrical appliances whenever and wherever possible by WI-FI module and gsm module, realizing that monitoring, warning, intelligent appliance are integrated, is a kind of civilian intelligent alarm system that is suitable for.
Realize the technical scheme of above-mentioned purpose: a kind of WLAN (wireless local area network) intelligent monitoring and alarming system based on the WI-FI module, mainly comprise CPU (central processing unit), sensor unit, acousto-optic warning unit,, wireless communication unit, intelligent control unit, display unit and Power Management Unit.
Central processor unit sends warning message according to the information that wireless senser collects by acousto-optic warning unit, by WI-FI module and gsm module warning message is passed to E-mail address or mobile phone, and the user can in time obtain warning message; Intelligent control unit in the system is used for the miniwatt household electrical appliances are controlled; Display unit can show in real time to warning message and household electrical appliances control information; Power Management Unit gives system each unit power supply.
CPU (central processing unit) is connected with the damage preventing alarm module, and this module has detection of power loss and pick-proof measuring ability.
Described sensor unit is made up of in infrared eye, door magnetic detector and the smoke detector at least one.Sensor unit and CPU (central processing unit) are carried out communication by Wireless transmission mode.
The utlity model has following beneficial effect:
One, the utility model has adopted the WI-FI module, and the user can in time obtain warning message during system generation abnormal conditions.WI-FI is the mainstream standard of present wireless access, and its speed is fast, reliability is high, wide coverage, and emissive power is low, need not directly contact human body, and is as safe as a house.
Two, sensor unit can comprise infrared eye, smoke detector and door magnetic detector.Like this, owing to adopt three kinds of detectors that illegal invasion is detected, so further reduced the rate of false alarm of system.
Three, the utility model not only can send sound and light alarm when abnormal conditions, owing to adopted gsm module, can also send warning message to mobile phone simultaneously, and no matter the operator all can in time receive monitoring alarm information, thereby the perform region is wider wherever.
Four, mobile communication network described in the utility model can be any one in GSM, CDMA, the 3G network, and system works is more flexible.
Five, the utility model can also be realized control to the miniwatt household electrical appliances by intelligent control unit, has increased the utilization factor of system.
Six, the utility model has also adopted WI-FI module and gsm module to send warning message except adopting sound and light alarm, has improved the reliability of system.
Seven, the utility model is controlled monitoring, warning, intelligent appliance integrated.And existing monitoring alarm product can only be realized single monitoring alarm function, also fails to realize real-time warning affirmation.This supervisory system is integrated into supervisory system, more perfect function with smart security guard and alarm and intelligent appliance control function.
Eight, the utility model has adopted CPU (central processing unit) and wireless communication unit, for example can select single-chip microcomputer and WI-FI wireless communication module for use, thereby peripheral interface circuit is simple, makes total system reliability height.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present utility model, constitutes the application's a part, and illustrative examples of the present utility model and explanation thereof are used to explain the utility model, do not constitute qualification of the present utility model.In the accompanying drawings:
Fig. 1 is the intelligent monitoring and alarming system block scheme according to the utility model embodiment.
Fig. 2 is the concrete schematic diagram according to embodiment of the present utility model.
Fig. 3 is the control program process flow diagram according to the CPU (central processing unit) of embodiment of the present utility model.
Below with reference to accompanying drawing, describe embodiment of the present utility model in detail.
As shown in Figure 1, the circuit part based on the intelligent monitoring and alarming system of WLAN (wireless local area network) of present embodiment is made of following several parts: CPU (central processing unit) 1, sensor unit 2, acousto-optic warning unit 3, WI-FI modular unit 4, gsm module unit 5, intelligent control unit 6, display unit 7 and Power Management Unit 8 are formed.The each several part circuit all is connected with CPU (central processing unit) 1, is managed and is controlled by CPU (central processing unit) 1.
As Fig. 2 is the concrete schematic diagram based on the intelligent monitoring and alarming system of WLAN (wireless local area network) according to embodiment of the present utility model.Specific implementation is as follows:
1, the WI-FI module 4 that adopts of system is WLAN (wireless local area network) (WI-FI) serial port module by the research and development of excellent frequency Science and Technology Ltd..The Wireless LAN module of excellent frequency has adopted compact size design (size: 40 * 60 * 5.7 millimeters), and its principal feature is: the serial ports framework is flexible; The cost performance height; 802.11b the industrial standard radio network interface easily inserts WLAN by AP; Built-in web server can be used for the Remote configuration to serial equipment, monitoring and maintenance; RS-232/422/485 is provided serial ports; The support equipment search utilizes, and virtual serial port software is provided; By the automatic update notification of Email.WI-FI module 4 intercoms with CPU (central processing unit) 1 mutually by serial ports in the system.After system entered duty, when sensor was subjected to triggering, trigger message was handled by CPU (central processing unit) 1, forms warning message then, gives WI-FI module 4 by serial ports, passes to the user again.Simultaneously, the user also can pass through WI-FI module 4 duty of inquiry system at any time, perhaps to the various electric equipment products intelligent wireless controls in the family, thus the intelligent monitoring and alarming of the system of realization.
2, CPU (central processing unit) 1 adopts ATmega1280 single-chip microcomputer 11, and it is 8 the CMOS microcontrollers of low-power consumption based on AVR enhancement mode risc architecture.Be characterized in: In-System Programmable Flash with 128K byte, 4K byte EEPROM, 8K byte SRAM, 86 universaling I/O port lines, 4 serial USART able to programme, the two-wire serial interface of byte-oriented, a SPI serial port, 16 tunnel 10 ADC have the programmable watchdog timer of sheet internal oscillator, and the 6 kinds of battery saving modes that can select by software.
3, gsm module unit 5 adopts the TC35I standard gsm network terminal module of Siemens Company, and this module provides the ZIF interface connector and the antenna connector of 40 pins.Wireless communication unit is realized reception and the transmission and the voice call of short message, the user can be provided with the duty and the alert if of system by note, after entering duty, when sensor is subjected to triggering, trigger message enters CPU (central processing unit) 1 and sensor information is merged, analyzes, form warning message, send SMS alarm information to the phone number that the user presets in advance, can answer the incoming call that presets phone number simultaneously by gsm module unit 5; System possesses the damage preventing alarm function in addition, comprises power down warning, shell Pickproof alarm, the warning of sensor trimming etc., and in a single day these warning facilities are damaged can be at any time to user report; The user can oneself be provided with time of fire alarming, and by the setting of report time, system names a person for a particular job to designated telephone transmitting system status report at timing, guarantees the latest tendency of user's real-time tracking system; Simultaneously, the user can be at any time to system send state Query Information inquiry system state, or the system that dials built-in SIM card number monitoring system ambient sound.
4, as shown in Figure 2, CPU (central processing unit) 1 is connected to sensor wireless receiver module 24 by 74LS138 code translator 25, is used for the trigger pip of receiving sensor to form warning message.Sensor unit 2 adopts compositions such as wireless senser 21, wireless senser 22, wireless senser 23, and sensor unit 2 outputs are connected to the PC and the PA mouth of CPU (central processing unit) 1.When sensor unit 2 operate as normal, the signal that CPU (central processing unit) 1 collects is a high level; When sensor unit 1 was subjected to triggering, the signal that CPU (central processing unit) 1 collects was a low level, by the judgement of port low level number has been known that promptly which sensor is triggered.
5, after CPU (central processing unit) 1 is sent warning message, by the warning of sounding of ISD4004 speech chip 33, LM386M-operational amplifier 32 and loudspeaker 31; Simultaneously finish sound and light alarm, simultaneously by liquid crystal display 71 display alarm information in conjunction with the show state of light emitting diode 34.
6,17 pin of CPU (central processing unit) 1 are connected with J5 with the J4 of relay 61 with 18 pin, realize the control to miniwatt household electrical appliances 62.
7, Power Management Unit is made up of power supply unit and battery unit 85, and power supply unit comprises 12V adapter 81, AMC2576 power conversion chip 82, AMS1117 power conversion chip 83, SPX1587 power conversion chip 84.Thereby power supply unit draws the 5V direct current for 82 power supplies of AMC2576 power conversion chip by the power supply adaptor of 12V, and then arrive the DC voltage of 3.8V and the output of 3.3V two-way by SPX1587 power conversion chip 84 and AMS1117 power conversion chip 83 respectively, 3.8V voltage gives gsm module 5 power supplies, 3.3V power supply CPU (central processing unit) 1 power supply, to change the battery unit power supply after system's power down automatically over to, battery unit 85 can be kept the total system operate as normal more than 24 hours.
The software program flow chart that Fig. 3 is moved for CPU (central processing unit) 1 adopts standard C language to write control program.After system works on power, earlier single-chip microcomputer is carried out initialization, comprise working method, serial ports baud rate, timer and interruption etc. that one-chip machine port is set.By serial ports TC35I and WI-FI module 4 are carried out initialization then, comprise request signal and registration GSM network and WLAN (wireless local area network) etc., in registered network when success, is with the update system time, can select to continue Network Search as network registry is unsuccessful, once more TC35I and WI-FI module 4 be carried out initialization.Check the duty of sensor, sensor then sends warning message if any action, shows its work at present state; If the sensor attonity also shows its current state.By reading key-press status make amendment parameter setting and reservation or deletion warning message, then continue the query sensors state as no actuation of keys.
In a word, can realize intelligent monitoring and alarming system by implementing embodiment of the present utility model based on wireless network.