A kind of Intelligent telemetry terminal and control method thereof with video monitoring function
Technical field
The present invention relates to the telemetering terminal technical field of water conservancy hydrological industry, particularly relate to a kind of Intelligent telemetry terminal and the control method thereof with video monitoring function.
Background technology
Present stage, the telemetering terminal that water conservancy hydrological industry adopts can realize the multiple monitoring key element of automatically monitoring various water conservancy hydrology aspect, along with the continuous progress of computer technology, intelligent sensor technology, network technology, the water conservancy hydrological industry of China is just towards the future development of automation, intellectuality, networking.Nearly ten years, the development of Video Supervision Technique was swift and violent, and application is also more and more extensive, and the demand of water conservancy video monitoring also makes first appearance; Water conservancy Video Supervision Technique, can provide safely effective management means directly perceived, to advocating and promoting that China's digital water conservancy engineering construction provides new challenge for flood control, water resources management and water conservancy.
The basic structure of water conservancy hydrologic monitoring system mainly comprises monitoring station, central station and communication network three parts.Monitor spots, in the front end of monitoring system, are made up of transducer, telemetering terminal, communication apparatus and power supply usually; Telemetering terminal is the nucleus equipment of monitoring station, completes the collection of water conservancy hydrologic monitoring data, storage, and by communication network, Monitoring Data is transferred to central station.
At present, most telemetering terminals itself does not possess the ability of real-time Transmission monitor video data.On the one hand, before not obvious to the demand of video monitoring function, the telemetry terminal system chance adding video monitoring function brings corresponding cost to increase; On the other hand, the telemetering terminal in water conservancy hydrologic monitoring system is in more remote area, field usually, and the mode adopting storage battery to add solar energy, wind power generation etc. is powered, and is unfavorable for the application of video monitoring equipment.If when needing video monitoring in some engineering practice, common way carries out separately the configuration of video monitoring system, is separate physically with monitoring system.But this independently configuration mode, can reduce the temporal correlation of Monitoring Data and video data, namely the time reference of two autonomous systems can produce the drift of larger difference because of the difference of time and environment, greatly affects the data age of whole system.The Monitoring Data that monitoring station in hydraulic monitoring system adopts wireless communication channel transmitted data amount little usually; But the local climate bad environments that monitoring station is usually residing, is easy to the transmission affecting wireless signal, brings problem to the reliability of monitoring system.
Summary of the invention
The invention provides a kind of possess video monitoring function Intelligent telemetry terminal, reduction system power dissipation can not only be met, the needs of real-time Transmission Monitoring Data and video, greatly can also improve the reliability of water conservancy supervisory control system.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of Intelligent telemetry terminal with video monitoring function, comprise general utility functions module, video processing module and supplemental functionality, described general utility functions module is controlled and data interaction video processing module by supplemental functionality, the data acquisition unit that described general utility functions module comprises the first microcontroller and is connected with this first microcontroller, data storage cell and wireless data transmission unit, the video camera interface unit that described video processing module comprises the second microcontroller and is connected with this second microcontroller, video frequency pick-up head power control unit and optical fiber interface unit, described supplemental functionality comprises the controlled source unit of interface unit for connecting the first microcontroller and the second microcontroller and the second microcontroller.
Further, described general utility functions module also comprises the controlled source unit of power subsystem, calendar clock unit and the interface equipment be connected with the first microcontroller.
Preferably, described video camera interface unit is Ethernet interface, USB interface or serial ports.
Further, described interface unit comprises control interface and data communication interface, described control interface is used for the operation of the first microcontroller to the second microcontroller and controls, and described data communication interface is used for the data interaction between the first microcontroller and the second microcontroller.
The present invention also provides the control method of Intelligent telemetry terminal described in a kind of the claims, specifically comprises the steps:
(1) the first microcontroller in telemetering terminal according to pre-set report the time interval to be timed to wake up after, power on to wireless data transmission unit, and initiatively connect central station, if successful connection, then perform step (2), if connect unsuccessful number of times to reach preset value, then perform step (3);
(2) connected by wireless data transmission unit and central station, report state information and the image data of telemetering terminal, and the dependent instruction at receiving center station;
If central station does not need transmission of video, then the first microcontroller cuts out the power supply of wireless data transmission unit, and automatically enters low-power consumption mode, if central station needs instantaneous transmission video, then the power supply of the second microcontroller opened by the first microcontroller, close the power supply of wireless data transmission unit, send corresponding instruction to the second microcontroller, and automatically enter low-power consumption mould, initiatively established the link with central station by optical fiber interface unit after second microcontroller powers on, and complete according to instruction and open camera power supply, automatic collection, forwarding video data and carry out data interaction operation with central station, if period central station need cancel transmission of video, then the second microcontroller cuts out camera power supply, optical-fibre communications channel power supply is closed after disconnecting fiber optic links, and wake the first microcontroller up, instruction central station being cancelled transmission of video sends to the first microcontroller, after the first microcontroller receives instruction and confirms, close the second microcontroller power supply, automatically low-power consumption mode is entered again,
(3) first microcontrollers cut out the power supply of wireless data transmission unit, open the power supply of the second microcontroller, and send corresponding instruction and data to the second microcontroller, initiatively connected by optical fiber interface unit and central station after second microcontroller powers on, report the telemetering terminal state information from the first microcontroller and image data;
(4) receive after the corresponding instruction of central station until the second microcontroller and be transferred to the first microcontroller by the data communication interface of interface unit, if carry out transmission of video, then perform step (5), if cancellation transmission of video, then perform step (6), if do not carry out transmission of video, then perform step (7);
(5) first microcontrollers enter low-power consumption mode automatically, and the power supply of video frequency pick-up head opened by the second microcontroller, gather and through optical fiber interface unit transmission of video to central station;
(6) second microcontrollers cut out optical-fibre communications channel power supply after cutting out camera power supply, disconnection fiber optic links, and wake the first microcontroller up, and instruction central station being cancelled transmission of video sends to the first microcontroller; After the first microcontroller receives instruction and confirms, close the second microcontroller power supply, more automatically enter low-power consumption mode;
(7) first microcontrollers cut out the power supply of the second microcontroller, and enter low-power consumption mode.
The present invention has two-way communication transfer passage, and comprise a road wireless transfer channel and a road optical fiber transport channel, wireless transfer channel is exclusively used in the transmission of transducer image data, and optical fiber transport channel both can transmission sensor data, also can transmission of video; First microcontroller can open or cut out the power supply of the second microcontroller as required, and the power supply of other ancillary equipment in video processing module is controlled according to the instruction from the first microcontroller by the second microcontroller; Described supplemental functionality, in order to the data interaction between the first microcontroller and the second microcontroller, makes when wireless transfer channel cisco unity malfunction, can by the optical fiber interface in video processing module corresponding transfer of data to central station; The second microcontroller in video processing module can be real-time carry out time calibration with the first microcontroller, be conducive to data and the audio video synchronization of central station.
From above technical scheme, Intelligent telemetry terminal described in the present invention can not only increase substantially operational efficiency, reduce system power dissipation, improve system reliability, real-time, the synchronous acquisition transducer image data of central station and the needs monitoring video can also be met.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention;
Fig. 2 is the structural representation adopting hydraulic monitoring system of the present invention.
Embodiment
Below in conjunction with accompanying drawing, a kind of preferred implementation of the present invention is described in detail.
As shown in Figure 1, described telemetering terminal comprises general utility functions module 100, video processing module 200 and supplemental functionality 300, and described general utility functions module is controlled and data interaction video processing module by supplemental functionality.
The controlled source unit 170 of data acquisition unit 120, data storage cell 130, wireless data transmission unit 140, power subsystem 150, calendar clock unit 160 and interface equipment that described general utility functions module 100 comprises the first microcontroller 110 and is connected with this first microcontroller.Described data acquisition unit 120 provides the interface of the first microcontroller pick-up transducers data, comprises conventional gray code signal interface, RS485 interface, 4 ~ 20mA analog quantity interface and SDI-12 etc.; The sensing data that described data storage cell 130 arrives for storage of collected, adopts the data that the memory of large storage capacity can be preserved 5 to 10 years; Described power subsystem 150 is connected with outside storage battery, charging-discharging controller and solar energy or wind electricity generating system, is the power supply voltage that telemetering terminal is applicable to through the circuit transformations such as Power convert, filtering; Described calendar clock unit 160 provides time reference for system; The controlled source unit of described interface equipment is the power control circuit of the said units that 170 are connected with the first microcontroller, for saving system power dissipation, according to circumstances selectively can close the power supply of said units, it is including, but not limited to the controlled source of wireless data transmission unit.Described general utility functions module when detecting that wireless data transmission unit can not be connected with central station or wireless data transmission unit normal but when needing transmission of video, just open the controlled source unit in supplemental functionality, power to video processing module.
Described supplemental functionality 300 comprises the controlled source unit 320 for the interface unit 310 and the second microcontroller connecting the first microcontroller and the second microcontroller.Described interface unit 310 comprises control interface 311 and data communication interface 312, described control interface is used for the operation of the first microcontroller to the second microcontroller and controls, and described data communication interface is used for the data interaction between the first microcontroller and the second microcontroller.Usually, control interface is one group of control signal connecting line, and data communication interface is chip-scale communication interface, including, but not limited to such as serial line interface, IIC interface, SPI interface etc.The controlled source unit of described second microcontroller is used for the first microcontroller and opens or disconnect the power supply of video processing module.
Video camera interface unit 220, video frequency pick-up head power control unit 230 and optical fiber interface unit 240 that described video processing module 200 comprises the second microcontroller 210 and is connected with this second microcontroller.The power supply of described second microcontroller is opened by the first microcontroller by the controlled source unit 320 controlling the second microcontroller or is closed; Described video frequency pick-up head power control unit 230 opens for the second microcontroller or closes the power supply of external video camera, and the power control circuit of optical fiber interface unit and video camera interface unit is prior art, does not draw in FIG; Described video camera interface unit 220 can select Ethernet interface, USB interface or serial ports; Optical fiber interface unit can transmission of video or data.Described video processing module only when needs transmission of video, is just opened video frequency pick-up head power control unit, is powered to video frequency pick-up head.
Fig. 2 shows the structural representation of the hydraulic monitoring system adopting Intelligent telemetry terminal of the present invention, described telemetering terminal 1 pick-up transducers 2 with (or) data of video frequency pick-up head 3, transfer to central station 6 by optical fiber communication equipment 4 or wireless communication networks 5.Under normal circumstances, telemetering terminal is sent to central station the image data carrying out sensor by wireless communication networks, and when needs transmission of video or when wireless communication networks is abnormal, telemetering terminal just transfers to central station corresponding data through optical fiber interface.
Telemetering terminal is the invention enables to possess independently video processing path, only have when the first microcontroller receives video monitoring instruction or the wireless data transmission unit cisco unity malfunction of central station, the controlled source of the second microcontroller just opened by first microcontroller, power on to video processing module, greatly reduce the average power consumption of telemetering terminal; Because video processing module is independent operating relative to general utility functions module, do not take the data processing time of the first microcontroller, significantly promote the operational efficiency of general utility functions module; During wireless data transmission unit cisco unity malfunction, telemetering terminal can open the optical fiber interface unit in video processing module automatically, and transmission image data, to central station, improves the reliability of system cloud gray model.
In described general utility functions module, the workflow of the first microcontroller is as follows:
Telemetering terminal according to pre-set report the time interval to be timed to wake up after, power on to wireless data transmission unit, and initiatively connect central station, if successful connection, then report image data, if repeatedly connected unsuccessful (connecting number of times to pre-set), then close the power supply of wireless data transmission unit, open the power supply of the second microcontroller, and send corresponding instruction to the second microcontroller, connected by optical fiber interface unit and central station by micro-second microcontroller, report the state information of telemetering terminal, image data etc., receive after the corresponding instruction of central station until the second microcontroller and be transferred to the first microcontroller by data communication interface, first microcontroller is according to whether wanting transmission of video, maintain or close the power supply of microcontroller, finally oneself enter the low power consumpting state such as dormancy or power down.
In described video processing module, the workflow of the second microcontroller is as follows:
After described second microcontroller is powered on by the first microprocessor controls, open the power supply of optical fiber interface unit, initiatively central station is connected to by optical fiber transport channel, after success to be connected, the data transmission unit of sensing data between the first microcontroller and the second microcontroller of the first microcontroller collection dump to memory also (or) be forwarded to optical-fibre channel and report central station; And the central station command adapted thereto received is transferred to the first microcontroller, the first microcontroller controls the second microcontroller according to central station instructs and whether opens transmission of video.
If only perform transmission of video, then the power supply of video frequency pick-up head opened by the second microcontroller, gather and through optical-fibre channel transmission of video to central station; If need real-time report sensing data and video data, then the second microcontroller is inserted into temporal information in video flowing by software process, the sensing data that time sharing transmissions is corresponding and video data; If only perform reporting of image data, then the second microcontroller cuts out the power supply of video frequency pick-up head, and enters low-power consumption mode.
The above execution mode is only be described the preferred embodiment of the present invention; not scope of the present invention is limited; under not departing from the present invention and designing the prerequisite of spirit; the various distortion that those of ordinary skill in the art make technical scheme of the present invention and improvement, all should fall in protection range that claims of the present invention determine.