Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0727356B2 - Auto tracking circuit - Google Patents
[go: Go Back, main page]

JPH0727356B2 - Auto tracking circuit - Google Patents

Auto tracking circuit

Info

Publication number
JPH0727356B2
JPH0727356B2 JP63310177A JP31017788A JPH0727356B2 JP H0727356 B2 JPH0727356 B2 JP H0727356B2 JP 63310177 A JP63310177 A JP 63310177A JP 31017788 A JP31017788 A JP 31017788A JP H0727356 B2 JPH0727356 B2 JP H0727356B2
Authority
JP
Japan
Prior art keywords
frequency
horizontal
value
oscillation frequency
vertical
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.)
Expired - Lifetime
Application number
JP63310177A
Other languages
Japanese (ja)
Other versions
JPH02157795A (en
Inventor
秀樹 谷添
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63310177A priority Critical patent/JPH0727356B2/en
Publication of JPH02157795A publication Critical patent/JPH02157795A/en
Publication of JPH0727356B2 publication Critical patent/JPH0727356B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Synchronizing For Television (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、映像表示機器における入力信号周波数に、
水平発振周波数、垂直発振周波数が自動的に追従動作す
るように制御するオートトラッキング回路に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to an input signal frequency in a video display device,
The present invention relates to an auto-tracking circuit that controls so that the horizontal oscillation frequency and the vertical oscillation frequency automatically follow each other.

〔従来の技術〕[Conventional technology]

第9図は例えば特開昭56−132826号公報に示された従来
のオートトラッキング回路を示す回路図であり、図にお
いて、1は後述するデータ変換テーブル等を記憶するRO
M、演算用のRAM、カウンタ等を内蔵したマイクロコンピ
ュータ、3はこのマイクロコンピュータ1の出力ポート
B0〜Bnに接続されたD/A変換手段としてのD/Aコンバー
タ、4は同じくマイクロコンピュータ1の出力ポートC0
〜Cnに接続されたD/A変換手段としてのD/Aコンバータ、
5はマイクロコンピュータ1の発振子接続端子OSC1、OS
C2間に接続された発振子、6及び7は発振子5の両端子
に夫々接続されたコンデンサである。
FIG. 9 is a circuit diagram showing a conventional auto-tracking circuit disclosed in, for example, Japanese Unexamined Patent Publication No. Sho 56-132826. In FIG. 9, 1 is an RO for storing a data conversion table and the like described later.
Microcomputer with built-in M, calculation RAM, counter, etc., 3 is an output port of this microcomputer 1.
A D / A converter as D / A conversion means connected to B 0 to B n , 4 is an output port C 0 of the microcomputer 1 as well.
~ D / A converter as D / A conversion means connected to C n ,
Reference numeral 5 designates oscillator connection terminals OSC1 and OS of the microcomputer 1.
An oscillator connected between C2, and 6 and 7 are capacitors connected to both terminals of the oscillator 5, respectively.

次に動作について説明する。第10図はこのオートトラッ
キング回路の動作を示すフローチャートであり、以下図
に従って説明する。まず、ステップST1の処理では、マ
イクロコンピュータ1の入力ポートHSに入力される水平
同期信号Hsyncのパルス数を垂直周期内の一定期間計数
する。次にその計数結果に基づいて、マイクロコンピュ
ータ1に内蔵される前記ROM内の、前記計数結果対水平
発振周波数制御用データ変換テーブルのアドレスを決定
し、この指定されたアドレスの前記ROM内の該変換テー
ブルから水平発振周波数制御用データを求める。以上が
ステップST2の処理である。
Next, the operation will be described. FIG. 10 is a flowchart showing the operation of this auto-tracking circuit, which will be described below with reference to the drawing. First, in the process of step ST1, the number of pulses of the horizontal synchronizing signal Hsync input to the input port HS of the microcomputer 1 is counted for a certain period within the vertical cycle. Next, based on the count result, the address of the count result-to-horizontal oscillation frequency control data conversion table in the ROM built in the microcomputer 1 is determined, and the address of the designated address in the ROM is determined. The horizontal oscillation frequency control data is obtained from the conversion table. The above is the process of step ST2.

次にステップST3,ST4では、同様にして垂直発振周波数
制御用データを求める。即ち、マイクロコンピュータ1
の入力ポートVSに入力される垂直同期信号Vsyncのパル
ス数を一定期間計数する。そして同様に計数結果対垂直
発振周波数制御用データ変換テーブルのアドレスを計数
結果により決定し、指定されたアドレスのROM内データ
により垂直発振周波数制御用データを求める。
Next, in steps ST3 and ST4, vertical oscillation frequency control data is similarly obtained. That is, the microcomputer 1
The number of pulses of the vertical synchronizing signal Vsync input to the input port VS of is counted for a certain period. Similarly, the address of the counting result-vertical oscillation frequency control data conversion table is determined from the counting result, and the vertical oscillation frequency control data is obtained from the ROM data at the specified address.

次にステップST5では、上記処理によっり求められた水
平発振周波数制御用データをD/Aコンバータ3へ出力
し、該D/Aコンバータ3の出力端子HOから水平発振周波
数制御のための直流電圧H−OSCを出力させる。同様に
ステップST6では、垂直発振周波数制御データをD/Aコン
バータ4へ出力し、該D/Aコンバータ4の出力端子VOか
ら垂直発振周波数制御のための直流電圧V−OSCを出力
させる。以上の動作を繰り返すことにより、第9図の回
路はオートトラッキング動作を行なうことができる。
Next, in step ST5, the horizontal oscillation frequency control data obtained by the above processing is output to the D / A converter 3, and the DC voltage for horizontal oscillation frequency control is output from the output terminal HO of the D / A converter 3. Output H-OSC. Similarly, in step ST6, the vertical oscillation frequency control data is output to the D / A converter 4, and the DC voltage V-OSC for controlling the vertical oscillation frequency is output from the output terminal VO of the D / A converter 4. By repeating the above operation, the circuit of FIG. 9 can perform the auto-tracking operation.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

従来のオートトラッキング回路は以上の様に構成されて
いるので、入力信号周波数に対する発振周波数制御用デ
ータが固定値である。よってこのオートトラッキング回
路が接続される水平及び垂直の発振回路の定数のバラツ
キにより発振周波数のバラツキが生じ、そのため各発振
周波数の調整回路を特別に設けて該調整回路により補正
を行なう必要があるなどの課題があった。
Since the conventional auto-tracking circuit is configured as described above, the oscillation frequency control data with respect to the input signal frequency has a fixed value. Therefore, variations in the oscillation frequency occur due to variations in the constants of the horizontal and vertical oscillation circuits to which this auto-tracking circuit is connected. Therefore, it is necessary to specially provide an adjustment circuit for each oscillation frequency and perform correction by the adjustment circuit. There was a problem.

尚、近似技術としてはその他に、特開昭55−44209号,
特開昭55−67225号,特開昭61−170116号,特開昭62−8
8415号,特開昭61−216510号,特開昭62−137910号,特
開昭62−143572号,特開昭61−32274号がある。
In addition, as an approximation technique, in addition to those disclosed in JP-A-55-44209,
JP-A-55-67225, JP-A-61-170116, JP-A-62-8
8415, JP-A-61-216510, JP-A-62-137910, JP-A-62-143572, and JP-A-61-32274.

この発明は上記のような課題を解消するためになされた
もので、オートトラッキング動作周波数のすべての範囲
に於いて入力周波数に対する発振周波数制御用データの
値を手動または外部計測制御装置により調整し、これに
より発振回路の回路定数のバラツキによる発振周波数の
バラツキを補正し、調整することができるオートトラッ
キング回路を得ることを目的とする。
The present invention has been made to solve the above problems, and adjusts the value of the oscillation frequency control data for the input frequency in all ranges of the auto-tracking operating frequency manually or by an external measurement control device, Accordingly, it is an object of the present invention to obtain an auto-tracking circuit that can correct and adjust variations in the oscillation frequency due to variations in the circuit constants of the oscillation circuit.

〔課題を解決するための手段〕[Means for Solving the Problems]

この発明に係るオートトラッキング回路は、設定手段に
より設定される水平,垂直の発振周波数制御用基準デー
タの最大周波数,最小周波数を記憶する記憶手段と、前
記発振周波数制御用基準データの最大周波数,最小周波
数,変換テーブルによる水平周波数値,垂直周波数値の
最大値及び最小値,水平同期信号及び垂直同期信号の各
カウント値による入力周波数から水平,垂直の発振周波
数制御用データを直線近似により算出するマイクロコン
ピュータと、このマイクロコンピュータが算出した水
平、垂直の発振周波数制御用データをD/A変換するD/A変
換手段とを有したものである。
The auto-tracking circuit according to the present invention includes storage means for storing maximum and minimum frequencies of horizontal and vertical oscillation frequency control reference data set by the setting means, and maximum and minimum frequencies of the oscillation frequency control reference data. A micro that calculates horizontal and vertical oscillation frequency control data by linear approximation from the input frequency based on the frequency, the horizontal frequency value based on the conversion table, the maximum and minimum values of the vertical frequency value, and the count values of the horizontal sync signal and the vertical sync signal. It has a computer and D / A conversion means for performing D / A conversion of horizontal and vertical oscillation frequency control data calculated by this microcomputer.

〔作用〕[Action]

この発明におけるマイクロコンピュータは、記憶手段内
に設定手段により任意に設定された発振周波数制御用基
準データ、つまり、オートトラッキング動作周波数範囲
における発振周波数制御用データの最大値及び最小値を
基に、入力周波数に対応した発振周波数制御用データを
直線近似の方法で計算し、D/A変換手段へ出力する。
The microcomputer according to the present invention inputs the oscillation frequency control reference data arbitrarily set in the storage means by the setting means, that is, based on the maximum value and the minimum value of the oscillation frequency control data in the auto-tracking operation frequency range. Oscillation frequency control data corresponding to the frequency is calculated by a linear approximation method and output to the D / A conversion means.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。2は
マイクロコンピュータ1の入出力ポートE0〜Enに接続さ
れた記憶手段としての不揮発性メモリ、8,9,10はマイク
ロコンピュータ1の入力ポートKeyA,KeyB,KeyCに夫々接
続された設定手段としてのタクトスイッチ、11はマイク
ロコンピュータ1の入力ポートA0〜A3に接続された設定
手段としてのロータリスイッチ、12はマイクロコンピュ
ータ1の入力ポートA0〜A3、KeyA,KeyB,KeyC及び出力ポ
ートD0,D1に接続されたコレクタ、13,14,15は1の入力
ポートKeyA,KeyB,KeyCに接続されたプルアップ抵抗、1
6,17,18,19は1の入力ポートA0,A1,A2,A3に接続され
たプルアップ抵抗である。
An embodiment of the present invention will be described below with reference to the drawings. 2 non-volatile memory as a storage means connected to the input and output ports E 0 to E n of the microcomputer 1, 8, 9 and 10 input ports KeyA of the microcomputer 1, KeyB, husband KeyC s connected setting device , A rotary switch 11 as a setting means connected to the input ports A 0 to A 3 of the microcomputer 1, 12 is an input port A 0 to A 3 of the microcomputer 1, KeyA, KeyB, KeyC and output Collectors connected to ports D 0 and D 1 , 13, 14 and 15 are pull-up resistors connected to 1 input ports KeyA, KeyB and KeyC, 1
Reference numerals 6, 17, 18, and 19 are pull-up resistors connected to one input port A 0 , A 1 , A 2 , and A 3 .

次に上記実施例の動作を説明する。第2図は第1図のオ
ートトラッキング回路の動作を示すフローチャートであ
る。以下図に従って説明を行なう。
Next, the operation of the above embodiment will be described. FIG. 2 is a flow chart showing the operation of the auto-tracking circuit of FIG. Description will be given below with reference to the drawings.

まず最初に、マイクロコンピュータ1のRAM内の水平及
び垂直の発振周波数制御用データHOSC及びVOSCの初期設
定をステップST11にて行ない、次にステップST12により
不揮発性メモリ2内より発振周波数制御用基準データで
あるHOSCL,HOSCH,VOSCL,VOSCHを読出す。ここでHOSCLは
水平オートトラッキング周波数範囲の最低周波数におけ
る水平発振周波数制御用データ、HOSCHは同周波数範囲
の最高周波数における水平発振周波数制御用データ、VO
SCLは垂直オートトラッキング周波数範囲の最低周波数
における垂直発振周波数制御用データ、VOSCHは同周波
数範囲における最高周波数における垂直発振周波数制御
用データである。
First, the horizontal and vertical oscillation frequency control data HOSC and VOSC in the RAM of the microcomputer 1 are initialized in step ST11, and then the oscillation frequency control reference data is stored in the nonvolatile memory 2 in step ST12. , HOSCL, HOSCH, VOSCL, VOSCH are read. Where HOSCL is the horizontal oscillation frequency control data at the lowest frequency in the horizontal auto-tracking frequency range, HOSCH is the horizontal oscillation frequency control data at the highest frequency in the same frequency range, and VO
SCL is vertical oscillation frequency control data at the lowest frequency in the vertical auto-tracking frequency range, and VOSCH is vertical oscillation frequency control data at the highest frequency in the same frequency range.

次にステップST13では、ロータリスイッチ11の接続され
た入力ポートA0〜A3の内容を該マイクロコンピュータの
RAM内に読込む。これをPAとする。次にステップST14で
は、PA=$Fか否か判定する。ここでPA=$Fはロータ
リースイッチ11が零位置に設定してあることを意味し、
しかしてこのPA=$Fの時には、HOSCL,HOSCH,VOSCL,VO
SCHの値と入力される水平及び垂直の周波数の計数結果
に基づき発振周波数制御用データHOSC,VOSCを出力する
動作を行なう。以下、このときの動作、ステップST31〜
ST39について説明する。
Next, in step ST13, the contents of the input ports A 0 to A 3 connected to the rotary switch 11 are read by the microcomputer.
Read in RAM. This is PA. Next, in step ST14, it is determined whether or not PA = $ F. Here, PA = $ F means that the rotary switch 11 is set to the zero position,
But when PA = $ F, HOSCL, HOSCH, VOSCL, VO
The operation of outputting the oscillation frequency control data HOSC, VOSC is performed based on the value of SCH and the counting result of the input horizontal and vertical frequencies. Hereinafter, the operation at this time, step ST31 ~
ST39 will be described.

まず、ステップST31では、マイクロコンピュータ1の入
力ポートHSに入力される水平同期信号Hsyncを垂直同期
信号周期の一定期間計数する。この値をHCOUNTとする。
次にステップST32では、垂直同期信号周期の間の一定周
期のパルスを計数する。この値をVCOUNTとする。ここ
で、計数されるパルスはマイクロコンピュータ1のシス
テムクロックを内部分周器により分周して得る。次に上
記の方法で得られたHCOUNTより、第7図に示した、マイ
クロコンピュータ1のROM内に格納されているHCOUNT対
水平周波数値変換テーブルを参照して水平周波数の値HF
RQを求める。つまり、HCOUNTの値より前記ROM内変換テ
ーブルのアドレスを求め、求められたアドレスの該ROM
に書込まれてあるデータをHFRQとする(ステップST3
3)。次に同様にしてステップST34によりVCOUNTより垂
直周波数の値VFRQを求める。次にステップST35により、
HFRQ,VFRQが共に前回計数した値と異なるか否か判定す
る。ここで、ステップST31〜ST35の処理を電源オン後始
めて実行する場合は、前回と周波数が異なるものとして
判定される。しかして、前回と同一と判定された場合
は、ステップST36,ST37はスキップされ、ステップST38
へ移る。他方、前回と異なると判定された場合、ステッ
プST36へ移る。第6図にこのステップST36に於ける処理
の内容をフローチャートとして示す。また第5図はステ
ップST36に於ける処理内容を示す模式図である。ここで
HFRQLは水平オートトラッキング周波数範囲に於ける最
低周波数の値であり、HFRQHは同周波数範囲に於ける最
高周波数の値である。ステップST36−1ではまず、差
(HOSCH−HOSCL)を求め、これをD01とし、次に差(HFR
QH−HFRQL)を求めこれをDF1とし(ST36−2)、次に差
(HFRQ−HFRQL)を求めこれをDF2とし(ST36−3)、次
にDO1×DF2を求めこれをDM1とし(ST36−4)、次にDM1
/DF1を求めこれをDD1とし(ST36−5)、次にHOSCL+DD
1を求めこれをHOSCとする(ST36−6)。つまりここで
は下記の計算式(1)に従ってHOSCを求めたことにな
る。
First, in step ST31, the horizontal synchronizing signal Hsync input to the input port HS of the microcomputer 1 is counted for a certain period of the vertical synchronizing signal period. Let this value be HCOUNT.
Next, in step ST32, pulses having a constant period during the vertical synchronization signal period are counted. This value is VCOUNT. Here, the counted pulse is obtained by dividing the system clock of the microcomputer 1 by the internal frequency divider. Next, referring to the HCOUNT-to-horizontal frequency value conversion table stored in the ROM of the microcomputer 1 shown in FIG. 7 from the HCOUNT obtained by the above method, the horizontal frequency value HF
Ask for RQ. That is, the address of the conversion table in ROM is obtained from the value of HCOUNT, and the ROM of the obtained address
The data written in is set to HFRQ (step ST3
3). Similarly, in step ST34, the vertical frequency value VFRQ is obtained from VCOUNT. Next, in step ST35,
Judge whether both HFRQ and VFRQ are different from the previously counted value. Here, when the processing of steps ST31 to ST35 is executed for the first time after the power is turned on, it is determined that the frequency is different from the previous frequency. Then, if it is determined that the same as the previous time, steps ST36, ST37 are skipped, step ST38
Move to. On the other hand, when it is determined that it is different from the previous time, the process proceeds to step ST36. FIG. 6 shows a flow chart of the contents of the processing in step ST36. Further, FIG. 5 is a schematic diagram showing the processing contents in step ST36. here
HFRQL is the lowest frequency value in the horizontal auto-tracking frequency range, and HFRQH is the highest frequency value in the same frequency range. In step ST36-1, first, the difference (HOSCH-HOSCL) is calculated and set as D01, and then the difference (HFR
QH-HFRQL) is calculated as DF1 (ST36-2), then the difference (HFRQ-HFRQL) is calculated as DF2 (ST36-3), then DO1 x DF2 is calculated as DM1 (ST36- 4), then DM1
Find / DF1 and use this as DD1 (ST36-5), then HOSCL + DD
Obtain 1 and use this as HOSC (ST36-6). In other words, here, HOSC is calculated according to the following calculation formula (1).

(1)式を第5図にて説明すると、あらかじめ前記ROM
内に設定されてあるHFRQLとHFRQHの値及びそれぞれに対
応した発振周波数制御用基準データであるHOSCLとHOSCH
の値より、入力される水平周波数の値(水平同期信号周
波数)HFRQに対応した発振周波数制御用データHOSCを直
線近似式により求めたことになる。
The equation (1) will be explained with reference to FIG.
The values of HFRQL and HFRQH set in the table and the corresponding reference data for oscillation frequency control, HOSCL and HOSCH.
From this value, the oscillation frequency control data HOSC corresponding to the input horizontal frequency value (horizontal synchronizing signal frequency) HFRQ is obtained by the linear approximation formula.

次にステップST37では、ステップST36と同様にVFRQ,VOS
CL,VOSCHより発振周波数制御用データVOSCを求める。
Next, in step ST37, as in step ST36, VFRQ, VOS
Obtain the oscillation frequency control data VOSC from CL and VOSCH.

次に、マイクロコンピュータ1の出力ポートB0〜Bnより
前記HOSCが出力されてD/Aコンバータ3に入力され,該D
/Aコンバータ3の出力端子HOからは水平発振周波数制御
用の直流電圧H−OSCが出力され、水平発振回路に加え
られる(ST38)。
Next, the HOSC is output from the output ports B 0 to B n of the microcomputer 1 and input to the D / A converter 3,
A DC voltage H-OSC for controlling the horizontal oscillation frequency is output from the output terminal HO of the / A converter 3 and added to the horizontal oscillation circuit (ST38).

次にマイクロコンピュータ1の出力ポートC0〜Cnより前
記VOSCが出力されてD/Aコンバータ4に入力され,該D/A
コンバータ4の出力端子VOからは垂直発振周波数制御用
の直流電圧V−OSCが出力され、垂直発振回路に加えら
れる(ST39)。最後はステップST13へ戻り、以上の動作
を繰り返す。
Next, the VOSC is output from the output ports C 0 to C n of the microcomputer 1 and input to the D / A converter 4, and the D / A
The DC voltage V-OSC for controlling the vertical oscillation frequency is output from the output terminal VO of the converter 4 and is applied to the vertical oscillation circuit (ST39). Finally, the process returns to step ST13 and the above operation is repeated.

一方、ステップST14にてPA=$Fでないときの動作(ST
15〜ST30)について次に説明する。ここでは不揮発性メ
モリ2内の発振周波数制御用基準データHOSCL,HOSCH,VO
SCL,VOSCHの変更を行なう。しかしてデータの増減は不
揮発性メモリ2内よりRAM内に読み出されたHOSCL,HOSC
H,VOSCL,VOSCHの値について行なわれ、外部の指令によ
り不揮発性メモリ2内に格納され、不揮発性メモリ2内
のデータの変更が行なわれる。そしてデータの増減の指
令は、マイクロコンピュータ1の入力ポートKeyA,KeyB
を通じて、またマイクロコンピュータ1内RAMより不揮
発性メモリ2へ格納する指令は入力ポートKeyCを通じて
行なわれる。また、水平及び垂直の発振周波数制御用基
準データHOSCL,HOSCH,VOSCL,VOSCHのいずれを変更する
かの選択はマイクロコンピュータ1の入力ポートA0〜A3
の入力値PAにより判定される。
On the other hand, the operation when PA is not equal to $ F in step ST14 (ST
15 to ST30) will be described below. Here, reference data HOSCL, HOSCH, VO for controlling the oscillation frequency in the nonvolatile memory 2 is used.
Change SCL and VOSCH. Therefore, the increase / decrease of the data is the HOSCL and HOSC read from the nonvolatile memory 2 into the RAM.
It is performed for the values of H, VOSCL, and VOSCH, and is stored in the nonvolatile memory 2 by an external command, and the data in the nonvolatile memory 2 is changed. And the command to increase / decrease the data is input port KeyA, KeyB of the microcomputer 1.
Through the RAM in the microcomputer 1 to the nonvolatile memory 2 through the input port KeyC. The selection of which of the horizontal and vertical oscillation frequency control reference data HOSCL, HOSCH, VOSCL, VOSCH is to be changed is selected from the input ports A 0 to A 3 of the microcomputer 1.
It is judged by the input value PA of.

まず、ステップST15,ST16に於いてロータリスイッチ11
の内容であるPAの値より、ROM内のテーブルを参照し、
アクセスするRAMの番地を決定する。次に入力ポートKey
Aの値がLowか否か判定し(ST17)、Lowの場合はステッ
プST18のデータインクリメント処理を行なう。ここで第
3図にステップST18の処理内容のフローチャートを示
す。まずステップST18−1では、アクセスするRAMの内
容を確認し、その値があらかじめROM内に設定されてい
るデータ上限値より小さいか判定し(ST18−2)、上限
より小さいと判定された場合はステップST18−3へ進
み、D0ポートをリセットし、アクセス先RAMの内容を1
つ増加させる(ST18−5)。他方、ステップST18−2に
て上限に達していると判断された場合は、ステップST18
−4へ進み、D0ポートをセットして処理を終える。
First, in steps ST15 and ST16, the rotary switch 11
Refer to the table in ROM from the value of PA which is the content of
Determine the address of RAM to access. Next input port Key
It is determined whether or not the value of A is Low (ST17), and if it is Low, the data increment process of step ST18 is performed. Here, FIG. 3 shows a flowchart of the processing contents of step ST18. First, in step ST18-1, the contents of the RAM to be accessed are checked, and it is determined whether the value is smaller than the data upper limit preset in ROM (ST18-2). If it is determined that the value is smaller than the upper limit, Proceed to Step ST18-3, reset the D 0 port, and set the access destination RAM contents to 1
Increase (ST18-5). On the other hand, if it is determined in step ST18-2 that the upper limit is reached, step ST18
-4, set the D 0 port and finish the process.

一方、ステップST17にて入力ポートKeyAの値がLowでは
ないと判定された場合は、ステップST19へ進み、ここで
入力ポートKeyBがLowか否か判定する。ここで入力ポー
トKeyBがLowの場合、ステップST20へ進み、RAM内データ
のデクリメント処理を行なう。第4図はこのステップST
20の処理の内容を示すフローチャートである。まずステ
ップST20−1にてアクセス先のRAMの内容を確認し、ス
テップST20−2にてあらかじめROM内に設定されたデー
タ下限値と比較して下限値よりも大きいか否か判定し、
大きいと判定された場合はステップST20−3へ、下限値
に達していると判定された場合はST20−4へ進む。しか
してステップST20−3に於いてはD1ポートをリセット
し、次にステップST20−5へ進み、アクセス先RAMの内
容を1つ減少させ処理を終える。またステップST20−4
に於いては、D1ポートをリセットし、処理を終える。
On the other hand, when it is determined in step ST17 that the value of the input port KeyA is not Low, the process proceeds to step ST19, in which it is determined whether the input port KeyB is Low. If the input port KeyB is Low here, the process proceeds to step ST20, and the decrement process of the data in RAM is performed. Fig. 4 shows this step ST
It is a flow chart which shows the contents of processing of 20. First, in step ST20-1, the contents of the RAM to be accessed are checked, and in step ST20-2 it is compared with the data lower limit set in advance in ROM to determine whether it is greater than the lower limit,
If it is determined to be larger, the process proceeds to step ST20-3, and if it is determined that the lower limit value is reached, the process proceeds to ST20-4. Thus is in step ST20-3 to reset the D 1 port, then proceeds to step ST20-5, the process is finished is reduced by one the contents of the access destination RAM. Step ST20-4
In, reset the D 1 port and finish the process.

ステップST19にて入力ポートKeyBの入力がLowではない
と判定された場合は、ステップST21へ進み、ここで入力
ポートKeyCの入力がLowか否か判定し、Lowである場合は
ステップST22へ進み、そうでない場合はステップST23へ
進む。しかしてステップST22に於いては、RAM内にあるH
OSCL,HOSCH,VOSCL,VOSCHの4つの発振周波数制御用基準
データを不揮発性メモリ2内へ格納する。
If it is determined in step ST19 that the input of the input port KeyB is not Low, the process proceeds to step ST21, where it is determined whether the input of the input port KeyC is Low, and if it is Low, the process proceeds to step ST22, If not, the process proceeds to step ST23. Then, in step ST22, H in RAM is
The four oscillation frequency control reference data of OSCL, HOSCH, VOSCL, and VOSCH are stored in the nonvolatile memory 2.

またステップST23では、PAの値が$Eの時はステップST
24へ進み、そうでないときはステップST25へ進む。また
ステップST24では、VOSCの値をVOSCLの値と同じくする
ことによりVOSCLのデータをD/Aコンバータ4へ出力する
ようにし、垂直の発振周波数が発振周波数制御用基準デ
ータVOSCLの値で決まるようにする。ステップST25で
は、PAの値が$Dの時はステップST26へ進み、そうでな
い時はステップST27へ進む。ステップST26では、VOSCの
値をVOSCHの値と同じくすることにより、VOSCHのデータ
をD/Aコンバータ4へ出力するようにする。そしてST27
ではPAの値が$Cの時はステップST28へ進み、そうでな
い時はステップST29へ進む。ステップST28ではHOSCの値
をHOSCLの値と同じくすることにより、HOSCLのデータを
D/Aコンバータ3へ出力するようにし、水平発振周波数
が発振周波数制御用基準データHOSCLの値で決まるよう
にする。ステップST29ではPAの値が$Bの時はステップ
ST30へ進み、そうでない時はステップST38へ進む。ステ
ップST30ではHOSCの値をHOSCHの値と同じくすることに
より、HOSCHのデータをD/Aコンバータ3へ出力するよう
にする。そしてステップST24,ST26,ST28,ST30を終えた
後は、ステップST38,ST39へと進み、更にステップST13
へと戻る。
In step ST23, if the value of PA is $ E, step ST23
If not, the process proceeds to step ST25. Further, in step ST24, the value of VOSC is made equal to the value of VOSCL to output the data of VOSCL to the D / A converter 4, and the vertical oscillation frequency is determined by the value of the reference data VOSCL for oscillation frequency control. To do. In step ST25, if the value of PA is $ D, the process proceeds to step ST26, and if not, the process proceeds to step ST27. In step ST26, the VOSC value is set to be the same as the VOSCH value so that the VOSCH data is output to the D / A converter 4. And ST27
Then, if the value of PA is $ C, the process proceeds to step ST28, and if not, the process proceeds to step ST29. In step ST28, the value of HOSC is made the same as the value of HOSCL, so that the data of HOSCL is
Output to the D / A converter 3 so that the horizontal oscillation frequency is determined by the value of the oscillation frequency control reference data HOSCL. In step ST29, if the value of PA is $ B, step
If not, proceed to ST30. In step ST30, the value of HOSC is made equal to the value of HOSCH, so that the data of HOSCH is output to the D / A converter 3. After completing steps ST24, ST26, ST28, ST30, the process proceeds to steps ST38, ST39, and further steps ST13.
Return to.

なお、上記実施例ではマイクロコンピュータ1に不揮発
性メモリ2を接続して構成されたものについて示した
が、マイクロコンピュータ1内に不揮発性メモリが内蔵
されている場合でもよい。
In the above embodiment, the nonvolatile memory 2 is connected to the microcomputer 1, but the nonvolatile memory may be built in the microcomputer 1.

また、上記実施例ではロータリスイッチ11やタクトスイ
ッチ8,9,10を用いた例を示したが、ディップスイッチや
他のスイッチでも良く、上記と同様の効果を奏する。
Further, although the rotary switch 11 and the tact switches 8, 9 and 10 are used in the above-described embodiment, a dip switch or another switch may be used, and the same effect as above can be obtained.

また、コネクタ12は必ずしも必要でなく、手動による調
整のみの場合は省略できる。
Further, the connector 12 is not always necessary and can be omitted in the case of only manual adjustment.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明によれば、入力信号周波数に対
する発振周波数制御用データの値を、手動または外部計
測制御装置による設定手段により記憶手段に任意に設定
可能とし、これにより発振回路の回路定数のバラツキに
よるオートトラッキング動作の発振周波数のバラツキを
補正し、そのバラツキを容易に調整でき、したがってオ
ートトラッキング動作の発振周波数の安定したオートト
ラッキング回路が得られる効果がある。
As described above, according to the present invention, the value of the oscillation frequency control data with respect to the input signal frequency can be arbitrarily set in the storage means manually or by the setting means by the external measurement control device, whereby the circuit constant of the oscillation circuit is set. The variation of the oscillation frequency of the auto-tracking operation due to the variation of (3) can be corrected, and the variation can be easily adjusted. Therefore, an auto-tracking circuit having a stable oscillation frequency of the auto-tracking operation can be obtained.

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

第1図はこの発明の一実施例によるオートトラッキング
回路を示す回路図、第2図は第1図の回路の動作を示す
フローチャート、第3図はデータの増加処理を示すフロ
ーチャート、第4図はデータの減少処理を示すフローチ
ャート、第5図は入力水平周波数に対する水平発振周波
数制御用データを求める手段を示す模式図、第6図は水
平発振周波数制御用データを求める手段を示すフローチ
ャート、第7図は入力水平周波数の計数結果対水平周波
数値の変換テーブルを示す模式図、第8図は入力水平周
波数の計数結果対水平周波数制御用データの変換テーブ
ルを示す模式図、第9図は従来のオートトラッキング回
路を示す回路図、第10図は第9図の動作を示すフローチ
ャートである。 1はマイクロコンピュータ、2は不揮発性メモリ(記憶
手段)、3,4はD/Aコンバータ(D/A変換手段)、8,9,10
はタクトスイッチ(設定手段)、11はロータリスイッチ
(設定手段)。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a circuit diagram showing an auto-tracking circuit according to an embodiment of the present invention, FIG. 2 is a flow chart showing the operation of the circuit shown in FIG. 1, FIG. 3 is a flow chart showing a data increasing process, and FIG. FIG. 5 is a flow chart showing data reduction processing, FIG. 5 is a schematic diagram showing means for obtaining horizontal oscillation frequency control data with respect to an input horizontal frequency, and FIG. 6 is a flow chart showing means for obtaining horizontal oscillation frequency control data. Is a schematic diagram showing a conversion table of input horizontal frequency counting results versus horizontal frequency values, FIG. 8 is a schematic diagram showing a conversion table of input horizontal frequency counting results versus horizontal frequency control data, and FIG. 9 is a conventional auto table. FIG. 10 is a circuit diagram showing the tracking circuit, and FIG. 10 is a flow chart showing the operation of FIG. 1 is a microcomputer, 2 is a non-volatile memory (storage means), 3 and 4 are D / A converters (D / A conversion means), 8, 9 and 10
Is a tact switch (setting means), 11 is a rotary switch (setting means). In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】水平発振周波数制御用基準データの最大周
波数、最小周波数及び垂直発振周波数制御用基準データ
の最大周波数、最小周波数をそれぞれ記憶する記憶手段
と、この記憶手段に前記水平発振周波数制御用基準デー
タの最大周波数、最小周波数及び垂直発振周波数制御用
基準データの最大周波数、最小周波数を設定する設定手
段と、水平同期信号、垂直同期信号を計数するカウンタ
と、このカウンタのカウント値に対する水平周波数値、
垂直周波数値の各変換テーブルを記憶するROM及び演算
用RAMを有すると共に、前記水平発振周波数制御用基準
データの最大周波数、最小周波数及び垂直発振周波数制
御用基準データの最大周波数、最小周波数、前記変換テ
ーブルの水平周波数値、垂直周波数値の最大値、最小値
及び前記カウント値による入力周波数の値を用いて該入
力周波数に対する水平、垂直の発振周波数制御用データ
を直線近似により算出するマイクロコンピュータと、こ
のマイクロコンピュータが算出した前記水平、垂直の発
振周波数制御用データをD/A変換するD/A変換手段とを備
えたオートトラッキング回路。
1. Storage means for respectively storing a maximum frequency and a minimum frequency of horizontal oscillation frequency control reference data and a maximum frequency and a minimum frequency of vertical oscillation frequency control reference data, and the storage means for storing the horizontal oscillation frequency control. Setting means for setting the maximum frequency, the minimum frequency of the reference data and the maximum frequency, the minimum frequency of the reference data for controlling the vertical oscillation frequency, a counter for counting the horizontal synchronizing signal and the vertical synchronizing signal, and a horizontal frequency for the count value of this counter value,
It has a ROM for storing each conversion table of vertical frequency values and a calculation RAM, and also has the maximum frequency, the minimum frequency of the horizontal oscillation frequency control reference data and the maximum frequency, the minimum frequency of the vertical oscillation frequency control reference data, and the conversion. A horizontal frequency value of the table, a maximum value of the vertical frequency value, a minimum value, and a microcomputer for calculating the horizontal and vertical oscillation frequency control data for the input frequency using the value of the input frequency by the linear approximation, An auto-tracking circuit comprising: D / A conversion means for D / A converting the horizontal and vertical oscillation frequency control data calculated by the microcomputer.
JP63310177A 1988-12-09 1988-12-09 Auto tracking circuit Expired - Lifetime JPH0727356B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63310177A JPH0727356B2 (en) 1988-12-09 1988-12-09 Auto tracking circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63310177A JPH0727356B2 (en) 1988-12-09 1988-12-09 Auto tracking circuit

Publications (2)

Publication Number Publication Date
JPH02157795A JPH02157795A (en) 1990-06-18
JPH0727356B2 true JPH0727356B2 (en) 1995-03-29

Family

ID=18002101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63310177A Expired - Lifetime JPH0727356B2 (en) 1988-12-09 1988-12-09 Auto tracking circuit

Country Status (1)

Country Link
JP (1) JPH0727356B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2551239B2 (en) * 1990-12-27 1996-11-06 三菱電機株式会社 Horizontal oscillation frequency control circuit

Also Published As

Publication number Publication date
JPH02157795A (en) 1990-06-18

Similar Documents

Publication Publication Date Title
FI71435B (en) FRAMEWORK FOR ORDERING FOR THE PURPOSE OF PID-REGULATORS
KR940007685B1 (en) S-shaped correction capacitor switching device of automatic tracking monitor
US5672948A (en) Digital, Back EMF, single coil sampling, sensorless commutator system for a D.C. motor
JP3398124B2 (en) Apparatus and method for automatically adjusting screen of liquid crystal display
JPH03157018A (en) Frequency synthesizer
JPH05284046A (en) Impedance matching control circuit for rf generator
JPH04239211A (en) Matching control circuit for rf generator
JPH0727356B2 (en) Auto tracking circuit
JPH04270570A (en) Digital phase-locked loop circuit
US5313403A (en) Numerical control apparatus having a circular interpolation locus display function and control method thereof
JPH052247B2 (en)
EP0463418B1 (en) A broad operational range, automatic device for the change of frequency in the horizontal deflection of multisynchronization monitors
GB2242796A (en) Automatic frequency synchronizer
US5373309A (en) Method and apparatus for setting variable to desired value
KR950001440B1 (en) Oscillation frequency control circuit
JPS5818357Y2 (en) Automatic oscillation frequency adjustment device
JP2001145265A (en) Automatic power factor control device
JPH021952Y2 (en)
JP3100148B2 (en) Sine wave approximation pulse width modulation signal generator
JP3260407B2 (en) Horizontal oscillation control circuit
JPH08147319A (en) Image switching device
JP2912367B1 (en) Computer readable medium recording a PLL circuit and a PLL program
KR920010939B1 (en) Method for converting place in on-screen
JPS5912138A (en) Electronic fuel injection controlling apparatus for diesel engine
KR100315909B1 (en) Self-tuning proportional integral (PID) control system and its control method