JP2004015659A - Pll controller - Google Patents

Pll controller Download PDF

Info

Publication number
JP2004015659A
JP2004015659A JP2002169092A JP2002169092A JP2004015659A JP 2004015659 A JP2004015659 A JP 2004015659A JP 2002169092 A JP2002169092 A JP 2002169092A JP 2002169092 A JP2002169092 A JP 2002169092A JP 2004015659 A JP2004015659 A JP 2004015659A
Authority
JP
Japan
Prior art keywords
signal
clock signal
input
input clock
abnormality
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
JP2002169092A
Other languages
Japanese (ja)
Inventor
Shinobu Noumatsu
能松 忍
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 JP2002169092A priority Critical patent/JP2004015659A/en
Publication of JP2004015659A publication Critical patent/JP2004015659A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the generation of a phase difference of at most one clock period to a reference clock signal supplied to a PLL circuit during a switching operation due to the loss of a selected input clock signal. <P>SOLUTION: When either of the input clock signals of two systems received by clock reception units 1, 2 is selected and supplied to the PLL circuit 8, if the fault of the selected clock signal is detected, the selection is switched to the other input clock signal, and a pulse signal is inserted during the switching operation so as to adjust a phase. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、PLL(フェーズド・ロック・ループ)回路を制御するPLL制御装置に関する。
【0002】
【従来の技術】
一般に伝送装置などの装置のPLL回路に供給される入力クロックは信頼性を確保するために2系統用意され、一方の入力クロックが消失してしまった場合には他方の入力クロックに切り替えて動作することにより、正常な動作が継続可能なように設計されている。
【0003】
図6は、従来のPLL制御装置の構成を示すブロック図であり、図において、11,12はクロック受信部、13,14は入力異常検出部、15は入力クロック選択部、16は入力クロック選択制御部、17はPLL回路である。
【0004】
次に動作について説明する。
クロック受信部11は、外部からの入力クロック信号CLKAを受信する。クロック受信部12は、外部からの入力クロック信号CLKBを受信する。入力異常検出部13は、クロック受信部11に入力された入力クロック信号CLKAの異常(消失など)を検出して入力異常検出信号を入力クロック選択制御部16に与える。入力異常検出部14は、クロック受信部12に入力された入力クロック信号CLKBの異常を検出して入力異常検出信号を入力クロック選択制御部16に与える。入力クロック選択部15は、入力クロック選択制御部16からの選択信号に応じて、クロック受信部11又は12から出力される2系統の入力クロック信号CLKA又はCLKBのいずれか一方を選択して、その選択クロック信号SELCLKを基準クロック信号としてPLL回路17に供給する。
【0005】
いま、入力クロック選択部15が入力クロック選択制御部16からの選択信号(例えば、ハイレベルの選択信号)に応じて、入力クロック信号CLKAを選択して、選択クロック信号SELCLKをPLL回路17に供給しているとする。この状態において、入力クロック信号CLKAのパルスが消失したときは、入力異常検出部13は入力異常検出信号を入力クロック選択制御部16に与える。この結果、入力クロック選択制御部16はローレベルの選択信号を入力クロック選択部15に与える。したがって、入力クロック選択部15はクロック受信部12から出力される入力クロック信号CLKBを選択して、その選択クロック信号SELCLKを基準クロック信号としてPLL回路17に供給する。PLL回路17は、この基準クロック信号に同期した出力クロック信号OUTCLKを外部に送出する。
【0006】
このように、2系統の入力クロック信号を受信して、そのいずれか一方の入力クロック信号を選択して基準クロック信号としてPLL回路に供給し、選択中の入力クロック信号に消失などの異常が発生したときには、他方の入力クロック信号に切り替えることにより、PLL回路17の正常な動作が継続可能な構成になっている。
【0007】
【発明が解決しようとする課題】
従来のPLL制御装置は以上のように構成されているので、選択中の入力クロック信号の消失を検出してから切り替えを行うため、位相差が最大1クロック周期分発生し、PLL回路は不要な同期動作を行う結果、PLL回路の出力変動が大きくなるという課題があった。例えば、図7において、選択中の入力クロック信号CLKAのパルスp1が消失したときは、切替発生時に入力クロック信号CLKBを選択して、その選択クロック信号SELCLKを基準クロック信号としてPLL回路17に供給する場合に、切替期間に最大1クロック周期分の位相差が発生する。
さらに、選択中の入力クロック信号の異常検出が遅れた場合には、2クロック周期分以上の位相差が発生する。
【0008】
また、従来のPLL制御装置は以上のように構成されているので、2系統の入力クロック信号の一方に異常なパルスを受信した場合についても、異常パルスを受信した後に切替動作を行うため、PLL回路17が異常なパルスの影響を受けてしまうという課題もあった。例えば、図8において、選択中の入力クロック信号CLKAに異常パルスn1が発生したときは、切替発生時に入力クロック信号CLKBを選択して、その選択クロック信号SELCLKを基準クロック信号としてPLL回路17に供給する場合に、選択クロック信号SELCLKに異常パルスn1が残ってしまう。
【0009】
この発明は上記のような課題を解決するためになされたもので、選択中の入力クロック信号が消失した場合の切替期間に、PLL回路に供給する基準クロック信号に最大1クロック周期分の位相差が発生するのを防止するPLL制御装置を得ることを目的とする。
また、この発明は、入力クロック信号の異常を高速で検出するPLL制御装置を得ることを目的とする。
さらに、この発明は、選択中の入力クロック信号に異常パルスが発生した場合でも、PLL回路がその異常なパルスの影響を受けるのを防止するPLL制御装置を得ることを目的とする。
【0010】
【課題を解決するための手段】
この発明に係るPLL制御装置は、外部から入力される2系統の入力クロック信号を受信する信号受信手段と、2系統の入力クロック信号のいずれか一方の入力クロック信号を選択してPLL回路に供給する位相同期用の基準クロック信号を送出する信号選択手段と、入力クロック信号の異常を検出して異常検出信号及びパルス挿入要求信号を生成する異常検出手段と、異常検出信号に応じて一方の入力クロック信号を他方の入力クロック信号に切り換えるための選択信号を信号選択手段に送出する選択制御手段と、パルス挿入要求信号に応じて信号選択手段による入力クロック信号の切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整する位相調整手段とを備えた構成にしたものである。
【0011】
この発明に係るPLL制御装置は、入力クロック信号の異常検出を行うための高速クロック信号を生成して異常検出手段に与える信号生成手段を備えた構成にしたものである。
【0012】
この発明に係るPLL制御装置の異常検出手段は、PLL回路から得られる高速クロック信号に応じて入力クロック信号の異常検出を行う構成にしたものである。
【0013】
この発明に係るPLL制御装置の異常検出手段は、入力クロック信号の周期に応じてその1周期内の所定期間における入力を遮断する入力遮断信号を信号受信手段に与える構成にしたものである。
【0014】
【発明の実施の形態】
以下、この発明の実施の一形態の構成について、図を参照しながら説明する。実施の形態1.
図1は、実施の形態1におけるPLL制御装置の構成を示すブロック図であり、図において、1,2はクロック受信部(信号受信手段)、3,4は入力異常検出部(異常検出手段)、5は入力クロック選択部(信号選択手段)、6は入力クロック選択制御部(選択制御手段)、7はクロック周波数調整部(位相調整手段)、8はPLL回路、9は監視部、10は高速クロック生成部(信号生成手段)である。
【0015】
次に動作について説明する。
クロック受信部1は、外部からの入力クロック信号CLKAを受信する。クロック受信部2は、外部からの入力クロック信号CLKBを受信する。入力異常検出部3は、クロック受信部1に入力された入力クロック信号CLKAの異常(消失など)を検出して入力異常検出信号を入力クロック選択制御部6及び監視部9に与えるとともに、パルス挿入要求信号PREQAをクロック周波数調整部7に与える。入力異常検出部4は、クロック受信部2に入力された入力クロック信号CLKBの異常を検出して入力異常検出信号を入力クロック選択制御部6及び監視部9に与えるとともに、パルス挿入要求信号PREQBをクロック周波数調整部7に与える。入力クロック選択部5は、入力クロック選択制御部6からの選択信号に応じて、クロック受信部1又は2から出力される2系統の入力クロック信号CLKA又はCLKBのいずれか一方を選択して、その選択クロック信号SELCLKを基準クロック信号としてPLL回路8に供給する。PLL回路8は、この基準クロック信号に同期した出力クロック信号OUTCLKを外部に送出する。監視部9は、入力異常検出部3又は4からの異常検出信号に応じて、その異常状態を表示や音声により、あるいは通信手段を介してユーザに報知する。高速クロック生成部10は、生成した高速クロック信号を入力異常検出部3,4に与えて、入力クロック信号CLKA及びCLKBの異常検出の高速化を図る。
【0016】
いま、入力クロック選択部5が入力クロック選択制御部6からの選択信号(例えば、ハイレベルの選択信号)に応じて、入力クロック信号CLKAを選択して、選択クロック信号SELCLKをクロック周波数調整部7に供給しているとする。クロック周波数調整部7は、入力異常検出部3からパルス挿入要求信号PREQAが与えられない場合には、選択クロック信号SELCLKを基準クロック信号としてPLL回路8に供給する。
【0017】
この状態において、図2に示すように、入力クロック信号CLKAのパルスp1が消失したときは、入力異常検出部3は、高速クロック生成部10から与えられる高速クロック信号に応じて、入力クロック信号CLKAの異常を高速に検出し、入力異常検出信号を入力クロック選択制御部6に与えるとともに、図のr1で示すパルス挿入要求信号PREQAをクロック周波数調整部7に与える。この結果、入力クロック選択制御部6はローレベルの選択信号を入力クロック選択部5に与える。したがって、入力クロック選択部5は、切替タイミングtにおいて、クロック受信部2から出力される入力クロック信号CLKBを選択する。また、クロック周波数調整部7は、切替タイミングtのパルス挿入要求信号PREQAに応じて、入力クロック選択部5から出力される選択クロック信号SELCLKにパルス信号p2を挿入して、基準クロック信号PLLCLKとしてPLL回路8に供給する。また、2クロック以上の位相差が発生した場合についても、毎周期監視を行い、パルスが消失していれば、その度にパルスを挿入することで正常な動作の継続が可能になる。
【0018】
以上のように、この実施の形態1によれば、2系統の入力クロック信号のいずれか一方の入力クロック信号を選択して基準クロック信号としてPLL回路8に供給する場合に、選択中の入力クロック信号の異常を検出したときは、一方の入力クロック信号を他方の入力クロック信号に切り換えるとともに、切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整するので、選択中の入力クロック信号が消失した場合の切替期間に、PLL回路8に供給する基準クロック信号に最大1クロック周期分の位相差が発生するのを防止できるという効果が得られる。
【0019】
また、この実施の形態1によれば、入力クロック信号の異常検出を行うための高速クロック信号を生成して入力異常検出部3,4に与える高速クロック生成部10を備えたので、入力クロック信号の異常を高速で検出できるという効果が得られる。
【0020】
また、この実施の形態1によれば、監視部9は入力異常検出部3又は4からの異常検出信号に応じてその異常状態をユーザに報知するので、入力クロック信号の異常状態を容易に認識することができるという効果が得られる。
【0021】
実施の形態2.
図3は、実施の形態2におけるPLL制御装置の構成を示すブロック図であり、図において、実施の形態1と同じ構成要素については同一の符号で示されている。実施の形態2の構成が実施の形態1の構成と異なるのは、図3に示すように、入力異常検出部3,4からクロック受信部1,2に対して、それぞれ異常パルスマスク信号MASKA,MASKBが与えられている点である。
【0022】
次に、動作について説明する。
入力異常検出部3,4は、それぞれ入力クロック信号CLKA,CLKBの周期に応じて、入力クロック信号CLKA,CLKBの許容範囲と異常位相範囲を指定する。例えば、いま、入力クロック信号CLKAが選択されている状態とすると、入力異常検出部3は、図4に示すように、入力クロック信号CLKAの許容範囲と異常位相範囲を指定する。そして、許容範囲がローレベルで異常位相範囲がハイレベルの異常パルスマスク信号MASKAをクロック受信部1に与える。クロック受信部1は、異常パルスマスク信号MASKAがハイレベルの期間は、入力クロック信号CLKAを遮断して入力クロック選択部5に供給しない。
【0023】
したがって、図4に示すように、入力クロック信号CLKAの異常位相範囲に異常パルスn1が発生した場合でも、クロック受信部1から入力クロック選択部5に供給される入力クロック信号CLKA´には、遮断された異常パルスn1は含まれないので、入力クロック選択部5から出力される選択クロック信号SELCLKにも異常パルスn1は現れない。入力異常検出部3は、この異常パルスn1を検出すると異常検出信号を入力クロック選択制御部6に与えるので、切替タイミングtの後はクロック受信部2から正常な入力クロック信号CLKBが入力クロック選択部5に供給される。
【0024】
以上のように、この実施の形態2によれば、入力異常検出部3,4は、入力クロック信号CLKA,CLKBの周期に応じて、その1周期内の所定期間における入力を遮断する異常パルスマスク信号MASKA,MASKB(入力遮断信号)をクロック受信部1,2に与えるので、選択中の入力クロック信号に異常パルスが発生した場合でも、PLL回路8がその異常なパルスの影響を受けるのを防止できるという効果が得られる。
【0025】
なお、図4には示されていないが、この実施の形態2においても、実施の形態1の場合と同様に、入力クロック信号の切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整するので、選択中の入力クロック信号が消失した場合の切替期間に、PLL回路8に供給する基準クロック信号に最大1クロック周期分の位相差が発生するのを防止できるという効果が得られる。
【0026】
さらに、この実施の形態2においても、実施の形態1の場合と同様に、入力クロック信号の異常検出を行うための高速クロック信号を生成して入力異常検出部3,4に与える高速クロック生成部10を備えたので、入力クロック信号の異常を高速で検出できるという効果が得られる。
【0027】
実施の形態3.
図5は、実施の形態3におけるPLL制御装置の構成を示すブロック図であり、図において、実施の形態1の構成要素と同じものは同一の符号で示されている。この実施の形態3においては、実施の形態1及び2とは異なり、高速クロック生成部は設けられていない。図に示すように、入力異常検出部3,4には、PLL回路8で生成された高速クロック信号が与えられている。すなわち、図5のPLL回路8においては、内部の発振器の周波数が入力クロック信号CLKA,CLKBの周波数に比較して十分に高い構成になっている。
【0028】
次に、動作について説明する。
この実施の形態3においては、PLL回路8の位相同期処理において生成される高速パルス信号を入力異常検出部3,4に与えて、入力クロック信号CLKA,CLKBの異常を高速で検出する。このため、高速クロック生成部を省略することができる。
【0029】
以上のように、この実施の形態3によれば、PLL回路8から得られる高速クロック信号に応じて入力クロック信号の異常検出を行うので、高速クロック生成部を設けることなく、入力クロック信号の異常を高速で検出できるという効果が得られる。
【0030】
なお、この実施の形態3においても、実施の形態1の場合と同様に、2系統の入力クロック信号のいずれか一方の入力クロック信号を選択して基準クロック信号としてPLL回路8に供給する場合に、選択中の入力クロック信号の異常を検出したときは、一方の入力クロック信号を他方の入力クロック信号に切り換えるとともに、切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整するので、選択中の入力クロック信号が消失した場合の切替期間に、PLL回路8に供給する基準クロック信号に最大1クロック周期分の位相差が発生するのを防止できるという効果が得られる。
【0031】
さらにまた、この実施の形態3においても、実施の形態2の場合と同様に、入力異常検出部3,4は、入力クロック信号CLKA,CLKBの周期に応じて、その1周期内の所定期間における入力を遮断する異常パルスマスク信号MASKA,MASKB(入力遮断信号)をクロック受信部1,2に与えるので、選択中の入力クロック信号に異常パルスが発生した場合でも、PLL回路8がその異常なパルスの影響を受けるのを防止できるという効果が得られる。
【0032】
【発明の効果】
以上のように、この発明によれば、PLL制御装置を、外部から入力される2系統の入力クロック信号を受信する信号受信手段と、2系統の入力クロック信号のいずれか一方の入力クロック信号を選択してPLL回路に供給する位相同期用の基準クロック信号を送出する信号選択手段と、入力クロック信号の異常を検出して異常検出信号及びパルス挿入要求信号を生成する異常検出手段と、異常検出信号に応じて一方の入力クロック信号を他方の入力クロック信号に切り換えるための選択信号を信号選択手段に送出する選択制御手段と、パルス挿入要求信号に応じて信号選択手段による入力クロック信号の切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整する位相調整手段とを備えた構成にしたので、選択中の入力クロック信号が消失した場合の切替期間に、PLL回路8に供給する基準クロック信号に最大1クロック周期分の位相差が発生するのを防止できるという効果がある。
【0033】
この発明によれば、PLL制御装置を、入力クロック信号の異常検出を行うための高速クロック信号を生成して異常検出手段に与える信号生成手段を備えた構成にしたので、入力クロック信号の異常を高速で検出できるという効果がある。
【0034】
この発明によれば、PLL制御装置の異常検出手段を、PLL回路から得られる高速クロック信号に応じて入力クロック信号の異常検出を行う構成にしたので、高速クロック信号を生成する信号生成手段を設けることなく、入力クロック信号の異常を高速で検出できるという効果がある。
【0035】
この発明によれば、PLL制御装置の異常検出手段を、入力クロック信号の周期に応じてその1周期内の所定期間における入力を遮断する入力遮断信号を信号受信手段に与える構成にしたので、選択中の入力クロック信号に異常パルスが発生した場合でもPLL回路がその影響を受けるのを防止できるという効果がある。
【図面の簡単な説明】
【図1】この発明の実施の形態1におけるPLL制御装置の構成を示すブロック図である。
【図2】この発明の実施の形態1における入力クロック信号の切替動作を示すタイミングチャートの図である。
【図3】この発明の実施の形態2におけるPLL制御装置の構成を示すブロック図である。
【図4】この発明の実施の形態2における入力クロック信号の切替動作を示すタイミングチャートの図である。
【図5】この発明の実施の形態3におけるPLL制御装置の構成を示すブロック図である。
【図6】従来のPLL制御装置の構成を示すブロック図である。
【図7】従来のPLL制御装置における入力クロック信号の切替動作を示すタイミングチャートの図である。
【図8】従来のPLL制御装置における入力クロック信号における異常パルス発生時の切替動作を示すタイミングチャートの図である。
【符号の説明】
1,2 クロック受信部(信号受信手段)、3,4 入力異常検出部(異常検出手段)、5 入力クロック選択部(信号選択手段)、6 入力クロック選択制御部(選択制御手段)、7 クロック周波数調整部(位相調整手段)、8 PLL回路、9 監視部、10 高速クロック生成部(信号生成手段)、11,12クロック受信部、13,14 入力異常検出部、15 入力クロック選択部、16 入力クロック選択制御部、17 PLL回路。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a PLL (Phase Locked Loop) control device for controlling a PLL circuit.
[0002]
[Prior art]
In general, two systems of input clocks supplied to a PLL circuit of a device such as a transmission device are prepared in order to ensure reliability, and when one input clock is lost, it is switched to the other input clock to operate. Thus, it is designed such that normal operation can be continued.
[0003]
FIG. 6 is a block diagram showing the configuration of a conventional PLL control device. In the figure, reference numerals 11 and 12 denote clock receiving units, 13 and 14 denote input abnormality detecting units, 15 denotes an input clock selecting unit, and 16 denotes an input clock selecting unit. The control unit 17 is a PLL circuit.
[0004]
Next, the operation will be described.
The clock receiving unit 11 receives an input clock signal CLKA from outside. The clock receiving unit 12 receives an input clock signal CLKB from outside. The input abnormality detection unit 13 detects an abnormality (such as disappearance) of the input clock signal CLKA input to the clock reception unit 11 and provides an input abnormality detection signal to the input clock selection control unit 16. The input abnormality detection unit 14 detects an abnormality of the input clock signal CLKB input to the clock reception unit 12, and provides an input abnormality detection signal to the input clock selection control unit 16. The input clock selection unit 15 selects one of the two input clock signals CLKA or CLKB output from the clock reception unit 11 or 12 in response to a selection signal from the input clock selection control unit 16, and The selected clock signal SELCLK is supplied to the PLL circuit 17 as a reference clock signal.
[0005]
Now, the input clock selection unit 15 selects the input clock signal CLKA according to a selection signal (for example, a high-level selection signal) from the input clock selection control unit 16 and supplies the selected clock signal SELCLK to the PLL circuit 17. Suppose you are. In this state, when the pulse of the input clock signal CLKA has disappeared, the input abnormality detection unit 13 supplies an input abnormality detection signal to the input clock selection control unit 16. As a result, the input clock selection control section 16 supplies a low-level selection signal to the input clock selection section 15. Therefore, the input clock selector 15 selects the input clock signal CLKB output from the clock receiver 12, and supplies the selected clock signal SELCLK to the PLL circuit 17 as a reference clock signal. The PLL circuit 17 sends out an output clock signal OUTCLK synchronized with the reference clock signal to the outside.
[0006]
As described above, the two input clock signals are received, one of the input clock signals is selected and supplied to the PLL circuit as the reference clock signal, and an abnormality such as disappearance occurs in the selected input clock signal. In this case, the normal operation of the PLL circuit 17 can be continued by switching to the other input clock signal.
[0007]
[Problems to be solved by the invention]
Since the conventional PLL control device is configured as described above, the switching is performed after detecting the disappearance of the selected input clock signal. Therefore, a phase difference occurs up to one clock cycle, and the PLL circuit is unnecessary. As a result of performing the synchronous operation, there is a problem that the output fluctuation of the PLL circuit becomes large. For example, in FIG. 7, when the pulse p1 of the selected input clock signal CLKA has disappeared, the input clock signal CLKB is selected at the time of occurrence of switching, and the selected clock signal SELCLK is supplied to the PLL circuit 17 as a reference clock signal. In this case, a phase difference of up to one clock cycle occurs during the switching period.
Further, if the abnormality detection of the input clock signal being selected is delayed, a phase difference of two clock cycles or more occurs.
[0008]
Further, since the conventional PLL control device is configured as described above, even when an abnormal pulse is received in one of the two input clock signals, the switching operation is performed after the abnormal pulse is received. There is also a problem that the circuit 17 is affected by an abnormal pulse. For example, in FIG. 8, when an abnormal pulse n1 occurs in the selected input clock signal CLKA, the input clock signal CLKB is selected at the time of switching, and the selected clock signal SELCLK is supplied to the PLL circuit 17 as a reference clock signal. In this case, the abnormal pulse n1 remains in the selected clock signal SELCLK.
[0009]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and has a phase difference of up to one clock cycle between a reference clock signal supplied to a PLL circuit during a switching period when a selected input clock signal disappears. It is an object of the present invention to obtain a PLL control device that prevents the occurrence of an error.
Another object of the present invention is to provide a PLL control device that detects an abnormality of an input clock signal at a high speed.
It is another object of the present invention to provide a PLL control device that prevents a PLL circuit from being affected by an abnormal pulse even when an abnormal pulse occurs in a selected input clock signal.
[0010]
[Means for Solving the Problems]
A PLL control device according to the present invention includes a signal receiving unit that receives two input clock signals input from the outside, and selects one of the two input clock signals and supplies the input clock signal to a PLL circuit. Signal selection means for transmitting a reference clock signal for phase synchronization, abnormality detection means for detecting an abnormality of an input clock signal and generating an abnormality detection signal and a pulse insertion request signal, and one input according to the abnormality detection signal. Selection control means for transmitting a selection signal for switching the clock signal to the other input clock signal to the signal selection means, and a reference clock signal which is not obtained during the switching period of the input clock signal by the signal selection means in response to the pulse insertion request signal And a phase adjusting means for adjusting the phase by inserting a pulse signal.
[0011]
The PLL control device according to the present invention is configured to include a signal generation unit that generates a high-speed clock signal for detecting an abnormality of an input clock signal and supplies the high-speed clock signal to an abnormality detection unit.
[0012]
The abnormality detection means of the PLL control device according to the present invention is configured to detect an abnormality of an input clock signal according to a high-speed clock signal obtained from a PLL circuit.
[0013]
The abnormality detecting means of the PLL control device according to the present invention is configured such that an input cutoff signal for cutting off an input for a predetermined period within one cycle is provided to the signal receiving means in accordance with the cycle of the input clock signal.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a configuration of an embodiment of the present invention will be described with reference to the drawings. Embodiment 1 FIG.
FIG. 1 is a block diagram illustrating a configuration of a PLL control device according to a first embodiment. In the figure, reference numerals 1 and 2 denote a clock receiving unit (signal receiving unit), and reference numerals 3 and 4 denote input abnormality detecting units (abnormality detecting unit). 5 is an input clock selection unit (signal selection unit), 6 is an input clock selection control unit (selection control unit), 7 is a clock frequency adjustment unit (phase adjustment unit), 8 is a PLL circuit, 9 is a monitoring unit, and 10 is a monitoring unit. It is a high-speed clock generation unit (signal generation means).
[0015]
Next, the operation will be described.
The clock receiving unit 1 receives an input clock signal CLKA from outside. The clock receiving unit 2 receives an input clock signal CLKB from outside. The input abnormality detection unit 3 detects an abnormality (such as disappearance) of the input clock signal CLKA input to the clock reception unit 1, supplies an input abnormality detection signal to the input clock selection control unit 6 and the monitoring unit 9, and inserts a pulse. The request signal PREQA is supplied to the clock frequency adjusting unit 7. The input abnormality detection unit 4 detects an abnormality of the input clock signal CLKB input to the clock reception unit 2 and provides an input abnormality detection signal to the input clock selection control unit 6 and the monitoring unit 9, and outputs a pulse insertion request signal PREQB. It is given to the clock frequency adjusting unit 7. The input clock selection unit 5 selects one of the two input clock signals CLKA or CLKB output from the clock reception unit 1 or 2 in response to a selection signal from the input clock selection control unit 6, and The selected clock signal SELCLK is supplied to the PLL circuit 8 as a reference clock signal. The PLL circuit 8 sends out an output clock signal OUTCLK synchronized with the reference clock signal to the outside. The monitoring unit 9 notifies the user of the abnormal state by display or voice or via communication means in response to the abnormality detection signal from the input abnormality detection unit 3 or 4. The high-speed clock generation unit 10 supplies the generated high-speed clock signal to the input abnormality detection units 3 and 4 to speed up the abnormality detection of the input clock signals CLKA and CLKB.
[0016]
Now, the input clock selection unit 5 selects the input clock signal CLKA in response to a selection signal (for example, a high-level selection signal) from the input clock selection control unit 6 and changes the selected clock signal SELCLK to the clock frequency adjustment unit 7. And supply it to When the pulse insertion request signal PREQA is not supplied from the input abnormality detection unit 3, the clock frequency adjustment unit 7 supplies the selected clock signal SELCLK to the PLL circuit 8 as a reference clock signal.
[0017]
In this state, as shown in FIG. 2, when the pulse p1 of the input clock signal CLKA has disappeared, the input abnormality detection unit 3 sets the input clock signal CLKA in accordance with the high-speed clock signal given from the high-speed clock generation unit 10. Is detected at a high speed, an input abnormality detection signal is supplied to the input clock selection control unit 6, and a pulse insertion request signal PREQA indicated by r1 in the figure is supplied to the clock frequency adjustment unit 7. As a result, the input clock selection controller 6 supplies a low-level selection signal to the input clock selector 5. Therefore, the input clock selection unit 5 selects the input clock signal CLKB output from the clock reception unit 2 at the switching timing t. In addition, the clock frequency adjusting unit 7 inserts the pulse signal p2 into the selected clock signal SELCLK output from the input clock selecting unit 5 in response to the pulse insertion request signal PREQA at the switching timing t, and uses the PLL as the reference clock signal PLLCLK. Supply to circuit 8. Also, when a phase difference of two or more clocks occurs, monitoring is performed every period, and if a pulse has disappeared, normal operation can be continued by inserting a pulse each time.
[0018]
As described above, according to the first embodiment, when one of the two input clock signals is selected and supplied to the PLL circuit 8 as the reference clock signal, the selected input clock When a signal abnormality is detected, one input clock signal is switched to the other input clock signal, and the phase is adjusted by inserting a pulse signal instead of the reference clock signal that cannot be obtained during the switching period. In the switching period when the input clock signal is lost, it is possible to prevent the reference clock signal supplied to the PLL circuit 8 from generating a phase difference of up to one clock cycle.
[0019]
Further, according to the first embodiment, since the high-speed clock generator 10 for generating the high-speed clock signal for performing the abnormality detection of the input clock signal and providing the high-speed clock signal to the input abnormality detectors 3 and 4 is provided, the input clock signal The effect of being able to detect abnormalities at high speed is obtained.
[0020]
According to the first embodiment, the monitoring unit 9 notifies the user of the abnormal state according to the abnormality detection signal from the input abnormality detecting unit 3 or 4, so that the abnormal state of the input clock signal can be easily recognized. The effect is obtained.
[0021]
Embodiment 2 FIG.
FIG. 3 is a block diagram illustrating a configuration of a PLL control device according to the second embodiment. In the figure, the same components as those in the first embodiment are denoted by the same reference numerals. The configuration of the second embodiment is different from the configuration of the first embodiment, as shown in FIG. 3, in which the abnormal pulse mask signals MASKA, MASKA, MASKB is given.
[0022]
Next, the operation will be described.
The input abnormality detection units 3 and 4 specify an allowable range and an abnormal phase range of the input clock signals CLKA and CLKB according to the cycles of the input clock signals CLKA and CLKB, respectively. For example, assuming that the input clock signal CLKA is currently selected, the input abnormality detection unit 3 specifies an allowable range and an abnormal phase range of the input clock signal CLKA as shown in FIG. Then, an abnormal pulse mask signal MASKA having an allowable range of a low level and an abnormal phase range of a high level is supplied to the clock receiving unit 1. The clock receiving unit 1 cuts off the input clock signal CLKA and does not supply it to the input clock selection unit 5 during the period when the abnormal pulse mask signal MASKA is at the high level.
[0023]
Therefore, as shown in FIG. 4, even when the abnormal pulse n1 occurs in the abnormal phase range of the input clock signal CLKA, the input clock signal CLKA ′ supplied from the clock receiving unit 1 to the input clock selecting unit 5 is cut off. Since the abnormal pulse n1 is not included, the abnormal pulse n1 does not appear in the selected clock signal SELCLK output from the input clock selecting unit 5. When detecting the abnormal pulse n1, the input abnormality detection unit 3 supplies an abnormality detection signal to the input clock selection control unit 6, so that after the switching timing t, the normal input clock signal CLKB is output from the clock reception unit 2 to the input clock selection unit. 5.
[0024]
As described above, according to the second embodiment, input abnormality detecting units 3 and 4 interrupt the input during a predetermined period within one cycle in accordance with the cycle of input clock signals CLKA and CLKB. Since the signals MASKA and MASKB (input cutoff signals) are supplied to the clock receiving units 1 and 2, even if an abnormal pulse occurs in the selected input clock signal, the PLL circuit 8 is prevented from being affected by the abnormal pulse. The effect that can be obtained is obtained.
[0025]
Although not shown in FIG. 4, in the second embodiment, a pulse signal is inserted in place of the reference clock signal which cannot be obtained during the switching period of the input clock signal, similarly to the first embodiment. The phase of the reference clock signal supplied to the PLL circuit 8 during the switching period when the selected input clock signal disappears, thereby preventing a phase difference of up to one clock cycle from occurring. Is obtained.
[0026]
Further, also in the second embodiment, similarly to the first embodiment, a high-speed clock generator for generating a high-speed clock signal for detecting an abnormality of an input clock signal and supplying the high-speed clock signal to input abnormality detectors 3 and 4. Because of the provision of 10, the effect that the abnormality of the input clock signal can be detected at high speed can be obtained.
[0027]
Embodiment 3 FIG.
FIG. 5 is a block diagram showing the configuration of the PLL control device according to the third embodiment. In the figure, the same components as those of the first embodiment are denoted by the same reference numerals. In the third embodiment, unlike the first and second embodiments, a high-speed clock generator is not provided. As shown in the figure, the high-speed clock signal generated by the PLL circuit 8 is given to the input abnormality detection units 3 and 4. That is, the PLL circuit 8 of FIG. 5 has a configuration in which the frequency of the internal oscillator is sufficiently higher than the frequencies of the input clock signals CLKA and CLKB.
[0028]
Next, the operation will be described.
In the third embodiment, a high-speed pulse signal generated in the phase synchronization process of the PLL circuit 8 is supplied to the input abnormality detection units 3 and 4, and the abnormality of the input clock signals CLKA and CLKB is detected at high speed. Therefore, the high-speed clock generator can be omitted.
[0029]
As described above, according to the third embodiment, the abnormality of the input clock signal is detected according to the high-speed clock signal obtained from the PLL circuit 8, so that the abnormality of the input clock signal can be obtained without providing the high-speed clock generation unit. Can be detected at high speed.
[0030]
In the third embodiment, as in the first embodiment, when either one of the two input clock signals is selected and supplied to the PLL circuit 8 as a reference clock signal. When an abnormality of the selected input clock signal is detected, one input clock signal is switched to the other input clock signal, and a pulse signal is inserted in place of the reference clock signal that cannot be obtained during the switching period to change the phase. Since the adjustment is performed, an effect is obtained that a phase difference of up to one clock cycle can be prevented from occurring in the reference clock signal supplied to the PLL circuit 8 during the switching period when the selected input clock signal disappears.
[0031]
Further, also in the third embodiment, similarly to the second embodiment, input abnormality detection units 3 and 4 operate according to the cycles of input clock signals CLKA and CLKB in a predetermined period within one cycle. Since abnormal pulse mask signals MASKA and MASKB (input cutoff signals) for interrupting the input are supplied to the clock receiving units 1 and 2, even if an abnormal pulse occurs in the selected input clock signal, the PLL circuit 8 causes the abnormal pulse to occur. The effect of being able to prevent from being affected by is obtained.
[0032]
【The invention's effect】
As described above, according to the present invention, the PLL control device is provided with a signal receiving means for receiving two input clock signals input from the outside and a signal receiving means for receiving one of the two input clock signals. Signal selection means for transmitting a reference clock signal for phase synchronization to be selected and supplied to a PLL circuit; abnormality detection means for detecting an abnormality of an input clock signal to generate an abnormality detection signal and a pulse insertion request signal; Selection control means for transmitting a selection signal for switching one input clock signal to the other input clock signal in response to the signal to the signal selection means, and a switching period of the input clock signal by the signal selection means in response to the pulse insertion request signal Phase adjustment means for adjusting the phase by inserting a pulse signal instead of a reference clock signal that cannot be obtained The switching period when the input clock signal is lost, the phase difference of up to one clock period to the reference clock signal supplied to the PLL circuit 8 is an effect of being able to prevent the occurrence.
[0033]
According to the present invention, the PLL control device is configured to include the signal generation unit that generates the high-speed clock signal for detecting the abnormality of the input clock signal and provides the high-speed clock signal to the abnormality detection unit. There is an effect that detection can be performed at high speed.
[0034]
According to the present invention, the abnormality detection means of the PLL control device is configured to detect the abnormality of the input clock signal according to the high-speed clock signal obtained from the PLL circuit. Therefore, the signal generation means for generating the high-speed clock signal is provided. Without this, there is an effect that abnormalities in the input clock signal can be detected at a high speed.
[0035]
According to the present invention, the abnormality detecting means of the PLL control device is configured to supply the signal receiving means with the input cutoff signal for cutting off the input during a predetermined period within one cycle in accordance with the cycle of the input clock signal. Even if an abnormal pulse occurs in the middle input clock signal, there is an effect that the PLL circuit can be prevented from being affected by the abnormal pulse.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a PLL control device according to Embodiment 1 of the present invention.
FIG. 2 is a timing chart showing a switching operation of an input clock signal according to the first embodiment of the present invention;
FIG. 3 is a block diagram showing a configuration of a PLL control device according to a second embodiment of the present invention.
FIG. 4 is a timing chart showing a switching operation of an input clock signal according to a second embodiment of the present invention;
FIG. 5 is a block diagram showing a configuration of a PLL control device according to a third embodiment of the present invention.
FIG. 6 is a block diagram illustrating a configuration of a conventional PLL control device.
FIG. 7 is a timing chart showing a switching operation of an input clock signal in a conventional PLL control device.
FIG. 8 is a timing chart showing a switching operation when an abnormal pulse occurs in an input clock signal in a conventional PLL control device.
[Explanation of symbols]
1, 2 clock receiving section (signal receiving section), 3, 4 input abnormal detecting section (abnormal detecting section), 5 input clock selecting section (signal selecting section), 6 input clock selecting control section (selecting controlling section), 7 clocks Frequency adjustment unit (phase adjustment unit), 8 PLL circuit, 9 monitoring unit, 10 high-speed clock generation unit (signal generation unit), 11, 12 clock reception units, 13, 14 input abnormality detection unit, 15 input clock selection unit, 16 Input clock selection controller, 17 PLL circuit.

Claims (4)

外部から入力される2系統の入力クロック信号を受信する信号受信手段と、
前記2系統の入力クロック信号のいずれか一方の入力クロック信号を選択してPLL回路に供給する位相同期用の基準クロック信号を送出する信号選択手段と、
前記入力クロック信号の異常を検出して異常検出信号及びパルス挿入要求信号を生成する異常検出手段と、
前記異常検出信号に応じて前記一方の入力クロック信号を他方の入力クロック信号に切り換えるための選択信号を前記信号選択手段に送出する選択制御手段と、
前記パルス挿入要求信号に応じて前記信号選択手段による入力クロック信号の切換期間に得られない基準クロック信号の代わりにパルス信号を挿入して位相を調整する位相調整手段と
を備えたPLL制御装置。
Signal receiving means for receiving two input clock signals input from outside;
Signal selection means for selecting one of the two input clock signals and transmitting a reference clock signal for phase synchronization to be supplied to the PLL circuit;
Abnormality detection means for detecting an abnormality of the input clock signal and generating an abnormality detection signal and a pulse insertion request signal,
Selection control means for sending a selection signal for switching the one input clock signal to the other input clock signal in response to the abnormality detection signal to the signal selection means,
A PLL control device comprising: a phase adjusting unit that adjusts a phase by inserting a pulse signal instead of a reference clock signal that cannot be obtained during a switching period of an input clock signal by the signal selecting unit in response to the pulse insertion request signal.
入力クロック信号の異常検出を行うための高速クロック信号を生成して異常検出手段に与える信号生成手段を備えたことを特徴とする請求項1記載のPLL制御装置。2. The PLL control device according to claim 1, further comprising signal generation means for generating a high-speed clock signal for detecting an abnormality of the input clock signal and supplying the high-speed clock signal to the abnormality detection means. 異常検出手段は、PLL回路から得られる高速クロック信号に応じて入力クロック信号の異常検出を行うことを特徴とする請求項1記載のPLL制御装置。2. The PLL control device according to claim 1, wherein the abnormality detecting means detects an abnormality of the input clock signal according to a high-speed clock signal obtained from the PLL circuit. 異常検出手段は、入力クロック信号の周期に応じてその1周期内の所定期間における入力を遮断する入力遮断信号を信号受信手段に与えることを特徴とする請求項1から請求項3のうちのいずれか1項記載のPLL制御装置。4. The abnormality detecting unit according to claim 1, wherein the abnormality detecting unit supplies the signal receiving unit with an input cutoff signal for cutting off an input during a predetermined period in one cycle of the input clock signal. The PLL control device according to claim 1.
JP2002169092A 2002-06-10 2002-06-10 Pll controller Pending JP2004015659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002169092A JP2004015659A (en) 2002-06-10 2002-06-10 Pll controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002169092A JP2004015659A (en) 2002-06-10 2002-06-10 Pll controller

Publications (1)

Publication Number Publication Date
JP2004015659A true JP2004015659A (en) 2004-01-15

Family

ID=30435819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002169092A Pending JP2004015659A (en) 2002-06-10 2002-06-10 Pll controller

Country Status (1)

Country Link
JP (1) JP2004015659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007049345A (en) * 2005-08-09 2007-02-22 Ricoh Co Ltd Clock generation circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007049345A (en) * 2005-08-09 2007-02-22 Ricoh Co Ltd Clock generation circuit
JP4520380B2 (en) * 2005-08-09 2010-08-04 株式会社リコー Clock generation circuit

Similar Documents

Publication Publication Date Title
US6816818B2 (en) Method, clock generator module and receiver module for synchronizing a receiver module
JPH04113718A (en) Hitless clock switching device
US20050259505A1 (en) System and method for maintaining device operation during clock signal adjustments
US7599460B2 (en) Transmitting apparatus
JP2008035111A (en) Duplex system type reference frequency signal generator
JP2004015659A (en) Pll controller
US20020080825A1 (en) Method and compensation module for the phase compensation of clock signals
JP2005115944A (en) Synchronization system and synchronization method of multiple variable-frequency clock generators
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
KR100188228B1 (en) Timing supply circuit of duplex timing synchronous system
KR100257344B1 (en) Digital pll circuit
JP3253514B2 (en) Clock generation circuit in PLL circuit
JP2725530B2 (en) Clock supply method
KR100328761B1 (en) A device of switching system clock unit for optical communication system
JP3720552B2 (en) Dual clock synchronous control system
JPH10290158A (en) Duplicate phase synchronization device
KR920003362B1 (en) Method and an apparatus for compensating fine phase difference of clock signals
JPH07273648A (en) Pll circuit
KR101408919B1 (en) Apparatus and method for frame synchronization tracking in communication system
JPH11298460A (en) Clock changeover circuit
JPH10303898A (en) Alarm generator and alarm mask method at time of phase synchronization clock failure
JP2001326627A (en) Synchronizing source signal changeover circuit
JP3458893B2 (en) Line switching device and line switching method
JP2616450B2 (en) Clock supply system
JPH01264028A (en) Synchronize changing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071030

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071030

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071030

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071113