JPH1146189A - Clock phase synchronization circuit - Google Patents

Clock phase synchronization circuit

Info

Publication number
JPH1146189A
JPH1146189A JP9200677A JP20067797A JPH1146189A JP H1146189 A JPH1146189 A JP H1146189A JP 9200677 A JP9200677 A JP 9200677A JP 20067797 A JP20067797 A JP 20067797A JP H1146189 A JPH1146189 A JP H1146189A
Authority
JP
Japan
Prior art keywords
clock
signal
counting
synchronization
reset
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.)
Withdrawn
Application number
JP9200677A
Other languages
Japanese (ja)
Inventor
Takahiro Sakamoto
隆弘 阪本
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP9200677A priority Critical patent/JPH1146189A/en
Publication of JPH1146189A publication Critical patent/JPH1146189A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the clock phase synchronization circuit by which phases of clock signals generated through frequency division at a clock control section such as a data transmission terminal station equipment of a dual system or the like are always synchronously with each other. SOLUTION: Clock pulses CP0, CP1 with 64 kHz of 0 and 1 systems are frequency-divided into 1/512 by synchronization counters 120 , 121 and clock signals CK0, CK1 with 125 kHz are outputted from respective output terminals Q9. On the other hand, counts CNT0, CNT1 of the synchronization counters 120 , 121 are given respectively to ANDs 130 , 131 and synchronizing signals SYN0, SYN1 are outputted when the value of the ANDs 130 , 131 reach 511. The synchronizing signals SYN0, SYN1 are given to selectors 140 , 141 and the synchronization counters 120 , 121 are reset by the synchronizing signals SYN0, SYN1 selected by a selection signal SEL.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、2重系で構成され
るデータ伝送端局装置等において、2つのクロック供給
部から供給されるクロック信号の位相を同期させるため
の、クロック位相同期回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock phase synchronizing circuit for synchronizing the phases of clock signals supplied from two clock supply units in a data transmission terminal device or the like constituted by a double system. Things.

【0002】[0002]

【従来の技術】図2は、従来の2重系のデータ伝送端局
装置におけるクロック供給系統の一例を示す系統図であ
る。このデータ伝送端局装置は、伝送路1を通して送
られて来る伝送信号TS0から、2.048MHzのシ
ステムクロックSC0及び8kHzのフレームパルスF
P0を抽出するとともに、抽出したシステムクロックS
C0を分周して125Hzのクロック信号CK0を生成
する0系のクロック制御部2を有している。また、こ
のデータ伝送端局装置は、伝送路1を通して送られて
来る伝送信号TS1から、2.048MHzのシステム
クロックSC1及び8kHzのフレームパルスFP1を
抽出するとともに、抽出したシステムクロックSC1を
分周して125Hzのクロック信号CK1を生成する1
系のクロック制御部2を有している。0系のクロック
制御部2で抽出されたシステムクロックSC0及びフ
レームパルスFP0と、生成されたクロック信号CK0
は、このデータ伝送端局装置における、例えば、信号処
理部3等に与えられている。一方、1系のクロック制御
部2で抽出されたシステムクロックSC1及びフレー
ムパルスFP1と、生成されたクロック信号CK1も、
同様に信号処理部3に与えられている。信号処理部3で
は、2つのクロック制御部2,2から与えられる信
号のうち、選択信号SELで指定された信号に基づい
て、信号処理を行うようになっている。
2. Description of the Related Art FIG. 2 is a system diagram showing an example of a clock supply system in a conventional dual data transmission terminal equipment. The data transmission terminal apparatus from the transmission signal TS0 sent through the transmission line 1 0, frame pulse F of the system clock SC0 and 8kHz of 2.048MHz
P0 is extracted and the extracted system clock S
C0 and divides has a clock control unit 2 0 0-system for generating a clock signal CK0 of 125 Hz. This data transmission terminal apparatus, from the transmission signal TS1 sent through the transmission line 1 1, extracts the frame pulse FP1 of the system clock SC1 and 8kHz of 2.048 MHz, the extracted system clock SC1 division To generate a 125 Hz clock signal CK1
And a clock control unit 2 1 system. 0-system and the clock control unit 2 0 system clocks SC0 and frame pulse FP0 extracted with, the generated clock signal CK0
Are given to, for example, the signal processing unit 3 in the data transmission terminal station device. Meanwhile, the 1-system clock control section 2 1 system clock SC1 and frame pulse FP1 extracted with, was also generated clock signal CK1,
Similarly, it is provided to the signal processing unit 3. In the signal processing section 3, one of the two clock control unit 2 0, 2 1 signal supplied from, based on the specified by the selection signal SEL signal, and performs signal processing.

【0003】このようなデータ伝送端局装置において、
例えば、伝送路1の方が伝送路1よりも優先度が高
く設定されている場合、常時は選択信号SELによって
クロック制御部2が指定されるようになっている。そ
して、信号処理部3は、クロック制御部2から与えら
れるシステムクロックSC0、フレームパルスFP0、
及びクロック信号CK0に基づいて信号処理を行う。こ
こで、0系の伝送路1またはクロック制御部2に障
害が発生した場合、選択信号SELによって1系のクロ
ック制御部2に指定が変更され、信号処理部3は、こ
のクロック制御部2から与えられるシステムクロック
SC1、フレームパルスFP1、及びクロック信号CK
1に基づいて信号処理を行うように切り替えられる。こ
のようにして、信号処理部3は伝送路1,1や、ク
ロック制御部2,2の障害にかかわらず、処理を継
続することができるようになっている。
In such a data transmission terminal station device,
For example, towards the transmission line 1 0 is so if set higher priority than the transmission line 1 1, the clock control unit 2 0 by the selection signal SEL is at all times be specified. Then, the signal processing section 3, a system clock SC0 given from the clock control unit 2 0, frame pulse FP0,
And signal processing based on the clock signal CK0. Here, if a failure occurs in the transmission path 1 0 or clock control unit 2 0 0 system is changed specified to the clock control unit 2 1 of 1 system by the selection signal SEL, the signal processing section 3, the clock control system clock SC1 supplied from part 2 1, a frame pulse FP1, and the clock signal CK
1 to perform signal processing. In this manner, the signal processing unit 3 and the transmission line 1 0, 1 1, regardless of the clock control unit 2 0, 2 1 of disorders, and is capable to continue the process.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
2重系のデータ伝送端局装置等のクロック供給系統で
は、次のような課題があった。即ち、クロック制御部2
,2は、それぞれ抽出した2.048MHzのシス
テムクロック信号SC0,SC1を分周して、独自に1
25Hzのクロック信号CK0,CK1を生成してい
る。従って、クロック制御部2,2における分周の
開始タイミングは一致していないので、通常、2つのク
ロック信号CK0,CK1の位相は異なっている。この
ため、信号処理部3において、クロック制御部2から
クロック制御部2に切り替えが生じたときに、クロッ
ク信号CK1の同期外れが生じて、誤動作やデータ誤り
が生ずるという課題があった。本発明は、前記従来技術
が持っていた課題を解決し、2重系のデータ伝送端局装
置等のクロック制御部2,2でそれぞれ分周して生
成されるクロック信号CK0,CK1等の位相を常に同
期させることができるクロック位相同期回路を提供する
ものである。
However, a conventional clock supply system such as a dual data transmission terminal equipment has the following problems. That is, the clock control unit 2
0, 2 1, a system clock signal SC0, SC1 of 2.048MHz extracted respectively by dividing, independently 1
The clock signals CK0 and CK1 of 25 Hz are generated. Therefore, the start timing of the divided in the clock control section 2 0, 2 1, so do not match, usually, the two clock signals CK0, CK1 phase are different. Therefore, the signal processing unit 3, when the switching from the clock control unit 2 0 to the clock control unit 2 1 occurs, desynchronization occurs in the clock signal CK1, there is a problem that malfunction or data error occurs. The present invention, the prior art to solve the problems which had a double system of the data transmission terminal apparatus such as the clock control unit 2 0, 2 1 clock signal generated by each division CK0, CK1, etc. And a clock phase synchronizing circuit capable of always synchronizing the phase of the clock phase.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するた
め、本発明は、クロック位相同期回路において、次のよ
うな第1及び第2のカウント手段と、第1及び第2の計
数判定手段と、第1及び第2の選択手段とを備えてい
る。第1のカウント手段は、一定周期で与えられる第1
のクロックパルスを一定の初期値から順次計数してその
計数結果を出力するとともに、該計数結果に基づいて該
一定周期の複数倍の周期を有する第1のクロック信号を
出力し、第1のリセット信号が与えられたときには該計
数結果を該一定の初期値に再設定するものである。第1
の計数判定手段は、前記第1のカウント手段の計数結果
が与えられ、該計数結果が特定の値になったときに第1
の同期信号を出力するものである。第2のカウント手段
は、前記第1のクロックパルスと同一の一定周期で与え
られる第2のクロックパルスを前記一定の初期値から順
次計数してその計数結果を出力するとともに、該計数結
果に基づいて前記第1のクロック信号と同一の周期を有
する第2のクロック信号を出力し、第2のリセット信号
が与えられたときには該計数結果を該一定の初期値に再
設定するものである。
According to the present invention, there is provided a clock phase synchronization circuit comprising: a first and a second counting means; a first and a second counting determining means; , First and second selecting means. The first counting means includes a first counting means provided at a constant cycle.
Are sequentially counted from a fixed initial value, and the counting result is output. A first clock signal having a cycle that is a multiple of the fixed cycle is output based on the counting result, and a first reset is performed. When a signal is given, the counting result is reset to the constant initial value. First
Counting determination means is provided with the counting result of the first counting means, and when the counting result reaches a specific value,
Is output. The second counting means sequentially counts the second clock pulse given at the same constant cycle as the first clock pulse from the fixed initial value, outputs the counting result, and outputs the counting result based on the counting result. A second clock signal having the same cycle as the first clock signal is output, and when a second reset signal is applied, the counting result is reset to the constant initial value.

【0006】第2の計数判定手段は、前記第2のカウン
ト手段の計数結果が与えられ、該計数結果が前記特定の
値になったときに第2の同期信号を出力するものであ
る。第1の選択手段は、前記第1及び第2の同期信号が
与えられ、選択信号に基づいて該第1または第2の同期
信号を選択して前記第1のカウント手段に対する前記第
1のリセット信号として出力するものである。そして、
第2の選択手段は、前記第1及び第2の同期信号が与え
られ、前記選択信号に基づいて該第1または第2の同期
信号を選択して前記第2のカウント手段に対する前記第
2のリセット信号として出力するものである。本発明に
よれば、以上のようにクロック位相同期回路を構成した
ので、次のような作用が行われる。
The second counting means is provided with the counting result of the second counting means, and outputs a second synchronizing signal when the counting result reaches the specific value. The first selector is provided with the first and second synchronization signals, selects the first or second synchronization signal based on the selection signal, and performs the first reset on the first counter. It is output as a signal. And
The second selector is provided with the first and second synchronization signals, selects the first or second synchronization signal based on the selection signal, and selects the second or the second synchronization signal with respect to the second counter. It is output as a reset signal. According to the present invention, since the clock phase synchronization circuit is configured as described above, the following operation is performed.

【0007】一定周期で与えられる第1のクロックパル
スが第1のカウント手段に与えられ、この第1のカウン
ト手段によってそのクロックパルスが計数される。第1
のカウント手段の計数結果は第1の計数判定手段に与え
られ、この計数結果が特定の値になると、この第1の計
数判定手段から第1の同期信号が出力される。一方、第
1のクロックパルスと同じ一定周期の第2のクロックパ
ルスが第2のカウント手段に与えられ、この第2のカウ
ント手段によってそのクロックパルスが計数される。第
2のカウント手段の計数結果は第2の計数判定手段に与
えられ、この計数結果が特定の値になると、この第2の
計数判定手段から第2の同期信号が出力される。第1及
び第2の同期信号は、ともに第1及び第2の選択手段に
与えられており、第1及び第2の選択手段は、同じ選択
信号に基づいて、第1または第2の同期信号を選択し
て、それぞれ第1及び第2のリセット信号として出力す
る。第1の選択手段から出力される第1のリセット信号
によって、第1のカウント手段の計数結果が一定の初期
値にリセットされる。また、第2の選択手段から出力さ
れる第2のリセット信号によって、第2のカウント手段
の計数結果が同じく一定の初期値にリセットされる。
A first clock pulse applied at a constant period is applied to a first counting means, and the clock pulse is counted by the first counting means. First
The counting result of the counting means is given to the first counting and judging means, and when this counting result becomes a specific value, the first counting and judging means outputs the first synchronization signal. On the other hand, a second clock pulse having the same fixed period as the first clock pulse is given to the second counting means, and the clock pulses are counted by the second counting means. The counting result of the second counting means is given to the second counting judging means, and when the counting result becomes a specific value, the second counting judging means outputs the second synchronization signal. The first and second synchronization signals are both provided to the first and second selection means, and the first and second selection means receive the first or second synchronization signal based on the same selection signal. And outputs them as the first and second reset signals, respectively. The count result of the first counting means is reset to a constant initial value by a first reset signal output from the first selecting means. Also, the count result of the second counting means is reset to the same initial value by the second reset signal output from the second selecting means.

【0008】[0008]

【発明の実施の形態】図1は、本発明の実施形態を示す
クロック位相同期回路の構成図である。このクロック位
相同期回路は、0系のクロック制御部10と、1系の
クロック制御部10とで構成されている。これらのク
ロック制御部10,10は、同様の構成となってお
り、0系のクロック制御部10は、2.048MHz
のシステムクロックSC0及び8kHzのフレームパル
スFP0が与えられる分周カウンタ11を有してい
る。分周カウンタ11は、システムクロックSC0を
1/32に分周して、フレームパルスFP0に同期した
64kHzの第1のクロックパルスCP0を生成するも
のである。分周カウンタ11の出力側は、第1のカウ
ント手段(例えば、同期カウンタ)12のクロック端
子Cに接続されている。同期カウンタ12は、クロッ
ク端子Cに与えられるクロックパルスCP0の立ち上が
り毎に、その出力端子Q1〜Q9に出力される2進数の
カウント値CNT0を1ずつ増加させるものである。ま
た、同期カウンタ12は、リセット端子Rを有してお
り、このリセット端子Rに与えられるリセット信号RS
T0がレベル“H”のときに、クロックパルスCP0の
立ち上がりに同期して、その出力端子Q1〜Q9の出力
信号をすべてレベル“L”(即ち、2進数の0)にリセ
ットする機能を有している。そして、同期カウンタ12
の出力端子Q9から、64kHzのクロックパルスC
P0を1/512に分周した125Hzの第1のクロッ
ク信号CK0が出力されるようになっている。
FIG. 1 is a configuration diagram of a clock phase synchronization circuit showing an embodiment of the present invention. The clock phase synchronization circuit includes a clock control unit 10 0 0 system, and a 1-system and the clock control unit 10 1. These clock control unit 10 0, 10 1, have the same configuration, the clock control unit 10 0 0 system is 2.048 MHz
System clock SC0 and frame pulse FP0 of 8kHz of has a dividing counter 11 0 is given. Dividing counter 11 0, the system clock SC0 and peripheral 1/32 binary, and generates a first clock pulse CP0 of 64kHz synchronized with the frame pulse FP0. The output side of the dividing counter 11 0, first counting means connected to (e.g., synchronization counter) 12 0 of the clock terminal C. Synchronous counter 12 0, for each rising edge of the clock pulse CP0 applied to the clock terminal C, and increases the binary count value CNT0 output to the output terminal Q1~Q9 by one. Further, the synchronous counter 120 has a reset terminal R, and a reset signal RS applied to the reset terminal R.
When T0 is at the level "H", a function of resetting all the output signals of the output terminals Q1 to Q9 to the level "L" (that is, binary 0) in synchronization with the rise of the clock pulse CP0. ing. And the synchronization counter 12
From the output terminal Q9 of 0 , the clock pulse C of 64 kHz
A 125 Hz first clock signal CK0 obtained by dividing P0 by 1/512 is output.

【0009】また、同期カウンタ12の出力端子Q1
〜Q9は、第1の計数判定手段(例えば、9入力の論理
積ゲート、以下、「AND」という)13の各入力端
子に接続されている。AND13の出力側は、第1の
選択手段(例えば、セレクタ)14の入力端子Aに接
続されている。セレクタ14は、もう1つの入力端子
Bを有しており、選択端子Sに与えられる選択信号SE
Lが“H”のときには入力端子A側の入力信号を選択
し、選択信号SELが“L”のときには入力端子B側の
入力信号を選択して,出力端子Xに出力するものであ
る。セレクタ14の出力端子Xは、同期カウンタ12
のリセット端子Rに接続されている。同様に、1系の
クロック制御部10は、2.048MHzのシステム
クロックSC1及び8kHzのフレームパルスFP1が
与えられ、このシステムクロックSC1を1/32に分
周して、64kHzの第2のクロックパルスCP1を生
成するる分周カウンタ11を有している。分周カウン
タ11の出力側は、第2のカウント手段(例えば、同
期カウンタ)12のクロック端子Cに接続されてい
る。そして、同期カウンタ121の出力端子Q9から、
64kHzのクロックパルスCP1を1/512に分周
した125Hzの第2のクロック信号CK1が出力され
るようになっている。
[0009] In addition, the output terminal Q1 of the synchronous counter 12 0
~Q9 the first counting determination means (e.g., 9 input AND gate, hereinafter referred to as "AND") is connected to the input terminals of 0 13. AND13 output of 0, the first selection means (e.g., a selector) is connected to the input terminal A of 14 0. The selector 14 0 has another input terminal B, the selection signal SE applied to the selection terminal S
When L is "H", the input signal on the input terminal A side is selected, and when the selection signal SEL is "L", the input signal on the input terminal B side is selected and output to the output terminal X. Output terminal X of the selector 14 0, synchronous counter 12
0 is connected to the reset terminal R. Similarly, 1-system clock control section 10 1 of the given frame pulse FP1 of the system clock SC1 and 8kHz of 2.048 MHz, the system clock SC1 and peripheral 1/32 binary, a second clock 64kHz and a dividing counter 11 1 Ruru to generate a pulse CP1. The output side of the dividing counter 11 1, the second counting means is connected to (e.g., synchronization counter) 12 1 of the clock terminal C. Then, from the output terminal Q9 of the synchronous counter 121,
A 125 Hz second clock signal CK1 obtained by dividing the 64 kHz clock pulse CP1 by 1/512 is output.

【0010】また、同期カウンタ12の出力端子Q1
〜Q9は、第2の計数判定手段(例えば、9入力のAN
D13の各入力端子に接続されている。AND13
の出力側は、第2の選択手段(例えば、セレクタ)14
の入力端子Bに接続されるとともに、0系のクロック
制御部10におけるセレクタ14の入力端子Bに接
続されている。また、セレクタ14の入力端子Aに
は、0系のクロック制御部10におけるAND13
の出力側が接続されており、その選択端子Sには、前記
選択信号SELが与えられている。そして、セレクタ1
の出力端子Xは、同期カウンタ12のリセット端
子Rに接続されている。図3は、図1のクロック位相同
期回路の動作シーケンスを示すタイムチャートである。
以下、図3を参照しつつ、図1のクロック位相同期回路
の動作を説明する。例えば、選択信号SELがレベル
“H”に設定されて、0系のクロック制御部10が動
作系に指定されているとする。
[0010] In addition, the output terminal Q1 of the synchronous counter 12 1
To Q9 are second count determining means (for example, a 9-input AN
They are connected to respective input terminals of D13 1. AND13 1
Output side is a second selection means (for example, a selector) 14
It is connected to one input terminal B, and is connected to an input terminal B of the selector 14 0 in the clock controller 10 0 of the 0-system. Further, to the input terminal A of the selector 14 1, 0 AND13 in the clock controller 10 0 of the 0-system
Are connected to one another, and the selection signal SEL is given to the selection terminal S thereof. And selector 1
4 first output terminal X is connected to the reset terminal R of the synchronous counter 12 1. FIG. 3 is a time chart showing an operation sequence of the clock phase synchronization circuit of FIG.
Hereinafter, the operation of the clock phase synchronization circuit of FIG. 1 will be described with reference to FIG. For example, the selection signal SEL is set to level "H", the clock controller 10 0 of the 0-system are specified in the operating system.

【0011】0系のクロック制御部10の分周カウン
タ11で生成された64kHzのクロックパルスCP
0は、同期カウンタ12のクロック端子Cに与えら
れ、このクロックパルスCP0の立ち上がり毎に、出力
端子Q1〜Q9に出力される計数結果のカウント値CN
T0は、0から順次1づつ増加する。そして、カウント
値CNT0が511、即ち、出力端子Q1〜Q9がすべ
て“H”になると、AND13から出力される同期信
号SYN0は“H”となる。同期信号SYN0は、セレ
クタ14の入力端子Aに接続されており、選択信号S
ELがレベル“H”に設定されているので、この同期信
号SYN0がリセット信号RST0として、同期カウン
タ12のリセット端子Rに与えられる。これにより、
同期カウンタ12はリセットされ、そのカウント値C
NT0が、初期値0に再設定される。このような繰り返
しにより、64kHzのクロックパルスCP0は、1/
512に分周され、同期カウンタ12の出力端子Q9
からデューティ比50%、周波数125Hzのクロック
信号CK0が出力される。
[0011] of 64kHz generated by dividing counter 11 0 of the clock controller 10 0 of the 0-system clock pulse CP
0 is given to the clock terminal C of the synchronous counter 12 0, for each rising edge of the clock pulse CP0, the count value CN of the counting result is output to the output terminal Q1~Q9
T0 increases by one sequentially from 0. Then, the count value CNT0 is 511, i.e., the output terminal Q1~Q9 all become "H", the synchronization signals SYN0 output from AND13 0 becomes "H". Synchronizing signals SYN0 is connected to the input terminal A of the selector 14 0, the selection signal S
Since EL is set to level "H", the synchronization signal SYN0 is as a reset signal RST0, applied to the reset terminal R of the synchronous counter 12 0. This allows
The synchronous counter 120 is reset, and its count value C
NT0 is reset to the initial value 0. By such repetition, the clock pulse CP0 of 64 kHz becomes 1 /
512 is frequency division, the output terminal Q9 of the synchronous counter 12 0
Outputs a clock signal CK0 having a duty ratio of 50% and a frequency of 125 Hz.

【0012】一方、1系のクロック制御部10のセレ
クタ14の入力端子Aには、0系のクロック制御部1
のAND13の同期信号SYN0が与えられてい
る。セレクタ14の選択端子Sには、レベル“H”の
選択信号SELが与えられているので、同期信号SYN
0が同期カウンタ12に対するリセット信号RST1
として選択されて与えられる。従って、0系の同期カウ
ンタ12と、1系の同期カウンタ12は、同期信号
SYN0によって同じタイミングでリセットされること
になる。このため、クロック信号CK0,CK1は、位
相の同期した周波数125Hzのクロック信号となる。
同様に、AND13,13からそれぞれ出力される
同期信号SYN0,SYN1も、タイミングの一致した
信号となっている。ここで、例えば、0系のシステムク
ロックSC0に障害が発生して、選択信号SELによっ
て、0系から1系に切り替えられたとする。これによ
り、セレクタ14,14の入力端子B側が選択され
て、今度は、同期信号SYN1が同期カウンタ12
12のリセット信号RST0,RST1として与えら
れる。このとき、同期信号SYN0,SYN1は、タイ
ミングの一致した信号となっているので、クロック信号
CK0,CK1の位相は全く変化せず、安定したクロッ
ク信号CK0,CK1の供給が継続される。
Meanwhile, the 1-system input terminal A of the clock control section 10 1 of the selector 14 1, the 0-system clock control unit 1
0 0 of AND13 0 of the synchronization signal SYN0 is given. The selection terminal S of the selector 14 1, since the selection signal SEL of the level "H" is given, the synchronization signal SYN
0 reset signal RST1 is for synchronous counter 12 1
Is given and selected. Accordingly, the synchronous counter 12 0 0 system, synchronous counter 12 1 of 1 system will be reset at the same timing by the synchronization signal SYN0. For this reason, the clock signals CK0 and CK1 are clock signals with a frequency of 125 Hz whose phases are synchronized.
Similarly, the synchronization signals SYN0 and SYN1 output from the ANDs 13 0 and 13 1 are signals whose timings match. Here, for example, it is assumed that a failure occurs in the system clock SC0 of the system 0 and the system is switched from the system 0 to the system 1 by the selection signal SEL. As a result, the input terminals B of the selectors 14 0 and 14 1 are selected, and this time, the synchronization signal SYN 1 is output to the synchronization counters 12 0 and 14 1 .
It is given as 12 1 of the reset signal RST0, RST1. At this time, since the synchronizing signals SYN0 and SYN1 have the same timing, the phases of the clock signals CK0 and CK1 do not change at all, and the supply of the stable clock signals CK0 and CK1 is continued.

【0013】このように、本実施形態のクロック位相同
期回路において、0系のクロック制御部10と1系の
クロック制御部10は、同一の選択信号SELに基づ
いて、それぞれ0系及び1系の同期信号SYN1,SY
N0の中から、リセット信号RST0,RST1を選択
するためのセレクタ14,14を有している。これ
により、2つのクロック制御部10,10は、常に
選択信号SELで指定される動作系の同期信号SYN0
またはSYN1に強制的に同期がとられるので、いつ選
択信号SELによって動作系の変更が行われてもタイミ
ングが変化することなく、安定したクロック信号CK
0,CK1を継続して供給することができる。
[0013] Thus, in clock phase synchronization circuit of the present embodiment, the 0-system clock controller 10 0 and 1-system clock control section 10 1 of based on the same selection signal SEL, respectively the 0-system and 1 System synchronization signals SYN1, SY
From among N0, and a selector 14 0, 14 1 for selecting the reset signal RST0, RST1. As a result, the two clock control units 10 0 and 10 1 always output the synchronization signal SYN0 of the operation system specified by the selection signal SEL.
Alternatively, since the operation is forcibly synchronized with SYN1, the timing does not change even when the operation system is changed by the selection signal SEL, and the stable clock signal CK is obtained.
0, CK1 can be continuously supplied.

【0014】なお、本発明は、上記実施形態に限定され
ず、種々の変形が可能である。この変形例としては、例
えば、次の(a)〜(c)のようなものがある。 (a) システムクロックSC0,SC1の周波数や、
分周して生成するクロック信号CK0,CK1の周波数
は、上記実施形態の周波数に限定されず、整数の分周比
であれば、どのような周波数の組み合わせに対しても適
用可能である。 (b) システムクロックSC0,SC1の周波数によ
っては、分周カウンタ11,11を省略することも
可能である。 (c) 0系及び1系の個別のセレクタ14,14
に代えて、共通のセレクタ14を設け、このセレクタ1
4で選択されたリセット信号RSTを、0系及び1系の
同期カウンタ12,12のリセット端子Rに共通に
与えるようにしても良い。これにより、回路構成を簡素
化することができる。
It should be noted that the present invention is not limited to the above embodiment, and various modifications are possible. For example, there are the following modifications (a) to (c). (A) The frequency of the system clocks SC0 and SC1,
The frequencies of the clock signals CK0 and CK1 generated by frequency division are not limited to the frequencies of the above-described embodiment, and can be applied to any combination of frequencies as long as the frequency is an integer frequency division ratio. Depending frequency (b) the system clock SC0, SC1, it is also possible to omit the dividing counter 11 0, 11 1. (C) Separate selectors 14 0 , 14 1 for system 0 and system 1
, A common selector 14 is provided.
The reset signal RST selected in 4 may be commonly applied to the reset terminals R of the 0-system and 1-system synchronization counters 12 0 , 12 1 . Thus, the circuit configuration can be simplified.

【0015】[0015]

【発明の効果】以上詳細に説明したように、本発明によ
れば、第1の計数判定手段から出力される第1の同期信
号と、第2の計数判定手段から出力される第2の同期信
号を、同一の選択信号で選択する第1及び第2の選択手
段を有している。そして、これらの第1及び第2の選択
手段で選択された第1または第2の同期信号によって、
第1及び第2のカウント手段がリセットされるようにな
っている。これにより、第1及び第2のカウント手段
は、常に同時にリセットされるので、これらの第1及び
第2のカウント手段から出力される第1及び第2のクロ
ック信号として、常に同期した信号を得ることができ
る。
As described above in detail, according to the present invention, the first synchronization signal output from the first counting and judging means and the second synchronization signal output from the second counting and judging means. It has first and second selection means for selecting a signal with the same selection signal. Then, according to the first or second synchronization signal selected by the first and second selection means,
The first and second counting means are reset. As a result, the first and second counting means are always reset at the same time, so that a synchronized signal is always obtained as the first and second clock signals output from the first and second counting means. be able to.

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

【図1】本発明の実施形態を示すクロック位相同期回路
の構成図である。
FIG. 1 is a configuration diagram of a clock phase synchronization circuit according to an embodiment of the present invention.

【図2】従来のデータ伝送端局装置におけるクロック供
給系統の一例を示す系統図である。
FIG. 2 is a system diagram showing an example of a clock supply system in a conventional data transmission terminal device.

【図3】図1の動作シーケンスを示すタイムチャートで
ある。
FIG. 3 is a time chart showing an operation sequence of FIG. 1;

【符号の説明】 10,10 クロック制御部 12,12 同期カウンタ 13,13 AND 14,14 セレクタ CK0,CK1 クロック信号 CP0,CP1 クロックパルス RST0,RST1 リセット信号 SEL 選択信号 SYN0,SYN1 同期信号[Description of reference numerals] 10 0, 10 1 clock controller 12 0, 12 1 synchronous counter 13 0, 13 1 the AND 14 0, 14 1 selector CK0, CK1 clock signal CP0, CP1 clock pulse RST0, RST1 reset signal SEL selection signal SYN0, SYN1 Synchronous signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 一定周期で与えられる第1のクロックパ
ルスを一定の初期値から順次計数してその計数結果を出
力するとともに、該計数結果に基づいて該一定周期の複
数倍の周期を有する第1のクロック信号を出力し、第1
のリセット信号が与えられたときには該計数結果を該一
定の初期値に再設定する第1のカウント手段と、 前記第1のカウント手段の計数結果が与えられ、該計数
結果が特定の値になったときに第1の同期信号を出力す
る第1の計数判定手段と、 前記第1のクロックパルスと同一の一定周期で与えられ
る第2のクロックパルスを前記一定の初期値から順次計
数してその計数結果を出力するとともに、該計数結果に
基づいて前記第1のクロック信号と同一の周期を有する
第2のクロック信号を出力し、第2のリセット信号が与
えられたときには該計数結果を該一定の初期値に再設定
する第2のカウント手段と、 前記第2のカウント手段の計数結果が与えられ、該計数
結果が前記特定の値になったときに第2の同期信号を出
力する第2の計数判定手段と、 前記第1及び第2の同期信号が与えられ、選択信号に基
づいて該第1または第2の同期信号を選択して前記第1
のカウント手段に対する前記第1のリセット信号として
出力する第1の選択手段と、 前記第1及び第2の同期信号が与えられ、前記選択信号
に基づいて該第1または第2の同期信号を選択して前記
第2のカウント手段に対する前記第2のリセット信号と
して出力する第2の選択手段とを、 備えたことを特徴とするクロック位相同期回路。
A first clock pulse provided at a constant period, which is sequentially counted from a predetermined initial value, and a counting result is output; based on the counting result, a first clock pulse having a period that is a multiple of the predetermined period is obtained. 1 clock signal and the first
The first counting means for resetting the counting result to the constant initial value when the reset signal is given, and the counting result of the first counting means is given, and the counting result becomes a specific value. A first count judging means for outputting a first synchronizing signal when the second clock pulse given in the same fixed cycle as the first clock pulse is sequentially counted from the fixed initial value. Outputting a counting result, outputting a second clock signal having the same cycle as the first clock signal based on the counting result, and when the second reset signal is given, the counting result is set to the fixed value. A second counting means for resetting the count value to an initial value, and a second synchronization means for outputting a second synchronization signal when the counting result of the second counting means becomes the specific value. Judgment of counting Stage and said first and second synchronizing signal is provided, the first to select the first or the second synchronizing signal based on the selection signal
First selecting means for outputting as the first reset signal to the counting means, and the first and second synchronizing signals are provided, and the first or second synchronizing signal is selected based on the selecting signal. And a second selecting means for outputting as the second reset signal to the second counting means.
JP9200677A 1997-07-28 1997-07-28 Clock phase synchronization circuit Withdrawn JPH1146189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9200677A JPH1146189A (en) 1997-07-28 1997-07-28 Clock phase synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9200677A JPH1146189A (en) 1997-07-28 1997-07-28 Clock phase synchronization circuit

Publications (1)

Publication Number Publication Date
JPH1146189A true JPH1146189A (en) 1999-02-16

Family

ID=16428418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9200677A Withdrawn JPH1146189A (en) 1997-07-28 1997-07-28 Clock phase synchronization circuit

Country Status (1)

Country Link
JP (1) JPH1146189A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6326824B1 (en) 1999-11-10 2001-12-04 Fujitsu Limited Timing synchronizing system, devices used in the system, and timing synchronizing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6326824B1 (en) 1999-11-10 2001-12-04 Fujitsu Limited Timing synchronizing system, devices used in the system, and timing synchronizing method

Similar Documents

Publication Publication Date Title
JPH0773219B2 (en) Parallel-serial converter
JPH0519892A (en) Variable clock frequency dividing circuit
KR100195855B1 (en) Clock synchronization scheme for fractional multiplication systems
JPH0683197B2 (en) Tri-polymer clock distribution device used when each clock signal contains a sync signal
JPH1146189A (en) Clock phase synchronization circuit
CN1913720B (en) Clock pulse generating circuit
US5937339A (en) Frequency-selection device provided with a lock-on detector
JP3288192B2 (en) Synchronous clock circuit
JP3132657B2 (en) Clock switching circuit
US5969550A (en) Method and apparatus for mutual synchronization of ASIC devices
KR100456976B1 (en) Data Transceiving System and Method in Time Division Multiplex Bus
JPH08329000A (en) Information processor
JP4182422B2 (en) Communication control device
JPH04268841A (en) Mutual synchronization device
US20060139075A1 (en) Delay locked loop using synchronous mirror delay
JP3505479B2 (en) Multiple synchronizers and clock branching / dividing devices
JPH10322324A (en) Clock adjustment circuit
JP2628564B2 (en) Phase locked loop circuit and signal transmitting / receiving device
JPH1168726A (en) Clock changeover circuit
JP3589752B2 (en) Frame synchronization circuit
JP4476039B2 (en) Data delivery circuit
JP2716294B2 (en) System switching method
SU1128376A1 (en) Device for synchronizing pulses
JP2018207197A (en) Clock redundant system
JPH0774622A (en) Pulse supply device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041005