JPH05227453A - Frequency automatic adjustment device - Google Patents
Frequency automatic adjustment deviceInfo
- Publication number
- JPH05227453A JPH05227453A JP4028170A JP2817092A JPH05227453A JP H05227453 A JPH05227453 A JP H05227453A JP 4028170 A JP4028170 A JP 4028170A JP 2817092 A JP2817092 A JP 2817092A JP H05227453 A JPH05227453 A JP H05227453A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- sync
- phase
- hsync
- synchronization
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 9
- 230000008859 change Effects 0.000 claims description 4
- 238000013459 approach Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 31
- 230000001360 synchronised effect Effects 0.000 description 29
- 230000010355 oscillation Effects 0.000 description 23
- 230000000630 rising effect Effects 0.000 description 19
- 238000000034 method Methods 0.000 description 10
- 238000001514 detection method Methods 0.000 description 8
- 230000007423 decrease Effects 0.000 description 4
- 239000002131 composite material Substances 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000006872 improvement Effects 0.000 description 2
- 238000010348 incorporation Methods 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000283986 Lepus Species 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Synchronizing For Television (AREA)
Abstract
(57)【要約】 (修正有)
【目的】 AFCをデジタル回路で実現し、LSI化す
る事で回路の規模の縮小や安定性・信頼性を向上する。
【構成】 外部同期信号を入力する手段22と、内部同
期信号を生成する手段16と、外部同期信号を一定間隔
でサンプリングして、内部同期信号との同期差を検出し
その度合いを測る比較手段24の比較結果に基づき内部
同期信号の同期を徐々に変化させる手段30,14と、
両同期信号の周期が同じになると、内部同期信号の周期
を固定する手段28と両同期信号その位相差を検出し位
相差の度合いを測る比較手段24の比較結果に基づき内
部同期信号の周期幅を変化させる手段30,14と、両
同期信号の位相が近傍に達すると、位相を徐々に合わせ
込む手段30,14と、周期及び位相が合うと、外部同
期信号のサンプリングを継続しながら、内部同期信号の
周期及び位相を微調整する手段30,14とを含む。
(57) [Summary] (Modified) [Purpose] AFC is realized by a digital circuit, and the circuit scale is reduced and stability and reliability are improved by making it an LSI. A means 22 for inputting an external synchronizing signal, a means 16 for generating an internal synchronizing signal, and a comparing means for sampling the external synchronizing signal at regular intervals to detect a synchronization difference with the internal synchronizing signal and measuring the degree thereof. Means 30 and 14 for gradually changing the synchronization of the internal synchronization signal based on the comparison result of 24;
When the cycles of both sync signals are the same, the cycle width of the internal sync signal is based on the comparison result of the means 28 for fixing the cycle of the internal sync signal and the comparison means 24 for detecting the phase difference between the sync signals and measuring the degree of the phase difference. When the phases of the synchronizing signals 30 and 14 for changing the sync signal and the synchronizing signals of both sync signals approach each other, and when the period and the phase match, the internal sync signal is continuously sampled while the external sync signal is continuously sampled. Means 30 and 14 for finely adjusting the cycle and phase of the synchronization signal.
Description
【0001】[0001]
【産業上の利用分野】本発明は、周波数自動調整装置
(Automatic Frequency Controller,AFC)に関する。特
に、TV、VTR等の画像機器に使用される表示画面の
制御信号である水平・垂直同期信号の周波数自動調整装
置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic frequency controller (AFC). In particular, the present invention relates to a frequency automatic adjustment device for a horizontal / vertical synchronizing signal which is a control signal for a display screen used in an image device such as a TV or VTR.
【0002】近年の電気機器のLSI化に伴い、アナロ
グ回路で構成されている回路のデジタル化が要求されて
いる。このため、アナログ回路で構成されている周波数
自動調整回路をデジタル化してLSI内に集積する必要
がある。With the recent trend toward LSIs in electrical equipment, digitization of analog circuits is required. For this reason, it is necessary to digitize the automatic frequency adjustment circuit composed of analog circuits and integrate it in the LSI.
【0003】[0003]
【従来の技術】TV画面を制御する水平・垂直同期信号
のうち、一般的に、垂直同期信号(以下VSYNC#と
いう)では、積分された形で波形が生成されるので、外
来ノイズ等が混入しても積分により除去されてしまう
が、水平同期信号(以下HSYNC#という)では、微
分された波形で生成される為、ノイズ等に弱く、ノイズ
の混入によりTV画面の一部が乱される原因となる。2. Description of the Related Art Of the horizontal / vertical synchronizing signals for controlling a TV screen, a vertical synchronizing signal (hereinafter referred to as VSYNC #) generally produces a waveform in an integrated form, so that external noise is mixed. Even if it is removed by integration, the horizontal sync signal (hereinafter referred to as HSYNC #) is generated with a differentiated waveform, so it is vulnerable to noise and the like, and mixing of noise disturbs a part of the TV screen. Cause.
【0004】この乱れを抑えるために、同期信号を平衡
化する手段をAFCとしている。従来のAFCは、図2
に示すような構成で成り立ち、外部から入力される同期
信号(例えばTV放送信号から分離された水平同期信
号)SYNC#と発振回路1により出力される同期信号
SYNCXとの位相差を位相検出部2により検出し、検
出結果を積分部3で積分して位相差を電圧に変換する。In order to suppress this disturbance, AFC is used as a means for balancing the synchronizing signals. The conventional AFC is shown in Fig. 2.
The phase detection unit 2 detects the phase difference between the synchronization signal (for example, a horizontal synchronization signal separated from the TV broadcast signal) SYNC # input from the outside and the synchronization signal SYNCX output from the oscillation circuit 1. And the detection result is integrated by the integrating unit 3 to convert the phase difference into a voltage.
【0005】電圧に変換された位相差は、前記発振回路
1に入力され、電圧の高低により発振回路1の発振特性
を変化させて発振周波数を高めたり遅くしたりする事
で、出力同期信号SYNCXの周波数の制御を行ってい
た。The phase difference converted into a voltage is input to the oscillation circuit 1, and the oscillation characteristic of the oscillation circuit 1 is changed according to the level of the voltage to increase or decrease the oscillation frequency, thereby outputting the output synchronization signal SYNCX. Was controlling the frequency.
【0006】[0006]
【発明が解決しようとする課題】上記従来のAFCにお
いては、コンデンサや抵抗・コイルで微分、積分回路3
が構成され、発振回路1や位相検出回路2もトランジス
タや水晶発振子等のアナログ回路で構成され、発振の周
波数調整も電圧差等で制御されるといった様に、全てア
ナログ的に行われてきた。In the above-mentioned conventional AFC, the differentiation / integration circuit 3 is constituted by a capacitor, a resistor and a coil.
And the oscillation circuit 1 and the phase detection circuit 2 are also configured by analog circuits such as transistors and crystal oscillators, and the frequency adjustment of oscillation is controlled by voltage difference or the like. ..
【0007】従って、デジタル回路を集積したLSIに
アナログ回路であるAFCを組み込む事は、電気特性の
保証や回路実現の困難性のため、現実的に実現できず、
LSIとは別にアナログ回路でAFCを構成する事とな
り、回路規模が増大するといった問題を生じていた。Therefore, the incorporation of AFC, which is an analog circuit, in an LSI in which a digital circuit is integrated cannot be realized in reality because of the guarantee of electrical characteristics and the difficulty in realizing the circuit.
The AFC is configured by an analog circuit separately from the LSI, which causes a problem that the circuit scale increases.
【0008】そこで、本発明は、AFCをデジタル回路
で実現し、LSI化する事で回路の規模の縮小や安定性
・信頼性を向上する事を目的とする。Therefore, an object of the present invention is to realize the AFC by a digital circuit and make it an LSI to reduce the circuit scale and improve the stability and reliability.
【0009】[0009]
【課題を解決するための手段】本発明は、外部で発生す
る同期信号(SYNC#)を入力する手段(22)と、
内部で同期信号(ISYNCX)を生成する手段(1
6)と、外部から入力した同期信号(SYNC#)を一
定間隔でサンプリングして、該外部同期信号(SYNC
#)と前記内部同期信号(ISYNCX)との同期差を
検出する手段(24)と、該周期差の度合いを測る比較
手段(24)と、該周期差比較手段(24)による比較
結果に基づき内部同期信号(ISYNCX)の同期を徐
々に変化させる手段(30,14)と、前記内部同期信
号(ISYNCX)の周期が前記外部同期信号(SYN
C#)の周期と同じになると、内部同期信号(ISYN
CX)の周期を固定して周期幅を保持する手段(28)
と、前記両同期信号(ISYNCX,SYNC#)の周
期が同じになると、前記内部同期信号(ISYNCX)
と前記外部同期信号(SYNC#)との位相差を検出す
る手段(24)と、該位相差の度合いを測る比較手段
(24)と、該位相差比較手段(24)による比較結果
に基づき内部同期信号(ISYNCX)の周期幅を変化
させる手段(30,14)と、前記内部同期信号(IS
YNCX)の位相が前記外部同期信号(SYNC#)の
位相の近傍に達すると、内部同期信号(ISYNCX)
の位相を外部同期信号(SYNC#)の位相に徐々に合
わせ込む手段(30,14)と、前記内部同期信号(I
SYNCX)と前記外部同期信号(SYNC#)の周期
及び位相が合うと、外部同期信号(SYNC#)のサン
プリングを継続しながら、内部同期信号(ISYNC
X)の周期及び位相を微調整する手段(30,14)
と、を含むことを特徴とする。The present invention comprises means (22) for inputting a synchronization signal (SYNC #) generated externally,
A means (1) for internally generating a synchronization signal (ISYNCX)
6) and a synchronization signal (SYNC #) input from the outside are sampled at regular intervals, and the external synchronization signal (SYNC #) is sampled.
#) And a means (24) for detecting a synchronization difference between the internal synchronization signal (ISYNCX), a comparing means (24) for measuring the degree of the period difference, and a comparison result by the period difference comparing means (24). Means (30, 14) for gradually changing the synchronization of the internal synchronization signal (ISYNCX) and the cycle of the internal synchronization signal (ISSYNCX) are the external synchronization signal (SYNC).
When it becomes the same as the cycle of C #, the internal synchronization signal (ISYN
CX) means for fixing the cycle and holding the cycle width (28)
And when the cycles of both sync signals (ISSYNCX, SYNC #) become the same, the internal sync signal (ISSYNCX)
Means (24) for detecting the phase difference between the external synchronization signal (SYNC #) and the external synchronization signal (SYNC #), a comparison means (24) for measuring the degree of the phase difference, and an internal means based on the comparison result by the phase difference comparison means (24). Means (30, 14) for changing the cycle width of the synchronization signal (ISSYNCX) and the internal synchronization signal (IS
When the phase of YSYNCX reaches near the phase of the external sync signal (SYNC #), the internal sync signal (ISSYNCX)
Means (30, 14) for gradually adjusting the phase of the internal synchronization signal (I) to the phase of the external synchronization signal (SYNC #).
When the cycle and the phase of the external synchronization signal (SYNC #) match with that of the external synchronization signal (SYNC #), the sampling of the external synchronization signal (SYNC #) is continued and the internal synchronization signal (ISSYNC)
Means (30, 14) for finely adjusting the cycle and phase of (X)
And are included.
【0010】図1には、本発明の原理による周波数自動
調整装置が示されている。この図1の装置は、水平同期
信号(以下HSYNC#)に対して周波数制御を行う回
路を構成している。FIG. 1 shows an automatic frequency adjusting device according to the principles of the present invention. The apparatus of FIG. 1 constitutes a circuit for performing frequency control on a horizontal synchronizing signal (hereinafter referred to as HSYNC #).
【0011】IHSYNCXは、内部で生成される水平
同期信号であり、該IHSYNCXは、カウンタ10
と、カウンタ10を制御するカウンタ制御部12と、カ
ウンタ値をデコードする制御デコーダ14とデコーダ値
から信号を生成する生成部16と、から成る回路18か
ら出力される。IHSYNCX is a horizontal synchronizing signal generated internally, and the IHSYNCX is a counter 10.
, A counter control unit 12 that controls the counter 10, a control decoder 14 that decodes the counter value, and a generation unit 16 that generates a signal from the decoder value.
【0012】IHSYNCXの周波数と位相を調節する
回路20は、外部から入力部22を介して入力されるH
SYNC#と内部生成のIHSYNCXとの位相差及び
周期差を検出する位相・周期比較制御部24と、その位
相・周期比較制御部24が位相比較か周期比較かのどち
らを比較するかを指示する切替部26と、周期の比較結
果を保持するラッチ部28と、保持された比較結果から
デコーダ14を制御するデコーダ制御部30と、から成
り立っている。The circuit 20 for adjusting the frequency and phase of the IHSYNCX is an H input from the outside via an input section 22.
A phase / cycle comparison control unit 24 that detects a phase difference and a cycle difference between the SYNC # and the internally generated IHSYNCX, and indicates whether the phase / cycle comparison control unit 24 compares the phase comparison or the cycle comparison. It comprises a switching unit 26, a latch unit 28 that holds the comparison result of the cycles, and a decoder control unit 30 that controls the decoder 14 from the held comparison result.
【0013】平衡化された水平同期信号であるHSYN
CXを生成する回路32は、位相・周期比較制御部24
の比較結果を条件にしてHSYNC#とIHSYNCX
の信号の切替えを行うOUT制御部34から成り立つ。HSYNC, which is a balanced horizontal sync signal
The circuit 32 for generating the CX includes a phase / cycle comparison control unit 24.
HSYNC # and IHSYNCX based on the comparison result of
It is composed of the OUT control unit 34 for switching the signal of.
【0014】[0014]
【作用】次に、本発明の原理による周波数自動調整装置
の作用を図3(A)、(B)、(C)、(D)を参照し
ながら説明する。Next, the operation of the automatic frequency adjusting device according to the principle of the present invention will be described with reference to FIGS. 3 (A), (B), (C) and (D).
【0015】まず、外部入力HSYNC#の信号が有効
でないHigh状態のとき(以下ネゲート時)は、図3
(A)のように内部で生成される同期信号IHSYNC
XがHSYNCXとして出力される。First, when the signal of the external input HSYNC # is in a high state where it is not valid (hereinafter, negated), FIG.
As shown in (A), the internally generated synchronization signal IHSYNC
X is output as HSYNCX.
【0016】この時のHSYNCXの周波数は、予め保
持されている周期値ラッチ部28の比較データに基づき
デコーダ制御部30の制御データにより決定される。次
に、HSYNC#がLowとなり有効になる(以下アサ
ート時)と、図3(B)のようにHSYNC#とIHS
YNCXとの周期差を比較制御部24で比較して、比較
結果によりIHSYNCXの周波数を可変させてHSY
NC#の周波数に近づける。The frequency of HSYNCX at this time is determined by the control data of the decoder control unit 30 based on the comparison data of the period value latch unit 28 which is held in advance. Next, when HSYNC # becomes Low and becomes valid (hereinafter, asserted), HSYNC # and IHS are set as shown in FIG. 3B.
The comparison control unit 24 compares the period difference with YSYNC, and the frequency of IHSYNCX is varied according to the comparison result to determine HSY.
Bring it closer to the frequency of NC #.
【0017】この時いきなりHSYNC#と同じ周波数
に近づけるのではなく、ある一定の上下限の範囲内でI
HSYNCXの周波数を変化させ、周波数が近づくにつ
れて変化の割合も小さくする。At this time, instead of suddenly approaching the same frequency as HSYNC #, I within a certain upper and lower limit range is set.
The frequency of HSYNCX is changed so that the rate of change decreases as the frequency approaches.
【0018】HSYNC#とIHSYNCXの周期が同
じになった時点で周期は固定され、周期値ラッチ部28
に周期の値が保持される。次に位相の合わせ込みを行う
が、HSYNC#とIHSYNCXがある一定の位相よ
り外れていると、IHSYNCXの周期に一定の長さが
あたえられ、HSYNC#とIHSYNCXの周期幅を
再び異なるように制御する。(図3(C)) これによ
りHSYNC#とIHSYNCXの位相が序々に近づ
き、位相が合わせ込まれた時点で、IHSYNCXの周
期幅をHSYNC#と同じ周期に戻し位相合わせが終了
する。The cycle is fixed when the cycles of HSYNC # and IHSYNCX become the same, and the cycle value latch unit 28
The period value is stored in. Next, the phases are adjusted, but if HSYNC # and IHSYNCX deviate from a certain phase, the period of IHSYNCX is given a certain length, and the period widths of HSYNC # and IHSYNCX are controlled to be different again. To do. (FIG. 3C) As a result, the phases of HSYNC # and IHSYNCX gradually approach each other, and when the phases are matched, the cycle width of IHSYNCX is returned to the same cycle as HSYNC # and phase matching is completed.
【0019】位相合わせでも、一定の位相合わせ範囲内
に位相が同期すると、IHSYNCXに与える一定の長
さを小さくして行き、序々に位相が合わせ込まれるよう
にする。Even in phase matching, if the phases are synchronized within a constant phase matching range, the constant length given to IHSYNCX is reduced to gradually match the phases.
【0020】一度IHSYNCXとHSYNC#との同
期がとれると、HSYNC#との位相・周期同期を細か
い単位で微調整しながらHSYNCXを出力し続ける。
この時点でHSYNC#に外来ノイズが載ったり、HS
YNC#が一時的に消滅しても、内部のIHSYNCX
を出力する事でHSYNCXの安定供給を図る。(図3
(D)) 以上のように、本発明の原理による周波数自動調整装置
によれば、IHSYNCXの周波数(周期)と位相を別
個に調整することができる。そして、HSYNC#が急
激に変化あるいは一時的に消滅したとしても、内部のI
HSYNCXにより常に平衡化され安定したHSYNC
Xを供給することができる。Once IHSYNCX and HSYNC # are synchronized, HSYNCX is continuously output while finely adjusting the phase / cycle synchronization with HSYNC # in fine units.
At this point, external noise may appear on HSYNC #,
Even if YNC # temporarily disappears, internal IHSYNCX
By outputting, the stable supply of HSYNCX is achieved. (Fig. 3
(D)) As described above, according to the frequency automatic adjustment device according to the principle of the present invention, the frequency (cycle) and phase of IHSYNCX can be adjusted separately. Even if HSYNC # suddenly changes or disappears temporarily, the internal I
Stable HSYNC that is always balanced by HSYNCX
X can be supplied.
【0021】なお、上記の説明では、水平同期信号をと
りあげたが、本発明は、垂直同期信号等の周波数調整を
必要とするもの全般に適用可能である。Although the horizontal synchronizing signal has been taken up in the above description, the present invention can be applied to all those requiring the frequency adjustment of the vertical synchronizing signal and the like.
【0022】[0022]
【実施例】以下、図面に基づいて本発明の実施例を説明
する。本AFCは、水平同期信号HSYNC#の制御用
コントローラとして説明してあり、外乱等により位相或
いは周波数の乱れた外部入力HSYNC#を補正して常
に安定した同期信号を出力する事を目的とする。そし
て、外部HSYNC#が入力された時は、内部で発生す
るIHSYNCXを外部HSYNC#と位相同期するよ
うに周波数自動調整して出力する。また、外部HSYN
C#が停止した時には、内部発生のIHSYNCXを出
力する事で安定した同期信号を供給する。詳述すると、 外部HSYNC#が入力されない時は、内部で発生
するIHSYNCXを出力する。Embodiments of the present invention will be described below with reference to the drawings. This AFC is described as a controller for controlling the horizontal synchronizing signal HSYNC #, and its purpose is to correct the external input HSYNC # whose phase or frequency is disturbed by disturbance or the like and always output a stable synchronizing signal. Then, when the external HSYNC # is input, the IHSYNCX generated internally is automatically adjusted in frequency so as to be phase-synchronized with the external HSYNC # and output. Also, external HSYN
When C # stops, the internally generated IHSYNCX is output to supply a stable sync signal. More specifically, when the external HSYNC # is not input, the internally generated IHSYNCX is output.
【0023】 外部HSYNC#が入力されている時
は、内部IHSYNCXを外部HSYNC#に位相同期
して出力する。 外部HSYNC#が停止しても、内部IHSYNC
Xを出力してHSYNCXの供給を停止しない。When the external HSYNC # is input, the internal IHSYNCX is output in phase with the external HSYNC #. Even if the external HSYNC # stops, the internal IHSYNC
Output X and do not stop the supply of HSYNCX.
【0024】 外部と内部のHSYNCが同期する
と、外部HSYNC#に外来ノイズ等が載っても許容範
囲内でマスキングする。 次に、図4には、本発明の実施例による周波数自動調整
装置が示されている。When the external and internal HSYNCs are synchronized, even if external noise or the like is placed on the external HSYNC #, the external HSYNC # s are masked within an allowable range. Next, FIG. 4 shows an automatic frequency adjusting device according to an embodiment of the present invention.
【0025】図4において、カウンタ50は、8Bit
のカウンタである。カウンタ制御部52は、カウンタ5
0のクリアを制御する。In FIG. 4, the counter 50 has 8 bits.
Is the counter. The counter control unit 52 uses the counter 5
Controls clearing of 0.
【0026】デコーダ54は、カウンタ50のカウント
値をデコードして出力する。パルス制御部56は、デコ
ーダ54のデコード値を制御して制御パルスを出力す
る。The decoder 54 decodes the count value of the counter 50 and outputs it. The pulse control unit 56 controls the decode value of the decoder 54 and outputs a control pulse.
【0027】状態制御部58は、動作遷移を制御する。
HSYNC#入力部60は、外部から入力されるHSY
NC#の入力部である。 HSYNC#制御部62は、
外部入力されたHSYNC#の制御を行う。The state control unit 58 controls the operation transition.
The HSYNC # input section 60 is an HSYNC input from the outside.
This is the input section of NC #. The HSYNC # controller 62
The externally input HSYNC # is controlled.
【0028】位相制御部64は、位相比較用のデータを
生成する。位相比較部66は、外部入力されたHSYN
C#と位相比較データとの比較を行う。The phase control section 64 generates data for phase comparison. The phase comparator 66 uses the externally input HSYN
The C # is compared with the phase comparison data.
【0029】動作制御部68は、位相比較されたデータ
を処理して、次の動作を制御する。データレジスタ70
は、動作制御用のデータ格納レジスタである。位相ロッ
ク制御部72は、外部HSYNC#との位相同期を制御
する。The operation control unit 68 processes the phase-compared data and controls the next operation. Data register 70
Is a data storage register for operation control. The phase lock controller 72 controls phase synchronization with the external HSYNC #.
【0030】HSYNC発生部74は、HSYNCXの
出力制御を行う。次に、動作概要を説明する。動作の基
準となるクロックは、カラーバースト信号の4倍の周波
数のパルスである4fscをクロックとして使用する。The HSYNC generator 74 controls the output of HSYNCX. Next, an outline of operation will be described. As a clock serving as a reference for operation, 4fsc, which is a pulse having a frequency four times that of the color burst signal, is used as a clock.
【0031】主な動作は、 外部入力HSYNC#(以下HSYNC#)のサン
プル動作 外部入力HSYNC#と内部発生IHSYNCXの
位相比較動作 内部発生IHSYNCX(以下IHSYNCX)の
位相・周波数制御動作 の3種類に区別出来る。The main operation is classified into three types: external input HSYNC # (hereinafter HSYNC #) sample operation, external input HSYNC # and internally generated IHSYNCX phase comparison operation, internally generated IHSYNCX (hereinafter IHSYNCX) phase / frequency control operation. I can.
【0032】各動作は図5に示される期間に行われる。
詳述すると、 サンプル動作は常に行われ、外部から入力されるH
SYNC#を位相比較用のデータとしてサンプルする。
HSYNC#のサンプルは、LowレベルからHigh
レベルへの立ち上がりエッジを検出して行われる。Each operation is performed during the period shown in FIG.
To be more specific, the sample operation is always performed and H input from the outside
SYNC # is sampled as data for phase comparison.
HSYNC # samples are from Low level to High
This is done by detecting the rising edge to the level.
【0033】 位相比較では、サンプルされたデータ
と内部動作の位相差及びIHSYNC CYCLE幅
(周波数)を比較して位相差データと1H幅データを生
成する。In the phase comparison, the sampled data is compared with the phase difference of the internal operation and the IHSYNC CYCLE width (frequency) to generate the phase difference data and the 1H width data.
【0034】 位相制御では、生成された位相差デー
タとIHSYNC CYCLE幅データにより内部動作
の制御を行い、外部入力のHSYNC#に内部生成のI
HSYNCXの位相を近づける。In the phase control, the internal operation is controlled by the generated phase difference data and the IHSYNC CYCLE width data, and the internally generated ISYNC is supplied to the external input HSYNC #.
Bring the HSYNCX phase closer.
【0035】(1)外部入力HSYNC#のサンプル動
作 HSYNC#のサンプルは以下の3種類に区別して行
う。 HSYNC#とIHSYNCXが全く同期していな
いと見なす期間 HSYNC#とIHSYNCXのIHSYNC C
YCLE幅(以下1H幅)の同期期間 HSYNC#とIHSYNCXの位相同期期間 各サンプル期間は図6に示される通りである。詳述する
と、 HSYNC#とIHSYNCXが全く同期していな
いと見なす非同期の期間には、HSYNC#がサンプル
されると、IHSYNCXの1H幅データは最大(或い
は最小)値としてサンプルされ、HSYNC#が1H幅
の同期期間内でサンプル出来るまで繰り返される。(1) Sample operation of externally input HSYNC # The sample of HSYNC # is classified into the following three types. HSYNC # and IHSYNCX are considered not to be synchronized at all ISYNCH of ISYNC # and IHSYNCX
YCLE width (hereinafter 1H width) synchronization period HSYNC # and IHSYNCX phase synchronization period Each sample period is as shown in FIG. More specifically, when HSYNC # is sampled during an asynchronous period in which HSYNC # and IHSYNCX are considered not to be synchronized at all, the 1H width data of IHSYNCX is sampled as the maximum (or minimum) value, and HSYNC # is 1H. Iterate until sampled within the width synchronization period.
【0036】 HSYNC#が1H幅の同期期間内に
サンプルされると、その期間内で定められた一定のデー
タがIHSYNCXの1H幅データとしてサンプルされ
る。これにより、IHSYNCXのIH幅を変動させて
HSYNC#とIHSYNCXの1H幅を±(4×1/
fsc)secの誤差範囲で同一化させる。When HSYNC # is sampled within the 1H width synchronization period, certain data defined within the period is sampled as 1H width data of IHSYNCX. As a result, the IH width of IHSYNCX is changed so that the 1H width of HSYNC # and IHSYNCX is ± (4 × 1 /
They are made identical within the error range of fsc) sec.
【0037】 HSYNC#とIHSYNCXの1H
幅が±(4×1/fsc)secの誤差範囲で同一化し
た時点で、IHSYNCXの1H幅を再び一定量増加
(或いは減少)させて、位相同期期間内にHSYNC#
がサンプル出来るように調節する。位相同期期間にHS
YNC#がサンプルされると、IHSYNCXの1H幅
を、HSYNC#と再び同一化して、位相同期期間内で
定められた一定のデータサンプルによりIHSYNCX
とHSYNC#の位相差を1/fsc sec単位で毎
ラスタ修正して同期を行う。1H of HSYNC # and IHSYNCX
When the widths are equalized within an error range of ± (4 × 1 / fsc) sec, the 1H width of IHSYNCX is again increased (or decreased) by a certain amount, and HSYNC # is increased within the phase synchronization period.
Adjust to sample. HS during the phase synchronization period
When YNC # is sampled, the 1H width of IHSYNCX is made to be the same as HSYNC # again, and IHSYNCX is determined by a constant data sample defined within the phase synchronization period.
And the HSYNC # phase difference is corrected every raster in units of 1 / fsc sec and synchronization is performed.
【0038】(2)1H幅同期データの生成 外部入力のHSYNC#のサンプル位置により、1H幅
同期用のデータが生成される。(2) Generation of 1H-width synchronization data 1H-width synchronization data is generated according to the sampling position of the externally input HSYNC #.
【0039】サンプルされる同期用データの区分は2種
類に分けられる。(図7(A)参照) 非同期期間にH
SYNC#がサンプルされた時には、一律の同期用デー
タか生成され、サンプルされた時点の±DATAのレベ
ルによりプラスかナイマスが決まる。The division of the sampled synchronization data is divided into two types. (See FIG. 7 (A)) H during the asynchronous period
When SYNC # is sampled, uniform synchronization data is generated, and positive or negative is determined depending on the level of ± DATA at the time of sampling.
【0040】同期調節期間は、HSYNC#のサンプル
位置により、それぞれ同期用データが生成される。同期
用データは、PHASE DATAとして以下のように
割当られ、2ラスタに渡って同じPHASE DATA
がサンプルされると、HSYNC#とIHSYNCXの
1H幅が同期したと見なす。During the synchronization adjustment period, synchronization data is generated depending on the sample position of HSYNC #. The synchronization data is assigned as PHASE DATA as follows, and the same PHASE DATA is applied to two rasters.
Is sampled, it is considered that the 1H widths of HSYNC # and IHSYNCX are synchronized.
【0041】1H幅の同期が合うと、再度HSYNC#
とIHSYNCXの同期が外れるまでサンプルされたデ
ータは固定される。PHASE DATAにも±のデー
タが付属する。(図7(B)、(C)参照) (3)位
相同期データの生成 HSYNC#とIHSYNCXの1H幅が同期すると、
PHASE DATAに一定量の値を加減算し、HSY
NC#のサンプル位置が同期調節期間のPHASE D
ATA 0期間に収まるまで繰り返す。When the 1H width is synchronized, the HSYNC #
And IHSYNCX are out of sync and the sampled data is fixed. PHASE DATA also comes with ± data. (See FIGS. 7B and 7C.) (3) Generation of phase synchronization data When the 1H widths of HSYNC # and IHSYNCX are synchronized,
Add or subtract a certain amount of value to PHASE DATA, and
The sample position of NC # is PHASE D during the synchronization adjustment period.
Repeat until ATA 0 period is reached.
【0042】PHASE DATA 0期間でHSYN
C#がサンプルされると、位相LOCK期間となりLO
CK DATAがサンプルされる。LOCK DATA
は毎ラスタHSYNC#が入力される限りサンプルされ
る。(図8参照) (4)位相制御動作 IHSYNCXの1H幅を増減させて、外部入力のHS
YNC#との同期を行う。PHASE DATA 0 period and HSYN
When C # is sampled, it becomes the phase LOCK period and LO
CK DATA is sampled. LOCK DATA
Is sampled as long as every raster HSYNC # is input. (See FIG. 8) (4) Phase control operation Increase or decrease the 1H width of IHSYNCX to change the HS of external input.
Synchronize with YNC #.
【0043】動作は1H幅調整の動作と、位相合わせの
動作の2種類に区別出来る。(図9(A)参照) 1H幅の調整ではPHASE DATAに従って、5×
fscの単位で0〜16の範囲で1Hの長さが調節さ
れ、調節値が8の時が標準となり、8以下はマイナス
側、8以上はプラス側としてIHSYNCXの長さが調
節される。The operation can be classified into two types, that is, the 1H width adjusting operation and the phase adjusting operation. (See FIG. 9 (A)) 1H width adjustment is 5 × according to PHASE DATA.
The length of 1H is adjusted in the range of 0 to 16 in units of fsc, and when the adjustment value is 8, it becomes the standard, when 8 or less is the minus side and when 8 or more is the plus side, the length of IHSYNCX is adjusted.
【0044】PHASE DATAは0〜Fまであり、
図9(B)のように対応する。位相合わせの調整ではL
OCK DATAに従って、fsc単位に0〜10の範
囲で長さが調節され、調節値は5が標準値となり5を基
準にIHSYNCXの長さが調節される。PHASE DATA is from 0 to F,
This corresponds as shown in FIG. L for phase adjustment
In accordance with OCK DATA, the length is adjusted in the range of 0 to 10 in fsc unit, and the adjustment value of 5 becomes the standard value, and the length of IHSYNCX is adjusted with reference to 5.
【0045】また、PHASE DATAが非同期期間
を表す値の時と1H幅同期後のPHASE DATA
0期間にHSYNC#をサンプルする時の動作時には、
最大値(10)が最小値(0)となる。Further, when PHASE DATA is a value indicating an asynchronous period and PHASE DATA after 1H width synchronization
During operation when sampling HSYNC # in 0 period,
The maximum value (10) becomes the minimum value (0).
【0046】LOCK DATAは図9(C)のように
対応する。 (5)HSYNC#とHSYNCXの立ち上がりレベル
同期化 HSYNC#とIHSYNCXの位相が同期すると、H
SYNCXのパルス立ち上がりタイミングは、内部発生
のIHSYNCXから外部入力のHSYNC#ダイレク
ト出力に切り換える。LOCK DATA corresponds as shown in FIG. 9 (C). (5) Rising level synchronization of HSYNC # and HSYNCX When HSYNC # and IHSYNCX are synchronized in phase, H
The pulse rising timing of SYNCX is switched from internally generated IHSYNCX to externally input HSYNC # direct output.
【0047】これにより、HSYNC#とHSYNCX
は完全に同期化が行われることになる。(図10(A)
参照) HSYNC#のダイレクト出力の範囲はIHSYNCX
の立ち上がり前後4×fsc範囲であり、前後約1μs
ecの範囲を持たせてある。(図10(B)参照) (6)HSYNC#ダイレクト出力とIHSYNCX出
力の切替え HSYNC#とIHSYNCXの位相が同期化され、H
SYNC#の立ち上がりがIHSYNCXにダイレクト
出力された状態で動作する時、HSYNC#の発振停止
に備えてIHSYNCXの立ち上がりポイント前でHS
YNC#をサンプルし、HSYNC#がLowレベルな
らHSYNC#のダイレクト出力に、Highレベルな
ら内部発生のIHSYNCX立ち上がりの出力に切り換
える。(図11(A)、(B)参照) 外部入力HSYNC#がLowレベルで停止した時は、
HSYNC#ダイレクト出力範囲最終位置で強制的にI
HSYNCXを立ち上げる。(図11(C)参照) (7)HSYNCXの立ち下がり位置 HSYNCXの立ち下がり位置は、AFC内部で生成さ
れる。As a result, HSYNC # and HSYNCX
Will be fully synchronized. (Fig. 10 (A)
Refer to IHSYNCX for the direct output range of HSYNC #.
Before and after the rise is about 4 x fsc range, about 1μs before and after
It has a range of ec. (See FIG. 10B.) (6) Switching between HSYNC # direct output and IHSYNCX output The phases of HSYNC # and IHSYNCX are synchronized, and H
When operating in a state where the rising edge of SYNC # is directly output to IHSYNCX, HS is provided before the rising point of IHSYNCX in preparation for the oscillation stop of HSYNC #.
YNC # is sampled, and if HSYNC # is low level, it is switched to the direct output of HSYNC #, and if it is high level, it is switched to the internally generated IHSYNCX rising output. (See FIGS. 11A and 11B) When the external input HSYNC # is stopped at the Low level,
HSYNC # Forcibly I at the final position of the direct output range
Launch HSYNCX. (See FIG. 11C.) (7) Falling Position of HSYNCX The falling position of HSYNCX is generated inside the AFC.
【0048】HSYNCXのアサート期間は(17×f
sc)secと規定して、常に一定の位置でアサートを
行う。(図12(A)参照) これにより、HSYNCXの立ち上がりをHSYNC#
ダイレクト出力へ切り換えた時のHSYNCXパルス幅
は13fsc〜22fscの範囲となる。(図12
(B)参照) 次に、状況別の動作を説明する。The assertion period of HSYNCX is (17 × f
sc) sec and always assert at a fixed position. (See FIG. 12 (A)) As a result, the rising edge of HSYNCX is set to HSYNC #.
The HSYNCX pulse width when switching to the direct output is in the range of 13 fsc to 22 fsc. (Fig. 12
(Refer to (B)) Next, the operation according to the situation will be described.
【0049】まず、外部入力のHSYNC#が停止して
いる時の動作を説明する。外部入力のHSYNC#が停
止した状態で内部のIHSYNCXを発生している時
は、HSYNC#のサンプルを行ないながらIHSYN
CXの発生を行っている。First, the operation when the externally input HSYNC # is stopped will be described. When the internal IHSYNCX is being generated while the external input HSYNC # is stopped, the IHSYNC # is sampled while the IHSYNC # is sampled.
CX is being generated.
【0050】内部発生IHSYNCXの1H幅は、初期
状態なら227.5×fscの幅で動作を繰り返す。ま
た、HSYNC#の発振が途中で停止した直後なら、H
SYNC#発振時の1H幅で動作を行う。The 1H width of the internally generated IHSYNCX is 227.5 × fsc in the initial state, and the operation is repeated. If the HSYNC # oscillation has just stopped halfway, H
The operation is performed with a 1H width at the time of SYNC # oscillation.
【0051】HSYNC#の発振が開始されると、ノイ
ズ除去の為3ラスタ分のHSYNC#をカウントの後、
HSYNC#とIHSYNCXの位相同期動作に入る。
(図13参照) (1)外部入力HSYNC#と内部発生IHSYNCX
が同期した状態の動作外部入力のHSYNC#と内部発
生のIHSYNCXが位相同期した状態では、HSYN
C#のサンプルによりIHSYNCXの1H幅を微調整
しつつ、水平同期信号HSYNCXを出力する。When the oscillation of HSYNC # is started, HSYNC # for three rasters is counted to remove noise, and then,
The phase synchronization operation of HSYNC # and IHSYNCX is started.
(Refer to FIG. 13) (1) External input HSYNC # and internally generated IHSYNCX
When the externally input HSYNC # and the internally generated IHSYNCX are in phase synchronization, HSYNC
The horizontal synchronization signal HSYNCX is output while finely adjusting the 1H width of IHSYNCX by the sample of C #.
【0052】この時のHSYNCXの立ち上がりはHS
YNC#をダイレクトに出力する事でHSYNC#とH
SYNCXの位相の同期を合わせる。(図14参照) (2)外部入力HSYNC#と内部発生IHSYNCX
を同期する時の動作HSYNC#が停止状態から発振を
開始し、IHSYNCXの位相を同期する時の動作を説
明する。At this time, the rising edge of HSYNCX is HS.
By directly outputting YNC #, HSYNC # and H
Synchronize the SYNCX phases. (Refer to FIG. 14) (2) External input HSYNC # and internally generated IHSYNCX
The operation when HSYNC # starts oscillating from the stopped state and the phase of IHSYNCX is synchronized will be described.
【0053】HSYNC#が非同期期間にサンプルされ
れば、±DATAによりIHSYNCXの1H幅が最大
幅か最小幅に設定され動作を繰り返す。HSYNC#の
ノイズ除去の為HSYNC#のサンプルはHSYNC#
発振から3ラスタ後に開始する。(図15(A)参照) HSYNC#を同期調節期間にサンプルすると、同期調
節期間内で定められた値に従ってIHSYNCXの1H
幅は1ラスタ毎に変化する。When HSYNC # is sampled in the asynchronous period, the 1H width of IHSYNCX is set to the maximum width or the minimum width by ± DATA, and the operation is repeated. The sample of HSYNC # is HSYNC # for noise removal of HSYNC #.
Start 3 rasters after oscillation. (See FIG. 15 (A)) When HSYNC # is sampled in the synchronization adjustment period, 1H of IHSYNCX is obtained according to the value determined within the synchronization adjustment period.
The width changes for each raster.
【0054】サンプルされたPHASE DATAが2
ラスタに渡って同じであれば、そのデータを1H幅の同
期データ(PHASE SAMPLE DATA:PSAMP DT)として使用す
る。(図15(B)参照) 1H幅の同期が終了後HSYNC#のサンプル位置がP
HASE DATA0の期間に収まれば、LOCK D
ATAを毎ラスタサンプルして位相調整を行う。(図1
5(C)参照) (3)外部入力のHSYNC#が停止した時の動作 HSYNC#の発振が停止した時は、発振停止前のPH
ASE SAMPLEDATAとLOCK SAMPL
E DATAの値で生成されたIHSYNCXをHSY
NCXとして出力する。(図16(A)参照) HSYNC#の発振停止の判断はIHSYNCX立ち上
がりの5fsc前に行う。2 PHASE DATA sampled
If the data is the same across rasters, that data is used as 1H-width synchronous data (PHASE SAMPLE DATA: PSAMP DT). (Refer to FIG. 15B.) After the 1H width synchronization is completed, the sample position of HSYNC # is P
If it falls within the HASE DATA 0 period, LOCK D
Phase adjustment is performed by raster sampling each ATA. (Fig. 1
5 (C)) (3) Operation when HSYNC # of external input is stopped When oscillation of HSYNC # is stopped, PH before oscillation is stopped
ASE SAMPLE DATA and LOCK SAMPL
IHSYNCX generated with the value of EDATA is set to HSY
Output as NCX. (See FIG. 16 (A)) The determination to stop the oscillation of HSYNC # is made 5 fsc before the rise of IHSYNCX.
【0055】この時点でHSYNC#がLowレベルで
なければ同期ずれと見なし内部発生のIHSYNCX立
ち上げに切り換える。(図16(B)参照) (4)外部入力のHSYNC#の1H幅が(227.5
×fsc)secより長い時の同期動作 HSYNC#の1H幅が標準値(227.5×fsc)
より4×fscを越える長さの時は、PHASE DA
TAの値が標準値より長く設定される。At this time, if HSYNC # is not at the Low level, it is considered that there is a synchronism deviation, and the internally generated IHSYNCX is switched on. (See FIG. 16B.) (4) The 1H width of the external input HSYNC # is (227.5).
Synchronous operation when longer than × fsc) sec 1H width of HSYNC # is a standard value (227.5 × fsc)
If the length exceeds 4 x fsc, PHASE DA
The value of TA is set longer than the standard value.
【0056】1H幅の同期期間内で2ラスタに渡って同
じPHASE DATAをサンプルすると、そのPHA
SE DATAをPHASE SAMPLE DATA
として設定する。(図17(A)参照) PHASE SAMPLE DATAが設定されるとL
OCK DATAを最大値に設定し、HASNC#より
1H幅を(5×fsc)sec増やす。If the same PHASE DATA is sampled over two rasters within the synchronization period of 1H width, the PHA
SE DATA to PHASE SAMPLE DATA
Set as. (Refer to FIG. 17 (A)) When PHASE SAMPLE DATA is set, L
OCK DATA is set to the maximum value, and the 1H width is increased by (5 × fsc) sec from HASNC #.
【0057】HSYNC#がPHASE DATA 0
期間である位相LOCK期間内でサンプルできるまでこ
の状態で動作する。(図17(B)参照) 位相LOCK期間内でHSYNC#がサンプルされる
と、LOCK SAMPLE DATAは本来の位相制
御用のデータが毎ラスタ設定される。(図17(C)参
照) (5)外部入力のHSYNC#の1H幅が(227.5
×fsc)secより短い時の同期動作 HSYNC#の1H幅が標準値(227.5×fsc)
より4×fsc以上短い時はPHASE DATAの値
が標準値より短く設定される。HSYNC # is PHASE DATA 0
It operates in this state until it is possible to sample within the phase LOCK period which is the period. (Refer to FIG. 17B.) When HSYNC # is sampled within the phase LOCK period, LOCK SAMPLE DATA sets the original phase control data for each raster. (See FIG. 17C.) (5) The 1H width of the external input HSYNC # is (227.5).
Synchronous operation when shorter than × fsc) sec 1H width of HSYNC # is a standard value (227.5 × fsc)
When 4 × fsc or more, the value of PHASE DATA is set shorter than the standard value.
【0058】1H幅の同期期間内で2ラスタに渡って同
じPHASE DATAをサンプルすると、そのPHA
SE DATAをPHASE SAMPLE DATA
として設定する。(図18(A)参照) PHASE SAMPLE DATAが設定されると、
LOCK DATAを最小値に設定し、HSYNC#よ
り1H幅を(5×fsc)sec減らす。If the same PHASE DATA is sampled over two rasters within the synchronization period of 1H width, the PHA
SE DATA to PHASE SAMPLE DATA
Set as. (See FIG. 18A.) When PHASE SAMPLE DATA is set,
LOCK DATA is set to the minimum value, and the 1H width is reduced by (5 × fsc) sec from HSYNC #.
【0059】HSYNC#がPHASE DATA 0
期間である位相LOCK期間内でサンプルできるまでこ
の状態で動作する。(図18(B)参照) 位相LOCK期間内でHSYNC#がサンプルされる
と、LOCK SAMPLE DATAは本来の位相制
御用のデータが毎ラスタ設定される。(図18(C)参
照) (6)外部入力のHSYNC#の同期が外れた時の動作 位相が同期した状態で動作している途中でHSYNC#
の位相にズレが生じた場合、1ラスタ後に位相修正動作
に移る。(図19(A)参照) 位相修正動作に入ると、LOCK SAMPLE DA
TA(L SAMPDT)は−0値が設定され、PHA
SE SAMPLE DATAはHSYNC#のサンプ
ル値が設定される。HSYNC # is PHASE DATA 0
It operates in this state until it is possible to sample within the phase LOCK period which is the period. (See FIG. 18B.) When HSYNC # is sampled within the phase LOCK period, LOCK SAMPLE DATA sets the original phase control data for each raster. (See FIG. 18 (C)) (6) Operation when HSYNC # of external input is out of synchronization HSYNC # in the middle of operation in the phase synchronized state
If the phase shift occurs, the phase correction operation starts after one raster. (See FIG. 19 (A)) When entering the phase correction operation, LOCK SAMPLE DA
TA (L SAMPDT) is set to a value of -0, and PHA
SE SAMPLE DATA is set to a sample value of HSYNC #.
【0060】以後通常の同期動作が行われ、1H幅の同
期と位相同期とが行われる。(図19(B)参照) (17)外部入力のHSYNC#が1ラスタだけ停止し
た時の動作 外部入力のHSYNC#が1ラスタだけ停止して再び発
振を開始した時には、発振の停止した1ラスタ間だけH
SYNCXの出力を内部発生IHSYNCXに切替え、
発振開始後はHSYNC#に同期して動作する。After that, the normal synchronization operation is performed, and the 1H width synchronization and the phase synchronization are performed. (See FIG. 19B.) (17) Operation when external input HSYNC # is stopped by one raster When external input HSYNC # is stopped by one raster and oscillation is started again, one raster whose oscillation is stopped H only for a while
Switch the output of SYNCX to the internally generated IHSYNCX,
After the oscillation starts, it operates in synchronization with HSYNC #.
【0061】1ラスタの停止期間は、1H幅の同期と位
相の同期は解除しない。発振停止が1ラスタを越えた場
合には、外部入力HSYNC#が停止したと見なし、1
H幅の同期動作から開始する。(図20参照) (8)同期動作中にHSYNC#へノイズが載った場合
の動作 HSYNC#とHSYNCXが同期動作中にHSYNC
#にパルス性ノイズが載った場合は、マスクが掛かり無
効と見なす。During the stop period of one raster, the 1H width synchronization and the phase synchronization are not released. If the oscillation stop exceeds 1 raster, it is considered that the external input HSYNC # has stopped, and 1
It starts from the H-width synchronous operation. (Refer to FIG. 20) (8) Operation when noise is applied to HSYNC # during synchronous operation HSYNC # and HSYNCX during synchronous operation HSYNC
If pulse noise appears in #, it is considered invalid because it is masked.
【0062】マスクの期間は位相LOCK期間外をマス
ク期間とし、その期間にHSYNC#がアサートされて
も無効となる。(図21参照) (9)1H同期後にHSYNC#の1H幅に変動が生じ
た場合の動作 1H幅の同期後にHSYNC#の1H幅に変動が生じた
場合、位相同期が行われない可能性がある為、1H幅同
期後に16ラスタ後でも位相LOCK期間にHSYNC
#がサンプルされなければ1H幅の同期を再び行う。
(図22参照) 次に、本発明の周波数自動調整装置について更に具体的
に説明する。The mask period is outside the phase LOCK period, and even if HSYNC # is asserted during that period, it becomes invalid. (See FIG. 21) (9) Operation when 1H width of HSYNC # fluctuates after 1H synchronization When 1H width of HSYNC # fluctuates after 1H width synchronization, phase synchronization may not be performed. Therefore, even after 16 rasters after 1H width synchronization, HSYNC is performed during the phase LOCK period.
If # is not sampled, 1H wide synchronization is performed again.
(See FIG. 22) Next, the frequency automatic adjustment device of the present invention will be described more specifically.
【0063】背景 TVやTV一体型VTR等の表示画面には、スーパー・
インポーズによりチャネルや日付などの文字/グラフィ
ックなどがオン・スクリーン表示されている。On the display screen of the background TV or TV-integrated VTR, a super screen
Characters / graphics such as channel and date are displayed on screen by imposing.
【0064】これらオン・スクリーン表示されている文
字/グラフィックは、専用LSIであるOSDC(On S
creen Display Controller)などにより制御されるのが
一般的である。The characters / graphics displayed on the screen are OSDC (On S) which is a dedicated LSI.
It is generally controlled by creen Display Controller).
【0065】しかし、TV、VTR等において、受信電
波が弱い場合(弱電界)や無信号時または、VTRにお
ける特殊再生時(早送り、巻戻しや、無録画部の再生
等)やテープの伸び等の条件下では、正常な映像信号を
OSDCに供給することができない場合が発生し、オン
・スクリーン表示された文字/グラフィックが上下に揺
れたり、左右に振れたりする現象が発生する。However, in a TV, VTR, etc., when the received electric wave is weak (weak electric field) or when there is no signal, during special reproduction in the VTR (fast forward, rewind, reproduction of non-recording portion, etc.), tape extension, etc. Under the above condition, a normal video signal may not be supplied to the OSDC, and the characters / graphics displayed on the screen may fluctuate up and down or may fluctuate left and right.
【0066】そこで、映像信号を補正し、常に安定した
表示画面を供給する目的でAFCが使用される。AFC
とは、周波数自動制御(Automatic Frequency Controll
er)の略であり、主に映像信号に含まれる水平同期信号
の補正に使用される。Therefore, AFC is used for the purpose of correcting the video signal and always supplying a stable display screen. AFC
Is the Automatic Frequency Controll
er) is an abbreviation for er) and is mainly used for correction of the horizontal synchronizing signal included in the video signal.
【0067】従来のAFCは、電位差などにより水平同
期信号の周期・位相調整をリニア的に行っており、アナ
ログ回路にて構成されていた。このため、CMOS構造
で製作されているOSDC等への取り込みには不向きで
あった。そこで、表示系LSIであるOSDC(On Scr
een Display Controller)に内蔵する事を目的として、
完全デジタル化のAFC回路を試作した。In the conventional AFC, the period / phase of the horizontal synchronizing signal is linearly adjusted by the potential difference or the like, and is composed of an analog circuit. Therefore, it is not suitable for incorporation into OSDC or the like manufactured with a CMOS structure. Therefore, the display system LSI, OSDC (On Scr
een Display Controller)
A fully digital AFC circuit was prototyped.
【0068】AFC機能を内蔵すると、システムの低価
格化・部品点数の削減/回路の簡素化、および信頼性の
向上などのメリットがでてくる。TV画像 現在、世界各国で使用されているTVの映像信号方式
は、大きく分けると、NTSC、PAL、SECAMの
3種類に区別する事ができる。When the AFC function is incorporated, there are advantages such as a low system price, a reduction in the number of parts / simplification of the circuit, and an improvement in reliability. TV images Currently, the video signal systems of TVs used in various countries around the world can be roughly divided into three types, NTSC, PAL, and SECAM.
【0069】国内で使用されているTVの画像はNTS
C(National Television System Committee)規格に準
拠した方式で放映されている(NTSC規格の概略を図
23に示す)。TV images used in Japan are NTS
It is broadcast in a method based on the C (National Television System Committee) standard (an outline of the NTSC standard is shown in FIG. 23).
【0070】NTSC規格は、表示画面の縦方向は52
5本の走査線により構成され、走査線1ライン(1テス
タと呼ぶ)は、輝度信号、色信号、カラーバースト信
号、同期信号の混合信号(Composit Video Signal:コン
ポジット信号)で成り立つ。According to the NTSC standard, the vertical direction of the display screen is 52.
It is composed of five scanning lines, and one scanning line (referred to as one tester) is composed of a mixed signal (composite video signal: composite signal) of a luminance signal, a color signal, a color burst signal, and a synchronization signal.
【0071】AFCの必要性 前記図23において、輝度信号Lは信号のレベルにより
画面の明暗を制御している。 Necessity of AFC In FIG. 23, the brightness signal L controls the brightness of the screen according to the signal level.
【0072】カラーバーストBと色信号Cは表示色を制
御する信号であり、色信号Cは色副搬送波(fs)と呼
ばれるカラーバースト信号Bと同じ周波数の搬送波に載
せて送信される。(位相は異なる) そして、カラーバースト信号Bと色信号Cとの位相によ
り画面に表示される色合いが決まり、色信号Cの振幅強
度により表示色の濃度が決まる。The color burst B and the color signal C are signals for controlling the display color, and the color signal C is transmitted on a carrier having the same frequency as the color burst signal B called a color subcarrier (fs). (The phase is different.) Then, the hue of the color burst signal B and the color signal C is displayed on the screen, and the amplitude intensity of the color signal C determines the density of the display color.
【0073】水平同期信号はHSYNC(Horizontal S
ynchronization)と呼ばれ、画面水平方向の表示位置制
御を行っている。これらの信号を受信機(TV)が受信
すると、輝度信号L、色信号C、同期信号HSYNCに
それぞれ分離して表示画面に画像を再生する。The horizontal synchronizing signal is HSYNC (Horizontal S
It is called "synchronization" and controls the display position in the horizontal direction of the screen. When these signals are received by the receiver (TV), they are separated into a luminance signal L, a color signal C, and a synchronization signal HSYNC, and an image is reproduced on the display screen.
【0074】この時、水平同期信号HSYNCは一般的
に微分回路により分離生成される為、ノイズ等の外乱に
対して影響を受けやすくなり、影響を受けた際の症状と
しては、画面が波うつ現象や局部的に画像が横に流れる
といった現象が生じてしまう。(図24参照) これらの現象の除去にAFCが用いられる。At this time, since the horizontal synchronizing signal HSYNC is generally generated separately by the differentiating circuit, it is easily affected by a disturbance such as noise, and when it is affected, the screen is wavy. A phenomenon or a phenomenon that an image locally flows laterally occurs. (See FIG. 24) AFC is used to remove these phenomena.
【0075】AFCの原理 1画面525本からなる水平同期信号HSYNCは、位
相のズレやノイズによる影響を多少なりとも受けている
が、それらの各ラスタの水平同期信号HSYNCを平均
化すると、ラスタ間の位相差は少なくなり、局部的な信
号の乱れも平均化され除去される。この平均化された水
平同期信号HSYNCを用いて表示画面を制御すること
により、安定した画像を得ることが可能となる。 AFC Principle 1 The horizontal sync signal HSYNC consisting of 525 screens is affected by phase shift and noise to some extent, but if the horizontal sync signals HSYNC of each raster are averaged, the , The local phase disturbance is averaged and removed. By controlling the display screen using this averaged horizontal synchronizing signal HSYNC, it is possible to obtain a stable image.
【0076】図25に原理構成を示す。図25中のHS
YNC#とは、HSYNC分離部80でコンポジット信
号Signalより分離生成された水平同期信号であ
る。FIG. 25 shows the principle configuration. HS in FIG. 25
YNC # is a horizontal synchronizing signal separated and generated from the composite signal Signal by the HSYNC separating unit 80.
【0077】HSYNC信号は、発振回路82により生
成されたパルス波であり、ディスプレイ装置CRTの画
面制御に使用する。HSYNC信号の発振周波数は、水
平同期信号の規格に準拠したパルスを発生するように調
整されている。The HSYNC signal is a pulse wave generated by the oscillation circuit 82 and is used for screen control of the display device CRT. The oscillation frequency of the HSYNC signal is adjusted so as to generate a pulse compliant with the standard of the horizontal synchronizing signal.
【0078】位相検出回路84はHSYNC#信号とH
SYNC信号との位相差を検出し位相差のレベルに合わ
せた信号を出力する。検出された位相差信号は、積分回
路86により平滑され、発振回路82の周波数制御信号
となる。The phase detection circuit 84 receives the HSYNC # signal and H
The phase difference with the SYNC signal is detected, and a signal matching the level of the phase difference is output. The detected phase difference signal is smoothed by the integration circuit 86 and becomes a frequency control signal of the oscillation circuit 82.
【0079】発振回路82は発振制御信号により周波数
の高低を制御できるものを使用し、HSYNC#とHS
YNCの位相差が無くなるまで周波数調整が行われる。
このようにフィードバックを繰り返し水平同期信号HS
YNCは平均化されていく為、HSYNC#の周期・位
相が急峻に変化しても、AFCにより補正された水平同
期信号は徐々に調整され、隣接するラスタの周期・位相
関係は急激に変化する事はない。The oscillator circuit 82 is one which can control the high and low of the frequency by the oscillation control signal, and uses HSYNC # and HS.
Frequency adjustment is performed until the YNC phase difference disappears.
In this way, the feedback is repeated and the horizontal synchronization signal HS
Since YNC is averaged, even if the cycle / phase of HSYNC # changes sharply, the horizontal sync signal corrected by AFC is gradually adjusted, and the cycle / phase relationship of the adjacent raster changes rapidly. There is nothing.
【0080】AFCの構成 AFCとしては、垂直同期信号を制御する方法と水平同
期信号を制御する方法があるが、今回は、以下のような
水平同期信号を制御するAFCを試作した。 Configuration of AFC As the AFC, there are a method of controlling a vertical synchronizing signal and a method of controlling a horizontal synchronizing signal. This time, an AFC for controlling a horizontal synchronizing signal as described below was prototyped.
【0081】 水平同期信号HSYNC#が無 → AFC回路で生成している水平同 期 くなった時 信号HSYNCXを出力する。 水平同期信号HSYNC#が供 → AFC回路で生成している水平同 期 給されている時 信号HSNCXを外部からの水平 同 期信号HSYNC#に位相、周期 を 同期化する。No horizontal sync signal HSYNC # → When the horizontal sync signal generated by the AFC circuit is reached, the signal HSYNCX is output. When the horizontal synchronization signal HSYNC # is supplied → When the horizontal synchronization signal generated by the AFC circuit is being supplied The signal HSNCX is synchronized in phase and cycle with the external horizontal synchronization signal HSYNC #.
【0082】 水平同期信号HSYNC#が中 → AFC回路で生成している水平同 期 断した時 信号HSYNCXを出力する。 ノイズに対する対策 → 特定期間、入力をマスクしノイズを 除去する。When the horizontal synchronizing signal HSYNC # is middle → When the horizontal synchronizing signal generated by the AFC circuit is interrupted, the signal HSYNCX is output. Measures against noise → Mask the input for a specified period to remove noise.
【0083】 水平同期信号HSYNC#への → NTSC規格の同期信号の±10 μ 追随範囲 sec以内にする。 図26には、AFCの全体ブロックが示されている。Horizontal sync signal HSYNC # → NTSC standard sync signal ± 10 μ Follow-up range Within sec. FIG. 26 shows the entire block of AFC.
【0084】図26において、 HSYNC#:外部からの水平同期信号である。 HSYNC :周波数調整後の水平同期信号である。In FIG. 26, HSYNC # is a horizontal synchronizing signal from the outside. HSYNC: Horizontal sync signal after frequency adjustment.
【0085】 HSYNCX:AFC回路で生成される水平同期信号で
ある。 fsc :本回路の動作基準クロックで、カラーバ
ースト信号(約3.58MHz)と同等の周波数であ
る。HSYNCX: A horizontal synchronization signal generated by the AFC circuit. fsc: An operation reference clock of this circuit, which has a frequency equivalent to that of the color burst signal (about 3.58 MHz).
【0086】水平同期信号発生部90は、色副搬送波f
sのクロックfscを入力し、水平同期信号HSYNC
Xを生成するブロックであり、カウンタ90、カウンタ
制御部92、カウンタ制御デコーダ94、デコーダ制御
部96、HSYNCX生成部98を含む。ここで、カウ
ンタ90は、8ビットのカウンタであり、カウンタ制御
部92は、カウンタ90のクリアを制御し、カウンタ制
御デコーダ94は、カウンタ90のカウント値をデコー
ドして出力し、デコーダ制御部96は、カウンタ制御デ
コーダ94のデコード値を制御して制御パルスを出力
し、HSYNCX生成部98は、HSYNCXを生成し
て出力する。The horizontal sync signal generator 90 generates the color subcarrier f
s clock fsc is input and the horizontal synchronization signal HSYNC is input.
A block that generates X, and includes a counter 90, a counter control unit 92, a counter control decoder 94, a decoder control unit 96, and an HSYNCX generation unit 98. Here, the counter 90 is an 8-bit counter, the counter control unit 92 controls clearing of the counter 90, the counter control decoder 94 decodes and outputs the count value of the counter 90, and the decoder control unit 96. Controls the decode value of the counter control decoder 94 and outputs a control pulse, and the HSYNCX generating unit 98 generates and outputs HSYNCX.
【0087】周期・位相検出部100は、外部からの水
平同期信号HSYNC#と内部で生成された水平同期信
号HSYNCXとを比較するブロックであり、位相・周
期比較制御部102、位相・周期切替制御部104、周
期値保持レジスタ106、位相値保持レジスタ108を
含む。ここで、位相・周期比較制御部102は、外部か
らの水平同期信号HSYNC#と内部生成の水平同期信
号HSYNCXとの位相・周期を比較し、位相・周期切
替制御部104は、前記比較制御部102が位相の比較
を行うかあるいは周期の比較を行うかを切り替え、周期
値保持レジスタ106、位相値保持レジスタ108は、
それぞれ、周期値、位相値を保持する。The cycle / phase detector 100 is a block for comparing the horizontal sync signal HSYNC # from the outside with the horizontal sync signal HSYNCX generated internally. The phase / cycle comparison controller 102 and the phase / cycle switching control. The unit 104, the period value holding register 106, and the phase value holding register 108 are included. Here, the phase / cycle comparison control unit 102 compares the phase / cycle of the horizontal synchronization signal HSYNC # from the outside with the internally generated horizontal synchronization signal HSYNCX, and the phase / cycle switching control unit 104 uses the comparison control unit. 102 switches between phase comparison and period comparison, and the cycle value holding register 106 and the phase value holding register 108
The period value and the phase value are held respectively.
【0088】なお、HSYNC#入力制御部110は、
HSYNC#を入力し、HSYNC出力制御部112
は、HSYNCを出力する。また、fscは、AFCの
各ブロックに供給されている。The HSYNC # input control section 110 is
HSYNC # is input and the HSYNC output control unit 112
Outputs HSYNC. Further, fsc is supplied to each block of AFC.
【0089】水平同期信号発生部90 水平同期信号発生部90は、色副搬送波(fs)のクロ
ック(fsc)を入力し、水平同期信号(HSYNC
X)を生成するブロックである。 Horizontal Sync Signal Generator 90 The horizontal sync signal generator 90 receives the clock (fsc) of the color subcarrier (fs) and inputs the horizontal sync signal (HSYNC).
X) is generated.
【0090】fscとHSYNCXの関係は fsc=HSYNCX/(2×455)(Hz)である
から、 HSYNCX=fsc/227.5 (Hz)となる。Since the relation between fsc and HSYNCX is fsc = HSYNCX / (2 × 455) (Hz), HSYNCX = fsc / 227.5 (Hz).
【0091】上式から分かるように、fsc(約3.5
8MHz)クロックからHSYNCX信号を得るために
は、fscを227.5回カウント可能な、8ビット・
カウンタを準備すればよいこととなる。As can be seen from the above equation, fsc (about 3.5
8MHz) to obtain the HSYNCX signal from the clock, fsc can be counted 227.5 times.
All you have to do is prepare a counter.
【0092】図27には、水平同期信号発生部が示さ
れ、(A)、(B)には、それぞれ、回路構成、波形が
示されている。なお、機能仕様において、水平同期信号
の周期変動をNTSC規格信号の±10μsecと設定
すると、NTSC規格227.5+10μsec・fs
c=264となり、fscを264カウントできる9ビ
ット・カウンタが必要となるが、今回の試作では、デコ
ーダや位相検出回路との絡みで、7ビット・カウンタで
実現できた。FIG. 27 shows the horizontal synchronizing signal generator, and FIGS. 27A and 27B show the circuit configuration and the waveform, respectively. In the functional specifications, if the period variation of the horizontal synchronizing signal is set to ± 10 μsec of the NTSC standard signal, NTSC standard 227.5 + 10 μsec · fs
Since c = 264, a 9-bit counter capable of counting fsc by 264 is required, but in the trial production this time, it could be realized by a 7-bit counter due to the entanglement with the decoder and the phase detection circuit.
【0093】周期・位相検出部100 周期・位相検出部100については、ALUを内蔵し
た演算器を用いる方法と、カウンタ&デコーダ&コン
パレータによる方法の2つの案が存在する。 Cycle / Phase Detecting Unit 100 As for the cycle / phase detecting unit 100, there are two schemes: a method using an arithmetic unit having a built-in ALU and a method using a counter & decoder & comparator.
【0094】 演算器を用いる方法では、周期の追随
をプログレッシブ的に行うことができ、位相の同期化が
高速である。 コンパレータによる方法では、回路は比較的規模が
小さく、試験回路の組み込みも容易である。In the method using the arithmetic unit, the period can be followed progressively, and the phase synchronization is fast. In the method using the comparator, the circuit is relatively small in scale and the test circuit can be easily incorporated.
【0095】今回は、将来的に本AFC回路をOSDC
へ内蔵することを考慮し、回路規模、試験等の面で有利
なコンパレータを用いた方法を採用することにした。コ
ンパレータによる制御では、まずHSYNCの1周期
を、図28のように位相差検出期間、無作業期間、
周期調整期間、位相調整期間に分割して考え、それ
ぞれの制御を行う。This time, this AFC circuit will be OSDC in the future.
Considering that it is built in, we decided to use a method that uses a comparator, which is advantageous in terms of circuit scale and testing. In the control by the comparator, first, one cycle of HSYNC is set as shown in FIG.
It is divided into a period adjustment period and a phase adjustment period, and each control is performed.
【0096】各期間の動作説明 以下、各期間の動作説明を行う。 位相差検出期間 位相差検出期間では、周期調整値と位相調整値が図29
(A)、(B)のように割り当てられており、HSYN
C#をトリガとして、それぞれのデータが読み取られ
る。 Description of Operation in Each Period The operation of each period will be described below. Phase difference detection period In the phase difference detection period, the cycle adjustment value and the phase adjustment value are shown in FIG.
They are assigned as shown in (A) and (B), and HSYN
Each data is read by using C # as a trigger.
【0097】読み取られた周期調整値と位相調整値は後
述する周期・位相調整期間のデコーダの制御用に使用さ
れる。 無作業期間 無作業期間では、規定値である93.5カウントをカウ
ントする。The read period adjustment value and phase adjustment value are used for controlling the decoder in the period / phase adjustment period described later. No-work period During the no-work period, the specified value of 93.5 is counted.
【0098】周期調整期間 NTSC規格の水平同期信号は15.75KHzで、2
27.5/fsc μsecである。Cycle adjustment period The horizontal synchronizing signal of NTSC standard is 15.75 KHz and 2
27.5 / fsc μsec.
【0099】周期調整期間では、基準の水平同期信号の
±10μsecまでの周期変動の調整を可能とするもの
である。周期調整のため、0〜80までのカウンタを持
っており、5/fsc μsec単位で周期調整するこ
とができる。In the period adjustment period, it is possible to adjust the period variation of the reference horizontal synchronizing signal up to ± 10 μsec. It has a counter of 0 to 80 for the period adjustment, and the period can be adjusted in units of 5 / fsc μsec.
【0100】このため、水平同期信号HSYNCに追随
可能な周期は187.5〜267.5/fsc μse
cの範囲となる。 位相調整期間 周期および位相が同期化された状態においても、位相は
ラスタ毎に微妙にズレていく。このズレは蓄積されてい
くので、ラスタ毎に調整が必要となる。この調整を行っ
ているのが位相調整期間である。Therefore, the period which can follow the horizontal synchronizing signal HSYNC is 187.5 to 267.5 / fsc μse.
It becomes the range of c. Phase adjustment period Even when the cycle and the phase are synchronized, the phase slightly shifts for each raster. Since this deviation is accumulated, adjustment is required for each raster. This adjustment is performed during the phase adjustment period.
【0101】位相調整のため、0〜10までのカウンタ
を持っており、1/fscの単位で調整することができ
る。以上の,,,の動作を図30に示す。For the phase adjustment, it has a counter of 0 to 10 and can be adjusted in the unit of 1 / fsc. FIG. 30 shows the above operations.
【0102】前記タイミングの実現回路は、図31のよ
うな構成となる。なお、水平同期信号発生には、9ビッ
トのカウントが必要と前述したが、全体を4つの期間
,,,(図30参照)に分けて制御することに
より、最大93.5カウントできるカウンタで充分とな
り、9ビットでなく7ビット・カウンタで実現可能とな
った。The timing realization circuit has a structure as shown in FIG. Note that it is necessary to count 9 bits to generate the horizontal synchronization signal, but a counter capable of counting up to 93.5 is sufficient by controlling the entire period by dividing it into four periods (see FIG. 30). Therefore, it can be realized with a 7-bit counter instead of 9 bits.
【0103】AFCの動作説明 AFCの動作状態の遷移図を図32に示す。 (a)初期動作 初期動作としては、「周期調整値レジスタ」と「位相調
整値レジスタ」の初期値により、カウンタのデコード値
が制御され、HSYNCXが生成され、HSYNCXが
HSYNCとして出力される。この時のHSYNCは、
NTSCの規格に準拠した信号となっている。(図33
参照) (b)HSYNC#とHSYNCXの周期調整 HSYNC#が入力されると周期調整動作を開始し、H
SYNC#とHSYNCXとの周期差が±5/fscの
範囲に収まるように調整される。 Description of AFC Operation FIG. 32 shows a transition diagram of the AFC operation state. (A) Initial operation As the initial operation, the decode value of the counter is controlled by the initial values of the “cycle adjustment value register” and the “phase adjustment value register”, HSYNCX is generated, and HSYNCX is output as HSYNC. HSYNC at this time is
The signal complies with the NTSC standard. (Fig. 33
(B) Period adjustment of HSYNC # and HSYNCX When HSYNC # is input, the period adjustment operation is started, and H
The period difference between SYNC # and HSYNCX is adjusted to be within the range of ± 5 / fsc.
【0104】調整方法としては、HSYNC#の立ち上
がり時点の周期調整値を読み取り、次のHSYNC#の
立ち上がり時点の周期調整値との差により周期調整が必
要かどうか判断する。As an adjusting method, the period adjustment value at the rising time of HSYNC # is read, and it is determined whether the period adjustment is necessary or not by the difference from the period adjustment value at the rising time of the next HSYNC #.
【0105】2回の読み取りで同一の周期調整値が読み
取れた時点で周期が同期したものと判断する。図34
(A)は、HSYNCXとHSYNC#の周期を調整す
る際のタイミングを示すものである。When the same cycle adjustment value is read by two readings, it is judged that the cycles are synchronized. Fig. 34
(A) shows the timing when adjusting the cycles of HSYNCX and HSYNC #.
【0106】HSYNCXの周期調整が終了すると、次
に、HSYNC#とHSYNCXの位相の調整を行う。
まず、HSYNCXの位相を5/fsc単位で移動し、
HSYNC#とHSYNCXの信号の位相(信号の立ち
上がり点)が±4/fscの範囲内に収まるまでHSY
NCXを移動する。(図34(B)参照) 次に、HSYNC#とHSYNCXとの位相差が±4/
fsc内に収まると、HSYNC#立ち上がり時点の位
相調整値を読み取り、毎ラスタ1/fscの単位でHS
YNCXのパルス幅を増減してHSYNC#とHSYN
CXとの位相を同期させる動作を繰り返す。When the period adjustment of HSYNCX is completed, the phases of HSYNC # and HSYNCX are next adjusted.
First, move the phase of HSYNCX in units of 5 / fsc,
HSYNC until the phase of the HSYNC # and HSYNCX signals (the rising edge of the signal) falls within the range of ± 4 / fsc.
Move the NCX. (See FIG. 34B) Next, the phase difference between HSYNC # and HSYNCX is ± 4 /
When it falls within fsc, the phase adjustment value at the time of rising of HSYNC # is read, and the HS is adjusted in units of 1 / fsc for each raster.
Increase or decrease the pulse width of YNCX to change HSYNC # and HSYNC.
The operation of synchronizing the phase with CX is repeated.
【0107】また、HSYNC#とHSYNCXの位相
が±4/fsc内で同期した時点でHSYNC信号の立
ち上がりエッジはHSYNC#の立ち上がりエッジを出
力するように切り換えられる。(図34(C)参照) (c)ノイズの除去 HSYNC#とHSYNCXが位相同期して動作してい
る時は、HSYNC#の入力回路にマスクをかけ外来ノ
イズNOISEによるHSYNC#の乱れを防止する。When the phases of HSYNC # and HSYNCX are synchronized within ± 4 / fsc, the rising edge of the HSYNC signal is switched to output the rising edge of HSYNC #. (See FIG. 34 (C)) (c) Noise removal When HSYNC # and HSYNCX are operating in phase synchronization, the input circuit of HSYNC # is masked to prevent disturbance of HSYNC # due to external noise NOISE. ..
【0108】HSYNCXの立ち上がりエッジの前後4
/fsc以外をマスク設定期間とする。(図35参照) (d)HSYNC#の停止 HSYNC#が停止した場合でも、停止する前の周期・
位相でHSYNCXを生成し、HSYNCの供給を続け
る。4 before and after the rising edge of HSYNCX
The mask setting period is other than / fsc. (Refer to FIG. 35) (d) Stopping HSYNC # Even if HSYNC # stops, the cycle before stopping
Generate HSYNCX in phase and continue to supply HSYNC.
【0109】HSYNC#の有り/無しの判断は、HS
YNCXの立ち上がりエッジの5/fsc前でHSYN
C#をサンプリングし、HSYNC#がLowであれば
HSYNCの立ち上がりエッジをHSYNC#に同期す
る。Whether or not HSYNC # is present is determined by HS.
HSYNC 5 / fsc before the rising edge of YNCX
C # is sampled, and if HSYNC # is Low, the rising edge of HSYNC is synchronized with HSYNC #.
【0110】また、HighであればHSYNCの立ち
上がりエッジをHSYNCXに同期する。If it is High, the rising edge of HSYNC is synchronized with HSYNCX.
【0111】[0111]
【発明の効果】以上説明したように、本発明によれば、
周波数自動調整装置(AFC)をテジタル回路で構成し
ているので、AFCを周辺LSI等の集積回路に容易に
集積可能となる効果を奏し、回路規模縮小が出来、回路
の安定性、信頼性、性能向上に寄与する所が大きい。As described above, according to the present invention,
Since the automatic frequency adjustment device (AFC) is composed of a digital circuit, the AFC can be easily integrated in an integrated circuit such as a peripheral LSI, the circuit scale can be reduced, and the circuit stability, reliability, and It greatly contributes to performance improvement.
【図1】本発明の原理による周波数自動調整装置のブロ
ック回路図である。FIG. 1 is a block circuit diagram of an automatic frequency adjustment device according to the principles of the present invention.
【図2】従来の周波数自動調整装置のブロック回路図で
ある。FIG. 2 is a block circuit diagram of a conventional frequency automatic adjustment device.
【図3】本発明の原理による周波数自動調整装置の作用
説明図である。FIG. 3 is an operation explanatory view of the frequency automatic adjustment device according to the principle of the present invention.
【図4】本発明の実施例による周波数自動調整装置のブ
ロック回路図である。FIG. 4 is a block circuit diagram of an automatic frequency adjustment device according to an embodiment of the present invention.
【図5】各動作の行われる期間の説明図である。FIG. 5 is an explanatory diagram of a period during which each operation is performed.
【図6】外部入力HSYNC#のサンプル動作の説明図
である。FIG. 6 is an explanatory diagram of a sampling operation of an external input HSYNC #.
【図7】1H幅同期データの生成の説明図である。FIG. 7 is an explanatory diagram of generation of 1H width synchronization data.
【図8】位相同期データの生成の説明図である。FIG. 8 is an explanatory diagram of generation of phase synchronization data.
【図9】位相制御動作の説明図である。FIG. 9 is an explanatory diagram of a phase control operation.
【図10】HSYNC#とHSYNCXの立ち上がりレ
ベル同期化の説明図である。FIG. 10 is an explanatory diagram of rising level synchronization of HSYNC # and HSYNCX.
【図11】HSYNC#ダイレクト出力とIHSYNC
X出力の切替えの説明図である。FIG. 11: HSYNC # direct output and IHSYNC
It is explanatory drawing of switching of X output.
【図12】HSYNCXの立ち下がり位置の説明図であ
る。FIG. 12 is an explanatory diagram of a falling position of HSYNCX.
【図13】外部入力のHSYNC#が停止している時の
動作説明図である。FIG. 13 is an operation explanatory diagram when the externally input HSYNC # is stopped.
【図14】外部入力HSYNC#と内部発生IHSYN
CXが同期した状態の動作説明図である。FIG. 14 shows an external input HSYNC # and an internally generated IHSYNC.
It is an operation explanatory view in the state where CX synchronized.
【図15】外部入力HSYNC#へ内部発生IHSYN
CXを同期する時の動作説明図である。FIG. 15: Internally generated IHSYNC to external input HSYNC #
It is operation | movement explanatory drawing at the time of synchronizing CX.
【図16】外部入力のHSYNC#が停止した時の動作
説明図である。FIG. 16 is an operation explanatory diagram when the externally input HSYNC # is stopped.
【図17】外部入力のHSYNC#の1H幅が(22
7.5×fsc)secより長い時の同期動作の説明図
である。FIG. 17 shows that the 1H width of the external input HSYNC # is (22
It is explanatory drawing of a synchronous operation when it is longer than 7.5 * fsc) sec.
【図18】外部入力のHSYNC#の1H幅が(22
7.5×fsc)secより短い時の同期動作の説明図
である。FIG. 18 shows the 1H width of the external input HSYNC # is (22
It is explanatory drawing of a synchronous operation when it is shorter than 7.5 * fsc) sec.
【図19】外部入力のHSYNC#の同期が外れた時の
動作説明図である。FIG. 19 is an operation explanatory diagram when the synchronization of the external input HSYNC # is lost.
【図20】外部入力のHSYNC#が1ラスタだけ停止
した時の動作説明図である。FIG. 20 is an operation explanatory diagram when the externally input HSYNC # is stopped by one raster.
【図21】同期動作中にHSYNC#へノイズが載った
場合の動作説明図である。FIG. 21 is an explanatory diagram of an operation when noise is added to HSYNC # during the synchronous operation.
【図22】1H同期後にHSYNC#の1H幅に変動が
生じた場合の動作説明図である。FIG. 22 is an explanatory diagram of an operation when the 1H width of HSYNC # changes after 1H synchronization.
【図23】NTSC規格の概略図である。FIG. 23 is a schematic diagram of the NTSC standard.
【図24】ノイズにより影響を受けた画像の説明図であ
る。FIG. 24 is an explanatory diagram of an image affected by noise.
【図25】AFCの原理構成図である。FIG. 25 is a principle configuration diagram of AFC.
【図26】AFCの全体ブロック回路図である。FIG. 26 is an overall block circuit diagram of AFC.
【図27】水平同期信号発生部の説明図である。FIG. 27 is an explanatory diagram of a horizontal synchronization signal generator.
【図28】HSYNCの1周期の分割の説明図である。FIG. 28 is an explanatory diagram of division of HSYNC for one cycle.
【図29】位相差検出期間の動作説明図である。FIG. 29 is an explanatory diagram of operations during a phase difference detection period.
【図30】各期間の動作説明図である。FIG. 30 is an explanatory diagram of operations in each period.
【図31】タイミングの実現回路の説明図である。FIG. 31 is an explanatory diagram of a timing realization circuit.
【図32】AFCの動作状態の遷移図である。FIG. 32 is a transition diagram of AFC operation states.
【図33】初期動作の波形図である。FIG. 33 is a waveform diagram of an initial operation.
【図34】HSYNC#とHSYNCXの周期調整の説
明図である。FIG. 34 is an explanatory diagram of cycle adjustment of HSYNC # and HSYNCX.
【図35】ノイズの除去時の動作説明図である。FIG. 35 is an explanatory diagram of an operation when removing noise.
【図36】HSYNC#の停止時の動作説明図である。FIG. 36 is an explanatory diagram of an operation when HSYNC # is stopped.
HSYNC#…外部からの水平同期信号 HSYNCX…周波数調整後の水平同期信号 IHSYNCX…AFC回路で生成される水平同期信号 16…IHSYNCX生成部 24…位相・周期比較制御部 22…HSYNC#入力部 34…HSYNCXOUT制御部 HSYNC # ... Horizontal sync signal from the outside HSYNCX ... Horizontal sync signal after frequency adjustment IHSYNCX ... Horizontal sync signal generated by AFC circuit 16 ... IHSYNCX generator 24 ... Phase / cycle comparison controller 22 ... HSYNC # input unit 34 ... HSYNCXOUT controller
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/06 Z 9070−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 5/06 Z 9070-5C
Claims (3)
を入力する手段(22)と、 内部で同期信号(ISYNCX)を生成する手段(1
6)と、 外部から入力した同期信号(SYNC#)を一定間隔で
サンプリングして、該外部同期信号(SYNC#)と前
記内部同期信号(ISYNCX)との同期差を検出する
手段(24)と、 該周期差の度合いを測る比較手段(24)と、 該周期差比較手段(24)による比較結果に基づき内部
同期信号(ISYNCX)の同期を徐々に変化させる手
段(30,14)と、 前記内部同期信号(ISYNCX)の周期が前記外部同
期信号(SYNC#)の周期と同じになると、内部同期
信号(ISYNCX)の周期を固定して周期幅を保持す
る手段(28)と、 前記両同期信号(ISYNCX,SYNC#)の周期が
同じになると、前記内部同期信号(ISYNCX)と前
記外部同期信号(SYNC#)との位相差を検出する手
段(24)と、 該位相差の度合いを測る比較手段(24)と、 該位相差比較手段(24)による比較結果に基づき内部
同期信号(ISYNCX)の周期幅を変化させる手段
(30,14)と、 前記内部同期信号(ISYNCX)の位相が前記外部同
期信号(SYNC#)の位相の近傍に達すると、内部同
期信号(ISYNCX)の位相を外部同期信号(SYN
C#)の位相に徐々に合わせ込む手段(30,14)
と、 前記内部同期信号(ISYNCX)と前記外部同期信号
(SYNC#)の周期及び位相が合うと、外部同期信号
(SYNC#)のサンプリングを継続しながら、内部同
期信号(ISYNCX)の周期及び位相を微調整する手
段(30,14)と、 を含むことを特徴とする周波数自動調整装置。1. A synchronization signal (SYNC #) generated externally.
Means for inputting a sync signal (22), and means for internally generating a sync signal (ISSYNCX) (1)
6), and means (24) for sampling a synchronization signal (SYNC #) input from the outside at a constant interval and detecting a synchronization difference between the external synchronization signal (SYNC #) and the internal synchronization signal (ISSYNCX). Comparing means (24) for measuring the degree of the period difference, means (30, 14) for gradually changing the synchronization of the internal synchronization signal (ISSYNCX) based on the comparison result by the period difference comparing means (24), When the cycle of the internal sync signal (ISYNCX) becomes the same as the cycle of the external sync signal (SYNC #), a means (28) for fixing the cycle of the internal sync signal (ISSYNCX) and holding the cycle width; A means (24) for detecting a phase difference between the internal synchronization signal (ISYNCX) and the external synchronization signal (SYNC #) when the periods of the signals (ISYNCX, SYNC #) become the same. A comparison means (24) for measuring the degree of the phase difference, a means (30, 14) for changing the cycle width of the internal synchronization signal (ISSYNCX) based on the comparison result by the phase difference comparison means (24), When the phase of the internal sync signal (ISYNCX) reaches near the phase of the external sync signal (SYNC #), the phase of the internal sync signal (ISSYNCX) is changed to the external sync signal (SYNC).
Means (30, 14) for gradually adjusting to the phase of C #)
When the cycle and phase of the internal sync signal (ISSYNCX) and the external sync signal (SYNC #) match, the cycle and phase of the internal sync signal (ISSYNCX) are maintained while sampling of the external sync signal (SYNC #) continues. And a means (30, 14) for finely adjusting.
同期信号(SYNC#)あるいは前記内部同期信号(I
SYNCX)のいずれか一方を選択して、出力同期信号
(SYNCX)として出力する手段(34)を含み、該
出力手段(34)は、前記外部同期信号(SYNC#)
及び前記内部同期信号(ISYNCX)の周期差の度合
い及び位相差の度合いに基づいて、いずれか一方の同期
信号を選択し、両同期信号(SYNC#,ISYNC
X)の同期及び位相が同じである場合には、外部同期信
号(SYNC#)を出力同期信号(SYNCX)として
出力することを特徴とする周波数自動調整装置。2. The apparatus according to claim 1, wherein the external synchronization signal (SYNC #) or the internal synchronization signal (I
SYNCX) is selected and output as an output synchronizing signal (SYNCX), including means (34) for outputting the external synchronizing signal (SYNC #).
And one of the synchronization signals (SYNC #, ISYNC) is selected based on the degree of the cycle difference and the degree of the phase difference of the internal synchronization signal (ISSYNCX).
When the synchronization and phase of (X) are the same, an external synchronization signal (SYNC #) is output as an output synchronization signal (SYNCX).
手段(34)は、外部同期信号(SYNC#)を出力同
期信号(SYNCX)として出力している間に、外部同
期信号(SYNC#)と内部同期信号(ISYNCX)
との周期あるいは位相に変動が生じたときには、内部同
期信号(ISYNCX)を出力同期信号(SYNCX)
として出力することを特徴とする周波数自動調整装置。3. The apparatus according to claim 2, wherein the output means (34) outputs the external synchronization signal (SYNC #) as an output synchronization signal (SYNCX) while the external synchronization signal (SYNC #) is being output. And internal sync signal (ISSYNCX)
When there is a change in the cycle or the phase with the output sync signal (SYNCX), the internal sync signal (ISSYNCX)
The automatic frequency adjustment device is characterized by outputting as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4028170A JPH05227453A (en) | 1992-02-14 | 1992-02-14 | Frequency automatic adjustment device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4028170A JPH05227453A (en) | 1992-02-14 | 1992-02-14 | Frequency automatic adjustment device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05227453A true JPH05227453A (en) | 1993-09-03 |
Family
ID=12241269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4028170A Pending JPH05227453A (en) | 1992-02-14 | 1992-02-14 | Frequency automatic adjustment device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05227453A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000358169A (en) * | 1999-06-15 | 2000-12-26 | Nec Ic Microcomput Syst Ltd | External synchronization compensating circuit |
JP2007017604A (en) * | 2005-07-06 | 2007-01-25 | Nec Viewtechnology Ltd | Drive device of display panel and method for driving display panel |
JP2009284030A (en) * | 2008-05-19 | 2009-12-03 | Toshiba Corp | Synchronous signal control circuit |
JP2010277102A (en) * | 2010-07-12 | 2010-12-09 | Necディスプレイソリューションズ株式会社 | Display panel-driving device and display panel driving method |
JP2013232761A (en) * | 2012-04-27 | 2013-11-14 | Canon Inc | Signal processing device |
USRE44814E1 (en) | 1992-10-23 | 2014-03-18 | Avocent Huntsville Corporation | System and method for remote monitoring and operation of personal computers |
-
1992
- 1992-02-14 JP JP4028170A patent/JPH05227453A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USRE44814E1 (en) | 1992-10-23 | 2014-03-18 | Avocent Huntsville Corporation | System and method for remote monitoring and operation of personal computers |
JP2000358169A (en) * | 1999-06-15 | 2000-12-26 | Nec Ic Microcomput Syst Ltd | External synchronization compensating circuit |
JP2007017604A (en) * | 2005-07-06 | 2007-01-25 | Nec Viewtechnology Ltd | Drive device of display panel and method for driving display panel |
JP4572144B2 (en) * | 2005-07-06 | 2010-10-27 | Necディスプレイソリューションズ株式会社 | Display panel driving apparatus and display panel driving method |
US7834866B2 (en) | 2005-07-06 | 2010-11-16 | Nec Viewtechnology, Ltd. | Display panel driver and display panel driving method |
JP2009284030A (en) * | 2008-05-19 | 2009-12-03 | Toshiba Corp | Synchronous signal control circuit |
JP2010277102A (en) * | 2010-07-12 | 2010-12-09 | Necディスプレイソリューションズ株式会社 | Display panel-driving device and display panel driving method |
JP2013232761A (en) * | 2012-04-27 | 2013-11-14 | Canon Inc | Signal processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4962427A (en) | TV receiver including multistandard OSD | |
EP0691791B1 (en) | Method and apparatus for overlaying digitally generated graphics over an analog video signal | |
EP0497377B1 (en) | Genlock frequency generator | |
US5146336A (en) | Sync control for video overlay | |
EP0180450B1 (en) | Television display apparatus having character generator with non-line-locked clock | |
US5815212A (en) | Video overlay circuit for synchronizing and combining analog and digital signals | |
JPH05227453A (en) | Frequency automatic adjustment device | |
CA1143830A (en) | Television horizontal afpc with phase detector driven at twice the horizontal frequency | |
KR100673922B1 (en) | Horizontal Synchronization System for Digital Television Receivers | |
CA1317670C (en) | Television synchronizing arrangement | |
JP2880187B2 (en) | Digital television receiver | |
EP0472326B1 (en) | Horizontal synchronizing signal separation circuit | |
JPS62114330A (en) | Phase synchronizing circuit | |
JP3101689B2 (en) | Synchronous signal generation circuit for video signal processing device | |
JPH0946621A (en) | Display device | |
KR0165761B1 (en) | A white border generator using a luminance signal in a wide television set | |
JP3085505B2 (en) | PLL circuit for skew | |
JP2953170B2 (en) | Video display device | |
JP3475773B2 (en) | Video signal processing device and liquid crystal display device | |
JP2000092373A (en) | Camera system and its control method | |
JP3024724B2 (en) | Skew detection circuit | |
JPH0523018Y2 (en) | ||
KR100224579B1 (en) | Horizontal signchroniting apparatus and method using pll in image processing system | |
JPS62180689A (en) | Display control clock generating circuit device | |
JPS5979686A (en) | Extracting method of timing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20011030 |