A kind of intelligent telemetry terminal and its control method with video monitoring functionTechnical field
The present invention relates to the telemetering terminal technical field of water conservancy hydrological industry, more particularly to one kind to have video monitoring work(The intelligent telemetry terminal and its control method of energy.
Background technology
At this stage, the telemetering terminal that water conservancy hydrological industry uses can have been realized monitors various water conservancy hydrology sides automaticallyA variety of monitoring key elements in face, with computer technology, the continuous progress of intelligent sensor technology, network technology, the water conservancy in ChinaHydrological industry just develops towards automation, intelligent, networking direction.Last decade, the development of Video Supervision Technique is swift and violent, shouldAlso more and more extensive with field, the demand of water conservancy video monitoring also makes first appearance;Water conservancy Video Supervision Technique, can be flood control,Water resources management and water conservancy provide safely effective management means directly perceived, to advocating and promoting China's digital water conservancy engineering construction to carryNew challenge is supplied.
The basic structure of water conservancy hydrologic monitoring system mainly includes three monitoring station, central station and communication network parts.PrisonSurvey station is located at the front end of monitoring system, is generally made up of sensor, telemetering terminal, communication apparatus and power supply;Telemetering terminalIt is the nucleus equipment of monitoring station, completes collection, the storage of water conservancy hydrologic monitoring data, and Monitoring Data is passed by communication networkTransport to central station.
At present, most of telemetering terminal does not possess the ability of real-time Transmission monitor video data in itself.On the one hand,Before to the demand of video monitoring function and unobvious, add video monitoring function telemetry terminal system chance bring accordingly intoThis increase;On the other hand, the telemetering terminal in water conservancy hydrologic monitoring system is generally in the more remote area in field, using storageBattery adds the mode of solar energy, wind power generation etc. to power, and is unfavorable for the application of video monitoring equipment.If in some engineering practicesWhen needing video monitoring, it is common practice to individually carry out the configuration of video monitoring system, be physically phase with monitoring systemIt is mutually independent.But this independent configuration mode, the temporal correlation of Monitoring Data and video data, i.e. two independences can be reducedThe time reference of system can produce the drifts of larger differences because of the difference of time and environment, when largely effecting on the data of whole systemEffect property.The little Monitoring Data of monitoring station generally use wireless communication channel transmitted data amount in hydraulic monitoring system;However,The generally residing local climate bad environments in monitoring station, it is easy to influence the transmission of wireless signal, the reliability to monitoring systemBring problem.
The content of the invention
The present invention provides a kind of intelligent telemetry terminal for possessing video monitoring function, can not only meet reduction system work(The needs of consumption, real-time Transmission Monitoring Data and video, moreover it is possible to greatly improve the reliability of water conservancy monitoring system.
In order to solve the above technical problems, the present invention adopts the following technical scheme that:
A kind of intelligent telemetry terminal with video monitoring function, including general utility functions module, video processing module andSupplemental functionality, the general utility functions module is controlled by supplemental functionality to video processing module and data are handed overMutually, the general utility functions module includes the first microcontroller and the data acquisition unit, the number that are connected with first microcontrollerAccording to memory cell and wireless data transmission unit, the video processing module include the second microcontroller and with second micro-controlVideo camera interface unit, video frequency pick-up head power control unit and the optical fiber interface unit of device connection processed, the auxiliary work(Can the module interface unit that includes being used for connecting the first microcontroller and the second microcontroller and the second microcontroller it is controlledPower subsystem.
Further, the general utility functions module also includes power subsystem, the calendar clock being connected with the first microcontrollerThe controlled source unit of unit and interface equipment.
Preferably, the video camera interface unit is Ethernet interface, USB interface or serial ports.
Further, the interface unit includes control interface and data communication interface, and the control interface is used for firstOperation of the microcontroller to the second microcontroller is controlled, and the data communication interface is micro- for the first microcontroller and secondData interaction between controller.
The present invention also provides a kind of control method of intelligent telemetry terminal described in the claims, specifically includes as followsStep:
(1)After the first microcontroller in telemetering terminal reports time interval to be timed wake-up according to what is pre-set,To electricity in wireless data transmission unit, and central station is actively connected, if successful connection, perform step(2)If connection is unsuccessfulNumber reach preset value, then perform step(3);
(2)Established and connected by wireless data transmission unit and central station, reported the status information of telemetering terminal and adoptCollect data, and receive the dependent instruction of central station;
If central station need not transmit video, the first microcontroller closes the power supply of wireless data transmission unit,And automatically into low-power consumption mode;If central station needs instantaneous transmission video, the first microcontroller opens the second microcontrollerPower supply, close the power supply of wireless data transmission unit, transmission is instructed to the second microcontroller accordingly, and automatically intoLow-power consumption mould, actively established the link after electricity by optical fiber interface unit with central station on the second microcontroller, and according to having instructedInto camera power supply is opened, automatic data collection, forward video data and carry out data interaction operation with central station, if during which central stationNeed to cancel transmission of video, then the second microcontroller closes optical-fibre communications channel after closing camera power supply, disconnection fiber optic linksPower supply, and the first microcontroller is waken up, the instruction for central station being cancelled transmission of video is sent to the first microcontroller, treats that first is micro-After controller receives instruction and confirmed, the second microcontroller power supply is closed, then automatically into low-power consumption mode;
(3)First microcontroller closes the power supply of wireless data transmission unit, opens the power supply of the second microcontroller,And send corresponding instruction and data to the second microcontroller, on the second microcontroller after electricity actively by optical fiber interface unit withCentral station establishes connection, reports telemetering terminal status information and gathered data from the first microcontroller;
(4)Passed after the second microcontroller receives central station instruction accordingly by the data communication interface of interface unitThe first microcontroller is defeated by, if carrying out transmission of video, performs step(5)If cancelling transmission of video, step is performed(6)IfWithout transmission of video, then step is performed(7);
(5)First microcontroller is opened the power supply of video frequency pick-up head, adopted automatically into low-power consumption mode, the second microcontrollerCollect and transmit video to central station through optical fiber interface unit;
(6)Second microcontroller closes optical-fibre communications channel power supply after closing camera power supply, disconnection fiber optic links, and calls outAwake first microcontroller, the instruction for central station being cancelled transmission of video are sent to the first microcontroller;Treat that the first microcontroller is receivedTo after instruction and confirmation, the second microcontroller power supply is closed, then automatically into low-power consumption mode;
(7)First microcontroller closes the power supply of the second microcontroller, and enters low-power consumption mode.
The present invention has two-way communication transfer passage, including wireless transfer channel and all the way optical fiber transport channel all the way, nothingLine transmission channel is exclusively used in the transmission of sensor gathered data, and optical fiber transport channel both can be with transmission sensor data, can alsoTransmit video;First microcontroller can be turned on and off the power supply of the second microcontroller as needed, and video processing moduleIn the power supplies of other ancillary equipment be controlled by the second microcontroller according to the instruction from the first microcontroller;It is described auxiliaryFunctional module is helped to the data interaction between the first microcontroller and the second microcontroller so that can not in wireless transfer channel, can be by the optical fiber interface in video processing module corresponding data transfer to central station during normal work;Video processingThe second microcontroller in module can carry out time calibration with the first microcontroller in real time, be advantageous to the data of central station withAudio video synchronization.
From above technical scheme, heretofore described intelligent telemetry terminal can not only increase substantially operationEfficiency, system power dissipation is reduced, improve system reliability, moreover it is possible to meet the acquisition sensor gathered data of central station in real time, synchronousNeeds with monitoring video.
Brief description of the drawings
Fig. 1 is the structural representation of the present invention;
Fig. 2 is the structural representation using the hydraulic monitoring system of the present invention.
Embodiment
A kind of preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
As shown in figure 1, the telemetering terminal includes general utility functions module 100, video processing module 200 and miscellaneous functionModule 300, video processing module is controlled by supplemental functionality for the general utility functions module and data interaction.
The general utility functions module 100 includes the first microcontroller 110 and the data being connected with first microcontrollerCollecting unit 120, data storage cell 130, wireless data transmission unit 140, power subsystem 150, the and of calendar clock unit 160The controlled source unit 170 of interface equipment.The data acquisition unit 120 provides the first microcontroller collection sensing dataInterface, including conventional gray code signal interface, RS485 interfaces, 4 ~ 20mA analog interfaces and SDI-12 etc.;The data are depositedStorage unit 130 is used to store the sensing data collected, and the number of 5 to 10 years can be preserved using the memory of large storage capacityAccording to;The power subsystem 150 is connected with outside battery, charging-discharging controller and solar energy or wind electricity generating system, by electricityThe power supply voltage that circuit transformations are adapted into telemetering terminal such as change, filter in source;The calendar clock unit 160 is systemTime reference is provided;The controlled source unit of the interface equipment is the electricity of 170 said units being connected with the first microcontrollerSource control circuit, to save system power dissipation, the power supplies of said units according to circumstances can be selectively closed, it is included but notIt is confined to the controlled source of wireless data transmission unit.Described general utility functions module is detecting wireless data transmission unit notWhen can be connected with central station or wireless data transmission unit is normal but when needing to transmit video, just in opening supplemental functionalityControlled source unit, powered to video processing module.
The supplemental functionality 300 includes being used for the interface unit for connecting the first microcontroller and the second microcontroller310 and second microcontroller controlled source unit 320.The interface unit 310 communicates including control interface 311 with dataInterface 312, the control interface are controlled for operation of first microcontroller to the second microcontroller, the data communicationThe data interaction that interface is used between the first microcontroller and the second microcontroller.Generally, control interface is one group of control signalConnecting line, data communication interface are chip-scale communication interface, including but not limited to such as serial line interface, IIC interfaces, SPI interfaceDeng.The controlled source unit of second microcontroller is used for the power supply that the first microcontroller opens or off video processing modulePower supply.
The video processing module 200 includes the second microcontroller 210 and the video being connected with second microcontrollerUtilizing camera interface unit 220, video frequency pick-up head power control unit 230 and optical fiber interface unit 240.Second microcontrollerPower supply by the first microcontroller by controlling the controlled source unit 320 of the second microcontroller to be turned on and off;InstituteIt is the power supply that external video camera is turned on and off for the second microcontroller to state video frequency pick-up head power control unit 230,The power control circuit of optical fiber interface unit and video camera interface unit is prior art, is not drawn into Fig. 1;It is described to regardFrequency utilizing camera interface unit 220 can select Ethernet interface, USB interface or serial ports;Optical fiber interface unit can transmit video orData.Described video processing module only when needing to transmit video, just opens video frequency pick-up head power control unit, to videoCamera is powered.
Fig. 2 shows the structural representation of the hydraulic monitoring system using intelligent telemetry terminal of the present invention, the remote measurementTerminating machine 1 gather sensor 2 with(Or)The data of video frequency pick-up head 3, passed by optical fiber communication equipment 4 or wireless communication networks 5Transport to central station 6.Under normal circumstances, telemetering terminal the gathered data from sensor by wireless communication networks send toCentral station, when needing to transmit video or during wireless communication networks exception, corresponding data are just passed through optical fiber by telemetering terminalInterface is transmitted to central station.
Possesses independent video processing path the invention enables telemetering terminal, only in the first microcontroller receivesWhen the video monitoring instruction of center station or wireless data transmission unit cisco unity malfunction, the first microcontroller just opens the second micro-controlThe controlled source of device processed, to electric on video processing module, substantially reduce the average power consumption of telemetering terminal;Due to Video processing mouldBlock is independent operating relative to general utility functions module, is not take up the data processing time of the first microcontroller, is significantly liftedThe operational efficiency of general utility functions module;During wireless data transmission unit cisco unity malfunction, telemetering terminal can be automatically opened up and regardedOptical fiber interface unit in frequency processing module, transmission gathered data improve the reliability of system operation to central station.
The workflow of the first microcontroller is as follows in the general utility functions module:
After telemetering terminal reports time interval to be timed wake-up according to what is pre-set, in wireless data transmission unitElectricity, and central station is actively connected, if successful connection, report gathered data;If repeatedly connect it is unsuccessful (connection number it is pre-First set), then the power supply of wireless data transmission unit is closed, opens the power supply of the second microcontroller, and is sent correspondingInstruct to the second microcontroller, established and connected by optical fiber interface unit and central station by micro- second microcontroller, report remote measurementThe status information of terminating machine, gathered data etc., led to after the second microcontroller receives central station instruction accordingly by dataLetter interface is transferred to the first microcontroller, and the first microcontroller is according to whether video will be transmitted, to maintain or close microcontrollerPower supply, it is last oneself to enter the low power consumpting states such as dormancy or power down.
The workflow of the second microcontroller is as follows in the video processing module:
Second microcontroller opens the power supply of optical fiber interface unit by after electricity in the first microprocessor control,Central station is actively connected to by optical fiber transport channel, after success to be connected, the sensing data of the first microcontroller collectionMemory is dumped to by the data transmission unit between the first microcontroller and the second microcontroller simultaneously(Or)It is forwarded to optical fiberPassage reports central station;And the central station command adapted thereto received is transferred to the first microcontroller, the first microcontroller according toCentral station is instructed to control whether the second microcontroller opens transmission of video.
If only carrying out transmission of video, the second microcontroller opens the power supply of video frequency pick-up head, gathers and leads to through optical fiberVideo is transmitted to central station in road;If necessary to real-time report sensing data and video data, then the second microcontroller passes through softPart processing is inserted into temporal information in video flowing, sensing data corresponding to time sharing transmissions and video data;If only carry outGathered data reports, then the second microcontroller closes the power supply of video frequency pick-up head, and enters low-power consumption mode.
Embodiment described above is only that the preferred embodiment of the present invention is described, not to the model of the present inventionEnclose and be defined, on the premise of design spirit of the present invention is not departed from, technical side of the those of ordinary skill in the art to the present inventionThe various modifications and improvement that case is made, it all should fall into the protection domain of claims of the present invention determination.