JP2006135380A - Method and device for determining video signal - Google Patents

Method and device for determining video signal Download PDF

Info

Publication number
JP2006135380A
JP2006135380A JP2004318990A JP2004318990A JP2006135380A JP 2006135380 A JP2006135380 A JP 2006135380A JP 2004318990 A JP2004318990 A JP 2004318990A JP 2004318990 A JP2004318990 A JP 2004318990A JP 2006135380 A JP2006135380 A JP 2006135380A
Authority
JP
Japan
Prior art keywords
value
signal
counter
video signal
edges
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004318990A
Other languages
Japanese (ja)
Inventor
Takeshi Matsushita
武史 松下
Masamitsu Fukazawa
巨光 深澤
Shigeo Eshima
繁雄 恵嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004318990A priority Critical patent/JP2006135380A/en
Publication of JP2006135380A publication Critical patent/JP2006135380A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To determine the presence or the absence of an input video signal by a composite synchronizing signal generated by compositing the horizontal synchronizing signal and the vertical synchronizing signal of the input video signal. <P>SOLUTION: The number of edges of the composite synchronizing signal of a video signal inputted from an input terminal 1 is counted with an input signal counter 3 for a period (T<SB>1</SB>) set with a period setting part 2. A counter value (X) is outputted. A value (A) which is based on a calculated value of the horizontal synchronizing signal in the period (T<SB>1</SB>) set with a range setting part 5, a value (B) in consideration of a calculated value of the composite synchronizing signal and a noise component caused by a weak electric field, and the counter value (X) are counted with a counter (Y<SB>1</SB>) when it is A≤X≤B, and otherwise counted with a counter (Y<SB>2</SB>) in a counter value comparison processor 4. An up/down counter is subjected to up-processing when the counter value of the (Y<SB>1</SB>) reaches an upper limit value (C) set with an upper limit setting part 7 in an up/down counter 8. When the counter value of the (Y<SB>2</SB>) reaches an upper limit value (D), the up/down counter is subjected to down-processing. The presence or the absence of the input video signal is determined by using an up/down counter value with a signal presence/absence determining part 10. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は映像信号の処理方法及び装置に係り、特に弱電界などのノイズの影響による正常な映像信号の判定における誤動作を減らすための映像信号判定方法及び装置に関するものである。   The present invention relates to a video signal processing method and apparatus, and more particularly to a video signal determination method and apparatus for reducing malfunction in determination of a normal video signal due to the influence of noise such as a weak electric field.

一般に、NTSC放送方式におけるテレビの画面は2つのフィールド信号で一つのフレーム画面を形成し、この一つのフレームは525ラインの信号からなる。各フィールドの画面の同期を合わせるための垂直同期信号と、フレームを構成する各ライン信号の同期を合わせるための水平同期信号とが映像信号の一部を成している。   In general, a television screen in the NTSC broadcasting system forms one frame screen by two field signals, and one frame is composed of 525 line signals. A vertical synchronizing signal for synchronizing the screens of the fields and a horizontal synchronizing signal for synchronizing the line signals constituting the frame form a part of the video signal.

映像信号も記録/再生装置においてはこれらの同期信号を検出して、各種の信号処理ブロックで用いてる。その一例として、テレビ放送のチャンネルを切り換えた時に、切換後に入力される映像信号に同期信号が検出されないと、映像信号が存在しないと判定して、映像信号のないチャンネルでは同期信号が検出されない間のノイズ画面をブルーバック(BLUE BACK)画面や他の基準画面に代えることにより、画面上に現れるノイズによる視覚上の不便を改善している。   The video signal is also detected in the recording / reproducing apparatus and used in various signal processing blocks. As an example, when a TV broadcast channel is switched, if no sync signal is detected in the video signal input after switching, it is determined that no video signal exists, and no sync signal is detected in a channel without a video signal. By replacing the noise screen with a blue back (BLUE BACK) screen or another reference screen, visual inconvenience due to noise appearing on the screen is improved.

従来の技術による映像信号検出の判定方法は、映像信号の一フィールドや一フレーム期間中の同期信号数を数え、映像信号入力の有無を判断したり同期信号の周期を判断することで映像信号入力の有無を判断した。しかし、映像記録/再生装置には様々なノイズが存在し、これら弱電解ノイズやノイズの周波数の成分が類似した場合には、ノイズを同期信号として誤って判断することもあり得る。   The conventional video signal detection determination method is based on counting the number of synchronization signals in one field of a video signal and the number of synchronization signals in one frame period, determining whether a video signal is input, and determining the period of the synchronization signal. The presence or absence of was judged. However, there are various types of noise in the video recording / reproducing apparatus, and when these weak electrolysis noise and noise frequency components are similar, the noise may be erroneously determined as a synchronization signal.

従来、映像信号判定方法及び装置は、特許文献1に記載された同期信号判定方法を適用したものが知られている。上記特許文献1に開示されている映像信号判定方法は、映像信号記録/再生装置において、入力映像信号の中で水平同期信号の数をカウンティングするための区間T1、垂直同期信号の数をカウンティングするための区間T2、前記区間T1において検出される水平同期信号の数の最小値N1、最大値N2、前記区間T2において検出される垂直同期信号の数の最小値M1、及び最大値M2を設定するための段階と、前記区間T1において水平同期信号と判断されたパルスの数をカウンティングして第1カウンティング値とする段階と、前記区間T2で垂直同期信号と判断されたパルスの数をカウンティングして第2カウンティング値とするための段階及び前記第1カウンティング値が前記N1,N2の間の値に相当し、前記第2カウンティング値が前記M1,M2の間の値に相当する場合に正常な同期信号が検出されたと判断する段階と含む構成を有する。   Conventionally, a video signal determination method and apparatus to which the synchronization signal determination method described in Patent Document 1 is applied are known. In the video signal determination method disclosed in Patent Document 1, in the video signal recording / reproducing apparatus, the interval T1 for counting the number of horizontal synchronization signals in the input video signal and the number of vertical synchronization signals are counted. And a minimum value N1 and a maximum value N2 of the number of horizontal synchronization signals detected in the section T1, and a minimum value M1 and a maximum value M2 of the number of vertical synchronization signals detected in the section T2. A step of counting the number of pulses determined as a horizontal synchronization signal in the section T1 to obtain a first counting value, and a number of pulses determined as a vertical synchronization signal in the section T2. The step of obtaining a second counting value and the first counting value correspond to a value between N1 and N2, and the second counting value. It has a configuration in which tag value includes the step of determining a normal synchronization signal in the case that corresponds to a value between the M1, M2 is detected.

また、上記特許文献1に開示されている映像信号判定装置は、映像信号記録/再生装置において、入力複合同期信号から垂直同期信号を分離するための垂直同期信号分離部、前記垂直同期信号分離部の出力で所定の第1設定区間の間に垂直同期信号の数をカウンティングして第1カウンティング値とするための第1カウント部、前記第1カウンティング値が所定の第1設定範囲に含まれる場合に第1検出信号を発生する第1比較器部、前記入力複合同期信号において所定の第2設定区間の間に水平同期信号の数をカウンティングして第2カウンティング値とするための第2カウント部、前記第2カウンティング値が所定の第2設定範囲に含まれた場合に第2検出信号を発生するための第2比較器部及び前記第1検出信号が同時に発生される場合に同期信号検出の判定信号を発生するための演算部とを含む構成を有する。
特許第3043307号公報(段落番号0007、同0009及び図1、図2)
Also, the video signal determination device disclosed in Patent Document 1 is a video signal recording / reproducing device, wherein a vertical synchronization signal separation unit for separating a vertical synchronization signal from an input composite synchronization signal, the vertical synchronization signal separation unit A first counting unit for counting the number of vertical synchronizing signals during a predetermined first setting interval to obtain a first counting value, and the first counting value is included in a predetermined first setting range A first comparator for generating a first detection signal, and a second counting unit for counting the number of horizontal synchronizing signals during a predetermined second set interval in the input composite synchronizing signal to obtain a second counting value When the second counting value is included in a predetermined second setting range, the second comparator unit for generating the second detection signal and the first detection signal are generated simultaneously. Having a configuration including a calculation unit for generating a determination signal of the synchronizing signal detection.
Japanese Patent No. 3043307 (paragraph numbers 0007 and 0009 and FIGS. 1 and 2)

しかしながら上記の従来の構成で、入力映像信号の中の水平同期信号の数をカウンティングするカウンタ部と、垂直同期信号の数をカウンティングするカウンタ部とを備えるため、入力映像信号の中の水平同期信号と垂直同期信号に分離することが必須であるため、それぞれ専用の回路を備える必要があり、構成が複雑でコストが高くなるという課題を有していた。   However, in the above-described conventional configuration, since the counter unit counts the number of horizontal sync signals in the input video signal and the counter unit counts the number of vertical sync signals, the horizontal sync signal in the input video signal is provided. Therefore, it is necessary to provide a dedicated circuit for each, and there is a problem that the configuration is complicated and the cost is increased.

本発明は上記従来の問題点を解決するもので、入力映像信号の中の水平同期信号と垂直同期信号とを複合した複合同期信号によって、入力映像信号の有無を判定する映像信号判定方法及び装置を提供することを目的とする。   The present invention solves the above-described conventional problems, and a video signal determination method and apparatus for determining the presence or absence of an input video signal by a composite sync signal obtained by combining a horizontal sync signal and a vertical sync signal in the input video signal. The purpose is to provide.

この目的を達成するために本発明の映像信号判定方法は、入力映像信号中の水平同期信号の所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値に基づく値A、及び前記入力映像信号中の前記水平同期信号及び垂直同期信号を複合した複合同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値と弱電界に基づくノイズに起因するエッジ数の推定値とに基づく値Bをそれぞれ設定し、前記複合同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数Xをカウントし、前記複合同期信号のエッジ数Xが、A≦X≦Bの条件時は信号有りとし、X<AまたはX>Bの条件時は信号無しと判定する構成である。 In order to achieve this object, the video signal determination method according to the present invention includes a value A based on a calculated value of the number of rising edges or falling edges in a predetermined period T 1 of a horizontal synchronization signal in an input video signal, and the input Estimating the number of edges caused by noise based on the calculated value of the number of rising edges or falling edges in the predetermined period T 1 of the composite synchronizing signal obtained by combining the horizontal synchronizing signal and the vertical synchronizing signal in the video signal A value B based on each value is set, the number X of rising edges or falling edges X in the predetermined period T 1 of the composite synchronization signal is counted, and the number X of edges of the composite synchronization signal is A ≦ X ≦ It is configured to determine that there is a signal when the condition is B, and that there is no signal when the condition is X <A or X> B.

また、本発明の映像信号判定装置は、入力映像信号中の水平同期信号及び垂直同期信号を複合した複合同期信号の所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数Xをカウントする入力信号カウンタ手段と、前記水平同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値に基づく値A、及び前記水平同期信号及び前記垂直同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち上がりのエッジ数それぞれの計算値と弱電界に基づくノイズに起因するエッジ数の推定値とに基づく値Bを設定し出力する範囲設定手段と、前記入力信号カウンタ手段の出力Xと、前記範囲設定手段の出力値A及びBとを比較し、前記出力XがA以上B以下の範囲を満たす時信号有りと判断しカウントY1を出力し、前記出力XがA未満またはBよりも大きい時信号無しと判断しカウントY2を出力するカウンタ値比較処理手段とを備える。 In addition, the video signal determination device of the present invention counts the number X of rising edges or falling edges X in a predetermined period T 1 of a composite synchronizing signal obtained by combining a horizontal synchronizing signal and a vertical synchronizing signal in an input video signal. A counter means, a value A based on a calculated value of the number of rising or falling edges in the predetermined period T 1 of the horizontal synchronizing signal, and an edge of the horizontal synchronizing signal and the vertical synchronizing signal in the predetermined period T 1 Range setting means for setting and outputting a value B based on a calculated value of each rising edge or rising edge number and an estimated value of the number of edges caused by noise based on a weak electric field, an output X of the input signal counter means, The output values A and B of the range setting means are compared, and it is determined that there is a signal when the output X satisfies the range of A to B. And it outputs the count Y 1, the output X is provided with a counter value comparison processing means for outputting the count Y 2 determines that no signal is greater than A less than or B.

本発明の構成によれば、複合同期信号を用いて入力映像信号の有無を判定することができるため、従来水平同期信号と垂直同期信号とを分離する構成に比べ簡略化でき、コストが低減できるという効果がある。   According to the configuration of the present invention, since the presence or absence of the input video signal can be determined using the composite synchronization signal, the configuration can be simplified and the cost can be reduced as compared with the conventional configuration in which the horizontal synchronization signal and the vertical synchronization signal are separated. There is an effect.

請求項1及び請求項4に記載の発明は、入力映像信号の中で水平同期信号と垂直同期信号とを複合した複合同期信号を、一定期間内T1において前記複合同期信号の立ち上がりエッジまたは、立ち下がりエッジのカウントを行い、そのカウント値をXとし、前記一定期間内T1における前記水平同期信号のエッジの計算値に基づく所定の値をAとし、前記一定期間内T1における前記水平同期信号のエッジと前記垂直同期信号を加算したエッジの計算値と弱電界を考慮した実験値に基づく所定の値をBとしたものであり、比較器においてA≦X≦Bは信号有り、X<AまたはX>Bは信号無しと判定する構成を要旨としたものであり、入力映像信号の中で水平同期信号と垂直同期信号を分離すること無く、複合同期信号のエッジをカウントを行い所定の値と比較を行うことにより、映像信号の有無判定を簡単な構成で正確に判定することができる。 According to the first and fourth aspects of the present invention, a composite synchronizing signal obtained by combining a horizontal synchronizing signal and a vertical synchronizing signal in an input video signal is expressed as a rising edge of the composite synchronizing signal within a predetermined period T 1 or The falling edge is counted, the count value is set to X, a predetermined value based on the calculated value of the edge of the horizontal synchronization signal in the predetermined period T 1 is set to A, and the horizontal synchronization in the predetermined period T 1 is set to A. A predetermined value based on the calculated value of the edge of the signal and the edge obtained by adding the vertical synchronizing signal and the experimental value in consideration of the weak electric field is defined as B. In the comparator, A ≦ X ≦ B is a signal, and X < A or X> B is based on the configuration of determining that there is no signal, and the edge of the composite sync signal is counted without separating the horizontal sync signal and the vertical sync signal from the input video signal. By comparing a predetermined value, it is possible to accurately determine the presence or absence decision of the video signal with a simple configuration.

請求項2及び請求項5に記載の発明は、前記信号有りと判定する条件が連続する回数Y1をカウントし、前記Y1と予め設定した所定の値Cとを比較し、同数ならばアップダウンカウンタに対しアップ処理を行い、前記信号無しと判定する条件が連続する回数Y2をカウントし、前記Y2と予め設定した所定の値Dとを比較し、同数ならば前記アップダウンカウンタに対しダウン処理を行う構成を要旨としたものであり、上述の効果に加え、ノイズに対して誤動作を発生せずに映像信号の有無を判定することができる。 The invention according to claim 2 and claim 5 counts the number of times Y 1 when the condition for determining the presence of the signal continues, compares Y 1 with a predetermined value C, and if the number is the same, the number increases. An up process is performed on the down counter, the number of times Y 2 when the condition for determining that there is no signal is continued is counted, Y 2 is compared with a predetermined value D set in advance, and if the number is the same, the up / down counter is counted. In contrast to the above-described effect, it is possible to determine the presence / absence of a video signal without causing a malfunction with respect to noise.

請求項3及び請求項6に記載の発明は、前記アップダウンカウンタのカウント値Zn(但し、nは自然数)と予め設定した所定の値E及び0とを比較し、前記アップダウンカウンタのカウンタ値Zi(但し、iはi>nを満たす自然数)が再びEまたは0となるまで、前記Znの値に応じた判定を保持する構成を要旨としたものであり、ヒステリヒス回路を生じノイズに対して誤動作を発生せずに映像信号の有無を判定することができるという作用を有する。 The invention according to claim 3 and claim 6 compares the count value Z n (where n is a natural number) of the up / down counter with predetermined values E and 0, and the counter of the up / down counter The gist of the configuration is that the determination according to the value of Z n is held until the value Z i (where i is a natural number satisfying i> n) becomes E or 0 again, resulting in a hysteresis circuit and noise. For example, the presence or absence of a video signal can be determined without causing a malfunction.

以下、本発明の映像信号判定装置の実施形態について、図1及び図2を用いて説明する。図1は、本発明の映像信号判定装置における好ましい実施形態の構成を示すブロック図、図2は同実施形態における流れ図である。図1おいて、1は入力端子、2は期間設定部、3は入力信号カウンタ部、4はカウンタ値比較処理部、5は範囲設定部、6は比較部、7は上限設定部、8はアップダウンカウンタ部、9はレベル基準値設定部、10は信号有無判定部、11は出力端子である。   Hereinafter, an embodiment of a video signal determination apparatus according to the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a preferred embodiment of the video signal determination apparatus of the present invention, and FIG. 2 is a flowchart in the embodiment. In FIG. 1, 1 is an input terminal, 2 is a period setting unit, 3 is an input signal counter unit, 4 is a counter value comparison processing unit, 5 is a range setting unit, 6 is a comparison unit, 7 is an upper limit setting unit, and 8 is An up / down counter unit, 9 is a level reference value setting unit, 10 is a signal presence / absence determination unit, and 11 is an output terminal.

図1の各要素相互の働きについて説明する。入力端子1に水平同期信号と垂直同期信号とを複合した複合同期信号を入力する。入力した複合同期信号のエッジ(立ち上がりまたは立ち下がりの何れか)を、期間設定部2で設定した期間(T1)カウントする。入力信号カウンタ部3による期間tのカウンタ値をX(t)とすると、カウンタ値比較処理部4では、範囲設定部5で設定した所定の範囲A及びBとX(t)とを比較し、連続してX(t)がA以上B以下の範囲の数をカウントY1として数え、それ以外(X(t)がA未満またはBよりも大きい)の範囲が連続する数をカウントY2として数え、A以上B以下の範囲とそれ以外の範囲とにまたがると、カウントY1及びカウントY2それぞれをリセットする。 The operation of each element in FIG. 1 will be described. A composite synchronizing signal obtained by combining a horizontal synchronizing signal and a vertical synchronizing signal is input to the input terminal 1. The edge (either rising or falling) of the input composite synchronization signal is counted for the period (T 1 ) set by the period setting unit 2. Assuming that the counter value of the period t by the input signal counter unit 3 is X (t), the counter value comparison processing unit 4 compares the predetermined ranges A and B set by the range setting unit 5 with X (t), The number of consecutive ranges in which X (t) is A or more and B or less is counted as count Y 1 , and the number in which the other ranges (X (t) is less than A or greater than B) continues is counted as count Y 2. When counting and spanning the range from A to B and the other ranges, the count Y 1 and the count Y 2 are reset.

このようにして得られたY1及びY2を、それぞれ上限設定部7で設定したY1の上限値C及びY2の上限値Dを比較部6で比較し、それぞれのカウンタY1またはY2が上限値となると、アップダウンカウンタ部8に信号を出力する。X(t)がA以上B以下の範囲であればアップダウンカウンタ部8でアップダウンカウンタZnに1を加え、X(t)がA未満またはBより大きい場合にはアップダウンカウンタZnから1を引く。 Thus the Y 1 and Y 2 obtained, the upper limit D of the upper limit value C and Y 2 of Y 1 which were set by the upper limit setting unit 7 compares the comparison unit 6, each of the counter Y 1 or Y When 2 reaches the upper limit value, a signal is output to the up / down counter section 8. If X (t) is in the range from A to B, the up / down counter unit 8 adds 1 to the up / down counter Z n , and if X (t) is less than A or greater than B, the up / down counter Z n Subtract 1

アップダウンカウンタ部8で得られたアップダウンカウンタZnの値は、レベル基準値設定部9で設定される最大値Eと等しい場合にはT1の期間の信号をハイレベルとして、0と等しい場合にはローレベルとして、0より大きくE未満の場合は期間T1の前のT1の状態を保持する信号有無判定を信号有無判定部10で行い、それぞれの信号を出力端子11から出力する。なお、アップダウンカウンタZnは、X(t)がA以上B以下の条件が連続(換言すると、Y1=Cが連続)して続いたとしても最大値はEに設定され、逆にX(t)がA未満またはB以上の条件が連続(換言すると、Y2=Dが連続)して続いたとしても0に設定する。 When the value of the up / down counter Z n obtained by the up / down counter unit 8 is equal to the maximum value E set by the level reference value setting unit 9, the signal during the period T 1 is set to a high level and equal to 0. In this case, the signal is determined to be at a low level, and when it is greater than 0 and less than E, the signal presence / absence determination unit 10 performs signal presence / absence determination to hold the state of T 1 before the period T 1 and outputs each signal from the output terminal 11. . The up / down counter Z n has a maximum value set to E even if the condition that X (t) is A or more and B or less continues (in other words, Y 1 = C continues). Even if the condition where (t) is less than A or more than B continues (in other words, Y 2 = D continues), it is set to 0.

以上説明した本実施形態の映像信号判定装置における各処理の流れを、図2を参照して説明する。なお、図2に示した流れ図は、本実施例における原理をシリーズ的に示し説明するものであり、図1に例えばシフトレジスタを備えることによりX(t)のループは全体に及ばずに済ませることが可能で、処理速度を向上させることができる。   The flow of each process in the video signal determination apparatus of the present embodiment described above will be described with reference to FIG. The flow chart shown in FIG. 2 shows and explains the principle in this embodiment in a series. The loop of X (t) can be eliminated by providing, for example, a shift register in FIG. And the processing speed can be improved.

先ず、S201で映像信号判定期間T1を設定する。入力端子1から入力する映像信号の内、範囲設定部5で設定するT1間で水平同期信号の立ち上がりまたは立ち下がりエッジ数A、水平同期信号及び垂直同期信号の立ち上がりまたは立ち下がりエッジ数と弱電界に起因するノイズ成分の立ち上がりまたは立ち下がりエッジの推定数とを加算したB、上限設定部7で設定するエッジ数X(t)がA以上B以下の条件が連続するカウント値Y1の上限値C、エッジ数X(t)がA未満またはBより大きい条件が連続するカウント値Y2の上限値D、及びレベル基準値設定部9で設定するアップダウンカウンタZnの上限値Eを、S202で設定する。入力端子1から入力される映像信号の複合同期信号のエッジ数X(t)を入力信号カウンタ部3でカウントする(S203)。 First, to set the video signal determination period T 1 in S201. Of the image signal input from the input terminal 1, the number of edges rising or falling of the horizontal sync signals between T 1 to be set by the range setting unit 5 A, the number of edges rising or falling of the horizontal synchronizing signal and a vertical synchronizing signal and a weak B, which is the sum of the estimated number of rising or falling edges of the noise component caused by the electric field, and the upper limit of the count value Y 1 where the number of edges X (t) set by the upper limit setting unit 7 continues from A to B. The upper limit value D of the count value Y 2 where the value C, the number of edges X (t) is less than A or greater than B, and the upper limit value E of the up / down counter Z n set by the level reference value setting unit 9 are Set in step S202. The number X (t) of edges of the composite synchronizing signal of the video signal input from the input terminal 1 is counted by the input signal counter unit 3 (S203).

カウンタ値比較処理部4において、S203でカウントしたX(t)が、S202で設定したA以上B以下の条件か、それ以外の条件かをS204で比較し、X(t)がA以上B以下の条件の場合には、S205で当該条件が連続する限りS206でカウンタY1に1を加算し、S202で設定したCになると(S208)、S209でアップダウンカウンタ部8においてアップダウンカウンタZnに1を加算する。 The counter value comparison processing unit 4 compares in S204 whether X (t) counted in S203 is A or more and B or less set in S202, or other conditions, and X (t) is A or more and B or less. in the case of the conditions, the conditions by adding 1 to the counter Y 1 in step S206 as long as continuous S205, becomes the C set in S202 (S208), the up-down counter in the up-down counter unit 8 in S209 Z n Add 1 to.

一方、S204においてカウンタ値比較処理部4でエッジ数X(t)がS202で設定したA未満またはB以上の条件が連続する(S210)と、S211でカウント値Y2に1を加え、S202で設定したDになると(S213)、S214でアップダウンカウンタ部8においてアップダウンカウンタZnから1を減算する。 On the other hand, the number of edges X (t) is A, or less than B more conditions set in step S202 is continuous with (S210), 1 in the count value Y 2 at S211 added in the counter value comparison processing unit 4 in S204, in S202 at the set D (S213), 1 is subtracted from the up-down counter Z n in the up-down counter unit 8 in S214.

なお、上述の流れ図において、S204でX(t)がA以上B以下の条件とX(t)がA未満またはB以上の条件とが変更されたときには、S207及びS212に示すようにY1及びY2をリセットする。また、S208においてY1=Cを満足しない、またはS213においてY2=Dを満足しない場合には、S204に戻りエッジ数X(t)をA及びBとの大小関係の比較、及び各条件に応じたカウントを繰り返す。 In the above flow chart, when the condition where X (t) is A or more and B or less and the condition where X (t) is less than A or B or more are changed in S204, as shown in S207 and S212, Y 1 and to reset the Y 2. If Y 1 = C is not satisfied in S208, or if Y 2 = D is not satisfied in S213, the process returns to S204 where the number of edges X (t) is compared with A and B, and each condition is determined. Repeat the count accordingly.

入力信号カウンタ部3で期間T1だけカウントすると、アップダウンカウンタZnがS202で設定したEに等しい(例えば、Znの初期値を0とすると、Y1=Cの条件をE回以上満足する)場合には信号有無判定部10はハイレベル(信号有り)と判定し、Znが0に等しい(例えば、Znの初期値をE−1とすると、Y2=Dの条件がE回以上満足する)場合には信号有無判定部10はローレベル(信号無し)と判定し、その他の場合にはS201で設定した期間T1の直前の期間T1における状態(ハイレベルであればハイレベルの状態、ローレベルであればローレベルの状態)を維持する。 When the count by the period T 1 in the input signal counter unit 3, the up-down counter Z n is equal to E set in S202 (e.g., if the initial value of Z n to 0, Y 1 = C condition or E times satisfaction The signal presence / absence determination unit 10 determines that the signal level is high (there is a signal), and Z n is equal to 0 (for example, assuming that the initial value of Zn is E−1, the condition of Y 2 = D is E or satisfy) the signal presence determination unit 10 when the determined low level (no signal) times, in other cases if the state (high level in the period T 1 of the immediately preceding time period T 1 set in S201 High level state, low level if low level).

以上のように、本実施形態における映像信号判定では、水平同期信号と垂直同期信号とを複合した複合同期信号を適用するため、映像信号から水平同期信号と垂直同期信号とを分離し、分離した水平同期信号及び垂直同期信号をそれぞれ独立にカウントするという従来の構成に比べると簡単であり、簡単であるため装置の回路等を削減することができ、しかも弱電界に起因するノイズ成分が営巣信号判定に与える影響も抑制することができる。   As described above, in the video signal determination in the present embodiment, the horizontal sync signal and the vertical sync signal are separated from the video signal in order to apply the composite sync signal in which the horizontal sync signal and the vertical sync signal are combined. Compared to the conventional configuration in which the horizontal synchronization signal and the vertical synchronization signal are counted independently, it is simpler, so the circuit of the device can be reduced, and the noise component caused by the weak electric field is the nesting signal. The influence on the determination can also be suppressed.

次に、上述の実施形態を適用した一実施例を説明する。期間設定部2で設定するT1を2msecとし、NTSC方式及びPAL方式の何れも水平同期信号は64μsecであるため、エッジの数は31となるが、期間T1の間でエッジが2程度抜かれることを考慮し、31−2で範囲設定部5で設定する下限値Aを29とした。また、上述と同様に水平同期信号に基づくエッジ数31、垂直同期信号によるエッジ数はNTSC方式では7でPAL方式では9であるため両方式を考慮して9、弱電界に基づくノイズによるエッジ数を20と想定し、31+9+20で範囲設定部5で設定する上限値Bを60に設定した。また、上限設定部7で設定するC及びDは、連続性を判断するためだけであるため最低値の2を設定した。さらにレベル基準値設定部9で設定する基準値Eは、映像信号の有無の間を補間するヒステリシスの保持を設定する値であり、7とした。 Next, an example to which the above embodiment is applied will be described. Since T 1 set by the period setting unit 2 is 2 msec and the horizontal synchronization signal is 64 μsec in both the NTSC system and the PAL system, the number of edges is 31, but about 2 edges are removed during the period T 1. In view of this, the lower limit A set by the range setting unit 5 in 31-2 is set to 29. Similarly to the above, the number of edges based on the horizontal sync signal is 31 and the number of edges based on the vertical sync signal is 7 in the NTSC system and 9 in the PAL system, so both are considered 9 and the number of edges due to noise based on the weak electric field. Is set to 60, and the upper limit value B set by the range setting unit 5 is set to 60 at 31 + 9 + 20. Also, C and D set by the upper limit setting unit 7 are set only to determine the continuity, so the minimum value of 2 is set. Further, the reference value E set by the level reference value setting unit 9 is a value for setting retention of hysteresis for interpolating between the presence or absence of a video signal, and is set to 7.

本実施例では、範囲設定部5の下限値の設定に際し水平同期信号のエッジにおける欠落数も考慮に入れ、T1(2msec)の期間を当該水平同期信号から割り出したエッジ数(31)から所定数(2)だけ減算し下限値Aを設定したことにより、実際の映像信号においてしばしば発生する水平同期信号レベル近辺のノイズに起因するエッジ数の減少を加味しているため、現実的なエッジ数とすることができる。また、範囲設定部5の上限値の設定に際し、水平同期信号のエッジ数はT1(2msec)の期間から割り出したエッジ数(31)を採用し、垂直同期信号のエッジ数は映像方式の内エッジ数が多い方式(本実施例ではPAL方式)に基づくエッジ数(9)を採用し、しかも実映像信号ではたびたび見受けられる弱電界に基づくノイズ成分が及ぼすエッジ数の推定値(本実施例では20)も加味して上限値Bを設定したことにより、映像方式及び弱電界による所定範囲のノイズも含ませてエッジ数X(t)としているため、現実的なエッジ数とすることができる。 In this embodiment, when setting the lower limit value of the range setting unit 5, the number of missing edges in the horizontal synchronization signal is also taken into consideration, and the period of T 1 (2 msec) is determined from the number of edges (31) calculated from the horizontal synchronization signal. By subtracting the number (2) and setting the lower limit A, the reduction in the number of edges caused by noise in the vicinity of the horizontal sync signal level often generated in the actual video signal is taken into account. It can be. Further, when setting the upper limit value of the range setting unit 5, the number of edges of the horizontal synchronizing signal is the number of edges (31) determined from the period of T 1 (2 msec), and the number of edges of the vertical synchronizing signal is the number of edges in the video system. The number of edges (9) based on a method with a large number of edges (PAL method in this embodiment) is adopted, and the estimated number of edges (in this embodiment) caused by a noise component based on a weak electric field that is often found in real video signals. 20) is also taken into account, and the upper limit value B is set, so that the number of edges X (t) including the noise in a predetermined range due to the video system and the weak electric field is included, so that a realistic number of edges can be obtained.

また、本実施例では、カウントY1はエッジ数X(t)が上述のA以上B以下の範囲を連続で満たすカウント累積値、及びカウントY2はエッジ数X(t)がA未満またはBよりも大きい条件を連続で満たすカウント累積値、しかもエッジ数X(t)の条件が変化するとカウントY1及びY2の両方ともリセットする構成、すなわちカウントに連続性を加味しているため、条件変化の際に発生する中断も吸収すると共に、連続性を有する条件のみをカウントするため、誤動作を抑制することができる。 Further, in this embodiment, the count Y 1 is a cumulative count value in which the number of edges X (t) continuously satisfies the above-mentioned range of A to B, and the count Y 2 has an edge number X (t) of less than A or B If the condition of the cumulative count value that satisfies a larger condition continuously, and the condition of the number of edges X (t) changes, both the counts Y 1 and Y 2 are reset, that is, the continuity is added to the count. Absorption that occurs at the time of a change is absorbed, and only conditions having continuity are counted, so that malfunction can be suppressed.

上限設定部7にて設定するY1の上限値C及びY2の上限値Dは、上述のようにX(t)の条件が入れ替わる際にはそれぞれのカウントY1及びY2双方ともリセットし、それぞれの条件で連続するカウント値の上限値であるため、本実施例のように最小の数(2)と設定したとしても、連続性は十分に保証され映像信号の判定を高精度に行うことができる。 The upper limit value C of Y 1 and the upper limit value D of Y 2 set in the upper limit setting unit 7 are reset when both the counts Y 1 and Y 2 are changed when the condition of X (t) is switched as described above. Since this is the upper limit value of the continuous count value under each condition, even if the minimum number (2) is set as in this embodiment, the continuity is sufficiently ensured and the video signal is determined with high accuracy. be able to.

さらに、レベル基準値設定部9で設定する基準値E(本実施例では7)及び0と、アップダウンカウンタ値Znとを比較することで、0に等しければ映像信号がないと判断し、Eに等しければ映像信号があると判断し、0よりも大きくE未満であれば当該T1の期間の直前の信号有無の状態とすることで、弱電解ノイズや、同期信号に似たノイズに対しても誤動作を発生せずに入力映像信号の有無を高効率に判定することができる。 Further, by comparing the reference values E (7 in this embodiment) and 0 set by the level reference value setting unit 9 with the up / down counter value Z n, it is determined that there is no video signal if equal to 0, If it is equal to E, it is determined that there is a video signal, and if it is greater than 0 and less than E, the signal presence / absence immediately before the period of T 1 is set to be weak electrolysis noise or noise similar to a synchronization signal. In contrast, the presence or absence of the input video signal can be determined with high efficiency without causing a malfunction.

本発明の映像信号判定は、現在普及しだしているDVDレコーダを始め、映像信号をデジタル記録する分野に広く応用することができる。   The video signal determination of the present invention can be widely applied to the field of digital recording of video signals, including DVD recorders that are now widely used.

本発明の一実施形態による映像信号判定装置の構成図1 is a configuration diagram of a video signal determination device according to an embodiment of the present invention. 同実施形態による映像信号判定方法の流れ図Flowchart of video signal determination method according to the embodiment

符号の説明Explanation of symbols

1 入力端子
2 入力信号カウンタ部
3 期間設定部
4 カウンタ値比較処理部部
5 範囲設定部
6 比較部
7 上限設定部
8 アップダウンカウンタ部
9 レベル基準値設定部
10 信号有無判定部
11 出力端子
DESCRIPTION OF SYMBOLS 1 Input terminal 2 Input signal counter part 3 Period setting part 4 Counter value comparison process part 5 Range setting part 6 Comparison part 7 Upper limit setting part 8 Up / down counter part 9 Level reference value setting part 10 Signal presence determination part 11 Output terminal

Claims (6)

入力映像信号中の水平同期信号の所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値に基づく値A、及び前記入力映像信号中の前記水平同期信号及び垂直同期信号を複合した複合同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値と弱電界に基づくノイズに起因するエッジ数の推定値とに基づく値Bをそれぞれ設定し、前記複合同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数Xをカウントし、前記複合同期信号のエッジ数Xが、A≦X≦Bの条件時は信号有りとし、X<AまたはX>Bの条件時は信号無しと判定することを特徴とする映像信号判定方法。 Horizontal synchronizing signal for a predetermined period T based on the calculated value of the number of edges rising or falling edge of the 1 value A in the input video signal, and a composite of the horizontal synchronizing signal and a vertical synchronizing signal in the input video signal composite A value B based on a calculated value of the number of rising or falling edges of the synchronization signal in the predetermined period T 1 and an estimated value of the number of edges caused by noise based on a weak electric field is set, respectively, and the composite synchronization signal The number X of rising edges or falling edges in the predetermined period T 1 is counted. When the number X of edges of the composite synchronizing signal is A ≦ X ≦ B, a signal is present, and X <A or X> B A video signal determination method characterized in that it is determined that there is no signal when the above condition is satisfied. 前記信号有りと判定する条件が連続する回数Y1をカウントし、前記Y1と予め設定した所定の値Cとを比較し、同数ならばアップダウンカウンタに対しアップ処理を行い、前記信号無しと判定する条件が連続する回数Y2をカウントし、前記Y2と予め設定した所定の値Dとを比較し、同数ならば前記アップダウンカウンタに対しダウン処理を行うことを特徴とする請求項1記載の映像信号判定方法。 The number of times Y 1 when the condition for determining the presence of the signal is continued is counted, the Y 1 is compared with a predetermined value C set in advance, and if the number is the same, an up process is performed on the up / down counter. counting the number of times Y 2 which determines conditions are continuous, claim 1, wherein comparing the predetermined value D which is set in advance and Y 2, and performs down process to the up-down counter if the same number The video signal determination method described. 前記アップダウンカウンタのカウント値Zn(但し、nは自然数)と予め設定した所定の値E及び0とを比較し、前記アップダウンカウンタのカウンタ値Zi(但し、iはi>nを満たす自然数)が再びEまたは0となるまで、前記Znの値に応じた判定を保持することを特徴とする請求項2記載の映像信号判定方法。 The count value Z n of the up / down counter (where n is a natural number) is compared with predetermined values E and 0, and the counter value Z i of the up / down counter (where i satisfies i> n). until natural number) is E or zero again, the video signal determination method of claim 2, wherein the holding determination according to the value of the Z n. 入力映像信号中の水平同期信号及び垂直同期信号を複合した複合同期信号の所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数Xをカウントする入力信号カウンタ手段と、
前記水平同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち下がりのエッジ数の計算値に基づく値A、及び前記水平同期信号及び前記垂直同期信号の前記所定期間T1におけるエッジの立ち上がりまたは立ち上がりのエッジ数それぞれの計算値と弱電界に基づくノイズに起因するエッジ数の推定値とに基づく値Bを設定し出力する範囲設定手段と、
前記入力信号カウンタ手段の出力Xと、前記範囲設定手段の出力値A及びBとを比較し、前記出力XがA以上B以下の範囲を満たす時信号有りと判断しカウントY1を出力し、前記出力XがA未満またはBよりも大きい時信号無しと判断しカウントY2を出力するカウンタ値比較処理手段とを備えることを特徴とする映像信号判定装置。
An input signal counter means for counting the number X of rising edges or falling edges in a predetermined period T 1 of a composite synchronizing signal obtained by combining a horizontal synchronizing signal and a vertical synchronizing signal in an input video signal;
The value A based on the calculated value of the number of rising edges or falling edges in the predetermined period T 1 of the horizontal synchronizing signal, and the rising edge or rising edge of the horizontal synchronizing signal and the vertical synchronizing signal in the predetermined period T 1 . Range setting means for setting and outputting a value B based on a calculated value of each of the number of edges and an estimated value of the number of edges caused by noise based on a weak electric field;
The output X of the input signal counter means is compared with the output values A and B of the range setting means. When the output X satisfies the range of A to B, a signal Y is determined and a count Y 1 is output. A video signal determination device comprising: a counter value comparison processing unit that determines that there is no signal when the output X is less than A or greater than B, and outputs a count Y 2 .
前記カウンタ値比較処理手段が出力するカウントY1が連続する回数の上限値C、及び前記カウンタ値比較処理手段が出力するカウントY2が連続する回数の上限値Dそれぞれを設定しC及びDを出力する上限設定手段と、
前記カウンタ値比較処理手段が出力するカウントY1の値またはカウントY2の値それぞれが前記上限値CまたはDと比較し、Y1がCと等しくなればアップダウンカウンタ手段のカウント値Zn(但し、nは自然数)をアップし、Y2がDと等しくなれば前記アップダウンカウンタ手段のカウント値Znをダウンする信号を出力する比較手段をさらに備えることを特徴とする請求項4記載の映像信号判定装置。
The upper limit C of the number of consecutive counts Y 1 output by the counter value comparison processing means and the upper limit value D of the number of consecutive counts Y 2 output by the counter value comparison processing means are set, and C and D are set. Upper limit setting means to output;
The value of the count Y 1 or the value of the count Y 2 output from the counter value comparison processing means is compared with the upper limit value C or D. If Y 1 is equal to C, the count value Z n ( Here, n is up to natural number), Y 2 is according to claim 4, further comprising a comparing means for outputting a signal down the count value Z n of the up-down counter means if equal to D Video signal determination device.
前記カウント値Znの基準値Eを設定し出力するレベル基準値設定手段と、
前記カウント値Znと前記基準値E及び0とを比較し、前記カウント値Znに応じた信号有無を判定すると共に、前記カウント値Zi(但し、iはi>nを満たす自然数)が再びEまたは0の何れかの値となるまで前記カウント値Znに応じた判定を維持する信号有無判定手段をさらに備えることを特徴とする請求項5記載の映像信号判定装置。
Level reference value setting means for setting and outputting a reference value E of the count value Z n ;
The count value Z n is compared with the reference values E and 0 to determine the presence or absence of a signal corresponding to the count value Z n, and the count value Z i (where i is a natural number satisfying i> n) video signal determining apparatus according to claim 5, further comprising a signal presence determination means for maintaining the determination in accordance with the count value Z n until again one of the values of E or zero.
JP2004318990A 2004-11-02 2004-11-02 Method and device for determining video signal Pending JP2006135380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004318990A JP2006135380A (en) 2004-11-02 2004-11-02 Method and device for determining video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004318990A JP2006135380A (en) 2004-11-02 2004-11-02 Method and device for determining video signal

Publications (1)

Publication Number Publication Date
JP2006135380A true JP2006135380A (en) 2006-05-25

Family

ID=36728575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004318990A Pending JP2006135380A (en) 2004-11-02 2004-11-02 Method and device for determining video signal

Country Status (1)

Country Link
JP (1) JP2006135380A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09289597A (en) * 1996-04-24 1997-11-04 Oki Electric Ind Co Ltd Tv signal detecting circuit
JPH09307824A (en) * 1996-05-14 1997-11-28 Matsushita Electric Ind Co Ltd Character superimposing circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09289597A (en) * 1996-04-24 1997-11-04 Oki Electric Ind Co Ltd Tv signal detecting circuit
JPH09307824A (en) * 1996-05-14 1997-11-28 Matsushita Electric Ind Co Ltd Character superimposing circuit

Similar Documents

Publication Publication Date Title
KR100497606B1 (en) Block noise detector and block noise eliminator
JP2007259314A (en) Caption detecting apparatus and caption detecting method, and pull-down signal detector
KR20040099560A (en) Apparatus and method for deinterlace of video signal
JPH0946726A (en) Motion detection circuit and its method, and luminance/ chrominance signal separator
US8363160B2 (en) Caption detection device, caption detection method, and pull-down signal detection apparatus
US7817209B2 (en) Video signal processing device and video signal processing method
KR950003035B1 (en) Apparatus and method for emphasizing image transition portion
KR100777953B1 (en) Pull-down detection apparatus and pull-down detection method
US20110001875A1 (en) Video processing device
JP2005252713A (en) Erroneous detection prevention circuit
JP2009290802A (en) Interpolation frame generating apparatus, interpolation frame generating method, and broadcast receiving apparatus
JP4936857B2 (en) Pull-down signal detection device, pull-down signal detection method, and progressive scan conversion device
KR100786926B1 (en) Image recording/reproducing apparatus and method
KR100642083B1 (en) Apparatus for identifying standard and non-standard video signals
JP2006135380A (en) Method and device for determining video signal
JP2007074439A (en) Video processor
US20100277647A1 (en) Noise detection method and image processing method using the noise detection method
US4984070A (en) Picture quality improving apparatus capable of reducing deterioration of interpolated signal
JP4152377B2 (en) Image quality improving method and image quality improving apparatus
US8199256B2 (en) Three-dimensional Y/C separating circuit
JP2009232402A (en) Noise reduction circuit and method
JP2007235300A (en) Video processing apparatus, and video processing method
JP2005347842A (en) Method and device for detecting change of brightness
JP2007306450A (en) Cinema decision method, cinema decision apparatus, and caption detecting method
JP2009094876A (en) Synchronizing separator circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071024

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20071113

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110628