JPS63200221A - Automatic control circuit for clock pulse - Google Patents

Automatic control circuit for clock pulse

Info

Publication number
JPS63200221A
JPS63200221A JP62032476A JP3247687A JPS63200221A JP S63200221 A JPS63200221 A JP S63200221A JP 62032476 A JP62032476 A JP 62032476A JP 3247687 A JP3247687 A JP 3247687A JP S63200221 A JPS63200221 A JP S63200221A
Authority
JP
Japan
Prior art keywords
delay
circuit
phase
output
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62032476A
Other languages
Japanese (ja)
Inventor
Hideyuki Obara
小原 秀行
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62032476A priority Critical patent/JPS63200221A/en
Publication of JPS63200221A publication Critical patent/JPS63200221A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the control manhour and to improve the control accuracy by providing a delay circuit and detecting the phase difference between the output of the delay circuit and the output of a programmable counter for selection of the delay value. CONSTITUTION:An external crystal oscillator 1 which produces a reference frequency is connected to an automatic clock pulse control circuit L consisting of an LSI and set into a CPU. Furthermore, the circuit L contains two control circuits A and B of the same constitution and sets a reference frequency at a desired level via an ordinary programmable counter 2 that can set freely an N-ary number with a program input. The phase comparators 3a-3b are provided to compare the phase of the output of the counter 2 with those of the outputs of delay circuits 7a-7b together with a drive circuit selecting decoder 4, the decoders 5a-5c, the up-down counters 6a-6b, etc. Then, a prescribed waveform is obtained by combining a pulse waveform of a frequency set by the counter 2 and the selection outputs A-C outputted from decoders 5a-5b.

Description

【発明の詳細な説明】 〔概 要〕 計算機等の同期的動作に用いるシステムクロックパルス
のタイミングを調整する調整回路において、n段階、例
えば3段階、の位相遅延量の得られる遅延回路を設け、
位相差により発生するパルスによってカウンタをカウン
トアンプもしくはカウントダウンすることによりクロッ
クパルスの発生タイミングを自動調整するものである。
[Detailed Description of the Invention] [Summary] In an adjustment circuit that adjusts the timing of a system clock pulse used for synchronous operation of a computer, etc., a delay circuit that can obtain a phase delay amount of n stages, for example, 3 stages, is provided,
The clock pulse generation timing is automatically adjusted by counting amplifying or counting down the counter using the pulses generated by the phase difference.

〔産業上の利用分野〕[Industrial application field]

本発明はクロックパルス自動調整回路に関し、特に計算
機等を同期的に動作させるシステムクロックパルスの発
生タイミングを自動的に調整することができる調整回路
に関する。
The present invention relates to an automatic clock pulse adjustment circuit, and more particularly to an adjustment circuit that can automatically adjust the generation timing of system clock pulses for synchronously operating computers and the like.

〔従来の技術及び発明が解決しようとする問題点〕従来
、計算機等の動作を同期させるために用いるクロックの
タイミング調整は、プリント基板上に組み込まれたクロ
ック発生回路をテスター、オシロスコープ等により波形
観察しながら工場出荷時に調整している。この場合クロ
・7りの出力タイミングの遅延調整は、例えば、ケーブ
ルの長さを変えることにより行われる。このようにして
クロックの位相ずれによるシステムの誤作動を防止して
いる。
[Prior art and problems to be solved by the invention] Conventionally, the timing adjustment of clocks used to synchronize the operations of computers, etc. has been carried out by observing the waveform of a clock generation circuit built on a printed circuit board using a tester, oscilloscope, etc. However, it is adjusted at the factory. In this case, the delay adjustment of the output timing of the black/7ri is performed, for example, by changing the length of the cable. In this way, system malfunctions due to clock phase shifts are prevented.

しかしながら、このような人手による調整は工数のかか
ることであり効率が悪い。
However, such manual adjustment requires a lot of man-hours and is inefficient.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上述の問題点を解消したクロックパルス自動調
整回路を提供することにあり、その手段は、基準周波数
を所望の周波数に設定するプログラマブルカウンタ2と
、n段階の位相遅延量の得られる遅延回路?a、7bと
、該プログラマブルカウンタの出力と該遅延回路の出力
の位相差を検出し、位相差に対応した進相もしくは遅相
パルスを発生する位相比較器3a、3bと、該位相比較
器の該進相もしくは遅相パルスに応じてカウントアツプ
もしくはカウントダウンするアンプダウンカウンタ6a
、6bと、該進相もしくは遅相パルスにより該遅延回路
のうちのいずれかの遅延量を選択するデコーダ5a、5
bを備え、該プログラマブルカウンタにより設定された
クロックパルスの発生タイミングを自動的に調整するよ
うにしたことを特徴とする。
An object of the present invention is to provide a clock pulse automatic adjustment circuit that solves the above-mentioned problems, and its means include a programmable counter 2 that sets a reference frequency to a desired frequency, and a delay that provides n stages of phase delay. circuit? a, 7b, phase comparators 3a, 3b that detect the phase difference between the output of the programmable counter and the output of the delay circuit, and generate leading or lagging pulses corresponding to the phase difference; An amplifier down counter 6a that counts up or counts down according to the phase advance or phase delay pulse.
, 6b, and decoders 5a, 5 for selecting the delay amount of any one of the delay circuits according to the leading or slowing pulse.
b, and the clock pulse generation timing set by the programmable counter is automatically adjusted.

〔作 用〕[For production]

例えば、システムクロックパルスの発生タイミングを調
整する場合に、例えば、3段階の位相遅延量の得られる
遅延回路?a、7bを設け、プログラマブルカウンタの
出力と遅延回路の出力の位相差を検出し、位相差に対応
した進相もしくは遅相パルスによってアップダウンカウ
ンタを駆動し、遅延量を選択することによりクロックパ
ルスタイミングを自動的に調整する。
For example, when adjusting the generation timing of system clock pulses, for example, a delay circuit that can provide three stages of phase delay? a and 7b are provided, the phase difference between the output of the programmable counter and the output of the delay circuit is detected, the up/down counter is driven by a leading or slowing pulse corresponding to the phase difference, and the clock pulse is generated by selecting the amount of delay. Adjust timing automatically.

〔実施例〕〔Example〕

第1図は本発明に係るクロックパルス自動調整回路の一
実施例ブロック図であり、第2図(a)〜(c)は第1
図の各点における信号タイミングチャートである。
FIG. 1 is a block diagram of an embodiment of the clock pulse automatic adjustment circuit according to the present invention, and FIGS.
3 is a signal timing chart at each point in the figure.

第1図において、1は基準周波数を発生する外付けされ
た水晶発振器である。Lは本発明に係るクロックパルス
自動調整回路(以下調整回路と称す)であり、大規模集
積回路(LSI)により構成され、計算機内部、例えば
、中央処理装置(CPU)の内部に組み込まれる。調整
回路りはA、B同一の2つの調整回路により構成されそ
の内部は以下の如く構成されている。即ち、2はプログ
ラム入力によってN進数を自由に設定できる一般のプロ
グラマブルカウンタであって基準周波数を所望の周波数
に設定するもの、3aおよび3bはプログラマブルカウ
ンタ2の出力と後述する遅延回路との出力との位相を比
較し、位相差に基づ(パルスを出力する位相比較器、4
は2つの調整回路のいずれかを選択するデコーダ、5a
および5bは後述するアップダウンカウンタのためのデ
コーダであって、いずれかの遅延手段を選択するもの、
6aおよび6bは位相差によるクロックによりカウント
アツプもしくはカウントダウンするアップダウンカウン
タ、7aおよび7bは遅延素子No、1〜No、6の組
合せにより3段階の遅延が得られるようにした遅延回路
である。
In FIG. 1, reference numeral 1 indicates an externally attached crystal oscillator that generates a reference frequency. L is a clock pulse automatic adjustment circuit (hereinafter referred to as adjustment circuit) according to the present invention, which is constructed from a large-scale integrated circuit (LSI) and is incorporated inside a computer, for example, inside a central processing unit (CPU). The adjustment circuit is composed of two adjustment circuits A and B, and the internal structure is as follows. That is, 2 is a general programmable counter whose N-ary number can be freely set by inputting a program and sets the reference frequency to a desired frequency, and 3a and 3b are the outputs of the programmable counter 2 and the output of a delay circuit to be described later. A phase comparator that compares the phases of and outputs a pulse (4) based on the phase difference.
is a decoder for selecting one of two adjustment circuits, 5a
and 5b is a decoder for an up/down counter to be described later, which selects one of the delay means;
6a and 6b are up/down counters that count up or count down using clocks based on phase differences; 7a and 7b are delay circuits in which a three-stage delay can be obtained by a combination of delay elements No. 1 to No. 6;

このような構成において、この回路の動作を第2図を参
照しつつ説明する。水晶発振器1の出力パルス周期はプ
ログラマブルカウンタ2により所望の周期に変換される
。第2図(a)〜(c)のパルスD0はプログラマブル
カウンタ2により設定された周期のパルス波形である。
The operation of this circuit in such a configuration will be explained with reference to FIG. The output pulse period of the crystal oscillator 1 is converted into a desired period by a programmable counter 2. Pulse D0 in FIGS. 2(a) to 2(c) is a pulse waveform with a cycle set by the programmable counter 2.

この波形とデコーダ5aおよび5bにより出力される選
択出力A、B、Cの組合せにより (a)〜(c)のよ
うな波形が得られる。即ち、(a)は選択信号Aが出力
された場合であり、遅延回路7aの1段の遅延ゲート1
が選択されこの位相遅延量はDaである。(b)は選択
信号Bが出力された場合であり、2段の遅延ゲート2.
3が選択されこの遅延量はDbである。そして(C)は
選択信号Cが出力された場合であり、3段の遅延ゲート
4,5.6が選択されこの遅延量はDcである。遅延ゲ
ート1゜2.4の一方の入力には共通にプログラマブル
カウンタ出力Doが入力される。
By combining this waveform with the selected outputs A, B, and C output by the decoders 5a and 5b, waveforms as shown in (a) to (c) are obtained. That is, (a) is the case when the selection signal A is output, and the delay gate 1 of one stage of the delay circuit 7a
is selected and the amount of phase delay is Da. (b) shows the case where selection signal B is output, and there are two stages of delay gates 2.
3 is selected and the amount of delay is Db. (C) shows the case where the selection signal C is output, and the three stages of delay gates 4, 5.6 are selected and the amount of delay is Dc. A programmable counter output Do is commonly input to one input of the delay gates 1°2.4.

(a)においてクロックDoは位相がDaだけ進相方向
にずれており、位相比較器3aおよび3bは位相差の生
じている区間だけUなる進相パルスを発生する。このパ
ルスはカウントアツプクロックとなる。
In (a), the phase of the clock Do is shifted by Da in the leading direction, and the phase comparators 3a and 3b generate a leading pulse of U only in the section where the phase difference occurs. This pulse becomes a count-up clock.

(b)において、クロックDoは位相がDbだけずれて
Doと同期なので、位相比較器は位相差パルスを発生し
ない。
In (b), the phase comparator does not generate a phase difference pulse because the clock Do is synchronized with Do with a phase shift of Db.

(C)において、クロックDOは位相がDcだけ遅相方
向にずれており、位相比較器は位相差の生じている区間
だけ■なる遅相パルスを発生する。
In (C), the phase of the clock DO is shifted by Dc in the lag direction, and the phase comparator generates a lag pulse of ■ only in the section where the phase difference occurs.

このパルスはカウントダウンクロックとなる。This pulse becomes a countdown clock.

このようにして出力端子OUT lからは位相調整され
たクロックパルスを得ることができる。また、下段の回
路についても全く同様に動作するので説明を省略する。
In this way, a phase-adjusted clock pulse can be obtained from the output terminal OUT1. Furthermore, since the lower stage circuit operates in exactly the same manner, a description thereof will be omitted.

この場合に、上段のAクロックの周期と異なる周期のB
クロックを得ることも可能である。
In this case, if the clock B has a period different from the period of the A clock in the upper stage,
It is also possible to obtain a clock.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、クロックパルスの
発生タイミングのずれを自動的に調整できるので、調整
工数の削減、調整精度の向上が図れる効果がある。
As described above, according to the present invention, it is possible to automatically adjust the deviation in the timing of clock pulse generation, thereby reducing the number of adjustment steps and improving the adjustment accuracy.

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

第1図は本発明に係るクロックパルス自動調整回路、お
よび 第2図は第1図回路の各点における信号タイミングチャ
ートである。 (符号の説明) 1・・・水晶発振器 2・・・プログラマブルカウンタ 3a、3b・・・位相比較器 4・・・調整回路セレクト用デコーダ 5a、5b・・・デコーダ 6a、6b・・・アップダウンカウンタ7a、7b・・
・遅延回路 本発明の一実施例回路図 第1 図 V  □ V □ 第1図回路の信号タイミングチャート 第2図
FIG. 1 is a clock pulse automatic adjustment circuit according to the present invention, and FIG. 2 is a signal timing chart at each point in the circuit shown in FIG. (Explanation of symbols) 1...Crystal oscillator 2...Programmable counter 3a, 3b...Phase comparator 4...Adjustment circuit selection decoder 5a, 5b...Decoder 6a, 6b...Up/down Counters 7a, 7b...
・Delay circuit One embodiment of the present invention Circuit diagram Fig. 1 V □ V □ Fig. 1 Signal timing chart of the circuit Fig. 2

Claims (1)

【特許請求の範囲】[Claims] 1、基準周波数を所望の周波数に設定するプログラマブ
ルカウンタ(2)と、n段階の位相遅延量の得られる遅
延手段(7a、7b)と、該プログラマブルカウンタの
出力と該遅延手段の出力の位相差を検出し、位相差に対
応した進相もしくは遅相パルスを発生する位相比較器(
3a、3b)と、該位相比較器の該進相もしくは遅相パ
ルスに応じてカウントアップもしくはカウントダウンす
るアップダウンカウンタ(6a、6b)と、該進相もし
くは遅相パルスにより該遅延手段のうちのいずれかの遅
延量を選択するデコーダ(5a、5b)を備え、該プロ
グラマブルカウンタにより設定されたクロックパルスの
発生タイミングを自動的に調整するようにしたクロック
パルス自動調整回路。
1. A programmable counter (2) that sets the reference frequency to a desired frequency, delay means (7a, 7b) that can obtain n stages of phase delay, and a phase difference between the output of the programmable counter and the output of the delay means. A phase comparator (
3a, 3b), an up/down counter (6a, 6b) that counts up or counts down in accordance with the leading or lagging pulse of the phase comparator; An automatic clock pulse adjustment circuit comprising a decoder (5a, 5b) for selecting one of the delay amounts, and automatically adjusting the generation timing of the clock pulse set by the programmable counter.
JP62032476A 1987-02-17 1987-02-17 Automatic control circuit for clock pulse Pending JPS63200221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62032476A JPS63200221A (en) 1987-02-17 1987-02-17 Automatic control circuit for clock pulse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62032476A JPS63200221A (en) 1987-02-17 1987-02-17 Automatic control circuit for clock pulse

Publications (1)

Publication Number Publication Date
JPS63200221A true JPS63200221A (en) 1988-08-18

Family

ID=12360032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62032476A Pending JPS63200221A (en) 1987-02-17 1987-02-17 Automatic control circuit for clock pulse

Country Status (1)

Country Link
JP (1) JPS63200221A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04309107A (en) * 1991-04-08 1992-10-30 Nec Ic Microcomput Syst Ltd Semiconductor integrated circuit
JPH053423A (en) * 1990-09-18 1993-01-08 Fujitsu Ltd Reference delay generator and electronic device using the same
US5963107A (en) * 1997-11-14 1999-10-05 Mitsubishi Denki Kabushiki Kaisha Pulse-width modulation signal generator
US6020773A (en) * 1997-11-14 2000-02-01 Mitsubishi Denki Kabushiki Kaisha Clock signal generator for generating a plurality of clock signals with different phases, and clock phase controller using the same
KR100471014B1 (en) * 2001-05-24 2005-03-08 엔이씨 일렉트로닉스 가부시키가이샤 Clock control circuit
US6934871B2 (en) * 2001-05-17 2005-08-23 Lsi Logic Corporation Programmable counters for setting bus arbitration delays involves counting clock cycles equal to a count number loaded from a memory

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH053423A (en) * 1990-09-18 1993-01-08 Fujitsu Ltd Reference delay generator and electronic device using the same
JPH04309107A (en) * 1991-04-08 1992-10-30 Nec Ic Microcomput Syst Ltd Semiconductor integrated circuit
US5963107A (en) * 1997-11-14 1999-10-05 Mitsubishi Denki Kabushiki Kaisha Pulse-width modulation signal generator
US6020773A (en) * 1997-11-14 2000-02-01 Mitsubishi Denki Kabushiki Kaisha Clock signal generator for generating a plurality of clock signals with different phases, and clock phase controller using the same
US6934871B2 (en) * 2001-05-17 2005-08-23 Lsi Logic Corporation Programmable counters for setting bus arbitration delays involves counting clock cycles equal to a count number loaded from a memory
KR100471014B1 (en) * 2001-05-24 2005-03-08 엔이씨 일렉트로닉스 가부시키가이샤 Clock control circuit

Similar Documents

Publication Publication Date Title
US9490777B2 (en) Programmable synchronous clock divider
JPS63200221A (en) Automatic control circuit for clock pulse
US7076012B2 (en) Measure-controlled delay circuit with reduced playback error
JP3183494B2 (en) Timing signal generation circuit
JP2000249747A (en) Timing signal generating circuit for semiconductor test device
TWI802300B (en) Delay-locked loop device
JPH0364208A (en) Skew correcting circuit
JP2556918Y2 (en) Waveform control circuit of IC test equipment
JPS6227912Y2 (en)
US4961207A (en) Synchronization of digital signals with alternating current
JPH04232516A (en) Clock supply system for digital and analog mixed type processor
JPS63301992A (en) Display controller
JPH01153984A (en) Superlarge integrated circuit tester
JPH04142116A (en) Variable frequency divider
JPS62257856A (en) Video data synchronizing circuit for laser printer
JPS62110320A (en) Digital pll circuit
JPH0537361A (en) Synchronous counter
JP2807337B2 (en) Drive circuit for CCD image sensor
JPH066211A (en) Reference oscillator and its control method
JPH05327484A (en) Variable divider
JPH03143020A (en) Digital pll circuit
JP2000242360A (en) Phase synchronizing circuit
JPS62213337A (en) Frame synchronizing protection system
JPS6346529A (en) Clock distributing circuit
JPH11248868A (en) Slave time piece driver with one second for leap correction