JPH031734A - Clock slip detection circuit - Google Patents
Clock slip detection circuitInfo
- Publication number
- JPH031734A JPH031734A JP1136528A JP13652889A JPH031734A JP H031734 A JPH031734 A JP H031734A JP 1136528 A JP1136528 A JP 1136528A JP 13652889 A JP13652889 A JP 13652889A JP H031734 A JPH031734 A JP H031734A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- clocks
- slip
- external clock
- rising edge
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
- H04L7/0337—Selecting between two or more discretely delayed clocks or selecting between two or more discretely delayed received code signals
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要 〕
外部より供給されるクロック源と、それに同期した通信
システムの動作クロックのスリップ検出を行うためのク
ロックスリップ検出方法に関し、位相差に関係なく正確
に且つ敏速にクロックスリップの検出を可能とするクロ
ックスリップ検出回路の11供を目的とし、
た位相の異なるn個のクロックを抽出する位相変換部と
、
該n個のクロックにより外部クロックの立ち上がり推移
を検出し、1/n周期位相のずれた各クロック間で外部
クロックの立ち上がりが検出された場合をクロンクスリ
ノプと判断しアラーム信号を出力する立ち上がり検出部
とを有するよう構成する。[Detailed Description of the Invention] [Summary] This invention relates to a clock slip detection method for detecting a slip in a clock source supplied from the outside and the operating clock of a communication system synchronized with the clock source, which can be performed accurately and quickly regardless of the phase difference. The purpose is to provide a clock slip detection circuit that can detect clock slips, and includes a phase converter that extracts n clocks with different phases, a phase converter that extracts n clocks with different phases, and detects the rise transition of an external clock using the n clocks. The apparatus is configured to include a rising edge detecting section that determines that a rising edge of an external clock is detected between clocks having a phase shift of 1/n cycle and outputs an alarm signal.
〔産業上の利用分野 ]
本発明は、外部より供給されるクロック源と、それに同
期した通信システムの動作クロックのスリップ検出を行
うためのクロックスリップ検出回路に関する。[Field of Industrial Application] The present invention relates to a clock slip detection circuit for detecting a slip in an operating clock of a communication system synchronized with an externally supplied clock source.
通信システムでは、同期した通信を行うためにその通信
網としての基準クロックが必要となる。A communication system requires a reference clock as a communication network in order to perform synchronized communication.
このため各通信端末は外部からクロックを引き込んでい
る。そして近年では各通信システムの各処理においてよ
り高信頼化の要求にともない、動作基準となっているク
ロック源の重複化が要求されている。この重複化により
、従来に比べ基準クロックが何らかの原因で異常が発生
した場合にも、前記基準クロックに同期した他のクロッ
ク源からのクロックを供給することにより、早期の異常
発見及び保守によりシステムダウン等が避けられること
になり信頼性がより高いものとなる。For this reason, each communication terminal draws in a clock from the outside. In recent years, with the demand for higher reliability in each process of each communication system, there has been a demand for duplication of clock sources that serve as operating standards. Due to this duplication, even if an abnormality occurs in the reference clock for some reason than in the past, by supplying a clock from another clock source that is synchronized with the reference clock, early detection of the abnormality and maintenance can lead to system downtime. etc. can be avoided, resulting in higher reliability.
そのため現在、複数のシステム間において相互にクロッ
ク源の供給を行う等のクロック源の重複化が行われてい
る。しかし、通信システム間でのクロックの位相が異な
ることがあり、単純にスリップ検出ができない。そこで
、位相の異なるクロックのスリップ検出を可能とする必
要がある。Therefore, clock sources are currently being duplicated, such as mutually supplying clock sources between a plurality of systems. However, the clock phases may differ between communication systems, making it impossible to simply detect a slip. Therefore, it is necessary to enable slip detection of clocks with different phases.
[従来の技術 ]
従来における位相の異なるクロックのスリップ検出のた
めの構成図を第4図に示す。また前記構成におけるタイ
ムチャートを第5図に示す。従来の方法では内部動作の
基準クロックと、外部から供給している外部クロックと
を取り出し、スリップの検出をしている。以下図面を参
照して従来の方法を説明する。[Prior Art] FIG. 4 shows a conventional configuration diagram for detecting a slip of clocks having different phases. Further, a time chart for the above configuration is shown in FIG. In the conventional method, a reference clock for internal operation and an external clock supplied from the outside are extracted to detect a slip. The conventional method will be explained below with reference to the drawings.
従来の方法は簡単にいうと、自システムの動作クロック
の立ち上がり間に外部から供給されるクロックの立ち上
がりがあるかを検出することによりクロックのスリップ
を検出するものである。Simply put, the conventional method detects a clock slip by detecting whether there is a rising edge of an externally supplied clock between rising edges of the operating clock of the own system.
従来のスリップ検出回路は3列のフィリンプフロップ(
以下FFと略す)と立ち上がり微分回路41、ナンド回
路45より構成される。■は外部からのクロック、■は
前記外部からのクロックが立ち上がり微分回路41を介
した後の信号、■はFF42のQ端子からの出力信号、
■はFF43のQ端子からの出力信号、■は内部クロッ
クの立ち上がり検出結果の信号、■はFF44のQ端子
出力、■はナンド回路45の出力信号でありアラーム制
御信号でもある。■は初期時の誤警報防止信号である。The conventional slip detection circuit consists of three columns of Phillips-flops (
(hereinafter abbreviated as FF), a rising differential circuit 41, and a NAND circuit 45. (2) is an external clock, (2) is a signal after the external clock rises and passes through the differentiation circuit 41, (2) is an output signal from the Q terminal of the FF 42,
(2) is an output signal from the Q terminal of the FF 43, (2) is a signal as a result of detection of the rising edge of the internal clock, (2) is an output from the Q terminal of the FF 44, and (2) is an output signal of the NAND circuit 45, which is also an alarm control signal. ■ is an initial false alarm prevention signal.
また■の信号は内部クロックの立ち上がり検出信号■で
、セットされ、外部クロックから抽出した■の信号の立
ち下がりでリセットされるもの、■の信号は連続リセッ
ト(FF42がリセットされ、セフ)されないうちに再
度リセット信号が入力する)を検出するもの、また■の
信号は連続セット(FF42がセットされ、リセットさ
れないうちにセット信号が入力する)を検出するもので
ある。In addition, the signal ■ is the rising edge detection signal ■ of the internal clock, which is set and reset at the falling edge of the signal ■ extracted from the external clock, and the signal ■ is the internal clock rising detection signal ■, which is reset at the fall of the signal ■ extracted from the external clock. The signal (2) detects continuous setting (the set signal is input before the FF 42 is set and is not reset).
■は内部クロックの立ち上がりクロックを示している。■ indicates the rising clock of the internal clock.
つまり、従来の方法では内部クロック又は外部クロック
によるFF42のセット又はリセットが連続して起こる
のを検出した場合をスリップ検出としてアラーム信号を
出力する構成になっているものである。That is, in the conventional method, when it is detected that the FF 42 is successively set or reset by an internal clock or an external clock, this is regarded as a slip detection and an alarm signal is output.
〔発明が解決しようとする課題 ]
前記従来のスリップ検出回路では、クロックスリップ検
出の初期状態で外部クロックと内部クロックとに位相差
がある場合は正常に動作するものであるが、仮に位相差
が全く無い場合にスリップしていない状態にも係わらず
警報を発してしまうことがある。これは位相差が全くな
い場合、FF42にセット、リセット信号が同時に人力
してしまうしことにより正常動作を妨げられるためであ
る。このため、通信システムの運用に当たっての信頼性
が著しく低下してしまうという問題を生じていた。[Problem to be Solved by the Invention] The conventional slip detection circuit described above operates normally if there is a phase difference between the external clock and the internal clock in the initial state of clock slip detection. If there is no slippage at all, an alarm may be issued even though there is no slippage. This is because if there is no phase difference at all, the set and reset signals are simultaneously applied to the FF 42, thereby preventing normal operation. This has caused a problem in that the reliability in operating the communication system is significantly reduced.
そこで本発明は、位相差に関係なく正確に且つ敏速にク
ロックスリップの検出を可能とするクロックスリップ検
出回路の提供を目的とする。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a clock slip detection circuit that can accurately and quickly detect clock slips regardless of the phase difference.
第1図に本発明の原理構成及びシステム構成図を示す。 FIG. 1 shows the principle configuration and system configuration diagram of the present invention.
図中18.19は各外部クロックを動作基準内部クロッ
クから抽出した位相の異なる複数クロックにより立ち上
がり推移を検出する立ち上がり検出部、16は動作基準
内部クロックから1/n周期位相ずらした位相異なるn
個のクロックを抽出する位相変換部である。In the figure, reference numerals 18 and 19 indicate a rising edge detection section that detects the rising transition of each external clock using multiple clocks with different phases extracted from the operating reference internal clock, and 16 indicates a rising phase n that is shifted by 1/n period from the operating reference internal clock.
This is a phase converter that extracts the clocks.
本発明は前記目的を達成するため、前記基準クロックか
らl / n周期位相をずらした位相の異なるn個のク
ロックを抽出し、該n個の各クロックにより外部クロッ
クの立ち上がり推移を検出し、各クロックで立ち上がり
推移が検出された場合をクロックスリップとするよう構
成する。In order to achieve the above object, the present invention extracts n clocks having different phases by shifting l/n cycles from the reference clock, detects the rise transition of the external clock using each of the n clocks, and detects each clock. The configuration is such that a case where a rising transition is detected in the clock is regarded as a clock slip.
(作用 〕
本発明では、位相変換器により抽出された複数クロック
に外部クロックの立し上がりを検出することになる。ま
た、内部クロックにより抽出された複数クロックで立ち
上がりが検出されないとスリップと見なさないため、内
部クロックと外部クロックとが同位相にあってもスリッ
プの誤検出がされないことになる。(Function) In the present invention, the rising edge of the external clock is detected in multiple clocks extracted by the phase converter.Furthermore, if a rising edge is not detected in the multiple clocks extracted by the internal clock, it is not considered as a slip. Therefore, even if the internal clock and the external clock are in the same phase, erroneous detection of slip will not occur.
〔実施例 ]
本発明の実施例構成図を第2図に示す。本図は位相変換
部において1/4周期位相をづらし4つのクロックを抽
出し外部クロックの立ち上がり検出を行うものである。[Embodiment] FIG. 2 shows a configuration diagram of an embodiment of the present invention. In this figure, four clocks are extracted by shifting the phase by 1/4 period in the phase conversion section, and the rising edge of the external clock is detected.
よって直列に3つ接続されたフィリップフロップ群が4
つ存在する。仮に10個のクロックを抽出した場合は直
列に3つ接続されたフィリップフロップ群が10存在す
ることになる。Therefore, there are 4 phillip flops connected in series.
There are two. If 10 clocks are extracted, there will be 10 groups of three series-connected flip-flops.
また第3図には本実施例のタイミングチャートを示す。Further, FIG. 3 shows a timing chart of this embodiment.
第2図の各入出力につけた符号が第3図に対応している
。以下図面を参照して本発明の詳細な説明する。The symbols assigned to each input/output in FIG. 2 correspond to those in FIG. 3. The present invention will be described in detail below with reference to the drawings.
本実施例の特徴は、まず内部の基準動作に使用されてい
るクロックから4つの位相の異なるクロックを抽出する
ことにある。この場合の各クロックの位相差は1/4周
期である。(図のす、g。The feature of this embodiment is that four clocks having different phases are extracted from the clock used for internal reference operation. In this case, the phase difference between each clock is 1/4 period. (Illustration, g.
1、q)次の特徴としては前記4つの各クロックにより
外部クロックの立ち上がり推移を検出することにある。1, q) The next feature is that the rise transition of the external clock is detected using each of the four clocks.
ここでの立ち上がり推移の検出方法としては、あるクロ
ックの立ち上がりと次のクロック(1/4周期位相の遅
れたクロック)の立ち上がり間に外部クロックの立ち上
がりが存在するか否かによって行うものである。Here, the rising transition is detected by determining whether or not there is a rising edge of the external clock between the rising edge of a certain clock and the rising edge of the next clock (a clock whose phase is delayed by 1/4 cycle).
第2図におけるアンド回路25〜28が前記のような2
つのクロックの立ち上がり間に外部クロックの立ち上が
りが存在するか否かを検出するものである。例えば時間
り、〜L2のように、FF21への人力クロックbが立
ち上がったときに外部クロックaが立ち上がっていなか
ったときFF21の算出力が’tli”となり、また次
OF F22では人力クロックgが立ち上がったときに
外部クロックが立ち上がっているためFF22のQ出力
が’Ili”となっている。よって前記2つの入力クロ
ック間に外部クロックの立ち上がりがあることをアンド
回路25が検出し゛旧°′出力となる。外部クロ、ツク
または内部クロックがスリップしていない場合は、4つ
のアンド回路25〜28のうち1つのみの出力が″旧′
°となって、他のアンド回路が゛旧″”出力となること
はない。実施例では立ち上がり検出開始により時間t。The AND circuits 25 to 28 in FIG.
This detects whether or not there is a rising edge of the external clock between the rising edges of the two clocks. For example, as shown in time ~L2, when the external clock a has not risen when the human clock b to the FF 21 rises, the calculation power of the FF 21 becomes 'tli', and in the next OF F22, the human clock g rises. Since the external clock is rising at this time, the Q output of the FF 22 is 'Ili'. Therefore, the AND circuit 25 detects that there is a rising edge of the external clock between the two input clocks, and outputs "old °'". If the external clock, clock or internal clock does not slip, the output of only one of the four AND circuits 25 to 28 will be "old".
°, and other AND circuits will not have the "old" output. In the embodiment, the time t is reached by the start of rising detection.
ではアンド回路28が°’tli’″となりクロックg
とり四ツクbの立ち上がりの間に外部クロックの立ち上
がりがある状態であり、信号Uがパ旧″となっている。Then, the AND circuit 28 becomes °'tli''' and the clock g
This is a state in which the external clock rises between the rises of the clock signal B, and the signal U is at a low level.
アンド回路25〜28が“’ tl i ”出力となる
、つまり外部クロックまたは内部クロックの立ち上がり
が推移し、次々にアンド回路が゛)11′”出力となる
と前記各FF群への入力クロックによりFF29〜32
に′1(i″′′出力持され、更に次入力クロックによ
りFF37〜40に”Ili”出力がリセット信号が入
力するまで保持される。これはFF37〜40が’Il
i’”出力となると自己FFのQ端子出力を排他的論理
和を介して自己FFのD端子に帰還させているため、自
己FFのQ端子の出力が’Ili”になるとそれをリセ
ット入力があるまで保持されることになる。When the AND circuits 25 to 28 output "' tl i ", that is, the rising edge of the external clock or internal clock changes, and the AND circuits output "11'" one after another, the input clock to each FF group causes the FF 29 ~32
'1 (i'''' output is held at FF37-40 until the reset signal is input. This means that FF37-40 is 'Ili' output.
i'" output, the Q terminal output of the self FF is fed back to the D terminal of the self FF via exclusive OR, so when the output of the Q terminal of the self FF becomes 'Ili", the reset input It will be retained until the end.
こうして外部クロックの立ち上がりを検出し、各FF3
7〜40のQ端子にtl i ”出力が保持されること
によりアラーム信号Wが発せられ、クロックのスリップ
を検出することになる。In this way, the rising edge of the external clock is detected, and each FF3
By holding the tli'' output at the Q terminals 7 to 40, an alarm signal W is generated, and a clock slip is detected.
本実施例では1/4周期位相をずらした4つクロックを
使用し、各クロック間で外部クロックの立ち上がりが検
出されたことをクロックスリップとしている。しかし、
例えば1/10周期位相をづらし10のクロックを使用
し、そのうち5クロック間で外部クロックの立ち上がり
を検出した場合にクロックスリップとする構成にするこ
とも可能である。その場合各FF群の3段目OFFの出
力を論理回路を介して行うことにより簡単に構成できる
。このような構成の場合光の実施例に比べ回路構成は複
雑となるが、敏速にクロックのスリップを検出できると
いう効果を有する。In this embodiment, four clocks whose phases are shifted by 1/4 period are used, and the detection of a rising edge of an external clock between each clock is defined as a clock slip. but,
For example, it is also possible to use 10 clocks whose phases are shifted by 1/10 period, and when a rising edge of the external clock is detected in 5 of them, a clock slip occurs. In that case, the structure can be easily configured by outputting the third stage OFF of each FF group via a logic circuit. Although such a configuration has a more complicated circuit configuration than the optical embodiment, it has the advantage of being able to quickly detect clock slips.
本発明により、外部クロックと内部クロックに位相差が
ないような場合でも確実にクロックスリップを検出可能
となる。また複数クロックによりそのうちのいくつかで
外部クロックの立ち上がりを検出した場合をスリップ検
出とすれば、より敏速に検出が可能となる。According to the present invention, clock slips can be reliably detected even when there is no phase difference between the external clock and the internal clock. Furthermore, if the case where the rising edge of the external clock is detected in some of the plural clocks is defined as slip detection, detection can be made more quickly.
第1図は本発明の原理構成図、
第2図は本発明における立ち上がり検出部の一実施例、
第3図は実施例におけるタイムチャート、第4図は従来
の立ち上がり検出部の構成図、第5図は従来におけるタ
イムチャートである。
図中
12・
13・
16・
18゜
・クロック選択部
・PLL回路
・位相変換部
9・・・立ち上がり検出部Fig. 1 is a diagram showing the principle of the present invention; Fig. 2 is an embodiment of the rise detection section of the present invention; Fig. 3 is a time chart in the embodiment; Fig. 4 is a block diagram of a conventional rise detection section; FIG. 5 is a conventional time chart. In the figure, 12, 13, 16, 18°, clock selection section, PLL circuit, phase conversion section 9...rise detection section
Claims (2)
ックの内の1つをクロック選択部(12)で選択し、P
LL回路(13)を介して内部の動作基準クロックを抽
出し起動している相互同期通信システムにおける、前記
基準クロックにより前記外部クロックの立ち上がり推移
を検出することにより行うクロックスリップ検出回路に
於いて、前記基準クロックから1/n周期づつ位相をず
らした位相の異なるn個のクロックを抽出する位相変換
部(16)と、 該n個のクロックにより外部クロックの立ち上がり推移
を検出し、1/n周期位相のずれた各クロック間で外部
クロックの立ち上がりが検出された場合をクロックスリ
ップと判断しアラーム信号を出力する立ち上がり検出部
(18,19)とを有することを特徴とするクロックス
リップ検出回路。(1) A plurality of clocks are supplied from the outside, one of the plurality of clocks is selected by a clock selection section (12), and P
In a clock slip detection circuit that detects the rise transition of the external clock using the reference clock in a mutually synchronous communication system that extracts and starts the internal operating reference clock via the LL circuit (13), a phase converter (16) that extracts n clocks having different phases by shifting the phase by 1/n period from the reference clock; A clock slip detection circuit comprising a rising edge detection section (18, 19) that determines a clock slip when a rising edge of an external clock is detected between clocks with a phase shift and outputs an alarm signal.
が、1/n周期づつ位相がずれた各クロック間で外部ク
ロックの立ち上がりを検出する場合に、n個のクロック
間のうちm(<n)個のクロック間で前記外部クロック
の立ち上がりが検出された場合にクロックスリップと判
断しアラーム信号を出力することを特徴とするクロック
スリップ検出回路。(2) Rising detection section (18 to 19) according to claim 1
However, when detecting the rising edge of the external clock between clocks whose phase is shifted by 1/n period, the rising edge of the external clock is detected between m (<n) clocks out of n clocks. A clock slip detection circuit is characterized in that it determines that there is a clock slip and outputs an alarm signal when the clock slip occurs.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1136528A JPH031734A (en) | 1989-05-30 | 1989-05-30 | Clock slip detection circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1136528A JPH031734A (en) | 1989-05-30 | 1989-05-30 | Clock slip detection circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH031734A true JPH031734A (en) | 1991-01-08 |
Family
ID=15177294
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1136528A Pending JPH031734A (en) | 1989-05-30 | 1989-05-30 | Clock slip detection circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH031734A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0732016A4 (en) * | 1993-12-01 | 1998-09-09 | Dsc Communications | Data phase alignment circuitry |
| JP2007132941A (en) * | 2005-11-09 | 2007-05-31 | Honeywell Internatl Inc | Asynchronous demodulation of fiber optic gyroscope |
-
1989
- 1989-05-30 JP JP1136528A patent/JPH031734A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0732016A4 (en) * | 1993-12-01 | 1998-09-09 | Dsc Communications | Data phase alignment circuitry |
| JP2007132941A (en) * | 2005-11-09 | 2007-05-31 | Honeywell Internatl Inc | Asynchronous demodulation of fiber optic gyroscope |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR920004336B1 (en) | Synchronousness detection circuit | |
| JPH0433056B2 (en) | ||
| JPH031734A (en) | Clock slip detection circuit | |
| EP0041809A2 (en) | Digital phase sequence detector | |
| US5459752A (en) | Simple digital method for controlling digital signals to achieve synchronization | |
| JP3217993B2 (en) | Parity check circuit | |
| JP2624169B2 (en) | Logic integrated circuit with scan path | |
| JP2002026885A (en) | Synchronous pattern position detection circuit | |
| EP0435311A2 (en) | Data multiplexing device | |
| JP3627545B2 (en) | CPU abnormality detection method | |
| JPS6257051A (en) | Mutual synchronizing system for multiplex system | |
| SU807307A1 (en) | Device for checking matched automatic apparatus | |
| JPS62227235A (en) | Frame synchronizing circuit | |
| JPH044631A (en) | Pn pattern detector | |
| JPH0211020A (en) | Phase synchronizing circuit | |
| SU1188740A2 (en) | Device for checking logical units | |
| SU1173415A1 (en) | Apparatus for static control of logical units | |
| JPH11212663A (en) | Clock signal interruption detecting circuit | |
| JPH03250853A (en) | Error rate measuring equipment | |
| JPS63142913A (en) | Detecting circuit for disconnection of input signal | |
| JP2004185470A (en) | Clock abnormality detection circuit | |
| JPH06208550A (en) | Barrier synchronizing device and event synchronizing device | |
| JPH0334708B2 (en) | ||
| JPH0540916U (en) | Processor | |
| JPH04245734A (en) | synchronous circuit |