JPH04349796A - Timing detection circuit - Google Patents

Timing detection circuit

Info

Publication number
JPH04349796A
JPH04349796A JP3123395A JP12339591A JPH04349796A JP H04349796 A JPH04349796 A JP H04349796A JP 3123395 A JP3123395 A JP 3123395A JP 12339591 A JP12339591 A JP 12339591A JP H04349796 A JPH04349796 A JP H04349796A
Authority
JP
Japan
Prior art keywords
phase
circuit
signal
detection circuit
synchronization signal
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
JP3123395A
Other languages
Japanese (ja)
Inventor
Akitoshi Tsunoka
角鹿 明俊
Hidenori Nanami
名波 秀昇
Kazuhiko Yoshizawa
吉沢 和彦
Keizo Nishimura
西村 恵造
Kotaro Okiguchi
沖口 光太郎
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.)
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Image Information Systems Inc, Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Image Information Systems Inc
Priority to JP3123395A priority Critical patent/JPH04349796A/en
Publication of JPH04349796A publication Critical patent/JPH04349796A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Synchronizing For Television (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PURPOSE:To detect a stable SC-H phase with excellent matching even in a digital signal processing circuit by providing a 2nd phase detection means detecting a phase of a color burst signal from an output signal of a coding means and outputting its phase information to the detection circuit. CONSTITUTION:A synchronizing phase detection circuit 2 detects an amplitude Vs of a synchronizing signal at first to detect a reference timing of a synchronizing signal and obtains a level of Vs/2. Then a point where a trailing edge of the synchronizing signal crosses the level of Vs/2 is obtained by interpolation or the like from sampled values and a data representing a phase of a timing with respect to a sampling phase is outputted. A chrominance subcarrier phase detection circuit 3 obtains the amplitude of a color burst in orthogonal sampling phases from a sample data string of a color burst. A phase difference detection circuit 4 compares an output of the circuit 2 with an output of the circuit 3 to detect the SC-H phase.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、映像信号の処理装置に
係わるものであり、特にアナログ複合映像信号をディジ
タル信号に変換して処理を行うのに好適なタイミング検
出回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal processing device, and more particularly to a timing detection circuit suitable for converting an analog composite video signal into a digital signal for processing.

【0002】0002

【従来の技術】複合映像信号の波形は、テレビジョン信
号の規格により様々であるが、例えば2つのフィールド
で1つのフレームを構成するような映像信号であっても
、同期信号と色副搬送波の周波数の関係がNTSC規格
などでは2フレーム、PAL規格などでは4フレームで
完結するようになっている。すなわち、同期信号は1フ
レームで完結するが、色副搬送波は2ないし4フレーム
で完結するということであり、この色副搬送波の完結す
るフレームをカラーフレームと称する。この色副搬送波
と同期信号の位相関係はSC−Hと呼ばれ各テレビジョ
ン信号規格において定められている。
2. Description of the Related Art The waveform of a composite video signal varies depending on the standard of the television signal. The relationship between frequencies is such that 2 frames are required for the NTSC standard, and 4 frames are required for the PAL standard. That is, the synchronization signal is completed in one frame, but the color subcarrier is completed in two to four frames, and the frame in which the color subcarrier is completed is called a color frame. The phase relationship between the color subcarrier and the synchronization signal is called SC-H and is defined in each television signal standard.

【0003】このような複合映像信号を処理する場合に
おいて、色副搬送波の基準情報すなわちカラーバースト
信号と同期情報とを用いて処理に必要な各種のタイミン
グ信号を作成する必要がある。特に、上述のカラーフレ
ームを判別する場合、同期信号に対する色副搬送波の位
相または極性を検出しなければならない。しかし、伝送
路や出力装置の特性等により入力された複合映像信号の
SC−Hが大きくずれてしまうと、同期信号に対する色
副搬送波の正規の位相または極性が検出できずにカラー
フレームの判別を誤る可能性がある。そこで、入来する
複合映像信号のSC−Hの量を検出し、その量を使用者
に表示したり、検出されたSC−Hの量に応じて同期信
号や色副搬送波の位相を補正してからカラーフレームを
判別する方法が考えられている。
When processing such a composite video signal, it is necessary to create various timing signals necessary for processing using reference information of color subcarriers, that is, color burst signals, and synchronization information. In particular, when determining the color frame mentioned above, the phase or polarity of the color subcarrier relative to the synchronization signal must be detected. However, if the SC-H of the input composite video signal deviates significantly due to the characteristics of the transmission path or output device, the correct phase or polarity of the color subcarrier with respect to the synchronization signal cannot be detected, making it difficult to distinguish between color frames. There is a possibility of making a mistake. Therefore, the amount of SC-H in the incoming composite video signal is detected, the amount is displayed to the user, and the phase of the synchronization signal and color subcarrier is corrected according to the amount of detected SC-H. A method is being considered in which the color frame is determined after

【0004】上述の目的のために用いられるSC−Hの
検出回路として例えば、米国特許4860089号に示
されるものがある。従来のSC−H検出回路のブロック
図を図10に示す。図10において、端子(50)から
入力されたアナログ複合映像信号は同期抽出回路(51
)とカラーバースト抽出回路(52)に供給される。 同期抽出回路(51)は、アナログ複合映像信号から同
期信号成分のみを抽出し2値のディジタル信号(SYN
C)に変換して位相差検出回路(54)に出力する。カ
ラーバースト抽出回路(52)は、アナログ複合映像信
号からカラーバースト信号成分のみを抽出し2値のディ
ジタル信号に変換してサブキャリア再生回路(53)に
出力する。サブキャリア再生回路(53)は、位相同期
ループ(PLL)回路などによりカラーバースト信号に
位相同期した連続クロック(fsc)を作り、位相差検
出回路(54)に出力する。位相差検出回路(54)は
、同期抽出回路(51)の出力信号であるSYNCと、
サブキャリア再生回路(53)の出力信号であるfsc
の位相関係を検出しSC−Hの量を示すデータを端子(
55)に出力する。
An example of an SC-H detection circuit used for the above purpose is shown in US Pat. No. 4,860,089. A block diagram of a conventional SC-H detection circuit is shown in FIG. In FIG. 10, the analog composite video signal input from the terminal (50) is input to the synchronization extraction circuit (51).
) and a color burst extraction circuit (52). The synchronization extraction circuit (51) extracts only the synchronization signal component from the analog composite video signal and converts it into a binary digital signal (SYN).
C) and output to the phase difference detection circuit (54). The color burst extraction circuit (52) extracts only the color burst signal component from the analog composite video signal, converts it into a binary digital signal, and outputs it to the subcarrier reproduction circuit (53). The subcarrier regeneration circuit (53) generates a continuous clock (fsc) that is phase-synchronized with the color burst signal using a phase-locked loop (PLL) circuit or the like, and outputs it to the phase difference detection circuit (54). The phase difference detection circuit (54) receives SYNC, which is the output signal of the synchronization extraction circuit (51),
fsc which is the output signal of the subcarrier regeneration circuit (53)
Detect the phase relationship of and send data indicating the amount of SC-H to the terminal (
55).

【0005】図11は位相差検出回路(54)の一従来
例のブロック図である。端子(56)には同期抽出回路
(51)の出力信号であるSYNCが、端子(57)に
はサブキャリア再生回路(53)の出力信号であるfs
cが入力される。位相調整回路(58)は、fscに対
するSYNCの位相を固定的あるいは適応的に調整して
パルス発生回路(59)に出力する。パルス発生回路(
59)は、位相調整されたSYNCの立ち下がりエッジ
からfscの立上がりまたは立ち下がりエッジまでの幅
のパルスを発生する。通常、入力映像信号のSC−Hが
適正な場合、fscの立上がりエッジと立ち下がりエッ
ジの中間にSYNCが立ち下がるように位相調整回路(
58)で調整されている。積分回路(60)はパルス発
生回路(59)の出力パルス波形を積分して電圧値に変
換し符号化回路(62)に出力する。端子(61)から
は、次のパルス波形を積分するために、積分回路(60
)の積分値をクリアするためのパルスが入力される。 符号化回路(62)は積分回路(60)の積分結果を符
号化し、SC−Hを表すデータを端子(55)に出力す
る。
FIG. 11 is a block diagram of a conventional example of a phase difference detection circuit (54). The terminal (56) receives SYNC, which is the output signal of the synchronization extraction circuit (51), and the terminal (57) receives fs, which is the output signal of the subcarrier regeneration circuit (53).
c is input. The phase adjustment circuit (58) fixedly or adaptively adjusts the phase of SYNC with respect to fsc and outputs it to the pulse generation circuit (59). Pulse generation circuit (
59) generates a pulse with a width from the falling edge of phase adjusted SYNC to the rising or falling edge of fsc. Normally, when the SC-H of the input video signal is appropriate, the phase adjustment circuit (
58). The integrating circuit (60) integrates the output pulse waveform of the pulse generating circuit (59), converts it into a voltage value, and outputs the voltage value to the encoding circuit (62). An integration circuit (60) is connected from the terminal (61) to integrate the next pulse waveform.
) is input with a pulse to clear the integral value. The encoding circuit (62) encodes the integration result of the integrating circuit (60) and outputs data representing SC-H to the terminal (55).

【0006】図12は図11に示した位相差検出回路の
各部の信号波形を示したものである。図12において、
波形(a)は端子(56)から入力されるSYNC、波
形(b)は位相調整回路(58)の出力信号、波形(c
)は端子(57)から入力されるfsc、波形(d)は
パルス発生回路(59)の出力信号、波形(e)は端子
(61)から入力されるクリア信号、波形(f)は積分
回路(60)の出力信号である。
FIG. 12 shows signal waveforms at various parts of the phase difference detection circuit shown in FIG. 11. In FIG. 12,
Waveform (a) is the SYNC signal input from the terminal (56), waveform (b) is the output signal of the phase adjustment circuit (58), and waveform (c
) is the fsc input from the terminal (57), waveform (d) is the output signal of the pulse generation circuit (59), waveform (e) is the clear signal input from the terminal (61), and waveform (f) is the integration circuit. (60) is the output signal.

【0007】[0007]

【発明が解決しようとする課題】従来のSC−H検出手
段では、適正なSC−Hの場合でもパルス幅がたかだか
数十ナノ秒とせまく、パルス幅を電圧に変換するさいに
、ノイズや回路部品の精度、温度ドリフト、漏れ電流、
アンプのオフセット電流等の影響を受けやすかった。さ
らに、入来する複合映像信号のSC−Hに応じてパルス
幅がせまくなると、回路の遅延量やエッジの変化時間の
影響が無視できなくなり、安定でリニアリティーの良い
SC−Hの検出が困難になるという問題があった。
[Problems to be Solved by the Invention] In conventional SC-H detection means, even in the case of proper SC-H, the pulse width is narrow, at most several tens of nanoseconds, and when converting the pulse width into voltage, noise and circuit component accuracy, temperature drift, leakage current,
It was easily affected by the amplifier's offset current, etc. Furthermore, if the pulse width becomes narrower in accordance with the SC-H of the incoming composite video signal, the effects of circuit delay and edge change time cannot be ignored, making it difficult to detect SC-H with stability and good linearity. There was a problem.

【0008】また、特にアナログ複合映像信号をディジ
タル信号に変換して処理を行なう装置において、SC−
H検出回路はディジタル信号処理回路と混在することに
なるため、ディジタル信号処理回路からのノイズの影響
を受けやすく、このようなノイズの影響を防止するため
の手段、例えば、磁気的および静電的シールド処理を施
す、電源及びグランドラインをディジタル回路系と分離
するなどの手段を構ずる必要があり、システム全体の設
計を複雑にする要因となっていた。本発明の目的は、上
記問題点を改善し、ディジタル信号処理回路においても
整合性が良く、安定なSC−Hの検出が可能なタイミン
グ検出回路を提供することにある。
[0008] In particular, in devices that convert analog composite video signals into digital signals for processing, SC-
Since the H detection circuit is mixed with the digital signal processing circuit, it is easily affected by noise from the digital signal processing circuit, and measures to prevent the influence of such noise, such as magnetic and electrostatic It is necessary to take measures such as shielding and separating the power supply and ground lines from the digital circuit system, which complicates the design of the entire system. SUMMARY OF THE INVENTION It is an object of the present invention to provide a timing detection circuit that improves the above-mentioned problems, has good consistency even in a digital signal processing circuit, and is capable of stable SC-H detection.

【0009】[0009]

【課題を解決するための手段】本発明によるタイミング
検出回路は、上記課題を解決するために、複合映像信号
を色副搬送波周波数の偶数倍の周波数のクロックパルス
で符号化する符号化手段(1)と、上記符号化手段(1
)の出力信号から同期信号の基準になる位相を検出しそ
の位相情報を出力する第一の位相検出手段(2)と、上
記符号化手段(1)の出力信号からカラーバスト信号の
位相を検出しその位相情報を出力する第二の位相検出手
段(3)と、上記第一の位相検出手段(2)の位相情報
と上記第二の位相検出手段(3)の位相情報とを演算し
位相差情報を得る手段(4)とで構成されている。
[Means for Solving the Problems] In order to solve the above problems, the timing detection circuit according to the present invention provides an encoding means (1 ), and the encoding means (1
), which detects the reference phase of the synchronization signal from the output signal of the encoder (2) and outputs the phase information, and detects the phase of the color bust signal from the output signal of the encoder (1). A second phase detection means (3) that outputs phase information of the above-mentioned phase detecting means (3) calculates a position by calculating the phase information of the first phase detection means (2) and the phase information of the second phase detection means (3). and means (4) for obtaining phase difference information.

【0010】0010

【作用】本発明では、アナログ複合映像信号をディジタ
ル信号に変換した後、同期信号と色副搬送波の位相関係
を数値演算により求めることによりSC−Hを検出して
いる。従って、入来する複合映像信号のSC−Hの量や
温度ドリフトなど回路部品の性能に影響されずに安定で
リニアリティーの良いSC−Hの検出が可能となる。ま
た、ノイズの影響を受けることがなく、集積回路化が容
易なためディジタル信号処理を行う装置に対して非常に
整合性が良いという特長がある。
In the present invention, after converting an analog composite video signal into a digital signal, SC-H is detected by calculating the phase relationship between the synchronizing signal and the color subcarrier by numerical calculation. Therefore, SC-H can be detected stably and with good linearity without being affected by the amount of SC-H of an incoming composite video signal or the performance of circuit components such as temperature drift. Furthermore, since it is not affected by noise and can be easily integrated into a circuit, it has the advantage of being very compatible with devices that perform digital signal processing.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。図1は本発明の一実施例によるタイミング検出回路
のブロック図であり、(5)はアナログ複合映像信号の
入力端子、(1)はアナログ複合映像信号をディジタル
信号に変換するためのA/D変換回路、(2)は、A/
D変換回路(1)の出力信号(以下、ディジタル複合映
像信号と称する)から同期の基準になるタイミングをデ
ィジタル演算により求めその結果を出力する同期位相検
出回路、(3)はディジタル複合映像信号の色副搬送波
の位相基準、例えばカラーバースト部分のデータからデ
ィジタル演算によりその位相を検出し出力する色副搬送
波位相検出回路、(4)は同期位相検出回路(2)の出
力信号と色副搬送波位相検出回路(3)の出力信号とか
ら両者の位相差をディジタル演算により検出する位相差
検出回路、(6)は位相差検出回路(4)からの信号を
出力する出力端子である。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a timing detection circuit according to an embodiment of the present invention, in which (5) is an input terminal for an analog composite video signal, and (1) is an A/D for converting the analog composite video signal into a digital signal. The conversion circuit (2) is A/
The synchronization phase detection circuit (3) calculates the reference timing for synchronization from the output signal of the D conversion circuit (1) (hereinafter referred to as digital composite video signal) by digital calculation and outputs the result. Color subcarrier phase reference, for example, a color subcarrier phase detection circuit that detects and outputs the phase from the data of the color burst part by digital calculation, (4) is the output signal of the synchronous phase detection circuit (2) and the color subcarrier phase A phase difference detection circuit detects the phase difference between the output signal of the detection circuit (3) by digital calculation, and (6) is an output terminal that outputs the signal from the phase difference detection circuit (4).

【0012】ここで、テレビジョン信号の規格に示され
る同期信号とカラーバースト信号の関係の一例を図2に
示す。図2ではNTSCのスタジオ規格を例にとって説
明する。図2において、波形(a)は複合映像信号の水
平同期信号とカラーバーストの部分を、波形(b)はカ
ラーバーストと同じ位相の色副搬送波を示している。色
副搬送波の周波数は水平ライン周波数の227.5倍で
あるため、カラーバーストの位相が実線で示したものと
破線で示したものの2通りの水平ラインが存在する。カ
ラーバーストの位相は色差信号であるB−Y信号の変調
位相の逆相となっている。同期信号の基準となるタイミ
ングT0は、同期信号の立ち下がりエッジ波形が同期信
号の振幅Vsの1/2のレベルを通過するタイミングで
与えられる。また、タイミングT0とカラーバーストが
はじまるタイミングT1との間隔は色副搬送波の周期で
19サイクルであり、タイミングT0において波形(b
)に示す色副搬送波の位相は正弦波位相の0度または1
80度となる。従って、図2に示した状態はSC−Hが
0度の場合である。タイミングT0における色副搬送波
の位相が図2の状態からずれた分がSC−Hの位相量に
なるが、90度ずれている場合は0度プラス90度なの
か180度マイナス90度なのか判別できない。従って
SC−Hはプラス90度からマイナス90度までの値し
かとらない。また、規格によって各フィールドの各水平
ラインにおける色副搬送波の位相が決まっているので、
特定の1つまたは複数の水平ラインでタイミングT0に
おける色副搬送波の位相が0度なのか180度なのかを
検出することによりカラーフレームを判別できる。
FIG. 2 shows an example of the relationship between the synchronization signal and the color burst signal specified in the television signal standard. In FIG. 2, the NTSC studio standard will be explained as an example. In FIG. 2, waveform (a) shows the horizontal synchronization signal and color burst portion of the composite video signal, and waveform (b) shows the color subcarrier having the same phase as the color burst. Since the frequency of the color subcarrier is 227.5 times the horizontal line frequency, there are two horizontal lines in which the phase of the color burst is shown by a solid line and one shown by a broken line. The phase of the color burst is opposite to the modulation phase of the BY signal, which is a color difference signal. Timing T0, which serves as a reference for the synchronization signal, is given at the timing when the falling edge waveform of the synchronization signal passes through a level that is 1/2 of the amplitude Vs of the synchronization signal. Furthermore, the interval between timing T0 and timing T1 at which the color burst starts is 19 cycles in the color subcarrier period, and at timing T0, the waveform (b
) The phase of the color subcarrier shown in ) is 0 degrees or 1 of the sine wave phase.
It will be 80 degrees. Therefore, the state shown in FIG. 2 is a case where SC-H is 0 degrees. The amount by which the phase of the color subcarrier at timing T0 deviates from the state in Figure 2 becomes the phase amount of SC-H, but if it deviates by 90 degrees, determine whether it is 0 degrees plus 90 degrees or 180 degrees minus 90 degrees. Can not. Therefore, SC-H only takes values from plus 90 degrees to minus 90 degrees. In addition, the phase of the color subcarrier in each horizontal line of each field is determined by the standard, so
A color frame can be determined by detecting whether the phase of the color subcarrier at timing T0 is 0 degrees or 180 degrees in one or more specific horizontal lines.

【0013】上記複合映像信号を図1のタイミング検出
回路の入力とする場合の動作について説明する。図1に
おいて、同期位相検出回路(2)は、同期信号の基準タ
イミングT0を検出するために、まず、同期信号の振幅
Vsを検出しVs/2のレベルを求める。次に、同期信
号の立ち下がりエッジがVs/2のレベルを通過する点
をサンプル値の補間等により求め、サンプリング位相に
対するタイミングT0の位相を示すデータを出力する。 色副搬送波位相検出回路(3)はカラーバーストのサン
プルデータ列から互いに直交するサンプリング位相にお
けるカラーバーストの振幅を求める。位相差検出回路(
4)は同期位相検出回路(2)の出力と色副搬送波位相
検出回路(3)の出力とを比較しSC−H位相を検出す
る。
The operation when the above composite video signal is input to the timing detection circuit shown in FIG. 1 will be explained. In FIG. 1, the synchronization phase detection circuit (2) first detects the amplitude Vs of the synchronization signal and determines the level of Vs/2 in order to detect the reference timing T0 of the synchronization signal. Next, the point at which the falling edge of the synchronizing signal passes through the level of Vs/2 is determined by interpolating sample values, etc., and data indicating the phase of timing T0 with respect to the sampling phase is output. The color subcarrier phase detection circuit (3) determines the amplitude of the color burst at mutually orthogonal sampling phases from the color burst sample data sequence. Phase difference detection circuit (
4) compares the output of the synchronous phase detection circuit (2) and the output of the color subcarrier phase detection circuit (3) to detect the SC-H phase.

【0014】上記同期位相検出回路(2)の一実施例を
図3に示す。図3において、(45)は同期信号の基準
となるレベルを検出するレベル検出回路であり、ペデス
タルレベル検出回路(8)、シンクレベル検出回路(1
0)、加算回路(12)および除算回路(13)から構
成されている。端子(7)から入力されたディジタル複
合映像信号はまず、ペデスタルレベル検出回路(8)と
シンクレベル検出回路(10)に入力される。ペデスタ
ルレベル検出回路(8)では、端子(9)より入力され
るペデスタルのタイミングを示すパルスに従って、ペデ
スタル部分のデータを保持する。一方、シンクレベル検
出回路(10)では、端子(11)より入力される同期
信号の底辺のタイミングを示すパルスに従って、同期底
辺部分のデータを保持する。ペデスタルレベル検出回路
(8)の出力データ値V1とシンクレベル検出回路(1
0)の出力データ値V2を加算回路(12)で加算した
後、除算回路(13)でレベルを1/2にする。除算回
路(13)の出力データ値をVcとすると、(V1+V
2)/2を求めることにより同期信号の振幅の1/2の
レベルVcが得られる。補間回路(14)では、端子(
7)からのデータのうち除算回路(13)の出力データ
値Vcをはさむ前後のサンプル値D1,D2の間を補間
し、VcをあたえるタイミングがD1とD2のサンプリ
ングタイミング中のどこにあるかを求め、端子(15)
に出力する。
FIG. 3 shows an embodiment of the synchronous phase detection circuit (2). In FIG. 3, (45) is a level detection circuit that detects the reference level of the synchronization signal, including a pedestal level detection circuit (8) and a sync level detection circuit (1).
0), an adder circuit (12), and a divider circuit (13). The digital composite video signal input from the terminal (7) is first input to the pedestal level detection circuit (8) and the sync level detection circuit (10). The pedestal level detection circuit (8) holds the data of the pedestal portion in accordance with the pulse indicating the pedestal timing input from the terminal (9). On the other hand, the sync level detection circuit (10) holds the data of the sync bottom portion in accordance with the pulse indicating the timing of the bottom of the sync signal inputted from the terminal (11). The output data value V1 of the pedestal level detection circuit (8) and the sync level detection circuit (1)
After the output data value V2 of 0) is added by an adder circuit (12), the level is halved by a divider circuit (13). If the output data value of the division circuit (13) is Vc, then (V1+V
2) By calculating /2, a level Vc which is 1/2 of the amplitude of the synchronizing signal can be obtained. In the interpolation circuit (14), the terminal (
7), interpolate between sample values D1 and D2 before and after sandwiching the output data value Vc of the division circuit (13), and find out where the timing to apply Vc is between the sampling timings of D1 and D2. , terminal (15)
Output to.

【0015】上記補間を直線近似によって行う場合の方
法を図4に示す模式的な波形図を用いて説明する。Vc
に近接する前後のサンプル値D1およびD2を直線で結
んだ場合に、データVcを与えるタイミングをTcとす
る。また、サンプリング周期を1に正規化して考える。 この場合、TcとD1、D2およびVcの関係は、数1
の比例関係で表される。
A method for performing the above interpolation by linear approximation will be explained using a schematic waveform diagram shown in FIG. Vc
When sample values D1 and D2 close to each other are connected by a straight line, the timing at which data Vc is provided is defined as Tc. Also, consider normalizing the sampling period to 1. In this case, the relationship between Tc, D1, D2, and Vc is as follows:
It is expressed as a proportional relationship.

【0016】[0016]

【数1】[Math 1]

【0017】従って、Tcは、次式によって求められる
[0017] Therefore, Tc is determined by the following equation.

【0018】[0018]

【数2】[Math 2]

【0019】上記演算によって補間を行いTcを求める
場合の補間回路14の一実施例を図5に示す。図5にお
いて、端子(7)より入力されたディジタル複合映像信
号はタイミング調整回路(17)で、端子(20)から
入力される除算回路(13)の出力データとのタイミン
グを調整される。タイミング調整回路(17)の出力を
遅延回路(18)で1サンプルだけ遅延することにより
、タイミング調整回路(17)の出力にデータD2が出
力されているときには遅延回路(18)の出力にデータ
D1が出力されることになる。加算回路(19)はデー
タD1からデータD2を減算し除算回路(22)に出力
する。また、加算回路(21)はデータD1から端子(
20)からのデータVcを減算し除算回路(22)に出
力する。除算回路(22)は(D1−Vc)/(D1−
D2)の演算を行ないその結果を端子(15)に出力す
る。上記実施例では、補間を直線近似によって行なう場
合について述べたが、他の補間方式、例えば2次補間や
ディジタルフィルタによる補間等を用いてもかまわない
FIG. 5 shows an embodiment of the interpolation circuit 14 in which Tc is determined by interpolation using the above calculation. In FIG. 5, the digital composite video signal inputted from the terminal (7) is adjusted in timing with the output data of the division circuit (13) inputted from the terminal (20) by a timing adjustment circuit (17). By delaying the output of the timing adjustment circuit (17) by one sample in the delay circuit (18), when data D2 is output to the output of the timing adjustment circuit (17), data D1 is output to the output of the delay circuit (18). will be output. An adder circuit (19) subtracts data D2 from data D1 and outputs the result to a divider circuit (22). Further, the adder circuit (21) inputs the data D1 to the terminal (
20) and outputs it to the division circuit (22). The division circuit (22) is (D1-Vc)/(D1-
D2) is performed and the result is output to the terminal (15). In the above embodiment, a case has been described in which interpolation is performed by linear approximation, but other interpolation methods such as quadratic interpolation or interpolation using a digital filter may be used.

【0020】次に、図1における色副搬送波位相検出回
路(3)の一実施例を図6に示す。図6において、端子
(23)から色副搬送波の4倍の周波数でサンプリング
されたディジタル複合映像信号が入力される。遅延回路
(24)、(25)、(26)はディジタル複合映像信
号のカラーバースト部分のデータを1サンプルづつ遅延
する。これにより、カラーバーストの連続した4つのデ
ータ列が得られる。ここで、遅延回路(26)の出力デ
ータ値をA、遅延回路(25)の出力データ値をB、遅
延回路(24)の出力データ値をC、端子(23)の出
力データ値をDとする。加算回路(27)は遅延回路(
26)の出力データ値から遅延回路(24)の出力デー
タ値を減算、すなわちA−Cの演算を行ない、結果Yを
端子(29)に出力する。加算回路(28)は遅延回路
(25)の出力データ値から端子(23)の出力データ
値を減算、すなわちB−Dの演算を行ない、結果Xを端
子(30)に出力する。加算回路(27)の出力値Yと
加算回路(28)の出力値Xはカラーバーストの互いに
直交するサンプル位相成分となる。ここで、1サンプル
おきのデータ値の差分をとることによりペデスタルレベ
ルの直流成分を除去することができる。
Next, an embodiment of the color subcarrier phase detection circuit (3) in FIG. 1 is shown in FIG. In FIG. 6, a digital composite video signal sampled at a frequency four times that of the color subcarrier is input from a terminal (23). Delay circuits (24), (25), and (26) delay data of the color burst portion of the digital composite video signal by one sample. As a result, four consecutive color burst data strings are obtained. Here, the output data value of the delay circuit (26) is A, the output data value of the delay circuit (25) is B, the output data value of the delay circuit (24) is C, and the output data value of the terminal (23) is D. do. The adder circuit (27) is a delay circuit (
The output data value of the delay circuit (24) is subtracted from the output data value of the delay circuit (26), that is, the calculation of A-C is performed, and the result Y is outputted to the terminal (29). The adder circuit (28) subtracts the output data value of the terminal (23) from the output data value of the delay circuit (25), that is, performs a calculation of B-D, and outputs the result X to the terminal (30). The output value Y of the adder circuit (27) and the output value X of the adder circuit (28) become mutually orthogonal sample phase components of the color burst. Here, the DC component at the pedestal level can be removed by taking the difference between the data values for every other sample.

【0021】以上の実施例で述べた同期位相検出回路(
2)の出力データTcと色副搬送波位相検出回路(3)
の出力データXおよびYを用いてSC−H位相を検出す
る位相差検出回路(4)の一実施例について説明する。 図7において、(a)はカラーバーストの部分をサンプ
リングしたときの波形図であり、(b)はカラーバース
トとサンプリング位相の関係をベクトル表現したもので
ある。サンプル値A、B、C、Dはそれぞれ、上記遅延
回路(26)、遅延回路(25)、遅延回路(24)お
よび端子(23)の出力データ値に対応している。A−
Cの結果すなわち加算回路(27)の出力値をY、B−
Dの結果すなわち加算回路(28)の出力値をXとする
と、ベクトル図(b)から明らかなようにサンプリング
位相に対するカラーバースト位相Pは、数3に示す三角
関数の演算で求められる。
The synchronous phase detection circuit (
2) Output data Tc and color subcarrier phase detection circuit (3)
An embodiment of the phase difference detection circuit (4) that detects the SC-H phase using the output data X and Y of is described. In FIG. 7, (a) is a waveform diagram when a color burst portion is sampled, and (b) is a vector representation of the relationship between the color burst and the sampling phase. Sample values A, B, C, and D correspond to the output data values of the delay circuit (26), delay circuit (25), delay circuit (24), and terminal (23), respectively. A-
The result of C, that is, the output value of the adder circuit (27), is expressed as Y, B-
Assuming that the result of D, that is, the output value of the adder circuit (28) is X, as is clear from the vector diagram (b), the color burst phase P with respect to the sampling phase can be obtained by calculating the trigonometric function shown in Equation 3.

【0022】[0022]

【数3】[Math 3]

【0023】数3で求められる位相は、−90度から+
90度までの範囲となる。サンプリング位相に対する同
期信号の位相Tcとカラーバーストの位相Pとの相対位
相を求めるためには、ベクトル図(b)において、座標
軸xおよびyを原点を中心にTcだけ回転し、その座標
軸上での振幅成分X’およびY’を求めればよい。これ
は数4に示す行列の1次変換式で実現できる。
[0023] The phase obtained by equation 3 is from -90 degrees to +
The range is up to 90 degrees. In order to find the relative phase between the synchronization signal phase Tc and the color burst phase P with respect to the sampling phase, in vector diagram (b), rotate the coordinate axes x and y by Tc around the origin, and then What is necessary is to find the amplitude components X' and Y'. This can be realized using the linear transformation formula of the matrix shown in Equation 4.

【0024】[0024]

【数4】[Math 4]

【0025】数4において位相の単位は度(degre
e)を用いている。数4より得られたX’およびY’か
らSC−H位相P’を求めるには数5に示す三角関数の
演算を行なえばよい。
In Equation 4, the unit of phase is degree.
e) is used. In order to obtain the SC-H phase P' from X' and Y' obtained from Equation 4, the trigonometric function shown in Equation 5 may be calculated.

【0026】[0026]

【数5】[Math 5]

【0027】数4および数5の演算によりSC−H位相
を求める位相差検出回路4の一実施例のブロック図を図
8に示す。図8において、端子(32)より入力された
同期信号の位相データTcは演算回路(34)および演
算回路(35)に入力される。演算回路(34)では数
4におけるSIN90Tcの演算を行なう。同様に、演
算回路(35)では数4におけるCOS90Tcの演算
を行なう。端子(31)および端子(33)にはそれぞ
れ色副搬送波位相検出回路(3)の出力データXおよび
Yが入力される。乗算器(36)、(37)、(38)
、(39)と加算器(40)、(41)はデータX、デ
ータY、演算回路(34)の出力データおよび演算回路
(35)の出力データとの行列演算を行ない、加算器(
40)からはデータX’が、加算器(41)からはデー
タY’が出力される。演算回路(42)はデータX’、
Y’を入力として、数5に示した演算を行ないSC−H
位相データを端子(43)に出力する。演算回路(34
)、(35)は、入力データTcをアドレスとして、そ
のアドレスにTcに対応した演算結果が格納されたメモ
リ回路を用いることにより簡単に実現できる。演算回路
(42)も同様にデータX’、Y’の組合せをアドレス
としたメモリ回路を用いることにより簡単に実現できる
FIG. 8 shows a block diagram of an embodiment of the phase difference detection circuit 4 which obtains the SC-H phase by calculations of Equations 4 and 5. In FIG. 8, phase data Tc of a synchronizing signal inputted from a terminal (32) is inputted to an arithmetic circuit (34) and an arithmetic circuit (35). The arithmetic circuit (34) calculates SIN90Tc in Equation 4. Similarly, the calculation circuit (35) performs the calculation of COS90Tc in Equation 4. Output data X and Y of the color subcarrier phase detection circuit (3) are input to the terminal (31) and the terminal (33), respectively. Multipliers (36), (37), (38)
, (39) and adders (40), (41) perform matrix operations on data X, data Y, output data of the arithmetic circuit (34), and output data of the arithmetic circuit (35).
40) outputs data X', and the adder (41) outputs data Y'. The arithmetic circuit (42) receives data X',
Using Y' as input, perform the calculation shown in Equation 5 to obtain SC-H.
Output the phase data to the terminal (43). Arithmetic circuit (34
) and (35) can be easily realized by using a memory circuit that uses input data Tc as an address and stores the calculation result corresponding to Tc at that address. Similarly, the arithmetic circuit (42) can be easily realized by using a memory circuit whose address is a combination of data X' and Y'.

【0028】数4および数5の演算によりSC−H位相
を求める位相差検出回路(4)の他の一実施例のブロッ
ク図を図9に示す。図9では容量の大きなメモリ(44
)を用いて、データX、Y、Tcの組合せをアドレスと
し、そのアドレスにデータX、Y、Tcから得られる演
算結果P’をあらかじめ格納しておくことにより極めて
簡単な構成でSC−H位相が得られる。同期位相検出回
路(2)の出力データTcと色副搬送波位相検出回路(
3)の出力データXおよびYを用いてSC−H位相を検
出する手段は上記実施例に限定されるものではなく、他
の演算方法やハードウェアの構成方法をとっても本発明
の特長、効果はなんら変わるところがない。
FIG. 9 shows a block diagram of another embodiment of the phase difference detection circuit (4) for determining the SC-H phase by calculations of Equations 4 and 5. In Figure 9, a memory with a large capacity (44
), the combination of data X, Y, and Tc is used as an address, and the calculation result P' obtained from the data X, Y, and Tc is stored in advance in that address. is obtained. The output data Tc of the synchronous phase detection circuit (2) and the color subcarrier phase detection circuit (
3) The means for detecting the SC-H phase using the output data Nothing has changed.

【0029】また、サンプリング周波数は、以上述べて
きた実施例では色副搬送波周波数の4倍の周波数を用い
ていたが、カラーバーストの直交位相成分が得られる周
波数であればよいので、色副搬送波周波数の2の倍数倍
の周波数であればよい。以上の実施例では、NTSC信
号を入力信号とするタイミング検出回路の動作を述べた
が、PAL信号等の他のテレビジョン信号方式に対して
も全く同様に適用でき、本発明による効果は何ら変わる
ところがない。
Furthermore, although the sampling frequency used in the embodiments described above is four times the color subcarrier frequency, it may be any frequency that allows the orthogonal phase components of the color burst to be obtained. Any frequency that is a multiple of 2 is sufficient. In the above embodiments, the operation of a timing detection circuit using an NTSC signal as an input signal has been described, but it can be applied in exactly the same way to other television signal systems such as a PAL signal, and the effects of the present invention will not change in any way. However, there is no such thing.

【0030】[0030]

【発明の効果】本発明によれば、回路部品の温度ドリフ
トや精度に影響されずに安定でリニアリテイの良いSC
−Hの検出が可能となる。また、ノイズの影響を受ける
ことがなくディジタル信号処理を行う装置に対して非常
に整合性が良いという特長がある。さらに、集積回路化
が容易であり無調整化が可能なため装置の小型化、高信
頼性化、低コスト化が達成できる。
[Effects of the Invention] According to the present invention, the SC is stable and has good linearity without being affected by temperature drift or accuracy of circuit components.
-H can be detected. Another advantage is that it is not affected by noise and has very good compatibility with devices that perform digital signal processing. Furthermore, since it is easy to integrate the circuit and eliminate adjustment, the device can be made smaller, more reliable, and lower in cost.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の一実施例によるタイミング検出回路の
ブロック図である。
FIG. 1 is a block diagram of a timing detection circuit according to an embodiment of the present invention.

【図2】複合映像信号の同期信号と色副搬送波の関係を
説明するための波形図である。
FIG. 2 is a waveform diagram for explaining the relationship between a synchronization signal and a color subcarrier of a composite video signal.

【図3】本発明の一実施例による同期位相検出回路のブ
ロック図である。
FIG. 3 is a block diagram of a synchronous phase detection circuit according to an embodiment of the present invention.

【図4】本発明による同期位相検出回路の補間方法を説
明するための波形図である。
FIG. 4 is a waveform diagram for explaining an interpolation method of the synchronous phase detection circuit according to the present invention.

【図5】本発明の一実施例による補間回路のブロック図
である。
FIG. 5 is a block diagram of an interpolation circuit according to an embodiment of the invention.

【図6】本発明の一実施例による色副搬送波位相検出回
路のブロック図である。
FIG. 6 is a block diagram of a color subcarrier phase detection circuit according to an embodiment of the present invention.

【図7】本発明によるカラーバーストの位相検出原理を
説明するための図である。
FIG. 7 is a diagram for explaining the principle of color burst phase detection according to the present invention.

【図8】本発明の一実施例による位相差検出回路のブロ
ック図である。
FIG. 8 is a block diagram of a phase difference detection circuit according to an embodiment of the present invention.

【図9】本発明の他の一実施例による位相差検出回路の
ブロック図である。
FIG. 9 is a block diagram of a phase difference detection circuit according to another embodiment of the present invention.

【図10】従来のタイミング検出回路のブロック図であ
る。
FIG. 10 is a block diagram of a conventional timing detection circuit.

【図11】従来のタイミング検出回路における位相差検
出回路のブロック図である。
FIG. 11 is a block diagram of a phase difference detection circuit in a conventional timing detection circuit.

【図12】従来のタイミング検出回路における位相差検
出回路の動作波形図である。
FIG. 12 is an operation waveform diagram of a phase difference detection circuit in a conventional timing detection circuit.

【符号の説明】[Explanation of symbols]

1…A/D変換回路、 2…同期位相検出回路、 3…色副搬送波位相検出回路、 4…位相差検出回路、 14…補間回路、 45…レベル検出回路。 1...A/D conversion circuit, 2...Synchronized phase detection circuit, 3...color subcarrier phase detection circuit, 4...phase difference detection circuit, 14...Interpolation circuit, 45...Level detection circuit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】少なくとも同期信号と、カラーバースト信
号とからなる複合映像信号を入力とし、該同期信号と該
カラーバースト信号との位相関係を検出する回路におい
て、複合映像信号を色副搬送波周波数の偶数倍の周波数
で標本化および量子化して符号データとして出力する符
号化手段(1)と、上記符号化手段(1)の出力信号を
補間して同期信号の基準になる位相を検出しその位相情
報を出力する第一の位相検出手段(2)と、上記符号化
手段(1)の出力信号からカラーバースト信号の位相を
検出しその位相情報を出力する第二の位相検出手段(3
)と、上記第一の位相検出手段(2)の位相情報と上記
第二の位相検出手段(3)の位相情報とを演算し同期信
号とカラーバースト信号の位相差情報を出力する手段(
4)とを有することを特徴とするタイミング検出回路。
1. A circuit that receives as input a composite video signal consisting of at least a synchronization signal and a color burst signal, and detects the phase relationship between the synchronization signal and the color burst signal, wherein the composite video signal is detected at a color subcarrier frequency. An encoding means (1) that samples and quantizes the sampled and quantized data at an even multiple of the frequency and outputs it as code data; and an encoder (1) that interpolates the output signal of the encoding means (1) to detect a phase that becomes a reference for a synchronization signal. a first phase detection means (2) for outputting information; and a second phase detection means (3) for detecting the phase of the color burst signal from the output signal of the encoding means (1) and outputting the phase information.
), and means for calculating the phase information of the first phase detection means (2) and the phase information of the second phase detection means (3) and outputting phase difference information between the synchronization signal and the color burst signal (
4) A timing detection circuit comprising:
【請求項2】上記第一の位相検出手段(2)が、同期信
号の位相基準となるべき閾値を検出する手段(45)と
、同期信号が該閾値を通過すると同時または通過する前
後の符号データから、該閾値を含む波形を補間し、該補
間波形から閾値の位相を検出する手段(14)とで構成
されることを特徴とする請求項1記載のタイミング検出
回路。
2. The first phase detection means (2) includes means (45) for detecting a threshold value to be a phase reference of the synchronization signal, and a code at the same time as the synchronization signal passes the threshold value or before and after the synchronization signal passes the threshold value. 2. The timing detection circuit according to claim 1, further comprising means (14) for interpolating a waveform including the threshold value from the data and detecting the phase of the threshold value from the interpolated waveform.
【請求項3】上記補間方法が、同期信号が閾値を通過す
ると同時または直前の符号データと同期信号が閾値を通
過すると同時または直後の符号データとの間の直線補間
であることを特徴とする請求項1または請求項2記載の
タイミング検出回路。
3. The interpolation method is characterized in that the interpolation method is linear interpolation between code data at the same time or immediately before the synchronization signal passes the threshold value and code data at the same time or immediately after the synchronization signal passes the threshold value. The timing detection circuit according to claim 1 or claim 2.
【請求項4】上記第二の位相検出手段(3)が、カラー
バースト信号の符号データ列を互いに直交する標本化位
相の組に分離しそれぞれの組の振幅データを得る手段を
備えたことを特徴とする請求項1記載のタイミング検出
回路。
4. The second phase detection means (3) comprises means for separating the code data string of the color burst signal into sets of mutually orthogonal sampling phases and obtaining amplitude data for each set. The timing detection circuit according to claim 1.
JP3123395A 1991-05-28 1991-05-28 Timing detection circuit Pending JPH04349796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3123395A JPH04349796A (en) 1991-05-28 1991-05-28 Timing detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3123395A JPH04349796A (en) 1991-05-28 1991-05-28 Timing detection circuit

Publications (1)

Publication Number Publication Date
JPH04349796A true JPH04349796A (en) 1992-12-04

Family

ID=14859506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3123395A Pending JPH04349796A (en) 1991-05-28 1991-05-28 Timing detection circuit

Country Status (1)

Country Link
JP (1) JPH04349796A (en)

Similar Documents

Publication Publication Date Title
US4675724A (en) Video signal phase and frequency correction using a digital off-tape clock generator
JP3297165B2 (en) Sampling frequency converter
JPH0435955B2 (en)
US6385267B1 (en) System and method for locking disparate video formats
US6791482B2 (en) Method and apparatus for compression, method and apparatus for decompression, compression/decompression system, record medium
JPS61142891A (en) Phase fixing loop
US6380980B1 (en) Method and apparatus for recovering video color subcarrier signal
US6724430B2 (en) Sampling frequency converter, sampling frequency conversion method, video signal processor, and video signal processing method
KR20050085709A (en) Comb filter
JPH04349796A (en) Timing detection circuit
US7425993B2 (en) Video signal processing
US5161032A (en) Velocity error generator with first-order interpolation
EP0486012B1 (en) Image reduction processing apparatus
KR0138345B1 (en) Digitalized automatic frequency control method and apparatus
JPS61267480A (en) Clock generating circuit for digital television receiver
KR100350024B1 (en) Image information processing device
JP3063095B2 (en) Phase synchronizer
US5335077A (en) Time base correcting device
JP3252606B2 (en) Digital chroma demodulation circuit
JP3612465B2 (en) Image coding / decoding device
JP2539932B2 (en) MUSE-NTSC system converter
JP2650162B2 (en) Video signal processing device
JPS63144678A (en) Phase synchronous oscillator circuit
JPH0336472B2 (en)
JPH09205656A (en) Video signal sampling rate converter