Background technology
At present in building automatic monitoring field, along with the environment for use that system integration degree is high, operating mode is complicated, corresponding monitoring method is also optimized thereupon, wherein provides technical support with the quick realization generally turning to words monitoring industry automatically of wireless transmission, industrial bus, network service.
For meeting the DATA REASONING of various measuring object, automatic monitoring system is often designed with various communication interface mode simultaneously, such as RS485, RS232, Ethernet, USB serial communication etc., and the difference of the multi-form communication mode such as wire cable, radio communication, be difficult to unified a kind of equipment and carry out data protocol conversion, data management, there is certain limitation.Tradition settling mode adopts the devices such as computer, protocol converter, wireless telegon, and docking port agreement is changed.
Above-mentioned traditional monitoring system realizes there is following deficiency:
First traditional monitoring system complexity is higher, because protocol conversion module function singleness, pieces together realize according to function.And often using the product of different manufacturers due to protocol conversion module, compatibility also there are differences, and further increases complexity and the maintenance cost of system.
Secondly because traditional monitoring system needs, as the requirement such as system power supply, transfer of data, need to use the wired modes such as cable, optical fiber, netting twine to lay, difficulty of construction is comparatively large, and increases certain material cost.
In sum, to the aspect such as data transaction, measuring multiple parameters in traditional monitoring system, have some limitations in function singleness, system complex, high in cost of production, be difficult to meet the requirement under specific operation.
Summary of the invention
The technical problem to be solved in the present invention be just following some:
(1) built-in GPRS wireless communication module, for remote data transmission function, realizes multiple interfaces protocol conversion, and namely intelligent object realizes the data acquisition function of RS485, RS232, Ethernet, the several data interface such as USB, ZIGBEE are wireless simultaneously;
(2) realize radio network gateway management, can realize gateway role management wireless network, the difficulty avoiding on-site wireless to safeguard with reduce costs;
(3) realize direct current supply, lithium battery power supply switches, avoid the problem because short time power-off causes system to work;
(4) timing acquiring and the storage inside of data is realized;
(5) Noise Acquisition function can be realized.
For solving the problems of the technologies described above, the following technical scheme that the present invention adopts:
Have an intelligent gateway module for long range radio transmissions, this intelligent gateway module is directly powered by DC power supply or lithium battery is connected with microprocessor by power supply switch circuit as stand-by power supply;
This intelligent gateway module is built-in with ZIGBEE communications gateway module, and ZIGBEE communications gateway module is connected with microprocessor.
Network communications circuits, usb communication circuit, RS485 telecommunication circuit, RS232 telecommunication circuit, Noise Acquisition circuit, data storage circuit are connected with microprocessor respectively;
It also includes GPRS wireless data transfer module, and GPRS wireless data transfer module is connected with microprocessor.
Be designed with real time clock circuit in this intelligent gateway module, real time clock circuit is by button cell as stand-by power supply, and real time clock circuit is connected with microprocessor.
Microprocessor is A8 microprocessor.
Connected by printed circuit board circuitry between modules.
The indoor design of cloud intelligent radio gateway module has 32 A8 microcontrollers, as master controller, management and each interface module of drive system, complete Data Analysis, management, transmission simultaneously, its groundwork is equivalent to a several data language in-put, the data protocol converter apparatus that a kind of standard language exports.
The design realizing remote data wireless transmission is: modular design has GPRS Wireless Data Transmission circuit, when local data (RS485, RS232, USB, Ethernet, ZIGBEE local area network (LAN)) is after protocol conversion, by wireless transport module, data are transferred to the webserver by GPRS network, decrease the work of field wiring, greatly improve the adaptability of system.
The circuit design realizing RS485 data communication and protocol conversion is: modular design RS485 drive circuit, when microcontroller detects RS485 equipment access system, automatic driving RS485 circuit, and image data, and the data protocol converting unified standard to transmits.
The circuit design realizing RS232 data communication and protocol conversion is: modular design RS232 drive circuit, when microcontroller detects RS232 equipment access system, automatic driving RS232 circuit, and image data, and the data protocol converting unified standard to transmits.
The circuit design realizing usb data communication and protocol conversion is: modular design standard USB drive circuit, when microcontroller detects USB device connecting system, drive according to standard agreement, image data, and the data protocol converting unified standard to transmits.
The circuit design realizing Ethernet data communication and protocol conversion is: modular design standard ethernet drive circuit, when microcontroller detects network equipment connecting system, drive according to standard agreement, image data, and the data protocol converting unified standard to transmits.
The circuit design realizing Noise Acquisition function is: by microphone, border voice signal is converted to voltage signal, and voltage signal, through the amplifying circuit of different gains, selects the gain of coupling to amplify according to the size of noise automatically.Voltage signal after amplification carries out after filtering through band pass filter, then enters into full-wave rectifying circuit and be input to analog-digital converter and carry out the collection that quantizes, and microcontroller logarithm value data calculate, and obtain actual noise value.
For meeting the requirement of radio network gateway, the scheme that the design adopts is: use ZIGBEE radio network gateway module, microcontroller by control ZIGBEE gateway module, gateway module can independently by managing the sub-radio node in WLAN (wireless local area network), configuring, data transmit-receive function.
Cloud intelligent radio gateway module Power Management Design scheme is, uses DC power supply as main power source, and designs lithium cell charging control circuit.Two-way power supply after commutation circuit, as system power supply.When DC circuit is powered normal, system leans on DC power supply work, when direct current supply is abnormal.Such as power-off etc., commutation circuit can automatically switch to lithium battery power supply, to maintain the normal work of system.
This practical beneficial effect of the invention:
In sum, the indoor design of cloud intelligent radio gateway module has the multiple communication interfaces such as GPRS wireless module, RS485, RS232, USB, Ethernet, ZIGBBEE gateway, real-time clock, memory etc., by the automatic control of microcontroller, several data protocol conversion, Noise Acquisition function can be realized, and transmitted by wireless, and system is the device of dual power supply, therefore can realize the function of data protocol conversion, wireless network management, intelligent acquisition, compensate in traditional monitoring system not enough.
Embodiment
Describe the present invention below in conjunction with accompanying drawing 1,2:
Have an intelligent gateway module for long range radio transmissions, by DC power supply 1, directly power supply or lithium battery 7 are connected with microprocessor 5 by power supply switch circuit 2 as stand-by power supply this intelligent gateway module;
This intelligent gateway module is built-in with ZIGBEE communications gateway module 4, ZIGBEE communications gateway module 4 and is connected with microprocessor 5.
Network communications circuits 9, usb communication circuit 10, RS485 telecommunication circuit 6, RS232 telecommunication circuit 8, Noise Acquisition circuit 11, data storage circuit 12 are connected with microprocessor 5 respectively.
It also includes GPRS wireless data transfer module 14, GPRS wireless data transfer module 14 and is connected with microprocessor 5.
Be designed with real time clock circuit 13 in this intelligent gateway module, real time clock circuit 13 is by button cell as stand-by power supply, and real time clock circuit 13 is connected with microprocessor 5.
Microprocessor 5 is A8 microprocessor.
Connected by printed circuit board circuitry 3 between modules.
Concrete installation method:
By cloud intelligent data sampling module, being mounted on and overhead having certain altitude, being installed on indoor wall by installing fixing hole, install rear adjustment antenna, noise testing probe nominal angle and position.
Open the mains switch of cloud intelligent radio gateway module, now radio network gateway module automatic acquisition wireless network address, row data communication of going forward side by side, and automatically wireless network data is managed as wireless gateway, gather, store.
By can arrange the parameter such as real-time clock, acquisition interval, acquisition mode of cloud intelligent acquisition module at radio management end, after startup, cloud intelligent radio gateway module can realize that multi-parameter is measured automatically, wireless transmission function.
The antenna that wireless module uses as far as possible away from large-area metal flat and ground, during erection unit, should will make antenna distance metal tube or metal flat at least 15cm, at least overhead more than 1 meter, installation site.And the barrier as far as possible reduced between antenna.
Cloud intelligent radio gateway module should be arranged on indoor, avoids because rainwater drenches causing trouble.