The automatic preferential switch decision method of video signal interruption
Technical field
The present invention relates to the electronic signal process method, particularly a kind of broadcast of broadcast television industry and studio video and audio signal processing method specifically are the automatic preferential switch decision method of a kind of video signal interruption.
Background technology
TV station's broadcast items is sometimes owing to the reason or the other reasons of equipment make signal interruption, at present, for this situation, can only handle with two kinds of ways, a kind of is by looking the audio frequency switching device, artificial other signal sources that switch to are filled, and another kind is to specifying standby host by the auto switching device switching.First kind is Manual Switch, promptly judge by the people whether signal really interrupts, because have black (the longest reach 5 seconds) in the normal tv signal, it also is black full picture that TV signal is interrupted, so just brought a lot of difficulties, manually confirmed fault and implement switching to cause the signal interruption overlong time to artificial judgment; Second method is to have or not automatically with the synchronizing signal in the vision signal to judge, the shortcoming of this judgement is that (such as broadcasting what use now is not that hard disc of computer broadcasts when equipment still can not be exported synchronizing signal during outputting video signal, synchronizing signal output is still arranged) when not having programme signal output, so judge by signal Synchronization is had or not whether signal interrupts, it is disconnected to be easy to erroneous judgement to occur, signal is switched mistake occurred.
Summary of the invention
The objective of the invention is to pass through artificial judgment in order to solve in the present television relay process, or judge black the problem whether signal interrupt occurring by the synchronizing signal in the vision signal, and provide a kind of video signal interruption automatic preferential switch decision method.
Method of the present invention may further comprise the steps:
1, the sample video signal amplitude is separated
The method of at first utilizing signal amplitude to separate is carried out separating treatment to vision signal, simultaneously synchronizing signal and luminance signal are separated in vision signal, sync signal level is between the negative 0.3V at 0V, luminance level is to arrive between the positive 0.7V at 0V, the two paths of signals of separating is handled respectively again.
2, synchronizing signal is handled
To the synchronization signal processing process be: amplify separating the synchronizing signal square wave by synchronous amplifying circuit, extract synchronizing signal, carry out shaping, carry out delay process through monostable circuit again through Schmidt circuit through integrating circuit.Amplifying circuit makes synchronizing signal reach the needed level of logical circuit between 0-5V synchronously, integrating circuit is selected the field sync signal in the composite synchronizing signal, circuit did not overturn when Schmidt circuit made input signal be lower than threshold level, circuit upset when input signal is higher than threshold values, make the field synchronization accuracy of judgement, monostable circuit is delayed time to synchronizing signal, avoids having in signal transmission the short time synchronizing signal to lose and to produce erroneous judgement disconnected.
3, luminance signal is handled
Processing procedure to luminance signal is: amplify and the phase inverter paraphase separating luminance signal by the brightness amplifying circuit, make it to become positive logical relation, pass through the Schmidt circuit shaping again, carry out delay process through monostable circuit again.The brightness amplifying circuit makes luminance signal directly enter saturated and cut-off state, when luminance level enters saturation condition greater than 0V, luminance level enters cut-off state less than 0V, judge having of luminance signal and do not have by this brightness amplifying circuit, and make output level reach the needed level of logical circuit between 0-5V, circuit did not overturn when Schmidt circuit made input signal be lower than threshold level, circuit upset when input signal is higher than threshold values, filter and be mingled in noise signal in the luminance signal, make the luminance signal accuracy of judgement, monostable circuit is delayed time to luminance signal, avoids having in signal transmission the short time luminance signal to lose and to produce erroneous judgement disconnected.
4, decision circuitry
Synchronizing signal and luminance signal are entered logic determines after handling accordingly, the process of judgement is: two paths of signals has four kinds of combinations:
Having has brightness synchronously, has been judged as signal, and logic level is 1;
Have not have brightness synchronously, be judged as black burst, logic level is 0;
Have brightness not have synchronously, be judged as interference signal, logic level is 0;
Do not have brightness not have synchronously, be judged as no signal, logic level is 0.
More than these four kinds of situations can realize judge that two paths of signals inputs to the AND circuit input with two input AND circuit, signal is judged in the output output of AND circuit.
More than four steps be to the quality of one tunnel video signal quality whether, whether signal interrupts judges, select to be meant that the signal that multichannel is crossed through above step process preferentially selects again and multiple signals are preferential, each road is through all having one the road to judge signal output after the decision circuitry, the logical relation of judging output signal is: good signal is a logic level 1 to judge output, judges that the bad signal of output is logic level 0 (this road signal fault this moment).
Multichannel is judged that signal inputs to the preferential selector of forming by logical circuit simultaneously, the priority of setting in preferential selector is 1-2-3-4.....n, when the multichannel of input judges that signal all is good (judging that the output signal logic level all is 1), then the output first via of preferential selector is 1, other each road of output of preferential selector is 0, when the first via judges that the signal logic level is 0 when signal fault (this road), then the output the second tunnel of preferential selector is 1, when the first via and the second road judges that the signal logic level all is 0, then the output Third Road of preferential selector is 1, by that analogy, there are how many roads to judge the signal input no matter be, the output of preferential selector can only have one the tunnel to be logical one, and priority is followed in output.
When signal recovers just often, judge that just signal becomes at 1 o'clock by 0, also follows priority.
The output signal of preferential selector is exactly the switch-over control signal of switch, because the output of preferential selector can only have one road output logic level 1, and when having only logical one, each road of switch control signal switches, so switch no matter be the input signal way what, output can only have one the tunnel, thereby reaches the purpose that control is switched.
Interrupt automatic preferential switch decision method for digital video signal, can realize by sampled signal is carried out the digital to analogy change-over circuit, sampled signal is converted to analog signal by digital signal, again analog signal is handled by above way, produce switch-over control signal, utilize switch that digital signal is switched then, thereby realize digital video signal interruption is judged preferential the switching automatically.
The present invention's method can be applied in the video signal transmission field widely, such as the satellite-signal transfer system, and TV station's broadcast system, cable TV signal source transmission system, Web TV signal source transmission system etc.
Beneficial effect of the present invention:
1, signal quality distinguishes.
What 2, whether signal interrupted distinguishes.
3, the automatic switchover of multiple signals is not the switching that only is confined to active and standby signal.
4, the preferential selection of intelligence switched, and priority level is most important to less important definition according to signal.
Description of drawings
Fig. 1 judges block diagram for one-channel signal.
Fig. 2 is a multiple signals switching controls block diagram.
Fig. 3 switches block diagram for the simulation video/audio signal.
Fig. 4 switches block diagram for the digital video-audio signal.
Embodiment
See also Fig. 1, Fig. 2, Fig. 3, shown in Figure 4: method of the present invention may further comprise the steps:
1, the sample video signal amplitude is separated
At first utilize the method for signal amplitude separation 11 that vision signal is carried out separating treatment, simultaneously synchronizing signal and luminance signal are separated in vision signal, sync signal level is between the negative 0.3V at 0V, luminance level is to arrive between the positive 0.7V at 0V, the two paths of signals of separating is handled respectively again.
2, synchronizing signal is handled
To the synchronization signal processing process be: separate the synchronizing signal square wave by 12 pairs of synchronous amplifying circuits and amplify, extract synchronizing signal, carry out shaping, carry out delay process through monostable circuit 15 again through Schmidt circuit 14 through integrating circuit 13.Amplifying circuit 12 makes synchronizing signal reach the needed level of logical circuit between 0-5V synchronously, integrating circuit 13 is selected the field sync signal in the composite synchronizing signal, Schmidt circuit 14 makes input signal be lower than the threshold level circuit and does not overturn, circuit upset when input signal is higher than threshold values, make the field synchronization accuracy of judgement, 15 pairs of synchronizing signals of monostable circuit are delayed time, and avoid having in signal transmission the short time synchronizing signal to lose and to produce erroneous judgement disconnected.
3, luminance signal is handled
Processing procedure to luminance signal is: separate luminance signal by 16 pairs of brightness amplifying circuits and amplify and phase inverter 17 paraphase, make it to become positive logical relation, pass through Schmidt circuit 18 shapings again, carry out delay process through monostable circuit 19 again.Brightness amplifying circuit 16 makes luminance signal directly enter saturated and cut-off state, when luminance level enters saturation condition greater than 0V, luminance level enters cut-off state less than 0V, judge having of luminance signal and do not have by this brightness amplifying circuit 16, and make output level reach the needed level of logical circuit between 0-5V, circuit did not overturn when Schmidt circuit 18 made input signal be lower than threshold level, circuit upset when input signal is higher than threshold values, filter and be mingled in noise signal in the luminance signal, make the luminance signal accuracy of judgement, 19 pairs of luminance signals of monostable circuit are delayed time, and avoid having in signal transmission the short time luminance signal to lose and to produce erroneous judgement disconnected.
4, decision circuitry
Synchronizing signal and luminance signal are entered logic determines after handling accordingly, the process of judgement is: two paths of signals has four kinds of combinations:
Having has brightness synchronously, has been judged as signal, and logic level is 1;
Have not have brightness synchronously, be judged as black burst, logic level is 0;
Have brightness not have synchronously, be judged as interference signal, logic level is 0;
Do not have brightness not have synchronously, be judged as no signal, logic level is 0.
More than these four kinds of situations can realize judge that two paths of signals inputs to the AND circuit input with two input AND circuit, signal is judged in the output output of AND circuit.
More than four steps be to the quality of one tunnel video signal quality whether, whether signal interrupts judges, select to be meant that the signal that multichannel is crossed through above step process preferentially selects again and multiple signals are preferential, each road is through all having one the road to judge signal output after the decision circuitry 10, the logical relation of judging output signal is: good signal is a logic level 1 to judge output, judges that the bad signal of output is logic level 0 (this road signal fault this moment).
In this embodiment, judge that with six the road signal is that example describes, in addition, it also can be multichannel, judge that signal inputs to the preferential selector of forming by logical circuit 20 simultaneously to six the tunnel, the priority of setting in preferential selector 20 is 1-2-3-4-5-6, when six road of input judges that signals all are good (judging that the output signal logic level all is 1), then the output first via of preferential selector 20 is 1, other each road of output of preferential selector 20 is 0, when the first via judges that the signal logic level is 0 when signal fault (this road), then the output the second tunnel of preferential selector 20 is 1, when the first via and the second road judges that the signal logic level all is 0, then the output Third Road of preferential selector 20 is 1, work as the first via, the second the road and Third Road judge that the signal logic level all is at 0 o'clock, then the output the four tunnel of preferential selector 20 is 1, work as the first via, the second the tunnel, Third Road and the four road judges that the signal logic level all is at 0 o'clock, the output the five tunnel of then preferential selector 20 is 1 to work as the first via, the second the tunnel, Third Road, the the four the road and the five the road judges that the signal logic level all is at 0 o'clock, and then the six the tunnel of the output of preferential selector 20 the is 1.Six the road judge the signal input, and the output of preferential selector 20 can only have one the tunnel to be logical one, and priority is followed in output.
When signal recovers just often, judge that just signal becomes at 1 o'clock by 0, also follows priority.
The output signal of preferential selector 20 is exactly the switch-over control signal of switch 30, because the output of preferential selector 20 can only have one road output logic level 1, and when having only logical one, each road of switch control signal switches, so switch 30 no matter be the input signal way what, output can only have one the tunnel, thereby reaches the purpose that control is switched.
Interrupt automatic preferential switch decision method for digital video signal, can realize by sampled signal is carried out the digital to analogy change-over circuit, sampled signal is converted to analog signal by digital signal, again analog signal is handled by above way, produce switch-over control signal, utilize 40 pairs of digital signals of switch to switch then, thereby realize digital video signal interruption is judged preferential the switching automatically.