Video-losing detects and warning circuit
Technical field
The utility model belongs to field of video monitoring, and especially a kind of video-losing detects and warning circuit.
Background technology
Along with the extensive use of video monitoring system, people are more and more higher to the requirement of video image quality.Video monitoring system is made of the The Cloud Terrace of front end and the control system on backstage usually, occurs the phenomenon of video-losing in system's running sometimes, causes the decline of video image quality, has influenced the fluency and the clarity of video playback.Cause the video-losing reason in the video monitoring system to mainly contain: the transmission line failure between the The Cloud Terrace fault of front end, the control system fault of rear end and The Cloud Terrace and the control system causes.At present, video-losing detection and warning function are mainly realized on the control system of rear end, as various video servers, DVR or matrix etc., the vision signal of the control system receiving front-end The Cloud Terrace of rear end output is also carried out calculation process, is judged the video-losing situation it, when detecting vision signal and lose, can report to the police immediately and notify the relevant personnel that relevant device is investigated processing.The problem that this video-losing detects and warning device exists is: it is the The Cloud Terrace faults itself of front end that people can not judge when the investigation fault intuitively, or the transmission line failure between The Cloud Terrace and the control system, and end control system fault in back own causes video-losing, therefore, make troubles for the investigation of fault, influenced the work of video monitoring system; Simultaneously, on the end control system of back, use the equipment of video-losing detection and warning must improve whole video supervisory control system cost height.
Summary of the invention
The purpose of this utility model is to overcome the deficiencies in the prior art, and a kind of video-losing detection and warning circuit that video-losing detected and reduced cost, make things convenient for malfunction elimination that carry out in The Cloud Terrace is provided.
The utility model solves its technical problem and takes following technical scheme to realize:
A kind of video-losing detects and warning circuit, constitute by video processing module, single-chip microcomputer and alarm output module, the video inputs of this video processing module is connected with the composite video signal of monopod video camera output, the parity field synchronous signal output end of this video processing module is connected with the external interrupt interface of single-chip microcomputer or with the I/O interface of single-chip microcomputer, and single-chip microcomputer also is connected with alarm output module by the I/O interface.
And described alarm output module is the communication module that communicates with external equipment.
And described alarm output module is the switch module of control external equipment.
And described communication module is SN65LBC184 communication chip or ISL4489 communication chip.
And described single-chip microcomputer is the ATmega128 chip, and described video processing module is the LM1881 chip.
Advantage of the present utility model and good effect are:
1. detection of this video-losing and warning circuit are to detect by the parity field synchronizing signal of single-chip microcomputer to video processing module output in The Cloud Terrace, and carry out video-losing by alarm output module and report to the police.Because whether this detection and warning function are to detect video by The Cloud Terrace self to lose, and can point out out the The Cloud Terrace video-losing intuitively in case the situation of video-losing occurs, the convenient for maintaining personnel are to the investigation of video fault.
2. detection of this video-losing and warning circuit are reasonable in design, its detection and controlling alarm to video-losing is all carried out in The Cloud Terrace, avoid using high end control system that video is carried out the great number equipment investment that loss detection is brought, reduced the cost of video monitoring system.
3. the utility model is reasonable in design, circuit is simple, has made things convenient for the investigation of maintenance personal to the video fault, has reduced the cost of video monitoring system, has guaranteed the fluency and the definition of video image, can be widely used in the video monitoring system.
Description of drawings
Fig. 1 is a circuit block diagram of the present utility model;
Fig. 2 is the utility model video processing module is imported time output to normal video signal parity field synchronization waveform figure;
The parity field synchronization waveform figure of Fig. 3 output when not having the normal video signal input that is the utility model video processing module.
Embodiment
Below in conjunction with accompanying drawing the utility model embodiment is further described:
A kind of video-losing detects and warning circuit, is at inner detection and the warning circuit to the monopod video camera video-losing that increases of The Cloud Terrace, as shown in Figure 1.This circuit is made of video processing module, single-chip microcomputer and alarm output module, and what this video processing module adopted is the LM1881 chip, and what this single-chip microcomputer adopted is the ATmega128 chip.The video inputs of this video processing module is connected with the composite video signal of monopod video camera output, this video processing module can be isolated composite video signal various synchronizing signals, present embodiment uses the parity field synchronous signal output end of video processing module to be connected with the external interrupt interface of single-chip microcomputer, also can be connected with the I/O interface of single-chip microcomputer.Single-chip microcomputer judges whether to occur video-losing by the parity field synchronizing signal of external interrupt interface or I/O interface receiver, video processing module output, and when detecting the video-losing situation, single-chip microcomputer is by being connected the alarm output module output of reporting to the police with it.Alarm output module can be a communication module, single-chip microcomputer sends to warning message on the connected external equipment by this communication module, this communication module can be to carry out the SN65LBC184 communication chip that RS485 communicates by letter with external equipment, and also can adopt is to carry out the ISL4489 communication chip that RS422 communicates by letter with external equipment; Alarm output module can also be one can control the switch module of external equipment, this switch module can be a relay circuit, as use the G6B-1114C-US relay, and perhaps use switching devices such as triode, directly control external equipment by this switch module and report to the police.
Being connected with the external interrupt interface of single-chip microcomputer with the parity field synchronous signal output end of video processing module below is that example illustrates operation principle of the present utility model:
Comprise video signal and other control signals from the composite video signal of monopod video camera output, video processing module is isolated various synchronizing signals from composite video signal, and one of them is exactly the parity field synchronizing signal.Because video signal one frame picture divides strange and idol two field scan, therefore can gather the parity field synchronizing signal, and use of the pulse timing of the timer of single-chip microcomputer the parity field synchronizing signal with single-chip microcomputer.If it is normal to input to the video of video processing module, the parity field synchronizing signal of its output is the saltus step pulse signal in cycle, as shown in Figure 2, the rising of this pulse signal or trailing edge enter the external interrupt of single-chip microcomputer, to trigger this interruption and, make timer from newly picking up counting to the timer timing time zero clearing of single-chip microcomputer.If the vision signal of input is undesired, as shown in Figure 3, through the isolated parity field synchronizing signal of the video processing module saltus step pulse signal that is not the cycle, can not trigger the single-chip microcomputer external interrupt, the continuous timing of single-chip microcomputer timer this moment, when timing time during greater than 2 times of parity field field duration, be considered as video-losing one frame, to trigger timer interrupts, in Interrupt Process, video-losing is added up once, and to the timer time zero clearing, when timing time during once more greater than 2 times of parity field field duration, just think video-losing one frame once more, so continuous circle collection is judged.When the satisfied number of times of regulation in advance of the frame number of video-losing, single-chip microcomputer will trigger warning device.
It is emphasized that; embodiment described in the utility model is illustrative; rather than it is determinate; therefore the utility model is not limited to the embodiment described in the embodiment; every by those skilled in the art according to other execution modes that the technical solution of the utility model draws, belong to the scope of the utility model protection equally.