JP4336790B2 - Clock switching method and clock switching device - Google Patents

Clock switching method and clock switching device Download PDF

Info

Publication number
JP4336790B2
JP4336790B2 JP2002342362A JP2002342362A JP4336790B2 JP 4336790 B2 JP4336790 B2 JP 4336790B2 JP 2002342362 A JP2002342362 A JP 2002342362A JP 2002342362 A JP2002342362 A JP 2002342362A JP 4336790 B2 JP4336790 B2 JP 4336790B2
Authority
JP
Japan
Prior art keywords
circuit
clock
selection
interface unit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002342362A
Other languages
Japanese (ja)
Other versions
JP2004179864A (en
Inventor
晃二 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2002342362A priority Critical patent/JP4336790B2/en
Publication of JP2004179864A publication Critical patent/JP2004179864A/en
Application granted granted Critical
Publication of JP4336790B2 publication Critical patent/JP4336790B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明はクロック切替方法及びクロック切替装置に関し、特にクロック切替によって伝送信号エラーが発生することなく切替を行うクロック切替方法及びクロック切替装置に関する。
【0002】
【従来の技術】
無線伝送装置においては、装置での信号処理を簡易化する為に入力信号からクロック抽出を行い、装置内クロックとして用いる。装置内のクロックはPLL回路を用いて入力信号に同期したクロックを生成するが、複数の入力信号がある場合には、任意の入力信号を同期源として装置内クロックを生成し、この装置内クロックで他の入力信号を同期化して伝送する。一方、複数の入力信号を装置内クロックで同期化する為の入力インタフェース部が必要となる。しかし、装置へ実装出来るサイズ等で入力インタフェース部の大きさには限界があり、全ての入力信号を1枚の入力インタフェース部にて同期化する事は出来ず、複数枚の入力インタフェース部を用いて同期化を行う。
【0003】
この為に、装置内クロック生成用同期源とする入力信号が障害により劣化した場合や、入力インタフェース部を保守の為に装置から取り外す際には、取り外さない入力インタフェース部に装置内クロック同期源を切替える必要がある。この装置内クロック同期源の切替を無瞬断で行う為にディジタルサンプリングPLL回路を用いる。このディジタルサンプリングPLL回路を用いることで、ライン抽出として利用する入力信号切替時にも装置内クロックの周波数変動を抑圧することができ、他の伝送信号では不要なデータ誤りが発生しない。しかし、ディジタルサンプリングPLL回路は、位相差をディジタル化する際の量子化誤差や回路構成上の実現性からサンプリングデータの下位X(X≧1)ビットを除いた値を用いて位相制御を行うため、装置内クロック同期源を切替えると以下の問題が発生する。
【0004】
ここで、従来例として入力インタフェース部211、212が図9となるもので構成された装置の現用第1無線回線を含む現用第1回線(図1)を用いて図10〜12を参照して説明する。装置内クロック同期源が入力信号1 201の場合には、入力インタフェース部211では、変換回路101にて入力信号1201から抽出したクロックが抽出選択回路104に送出され、抽出選択回路104では位相制御部4からの制御信号221を用いて選択され、選択回路105に送出される。選択回路105では、制御信号221を用いて入力インタフェース部211内の抽出選択回路104からの抽出選択クロック220を選択し、ディジタルPLL回路106に送出する。ディジタルPLL回路106では、選択回路105の選択出力222に同期したクロック、フレームパルス(以下、FP)を生成し、入力インタフェース部211内の多重化回路103に送出する。
【0005】
一方、入力インタフェース部212でも同様に制御信号221から選択回路105にて、入力インタフェース部211からの抽出選択クロック220を選択し、ディジタルPLL回路106に送出する。ディジタルPLL回路106では、選択回路105の選択出力222に同期したクロック、FPを生成し、入力インタフェース部212内の多重化回路103に送出する。この時のディジタルPLL回路106を図10で示し、回路動作を図11を用いて説明する。分周器N301では、選択出力222をN(N≧2)分周し、N分周出力401として位相比較回路303に送出する。分周器M302では、電圧制御発信器311の出力クロック406をM(M≧2)分周したM分周出力402を位相比較回路303に送出する。位相比較回路303ではN分周出力401とM分周出力402の位相差を比較し位相比較結果403をA/D変換回路306にて変換してカウント値404”a”(下位X(X≧2)ビットを除いた値は”A”)となる。タイミング生成回路305のタイミング信号(タイミングクロック)を用いて位相記憶回路307では、カウント値404”a”を記憶値405”a”として記憶する。この動作が入力インタフェース部211と入力インタフェース部212それぞれで行われ、入力インタフェース部211と入力インタフェース部212それぞれの分周器P315の出力FP407の位相差が”0”となる。
【0006】
図12の時刻t1’’時に装置内クロック同期源の切替が発生すると、入力インタフェース部211のディジタルPLL回路106では、制御回路313は、制御信号408を”H”として位相保持状態とし、選択回路T308の出力をA/D変換回路306のカウント値404”a”から位相記憶回路307の記憶値405”a”の切替を行いD/A変換回路309に送出し、位相記憶回路307の記憶値405”a”をサンプリングクロックで更新しないように保持するモードとなる。
【0007】
次に、分周器N301のN分周出力401の位置が従来t2’’の位置だったものが装置内クロック同期源の切替により、t3’’の位置に変動する。A/D変換回路306の時刻t3’’からt4’’までのカウント値404は、時刻t5’’で”a”から”b”(下位Xビットを除いた値は”B”)となり、比較回路314では、カウント値404”b”の下位Xビットを除いた値”B”と記憶値405”a”の下位Xビットを除いた値”A”を比較し、比較結果409を”LT”として送出する。これにより、制御回路313が分周器M302を制御しM分周出力402の位相を時刻t7’’からt8’’に変更する。時刻t5’’からt9’’までのA/D変換回路306のカウント値404は”e”(下位Xビットを除いた値は”A”)となる。時刻t9’’の時は、比較回路314では、カウント値404”e”の下位Xビットを除いた値”A”と記憶値405”a”の下位Xビットを除いた値”A”を比較し、カウント値404と記憶値405が一致するので比較結果409を”EQ”として制御回路313に送出する。制御回路313では、比較結果409”EQ”となると制御信号408を”L”として選択回路T308の出力を記憶値405”a”からカウント値404”e”に切替え、位相記憶回路307の記憶値405の保持状態を解除し位相保持動作を終了する。
【0008】
その後、ディジタルPLL回路106は通常動作となり、一定の時間経過後の時刻t10’’には、カウント値404”a”となるのでθ3’’=θ1’’となる(図11、図12)。同様に入力インタフェース部212でも装置内クロック同期源の切替が発生し、位相保持動作後に制御が行われる。ただし、時刻t5’’からt9’’までのA/D変換回路306のカウント値404は”f”(下位Xビットを除いた値は”A”)となり、その後制御を解除して時刻t10’’時にはθ3’’=θ1’’となる。
【0009】
【特許文献1】
特開平11−27247号公報(請求項1、図1)
【0010】
【発明が解決しようとする課題】
しかし、この従来技術には、次のような問題点があった。
【0011】
第1の問題点は、2つの入力インタフェース部211、212内の分周器P315の出力FP407の位相が変動することである。その理由は、装置内クロック同期源の切替が発生し、定常状態となると、ディジタルPLL回路106の動作によってθ3’’=θ1’’となるが、入力インタフェース部211のディジタルPLL回路106の出力FP407と入力インタフェース部212のディジタルPLL回路106の出力FP407に位相差θ4’’(図12)が発生し、位相差が一定とならない。これは、2枚の入力インタフェース部211、212のディジタルPLL回路106が独立で動作しているためであり、それぞれのディジタルPLL回路106の制御動作やサンプリングクロックが非同期であること、またサンプリングクロックの量子化誤差や回路構成上の実現性からカウント値404と記憶値405の下位Xビットを除いた値で比較を行うために図12のように時刻t5’’からt9’’までのA/D変換回路306のカウント値404は”e”と”f”であるが、下位Xビットを除いた値は同じ”a”となり一致とみなし制御が終わる。その後、時刻t10’’では、”e”と”f”の値分の位相差が発生する。この位相差は切替が発生する度に発生し累積する。このFPは多重化回路103から位相制御部4に出力され、位相制御部4(図4)内の位相吸収回路108のPLL回路110の同期源として用いられ位相吸収回路108で2枚の入力インタフェース部211、212の位相差を吸収後に変調部5に送出される。位相吸収回路108はある範囲の位相差までは位相吸収可能であり装置内同期クロック源の切替が発生しても伝送信号を誤り無く伝えることが可能であるが、位相差が位相吸収回路108の位相吸収範囲を超えると装置内クロック同期源の切替時に伝送信号に誤りを生じる。
【0012】
第2の問題点は、伝送時の遅延が増加することである。その理由は、第1の問題点を解決するために位相制御部4内の位相吸収回路108で位相吸収範囲を大きくするためにメモリを増やす方法が考えられる。しかし位相吸収範囲を大きくすると大量にメモリに書き込み、読み出す事となるので、多重化時に信号の遅延が増加することになる。また、メモリを増やしても有限であり、その位相吸収範囲を超えてしまうと伝送信号に誤りを生じる。
【0013】
本発明は、以上の問題点を解決する装置内クロック切替方法及び装置を提供する。
【0014】
【課題を解決するための手段】
本発明のクロック切替方法は、伝送装置における第1の入力インタフェース部から第2の入力インタフェース部へクロックを切替えるクロック切替方法であって、第1の入力インタフェース部への複数の入力信号からの一つを第1の同期クロック源として選択し、第1の抽出選択クロックとして送出する工程と、第2の入力インタフェース部への複数の入力信号からの一つを第2の同期クロック源として選択し、第2の抽出選択クロックとして送出する工程と、第1の選択回路において第1の抽出選択クロックおよび第2の抽出選択クロックのいずれかを選択して第1の選択出力として送出する工程と、第2の選択回路において第1の抽出選択クロックおよび第2の抽出選択クロックのいずれかを選択して第2の選択出力として送出する工程と、第1のディジタルPLL回路において、第1の選択出力に同期した、第1の同期クロックと第1の同期FPの生成を行い、第1の入力インタフェース部及び第2の入力インタフェース部に送出する工程と、第2のディジタルPLL回路において、第2の選択出力に同期した、第2の同期クロックと第2の同期FPの生成を行い、第1の入力インタフェース部及び第2の入力インタフェース部に送出する工程と、第1の入力インタフェース部において、第1の同期クロックおよび第1の同期FP、又は第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出する工程と、第2の入力インタフェース部において、第1の同期クロックおよび第1の同期FP、又は第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出する工程と、第1の同期FPの位相と第2の同期FPの位相が同じになるように制御する第1の制御出力を生成して第1のディジタルPLL回路に送出する工程と、第1の同期FPの位相と第2の同期FPの位相が同じになるように制御する第2の制御出力を生成して第2のディジタルPLL回路に送出する工程と、を備えることを特徴とする。
【0020】
本発明のクロック切替装置は、伝送装置における第1の入力インタフェース部から第2の入力インタフェース部へクロックを切替えるクロック切替装置であって、第1のインタフェース部は、第1の抽出選択回路と、第1の選択回路と、第1のディジタルPLL回路と、第1のクロック切替回路と、第1の従属制御回路とを備え、第2のインタフェース部は、第2の抽出選択回路と、第2の選択回路と、第2のディジタルPLL回路と、第2のクロック切替回路と、第2の従属制御回路とを備え、第1の抽出選択回路は、第1の入力インタフェース部への複数の入力信号からの一つを第1の同期クロック源として選択し、第1の抽出選択クロックとして第1の選択回路および第2の選択回路へ送出し、第2の抽出選択回路は、第2の入力インタフェース部への複数の入力信号からの一つを第2の同期クロック源として選択し、第2の抽出選択クロックとして第1の選択回路および第2の選択回路へ送出し、第1の選択回路は、第1の抽出選択クロックおよび第2の抽出選択クロックのいずれかを選択して第1の選択出力として第1のディジタルPLL回路へ送出し、第2の選択回路は、第1の抽出選択クロックおよび第2の抽出選択クロックのいずれかを選択して第2の選択出力として第2のディジタルPLL回路へ送出し、第1のディジタルPLL回路は、第1の選択出力に同期した、第1の同期クロックと第1の同期FPの生成を行い、第1の入力インタフェース部及び第2の入力インタフェース部に送出し、第2のディジタルPLL回路は、第2の選択出力に同期した、第2の同期クロックと第2の同期FPの生成を行い、第1のクロック切替回路および第2のクロック切替回路へ送出し、第1のクロック切替回路は、第1の同期クロックおよび第1の同期FP、又は第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出し、第2のクロック切替回路は、第1の同期クロックおよび第1の同期FP、又は第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出し、
第1の従属制御回路は、第1の同期FPの位相と第2の同期FPの位相が同じになるように制御する第1の制御出力を生成して第1のディジタルPLL回路に送出し、
第2の従属制御回路は、第1の同期FPの位相と第2の同期FPの位相が同じになるように制御する第2の制御出力を生成して第2のディジタルPLL回路に送出する、ことを特徴とする。
【0021】
本発明のクロック切替装置においては、ディジタルPLL回路が、選択回路の選択出力をN(N≧2)分周したN分周出力を送出する分周器Nと、クロックをM(M≧2)分周したM分周出力を送出する分周器Mと、N分周出力及びM分周出力の位相比較を行い、位相比較結果を送出する位相比較回路と、位相比較結果をカウントし、カウント値を送出するA/D変換回路と、カウント値を記憶し記憶値として送出する位相記憶回路と、カウント値及び記憶値の選択出力を選択値として送出する選択回路Tと、選択値をD/A変換してアナログ電圧を生成して送出するD/A変換回路と、アナログ電圧に含まれる不要な周波数成分を抑圧して送出するループフィルタと、ループフィルタから送出された電圧に従って周波数を制御した前記クロックを送出する電圧制御発信器と、クロックをP(P≧2)分周して生成したFPを送出する分周器Pと、カウント値と記憶値の比較を行い比較結果を送出する比較回路と、選択回路T、位相記憶回路、分周器Mを制御する制御回路と、を備えることを特徴とする。
【0022】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して詳細に説明する。本発明によるクロック切替は、装置内同期クロック源として選択した一方の入力インタフェース部のディジタルPLL回路にて生成したクロックとフレームパルス(以下、FP)を他方の入力インタフェース部に供給することで装置内のクロックを1つのディジタルPLLで生成し、他方の入力インタフェース部ではクロック切替回路(図2の112)にて供給されたクロックとFPを選択して入力信号の多重化を行い、従属制御回路(図2の113)にてディジタルPLL回路(図2の106)で生成するFPの位相が供給FPと一意の位相関係となる制御信号の生成を行い、この制御信号をディジタルPLL回路(図2の106)に用いることで、装置内クロック同期源の切替となりクロックとFPを供給する入力インタフェース部の切替が発生しても、FPが一意の位相関係にある為、伝送信号にエラーが発生しないクロック切替を実現する。
【0023】
図1〜4において入力信号を多重化して伝送する現用N(N≧2)回線を有する無線伝送装置において、入力信号1 201を装置内クロック同期源として選択するので入力インタフェース部211がマスター動作となり、入力インタフェース部212がスレーブ動作になるものとする。定常状態では、装置内クロック同期源となる入力信号1 201を処理する入力インタフェース部211においてはマスター動作となるので、入力信号1 201は変換回路101で変換され、位相制御部4からの制御信号221を用いて抽出選択回路104、選択回路105で装置内クロック同期源として選択され、ディジタルPLL回路106に送出される。ディジタルPLL回路106では、ディジタルPLLを用いて入力信号1 201に同期したクロックとFPを生成し、クロック切替回路112と他方の入力インタフェース部212内のクロック切替回路112に送出する。この時ディジタルPLL回路106では、同期源となる選択出力222を分周器N301で分周したN分周出力401と電圧制御発信器311の出力クロック406を分周器M302で分周したM分周出力402から位相比較回路303、A/D変換回路306を用いて位相差を測定し、位相記憶回路307にて記憶を行う。クロック切替回路112は、マスター動作から従属制御回路113からの制御出力224を用いて入力インタフェース部211にて生成したクロックとFPを選択し多重化回路103に送出する。また、従属制御回路113の制御信号227は、マスター動作から入力インタフェース部211内のディジタルPLL回路106内の分周器P312の制御を行わない。
一方、入力インタフェース部212においてはスレーブ動作となるので、位相制御部4からの制御信号221を用いて入力インタフェース部211の抽出選択クロック220を選択しディジタルPLL回路106に送出する。ディジタルPLL回路106は、選択出力222に同期したクロックとFPを生成し、クロック切替回路112と入力インタフェース部211内のクロック切替回路112に送出する。この時のディジタルPLL回路106では入力インタフェース部211同様に位相差を位相記憶回路307にて記憶を行う。クロック切替回路112は、従属制御回路113からの制御出力224を用いて入力インタフェース部211にて生成したクロックとFPを選択し多重化回路103に送出する。また、スレーブ動作から従属制御回路113の制御出力227がディジタルPLL回路106内の分周器P312の制御を行って入力インタフェース部211のFPと一意の位相となるようにFPの位相制御を行う。
【0024】
装置内クロック同期源が入力信号1から入力信号1に切替が発生すると、入力インタフェース部211、212では、ディジタルPLL回路106内においては、制御回路313は定常状態時に位相記憶回路307で記憶した値を用いて装置内クロック同期源切替が発生する前の状態を保持し、位相制御部4からの制御信号221から選択回路105においてディジタルPLL出力の切替えを行い、位相比較回路303、A/D変換回路306を用いて、同期クロック源切替後の分周器N301のN分周出力401と分周器M302のM分周出力402の位相差を測定し、分周器M302を制御することで分周器M302のM分周出力402の位相を変化させ定常状態時に記憶した値と一致する制御を行う。一致後一定時間経過すると、入力インタフェース部211内の従属制御回路113ではマスター動作からスレーブ動作への切替が発生し、クロック切替回路112では多重化回路103への出力を入力インタフェース部211のディジタルPLL出力223から入力インタフェース部212のディジタルPLL出力229への切替信号を送出する。また、ディジタルPLL回路106に送出した制御出力227は入力インタフェース部211のFPと一意の位相となる様な位相制御を開始する。
【0025】
一方、入力インタフェース部212の従属制御回路113ではスレーブ動作からマスター動作となり、クロック切替回路112では、多重化回路103への出力を入力インタフェース部211のディジタルPLL出力223から入力インタフェース部212のディジタルPLL出力229への切替信号を送出する。また、ディジタルPLL回路106に送出した制御信号227で行ったFP位相制御を停止する。
【0026】
これにより、入力インタフェース部211、212間の装置内同期クロック源の切替えが発生しても、入力インタフェース部211、212の多重化回路103の出力位相を一意の位相関係に保つことで位相制御部4の位相吸収回路108にて装置内同期クロック源切替が発生してもFPの位相が位相吸収回路108の位相吸収範囲以内に保たれる為、FPの位相変動による伝送信号エラーを発生することなく装置内クロック切替が可能となる。
【0027】
本発明による装置内同期クロック切替方法及び装置は、装置内クロック同期源として選択した一方の入力インタフェース部のディジタルPLL回路で生成したクロックとFPを他方の入力インタフェース部へ供給することで装置内クロックを同一化し、他方のディジタルPLL回路で生成するFPを一意の位相関係に制御することにより、複数の入力インタフェース部から位相制御部4への出力位相を一定に保つことができる。これにより、クロック切替が発生しても入力インタフェース部のFPは、位相制御部4内の位相吸収回路108の位相吸収範囲内に納めることが出来るのでクロック切替によってエラーが発生することなく切替を行うことができるものである。
【0028】
上記した本発明の実施の形態を更に詳細に説明すべく、本発明の実施例を以下に図面を参照して説明する。
【0029】
第1の実施形態:図1は、本発明実施例の無線伝送装置の装置構成ブロック図を示す。図2は装置内の入力インタフェース部211、212、図3は入力インタフェース部211、212内のディジタルPLL回路106であり、図4は、位相制御部4である。
【0030】
図1の現用第1無線回線を含む現用第1回線は、入力信号111〜114、入力信号115〜118、入力インタフェース部211、212、位相制御部4、変調部5、送信部6、受信部7、復調部8、分配部9、出力インタフェース部1011、1012、出力信号1111〜1114、出力信号1115〜1118を含んで構成される。現用第2、3、N無線回線を含む現用第2、3、N回線も同様の構成である。
【0031】
本発明は、図1の現用第1無線回線を含む現用第1回線の入力インタフェース部211、212、位相制御部4、変調部5を取り上げて説明するが、現用第2無線回線、現用第3無線回線、現用第N無線回線の入力インタフェース部221、222、231、232、2N1、2N2なども同様の構成、機能である。
【0032】
入力インタフェース部211、212においては、変換回路101では、入力信号1〜1、入力信号1〜1を伝送路バイポーラ信号を装置にて処理しやすいユニポーラ信号に変換してからフレーム同期を確立し、ユニポーラ信号に変換したデータ・フレームパルス(以下、FP)・クロックを記憶回路102に送出し、クロックを抽出選択回路104に送出する。
【0033】
記憶回路102では、変換回路101から送出されたデータをメモリーに書き込み、後述する多重化回路103からのクロックによってデータの読み出しを行う。
【0034】
多重化回路103では、後述するクロック切替回路112から送出されたクロックとFPを用いて記憶回路102のデータを読み出して多重化を行い位相制御部4に送出する。
【0035】
抽出選択回路104では、位相制御部4からの制御信号(HW(ハイウェイ)選択信号)221を用いて複数の入力信号1〜1(入力信号1〜1)から1つを同期クロック源として選択し、抽出選択クロック220(抽出選択クロック219)として選択回路105と他方入力インタフェース部212の選択回路105に送出し、入力信号1〜1が選択可能かを表す抽出クロック情報210を位相制御部4に送出する。
【0036】
選択回路105は、制御信号221を用いて自パネル抽出選択回路104の抽出選択クロック220または、他方入力インタフェース部212の抽出選択回路104の抽出選択クロック219のいずれかを選択して選択出力222としてディジタルPLL回路106に送出する。
【0037】
ディジタルPLL回路106では、定常状態時には選択出力222に同期したクロックとFPの生成を行いディジタルPLL出力223、229としてクロック切替回路112と他方入力インタフェース部212のクロック切替回路112に送出し、従属制御回路113に制御信号408を制御信号228として送出する。制御信号221からの同期クロック源に変化がある場合には、定常状態時に記憶しておいたサンプリング値を用いて動作を行いながら同期クロック源の切替を行う。
【0038】
クロック切替回路112では、後述する従属制御回路113からの制御出力224を用いてディジタルPLL回路106からのクロック、FP、または、他方入力インタフェース部212内ディジタルPLL回路106からのクロック、FPのいずれかを選択して多重化回路103に送出し、クロック切替回路112が他方入力インタフェース部212のクロック、FPを選択した場合には選択FPを従属制御回路113に送出する。
【0039】
従属制御回路113では、後述する制御回路313の制御信号408(228)と制御信号221を用いて、制御信号221が自パネル側入力信号の場合は、マスター動作として自パネル側(例えば、入力インタフェース211)のディジタルPLL回路106出力を選択する”L”、他方入力信号であればスレーブ動作として他方パネル側のディジタルPLL回路106出力を選択する”H”となる制御出力224を送出し、他方入力インタフェース部212へは、マスター動作の場合には”L”、スレーブ動作の場合には”H”制御出力225、226を送出し、スレーブ動作時にはクロック切替回路112から送出された選択FPをディジタルPLL回路106に送出する。
【0040】
ディジタルPLL回路106(図3)では、選択回路105の選択出力222を分周器N301にてN(N≧2)分周したN分周出力401を位相比較回路303に送出する。
【0041】
分周器M302では、電圧制御発信器311の出力クロック406をM(M≧2)分周したM分周出力402を位相比較回路303に送出する。また、制御回路313からの制御信号410によってM分周出力402の位相を可変できる。
【0042】
位相比較回路303では、N分周出力401の波形立ち上がりからM分周出力402の波形立ち上がりの間を”H”とする位相比較を行い、位相比較結果403をA/D変換回路306に送出する。
【0043】
A/D変換回路306では、位相比較結果403が”H”となる間を発信器304のクロックを用いてカウントし、カウント値404を位相記憶回路307、選択回路T308と比較回路314に送出する。
【0044】
タイミング生成回路305は、各回路の動作タイミングを決定するタイミング信号(タイミングクロック)をA/D変換回路306、位相記憶回路307、選択回路T308、制御回路313に送出する。
【0045】
位相記憶回路307は、タイミング生成回路305の出力するタイミング信号(タイミングクロック)に従ってカウント値404を記憶しておき、制御回路313からの制御信号408に従って記憶した値を保持する機能を有し、選択回路T308と比較回路314へ記憶値405を送出する。
【0046】
選択回路T308では、カウント値404と記憶値405の出力選択を制御回路313からの制御信号408で行い、選択値をD/A変換回路309に送出する。
【0047】
D/A変換回路309では、選択回路T308から送出された選択値をD/A変換することでアナログ電圧を生成し、ループフィルタ310に送出する。
【0048】
ループフィルタ310では、入力したアナログ電圧に含まれる不要な周波数成分を抑圧し電圧制御発信器311へ送出する。
【0049】
電圧制御発信器311では、ループフィルタ310から送出された電圧に従って周波数を制御した出力クロック406を分周器P312、分周器M302とクロック切替回路112に送出する。
【0050】
分周器P312は、出力クロック406をP(P≧2)分周して生成した出力FP(フレームパルス)407をクロック切替回路112を経由して多重化回路103に送出する。また、従属制御回路113からの制御出力227で分周カウンタのリセットを行う。
【0051】
比較回路314では、カウント値404と記憶値405の下位X(X≧1)ビットを除いた値を用いて比較を行い、記憶値405よりカウント値404が小さい場合には”LT”、大きい場合には”GT”、同じ場合には”EQ”とする比較結果409を制御回路313に送出する。
【0052】
制御回路313では、定常状態では制御信号408”L”を出力しておき、制御信号221が状態変化した場合には、制御信号408を”H”としてHOLDOVERモードに移行し、選択回路T308へ制御信号408を用いて記憶値405側に切替え、位相記憶回路307の記憶値405を保持することでクロックが変動しないようにした後、A/D変換回路306のカウント値404と記憶値405の比較結果409を用いて分周器M302の制御を行い、切替直前の位相状態と同じになるように制御する。比較回路314の比較結果409が”EQ”となり一致すると制御信号408を”L”選択回路T308の選択値を記憶値405からカウント値404に切替え、位相記憶回路307で保持した記憶値405を解除する。
【0053】
図4に示す位相制御部4では、位相吸収回路108は、入力インタフェース部211の出力209と入力インタフェース部212の出力209を電圧制御発信器107のクロックを用いて位相差を吸収して変調部5に送出する。選択回路B109は、後述するクロック制御回路111からの制御信号によって入力インタフェース部211、212いずれかのFPを選択し、PLL回路110へ送出する。PLL回路110は、選択回路B109で選択されたFPに同期する制御信号を電圧制御発信器107に送出する。電圧制御発信器107は、PLL回路110の制御信号により同期したクロックを生成し位相吸収回路108に送出する。クロック制御回路111は、入力インタフェース部211、212からの抽出クロック情報210を用いて装置内同期クロックを決定し、選択結果を選択回路B109と入力インタフェース部211、212(制御信号221として)に送出する。
【0054】
次に、図1〜4の回路動作について図5〜6のタイミングチャート(タイムチャート)とともに説明する。本説明では、装置内同期クロック源切替が入力信号111から入力信号115に切替が発生するものとし、カウント値404、記憶値405についての括弧部分はそれぞれの値の下位X(X≧1)ビットを除いた値とする。
【0055】
定常状態時の入力インタフェース部211では、位相制御部4からの制御信号221により入力信号111の選択となるので、従属制御回路113は、マスター動作となり、他方の入力インタフェース部212への制御出力225を”L”とし、クロック切替回路112への制御出力224を”L”、ディジタルPLL回路106への制御出力227を”H”とする。抽出選択回路104では、制御信号221が入力信号111の選択から入力信号1のユニポーラ信号211を選択し、抽出選択クロック220として選択回路105と他方の入力インタフェース部212の選択回路105に送出する。
【0056】
選択回路105では、制御信号221が入力信号111選択から抽出選択クロック220を選択し、ディジタルPLL回路106に送出する。クロック切替回路112は、従属制御回路113の制御出力224が”L”から自パネル側のディジタルPLL出力223を選択し、多重化回路103に送出する。
【0057】
ディジタルPLL回路106(図3)内の分周器N301は、選択回路105で選択となる選択出力222をN分周し、N分周出力401として位相比較回路303に送出する。分周器M302は、電圧制御発信器311の出力クロック406をM分周しM分周出力402を位相比較回路303に送出する。
【0058】
位相比較回路303では、N分周出力401の立ち上がり波形からM分周出力402の立ち上がり波形までの時間θ1を”H”とした位相比較結果403をA/D変換回路306に送出する。A/D変換回路306では、位相比較結果403を発信器304のクロックを用いてカウントし、カウント値404”a”に変換して位相記憶回路307、選択回路T308と比較回路314に送出する。
【0059】
位相記憶回路307は、タイミング生成回路305からのタイミング信号(タイミングクロック)でカウント値404”a”、記憶値405”a”として記憶する。
【0060】
選択回路T308は、制御信号408によりカウント値404”a”を選択値としてD/A変換回路309に送出する。D/A変換回路309では、選択値”a”をD/A変換にて電圧変換し、ループフィルタ310に送出する。電圧制御発信器311では、ループフィルタ310で不要な周波数成分を抑圧した電圧を用いて周波数制御した出力クロック406を出力する。
【0061】
分周器P312では、出力クロック406をP分周した出力FP407を生成して、クロック切替回路112に送出する。
【0062】
一方の入力インタフェース部212では、位相制御部4からの制御信号221より入力信号111選択となるので、従属制御回路113は、スレーブ動作となり、他方入力インタフェース部211への制御出力226を”H”とし、クロック切替回路112への制御出力224を”H”、ディジタルPLL回路106への制御出力227を送出する。クロック切替回路112は、制御出力224が”H”から他方入力インタフェース部211側のディジタルPLL出力223を選択し、多重化回路103に送出する。またディジタルPLL回路106は、入力インタフェース部211と同じ動作となるが、分周器P312は従属制御回路113からの制御出力227を用いてP分周カウンタをリセットし、入力インタフェース部211のFPと出力位相が同じになるように制御する。
【0063】
ここで、入力信号111から入力信号115に切替が発生すると、位相制御部4からの制御信号221も入力信号111から入力信号115に変化する。入力インタフェース部211では、制御信号221の状態変化を検出してディジタルPLL回路106内の制御回路313は、時刻t1に制御信号408を”H”として送出することで、位相記憶回路307では記憶値405を保持状態とし、選択回路T308では、D/A変換回路309への選択値をカウント値404から記憶値405に切替える。制御信号221により入力インタフェース部211では、選択回路105では選択出力222を入力インタフェース部211からの抽出選択クロック220から他方入力インタフェース部212からの抽出選択クロック219に切替える。選択出力222の切替えにより分周器N301のN分周出力401の位相が定常状態時に時刻t2に出力されたN分周出力401が時刻t3の位置で出力となる。
【0064】
位相比較回路303では、時刻t3からt4までの位相差を”H”とする位相比較結果403をA/D変換回路306に送出し、A/D変換回路306は発信器304のクロックを用いてカウントしたカウント値404”b”を比較回路314に送出する。時刻t5の時には、比較回路314では、カウント値404”b”の下位Xビットを除いた値”B”と保持している記憶値405”a”の下位Xビットを除いた値”A”の比較を行い、”b”<”a”より記憶値405よりも小さいことを表す比較結果409”LT”を制御回路313に送出する。制御回路313では、比較結果409”LT”より分周器M302の制御を行いM分周出力402の位相をt7からt8の位相に変更する。位相比較回路303では、時刻t6からt8までの位相差を”H”とする位相比較結果403をA/D変換回路306に送出し、A/D変換回路306は発信器304のクロックを用いてカウントしたカウント値404”e”を比較回路314に送出する。時刻t9の時には、比較回路314では、カウント値404”e”の下位Xビットを除いた値”A”と記憶値405”a”の下位Xビットを除いた値”A”が一致する比較結果409”EQ”を制御回路313に送出する。制御回路313は、比較結果409”EQ”から、制御信号408”L”を送出する。制御信号408”L”から選択回路T308では、選択値を記憶値405からカウント値404に切替え、位相記憶回路307では、記憶値405の保持動作を解除し、タイミング生成回路305のタイミング信号(タイミングクロック)に従ってカウント値404を記憶値405とする動作に復帰する。
【0065】
他方入力インタフェース部212では、選択回路105では選択出力222を他方入力インタフェース部211の抽出選択クロック220から入力インタフェース部212の抽出選択クロック219に切替え、ディジタルPLL回路106に送出する。ディジタルPLL回路106は入力インタフェース部211と同様に位相を保持して同期クロックを切替える。
【0066】
入力インタフェース部211の従属制御回路113は、制御信号221も入力信号111から入力信号115となり、ディジタルPLL回路106の比較結果409が”EQ”となり一定時間経過後の時刻t11にマスター動作からスレーブ動作となり、他方入力インタフェース部212への制御出力225を”H”とし、クロック切替回路112への制御出力224を”H”、ディジタルPLL回路106への制御出力227を送出する。これによりクロック切替回路112ではクロックを入力インタフェース部211のディジタルPLL出力223から他方入力インタフェース部212のディジタルPLL出力229に切替える。
【0067】
入力インタフェース部212の従属制御回路113は、他方入力インタフェース部211への制御出力225が”L”から”H”となる時にスレーブ動作からマスター動作となり、他方入力インタフェース部211への制御出力226を”L”とし、クロック切替回路112への制御出力224を”L”、ディジタルPLL回路106への制御出力227を”H”として送出する。これによりクロック切替回路112ではクロックを他方入力インタフェース部211のディジタルPLL出力223から入力インタフェース部212のディジタルPLL出力229に切替える。
【0068】
第2の実施形態:次に、本発明の第2の実施形態について図面を参照して詳細に説明する。図7は本発明の第2の実施例、図8はタイミングチャートであり従来と同じ部分は省略する。
【0069】
入力インタフェース部211内の従属制御回路113は、制御出力225、他方入力インタフェース部212内の従属制御回路113の制御出力226と、抽出選択回路104からの抽出クロック情報210を用いてマスター動作とスレーブ動作を制御する。制御出力225が”H”、制御出力226が”H”、抽出クロック情報210がユニポーラ信号211〜214のいずれか1つでも使用可能である場合には、マスター動作となり、制御出力225を”L”、クロック切替回路112への制御出力224を”L”、ディジタルPLL回路106への制御出力227を”H”とする。制御出力225が”H”、制御入力226が”L”の場合にはスレーブ動作となり、制御出力225を”H”、クロック切替回路112への制御出力224を”H”、制御出力227としてクロック切替回路112から入力するFPを送出する。マスター動作からスレーブ動作への切替が発生するのは、抽出クロック情報210がユニポーラ信号全て使用不可能の信号を送出してから一定時間経過後に、制御出力225を”L”から”H”、制御出力224を”L”から”H、ディジタルPLL回路106への制御出力227を”H”からクロック切替回路112から入力するFPに切替える。
【0070】
一方、入力インタフェース部212も同様の論理で動作するが、制御出力226が”H”、制御出力225が”H”、抽出クロック情報210がユニポーラ信号211〜214のいずれか1つでも使用可能である場合でもスレーブ動作となるものとする。入力信号111から入力信号115に切替が発生した場合には、入力信号112から入力信号114が入力断または異常状態の場合には本発明の第1の実施形態と同じ動作となる。一方、入力信号112から入力信号114が正常の場合には、図8のt11’の時にもマスター動作とスレーブ動作切替を行わず入力インタフェース部にて入力信号115に同期した装置内クロックを用いる。この実施例の利点は、従属制御回路113の構成が簡単となることである。
【0071】
【発明の効果】
第1の効果は、入力インタフェース部間の装置内クロック同期源切替が発生しても誤り無く伝送信号を伝送できることである。その理由は、本発明によるクロック切替装置は、装置内クロック同期源として選択した入力インタフェース部のディジタルPLL回路で生成したクロックとFPを他の入力インタフェース部へ供給することで装置内クロックを同一化し、他のディジタルPLL回路で生成するFPを一意の位相関係に制御することにより、複数の入力インタフェース部から位相制御部への出力位相を一定に保つことである。これにより、クロック切替が発生しても入力インタフェース部のFPは、位相制御部内の位相吸収回路の位相吸収範囲内に納めることが出来るのでクロック切替によって伝送信号エラーが発生することなく切替を行うことができる。この為、伝送信号を誤り無く伝送することが可能となる。
【0072】
第2の効果は、不要なアラームが発生しないことである。その理由は、従来では装置内クロック切替に起因して多重化回路にて同期はずれアラーム等が発生するが、本発明を用いれば、同期はずれが発生しないので不要なアラームは発生しないためである。
【図面の簡単な説明】
【図1】本発明に関する現用N回線を有する無線伝送装置の装置構成である。
【図2】本発明の第1の実施例による入力インタフェース部である。
【図3】本発明入力インタフェース部内のディジタルPLL回路である。
【図4】本発明の位相制御部である。
【図5】本発明定常状態時のクロック同期回路動作タイミングチャートである。
【図6】本発明装置内クロック切替動作時のクロック同期回路動作タイミングチャートである。
【図7】本発明の第2の実施例による入力インタフェース部である。
【図8】本発明第2の実施例による装置内クロック切替動作時のクロック同期回路動作タイミングチャートである。
【図9】従来例による入力インタフェース部である。
【図10】従来例による入力インタフェース部内のディジタルPLL回路である。
【図11】従来例による定常状態時のクロック同期回路動作タイミングチャートである。
【図12】従来例による装置内クロック切替動作時のクロック同期回路動作タイミングチャートである。
【符号の説明】
11〜114、115〜118 入力信号
〜1、1〜1 入力信号
11、212 入力インタフェース部
位相制御部
変調部
送信部
受信部
復調部
分配部
1011、1012 出力インタフェース部
1111〜1114、1115〜1118 出力信号
101 変換回路
102 記憶回路
103 多重化回路
104 抽出選択回路
105 選択回路
106 ディジタルPLL回路
107 電圧制御発信器
108 位相吸収回路
109 選択回路B
110 PLL回路
111 クロック制御回路
112 クロック切替回路
113 従属制御回路
201 入力信号
209 出力
210 抽出クロック情報
211〜214 ユニポーラ信号
219、220 抽出選択クロック
221 制御信号
222 選択出力
223 ディジタルPLL出力
224 制御出力
225 制御出力
226 制御出力
227 制御出力
228 制御信号
229 ディジタルPLL出力
301 分周器N
302 分周器M
303 位相比較回路
304 発信器
305 タイミング生成回路
306 A/D変換回路
307 位相記憶回路
308 選択回路T
309 D/A変換回路
310 ループフィルタ
311 電圧制御発信器
312 分周器P
401 N分周出力
402 M分周出力
403 位相比較結果
404 カウント値
405 記憶値
406 出力クロック
407 出力FP
408 制御信号
409 比較結果
410 制御信号
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a clock switching method and a clock switching device, and more particularly to a clock switching method and a clock switching device that perform switching without causing a transmission signal error due to clock switching.
[0002]
[Prior art]
In the wireless transmission device, in order to simplify the signal processing in the device, the clock is extracted from the input signal and used as the in-device clock. The clock in the device generates a clock synchronized with the input signal using a PLL circuit. However, when there are a plurality of input signals, the clock in the device is generated using an arbitrary input signal as a synchronization source. To synchronize and transmit other input signals. On the other hand, an input interface unit for synchronizing a plurality of input signals with the internal clock is required. However, there is a limit to the size of the input interface unit due to the size that can be mounted on the device, etc. All input signals cannot be synchronized with one input interface unit, and multiple input interface units are used. To synchronize.
[0003]
For this reason, when the input signal used as the internal clock generation synchronization source is deteriorated due to a failure, or when the input interface unit is removed from the device for maintenance, the internal clock synchronization source is not connected to the input interface unit that is not removed. It is necessary to switch. A digital sampling PLL circuit is used to switch the clock synchronization source in the apparatus without interruption. By using this digital sampling PLL circuit, it is possible to suppress the frequency fluctuation of the in-device clock even when the input signal used for line extraction is switched, and unnecessary data errors do not occur in other transmission signals. However, the digital sampling PLL circuit performs phase control using a value obtained by removing the lower X (X ≧ 1) bits of the sampling data from the quantization error at the time of digitizing the phase difference and the feasibility on the circuit configuration. When the internal clock synchronization source is switched, the following problem occurs.
[0004]
Here, as a conventional example, the input interface unit 2 11 2 12 9 will be described with reference to FIGS. 10 to 12 using a working first line (FIG. 1) including a working first wireless line of the apparatus configured as shown in FIG. In-device clock synchronization source is input signal 1 1 In the case of 201, the input interface unit 2 11 Then, in the conversion circuit 101, the input signal 1 1 The clock extracted from 201 is sent to the extraction selection circuit 104, and the extraction selection circuit 104 uses the phase control unit 4. 1 Is selected using the control signal 221 from the control signal 221 and sent to the selection circuit 105. The selection circuit 105 uses the control signal 221 to input the input interface unit 2. 11 The extraction selection clock 220 from the extraction selection circuit 104 is selected and sent to the digital PLL circuit 106. The digital PLL circuit 106 generates a clock and frame pulse (hereinafter referred to as FP) synchronized with the selection output 222 of the selection circuit 105, and inputs the input interface unit 2. 11 To the multiplexing circuit 103.
[0005]
On the other hand, the input interface unit 2 12 However, the input interface unit 2 is similarly selected from the control signal 221 by the selection circuit 105. 11 Is selected and sent to the digital PLL circuit 106. The digital PLL circuit 106 generates a clock and FP that are synchronized with the selection output 222 of the selection circuit 105, and inputs the input interface unit 2. 12 To the multiplexing circuit 103. The digital PLL circuit 106 at this time is shown in FIG. 10, and the circuit operation will be described with reference to FIG. The frequency divider N 301 divides the selection output 222 by N (N ≧ 2), and sends it to the phase comparison circuit 303 as an N divided output 401. The frequency divider M302 sends an M frequency divided output 402 obtained by dividing the output clock 406 of the voltage control oscillator 311 by M (M ≧ 2) to the phase comparison circuit 303. The phase comparison circuit 303 compares the phase difference between the N-divided output 401 and the M-divided output 402, converts the phase comparison result 403 by the A / D conversion circuit 306, and counts 404 "a" (lower X (X ≧ X ≧ 2) The value excluding the bits is “A”). Using the timing signal (timing clock) of the timing generation circuit 305, the phase storage circuit 307 stores the count value 404 "a" as the storage value 405 "a". This operation is the input interface unit 2 11 And input interface part 2 12 Input interface part 2 11 And input interface part 2 12 The phase difference of the output FP407 of each frequency divider P315 is “0”.
[0006]
When the in-device clock synchronization source is switched at time t1 '' in FIG. 12, the input interface unit 2 11 In the digital PLL circuit 106, the control circuit 313 sets the control signal 408 to “H” to enter the phase holding state, and the output of the selection circuit T 308 is changed from the count value 404 “a” of the A / D conversion circuit 306 to the phase storage circuit 307. The storage value 405 "a" is switched and sent to the D / A conversion circuit 309, and the storage value 405 "a" of the phase storage circuit 307 is held so as not to be updated with the sampling clock.
[0007]
Next, the position of the N-divided output 401 of the frequency divider N301, which was the position of t2 ″ in the past, is changed to the position of t3 ″ by switching the in-device clock synchronization source. The count value 404 from the time t3 ″ to the time t4 ″ of the A / D conversion circuit 306 changes from “a” to “b” (the value excluding the lower X bits is “B”) at the time t5 ″. The circuit 314 compares the value “B” excluding the lower X bits of the count value 404 “b” with the value “A” excluding the lower X bits of the stored value 405 “a”, and compares the comparison result 409 with “LT”. Send out as As a result, the control circuit 313 controls the frequency divider M302 to change the phase of the M frequency divided output 402 from time t7 ″ to time t8 ″. The count value 404 of the A / D conversion circuit 306 from time t5 ″ to t9 ″ is “e” (the value excluding the lower X bits is “A”). At time t9 ″, the comparison circuit 314 compares the value “A” excluding the lower X bits of the count value 404 “e” with the value “A” excluding the lower X bits of the stored value 405 “a”. Since the count value 404 matches the stored value 405, the comparison result 409 is sent to the control circuit 313 as “EQ”. In the control circuit 313, when the comparison result 409 “EQ” is obtained, the control signal 408 is set to “L”, the output of the selection circuit T308 is switched from the stored value 405 “a” to the count value 404 “e”, and the stored value of the phase storage circuit 307 is set. The holding state at 405 is released and the phase holding operation is terminated.
[0008]
Thereafter, the digital PLL circuit 106 operates normally, and at time t10 ″ after a lapse of a certain time, the count value 404 ″ a ″ is obtained, so that θ3 ″ = θ1 ″ (FIGS. 11 and 12). Similarly, the input interface unit 2 12 However, switching of the in-device clock synchronization source occurs, and control is performed after the phase holding operation. However, the count value 404 of the A / D conversion circuit 306 from time t5 ″ to time t9 ″ becomes “f” (the value excluding the lower X bits is “A”), and then the control is canceled and time t10 ′. “Occasionally θ3 ″ = θ1 ″.
[0009]
[Patent Document 1]
JP-A-11-27247 (Claim 1, FIG. 1)
[0010]
[Problems to be solved by the invention]
However, this conventional technique has the following problems.
[0011]
The first problem is that the two input interface units 2 11 2 12 The phase of the output FP 407 of the frequency divider P 315 fluctuates. The reason for this is that when the internal clock synchronization source is switched and becomes steady, θ3 ″ = θ1 ″ is obtained by the operation of the digital PLL circuit 106, but the input interface unit 2 11 Output FP 407 and input interface unit 2 of the digital PLL circuit 106 of FIG. 12 A phase difference θ4 ″ (FIG. 12) occurs in the output FP407 of the digital PLL circuit 106, and the phase difference does not become constant. This is two input interface sections 2 11 2 12 This is because the digital PLL circuit 106 of the digital PLL circuit 106 operates independently, and the count operation is performed because the control operation and sampling clock of each digital PLL circuit 106 are asynchronous, the quantization error of the sampling clock, and the feasibility of the circuit configuration. In order to compare the value 404 with the value excluding the lower X bits of the stored value 405, the count value 404 of the A / D conversion circuit 306 from time t5 ″ to t9 ″ is “e” as shown in FIG. Although it is “f”, the value excluding the low-order X bits becomes the same “a”, and it is regarded as a match, and the control ends. Thereafter, at time t10 ″, a phase difference corresponding to the values “e” and “f” occurs. This phase difference is generated and accumulated every time switching occurs. This FP is sent from the multiplexing circuit 103 to the phase control unit 4. 1 To the phase control unit 4 1 The phase absorption circuit 108 is used as a synchronization source of the PLL circuit 110 of the phase absorption circuit 108 in FIG. 11 2 12 After the phase difference is absorbed, the modulator 5 1 Is sent out. The phase absorption circuit 108 can absorb the phase up to a certain range of phase difference and can transmit the transmission signal without error even if the in-device synchronous clock source is switched. If the phase absorption range is exceeded, an error occurs in the transmission signal when the clock synchronization source in the apparatus is switched.
[0012]
The second problem is an increase in delay during transmission. The reason is that the phase control unit 4 is used to solve the first problem. 1 In order to increase the phase absorption range in the internal phase absorption circuit 108, a method of increasing the memory can be considered. However, if the phase absorption range is increased, a large amount of data is written to and read from the memory, which increases the signal delay during multiplexing. Further, even if the memory is increased, it is finite, and if the phase absorption range is exceeded, an error occurs in the transmission signal.
[0013]
The present invention provides an in-device clock switching method and device that solve the above problems.
[0014]
[Means for Solving the Problems]
A clock switching method of the present invention is a clock switching method for switching a clock from a first input interface unit to a second input interface unit in a transmission apparatus, and is a method of switching from a plurality of input signals to the first input interface unit. And selecting one of the plurality of input signals to the second input interface unit as the second synchronous clock source. Sending as a second extraction selection clock; and selecting one of the first extraction selection clock and the second extraction selection clock in the first selection circuit and sending it as a first selection output; The step of selecting either the first extraction selection clock or the second extraction selection clock in the second selection circuit and sending it as the second selection output In the first digital PLL circuit, the first synchronous clock and the first synchronous FP that are synchronized with the first selected output are generated and sent to the first input interface unit and the second input interface unit. In the second digital PLL circuit, the second synchronization clock and the second synchronization FP are generated in synchronization with the second selected output, and the first input interface unit and the second input interface unit A step of sending, and a step of selecting and sending either the first synchronous clock and the first synchronous FP or the second synchronous clock and the second synchronous FP in the first input interface unit; In the second input interface unit, the first synchronous clock and the first synchronous FP, or the second synchronous clock and the second synchronous FP are selected. A step of sending a first synchronization FP Phase of And the phase of the second synchronous FP Control to be the same Generating the first control output , Sending to the first digital PLL circuit; and a first synchronous FP Phase of And the phase of the second synchronous FP Control to be the same Generate a second control output , And sending to the second digital PLL circuit.
[0020]
The clock switching device of the present invention is a clock switching device that switches a clock from a first input interface unit to a second input interface unit in a transmission device, and the first interface unit includes a first extraction selection circuit, A first selection circuit; a first digital PLL circuit; a first clock switching circuit; and a first subordinate control circuit. The second interface unit includes a second extraction selection circuit; , A second digital PLL circuit, a second clock switching circuit, and a second subordinate control circuit, and the first extraction selection circuit has a plurality of inputs to the first input interface unit One of the signals is selected as a first synchronous clock source, and is sent as a first extraction selection clock to the first selection circuit and the second selection circuit. The second extraction selection circuit has a second input Inn One of a plurality of input signals to the face unit is selected as a second synchronous clock source, and is sent as a second extraction selection clock to the first selection circuit and the second selection circuit. The first selection circuit Selects one of the first extraction selection clock and the second extraction selection clock and sends it to the first digital PLL circuit as a first selection output, and the second selection circuit selects the first extraction selection clock. One of the clock and the second extraction selection clock is selected and sent to the second digital PLL circuit as a second selection output. The first digital PLL circuit is synchronized with the first selection output, The first synchronous FP and the first synchronous FP are generated and sent to the first input interface unit and the second input interface unit, and the second digital PLL circuit is synchronized with the second selection output, The synchronous clock and the second synchronous FP are generated and sent to the first clock switching circuit and the second clock switching circuit. The first clock switching circuit includes the first synchronous clock and the first synchronous FP, Alternatively, the second synchronous clock and the second synchronous FP are selected and transmitted, and the second clock switching circuit includes the first synchronous clock and the first synchronous FP, or the second synchronous clock and Select and send one of the second synchronous FP,
The first subordinate control circuit has a first synchronous FP Phase of And the phase of the second synchronous FP Control to be the same Generating the first control output , Send to the first digital PLL circuit,
The second subordinate control circuit has a first synchronous FP Phase of And the phase of the second synchronous FP Control to be the same Generate a second control output , The data is sent to the second digital PLL circuit.
[0021]
In the clock switching device of the present invention, the digital PLL circuit sends out the N-divided output obtained by dividing the selection output of the selection circuit by N (N ≧ 2), and the clock is M (M ≧ 2). Divided Divider M that sends M-divided output, phase comparison of N-divided output and M-divided output, phase comparison circuit that sends phase comparison results, counts phase comparison results, and sends count value An A / D conversion circuit that stores the count value and transmits the stored value as a stored value, a selection circuit T that transmits a selected output of the count value and the stored value as a selected value, and D / A converts the selected value A D / A conversion circuit that generates and sends an analog voltage, a loop filter that suppresses and sends unnecessary frequency components included in the analog voltage, and the clock whose frequency is controlled according to the voltage sent from the loop filter. A voltage control transmitter for sending, a frequency divider P for sending an FP generated by dividing the clock by P (P ≧ 2), a comparison circuit for comparing the count value with the stored value and sending the comparison result; Selected times T, characterized in that it comprises a phase memory circuit, a control circuit for controlling the frequency divider M, the.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings. In the clock switching according to the present invention, a clock and a frame pulse (hereinafter referred to as FP) generated by a digital PLL circuit of one input interface unit selected as an in-device synchronous clock source are supplied to the other input interface unit. Are generated by one digital PLL, and the other input interface unit selects the clock and FP supplied by the clock switching circuit (112 in FIG. 2), multiplexes the input signals, and the subordinate control circuit ( 2), a control signal is generated in which the phase of the FP generated by the digital PLL circuit (106 of FIG. 2) has a unique phase relationship with the supply FP, and this control signal is generated by the digital PLL circuit (FIG. 2). 106), the internal clock synchronization source is switched and the input interface section that supplies the clock and FP is switched off. There also occurs, since the FP is in a unique phase relationship, to realize the clock switching no error occurs in the transmission signal.
[0023]
1-4, in a radio transmission apparatus having a working N (N ≧ 2) line for multiplexing and transmitting input signals, the input signal 1 1 Since 201 is selected as the in-device clock synchronization source, the input interface unit 2 11 Becomes the master operation, and the input interface unit 2 12 Shall be in slave operation. In a steady state, an input signal 1 that is a clock synchronization source in the apparatus 1 Input interface unit 2 for processing 201 11 Is the master operation, so the input signal 1 1 201 is converted by the conversion circuit 101, and the phase control unit 4 1 Is selected as an in-device clock synchronization source by the extraction selection circuit 104 and the selection circuit 105 using the control signal 221 from the control signal 221 and sent to the digital PLL circuit 106. The digital PLL circuit 106 uses the digital PLL to input signal 1 1 A clock and FP synchronized with 201 are generated, and the clock switching circuit 112 and the other input interface unit 2 12 To the internal clock switching circuit 112. At this time, in the digital PLL circuit 106, an N divided output 401 obtained by dividing the selection output 222 serving as a synchronization source by the divider N301 and an output clock 406 of the voltage control oscillator 311 is divided by M by the divider M302. The phase difference is measured from the peripheral output 402 using the phase comparison circuit 303 and the A / D conversion circuit 306, and stored in the phase storage circuit 307. The clock switching circuit 112 uses the control output 224 from the slave control circuit 113 from the master operation to input interface unit 2. 11 The clock and FP generated in (1) are selected and sent to the multiplexing circuit 103. The control signal 227 of the slave control circuit 113 is input from the master operation to the input interface unit 2. 11 The frequency divider P312 in the digital PLL circuit 106 is not controlled.
On the other hand, the input interface unit 2 12 Is a slave operation, so the phase control unit 4 1 Using the control signal 221 from the input interface unit 2 11 Are selected and sent to the digital PLL circuit 106. The digital PLL circuit 106 generates a clock and FP synchronized with the selection output 222, and the clock switching circuit 112 and the input interface unit 2. 11 To the internal clock switching circuit 112. At this time, in the digital PLL circuit 106, the input interface unit 2 11 Similarly, the phase difference is stored in the phase storage circuit 307. The clock switching circuit 112 uses the control output 224 from the subordinate control circuit 113 to input the input interface unit 2. 11 The clock and FP generated in (1) are selected and sent to the multiplexing circuit 103. Further, from the slave operation, the control output 227 of the slave control circuit 113 controls the frequency divider P312 in the digital PLL circuit 106, and the input interface unit 2 11 The phase of the FP is controlled so as to have a unique phase with the FP.
[0024]
In-device clock synchronization source is input signal 1 1 To input signal 1 5 When switching occurs in the input interface unit 2 11 2 12 In the digital PLL circuit 106, the control circuit 313 holds the state before the switching of the in-device clock synchronization source using the value stored in the phase storage circuit 307 in the steady state, and the phase control unit 4 1 The digital PLL output is switched in the selection circuit 105 from the control signal 221 from the control signal 221, and the N divided output 401 of the frequency divider N 301 after switching the synchronous clock source using the phase comparison circuit 303 and the A / D conversion circuit 306. The phase difference of the M-divided output 402 of the frequency divider M302 is measured, and the phase of the M-divided output 402 of the frequency divider M302 is changed by controlling the frequency divider M302 to match the value stored in the steady state. Take control. When a certain time elapses after the match, the input interface unit 2 11 In the subordinate control circuit 113, the master operation is switched to the slave operation, and the clock switching circuit 112 outputs the output to the multiplexing circuit 103 to the input interface unit 2. 11 From the digital PLL output 223 of the input interface unit 2 12 The switching signal to the digital PLL output 229 is sent out. The control output 227 sent to the digital PLL circuit 106 is the input interface unit 2. 11 Phase control is started so as to have a unique phase with the FP.
[0025]
On the other hand, the input interface unit 2 12 The slave control circuit 113 changes from the slave operation to the master operation, and the clock switching circuit 112 outputs the output to the multiplexing circuit 103 to the input interface unit 2. 11 From the digital PLL output 223 of the input interface unit 2 12 The switching signal to the digital PLL output 229 is sent out. Further, the FP phase control performed by the control signal 227 sent to the digital PLL circuit 106 is stopped.
[0026]
Thereby, the input interface unit 2 11 2 12 Even if the internal synchronous clock source is switched between the input interface unit 2 11 2 12 By maintaining the output phase of the multiplexing circuit 103 in a unique phase relationship, the phase control unit 4 1 Since the phase of the FP is kept within the phase absorption range of the phase absorption circuit 108 even if the in-device synchronous clock source switching occurs in the phase absorption circuit 108, a transmission signal error due to the phase variation of the FP does not occur. In-device clock switching is possible.
[0027]
An apparatus synchronous clock switching method and apparatus according to the present invention provides an internal clock by supplying a clock and FP generated by a digital PLL circuit of one input interface unit selected as an internal clock synchronization source to the other input interface unit. And the FP generated by the other digital PLL circuit is controlled to have a unique phase relationship, so that the phase control unit 4 can be controlled from a plurality of input interface units. 1 The output phase to can be kept constant. As a result, even if clock switching occurs, the FP of the input interface unit is not affected by the phase control unit 4. 1 Therefore, switching can be performed without generating an error by clock switching.
[0028]
In order to describe the above-described embodiment of the present invention in more detail, examples of the present invention will be described below with reference to the drawings.
[0029]
First Embodiment: FIG. 1 is a block diagram showing the configuration of a radio transmission apparatus according to an embodiment of the present invention. FIG. 2 shows an input interface unit 2 in the apparatus. 11 2 12 FIG. 3 shows the input interface unit 2 11 2 12 FIG. 4 shows a phase control unit 4. 1 It is.
[0030]
The working first line including the working first radio line in FIG. 11 ~ 1 14 , Input signal 1 15 ~ 1 18 Input interface unit 2 11 2 12 , Phase control unit 4 1 , Modulation section 5 1 , Transmitter 6 1 , Receiver 7 1 , Demodulator 8 1 , Distribution unit 9 1 Output interface unit 10 11 10 12 , Output signal 11 11 ~ 11 14 , Output signal 11 15 ~ 11 18 It is comprised including. The working second, third, and N lines including the working second, third, and N radio lines have the same configuration.
[0031]
The present invention provides an input interface unit 2 for a working first line including the working first wireless line of FIG. 11 2 12 , Phase control unit 4 1 , Modulation section 5 1 The input interface unit 2 of the working second wireless line, working third wireless line, working Nth wireless line 21 2 22 2 31 2 32 2 N1 2 N2 Etc. have the same configuration and function.
[0032]
Input interface unit 2 11 2 12 In the conversion circuit 101, the input signal 1 1 ~ 1 4 , Input signal 1 5 ~ 1 8 Is converted to a unipolar signal that can be easily processed by the apparatus, frame synchronization is established, and a data frame pulse (hereinafter referred to as FP) clock converted to a unipolar signal is sent to the memory circuit 102, Is sent to the extraction selection circuit 104.
[0033]
In the memory circuit 102, the data sent from the conversion circuit 101 is written in the memory, and the data is read by a clock from the multiplexing circuit 103 described later.
[0034]
The multiplexing circuit 103 reads and multiplexes the data in the storage circuit 102 using the clock and FP sent from the clock switching circuit 112 (to be described later), and performs the multiplexing. 1 To send.
[0035]
In the extraction selection circuit 104, the phase control unit 4 1 A plurality of input signals 1 using a control signal (HW (highway) selection signal) 221 from 1 ~ 1 4 (Input signal 1 5 ~ 1 8 ) Are selected as synchronous clock sources, and the selection circuit 105 and the other input interface unit 2 are selected as the extraction selection clock 220 (extraction selection clock 219). 12 To the selection circuit 105 and input signal 1 1 ~ 1 4 The extracted clock information 210 indicating whether can be selected is the phase control unit 4 1 To send.
[0036]
The selection circuit 105 uses the control signal 221 to select the extraction selection clock 220 of the own panel extraction selection circuit 104 or the other input interface unit 2. 12 One of the extraction selection clocks 219 of the extraction selection circuit 104 is selected and sent to the digital PLL circuit 106 as a selection output 222.
[0037]
The digital PLL circuit 106 generates a clock and FP synchronized with the selection output 222 in a steady state, and generates the digital PLL outputs 223 and 229 as the clock switching circuit 112 and the other input interface unit 2. 12 The control signal 408 is transmitted to the slave control circuit 113 as the control signal 228. When there is a change in the synchronous clock source from the control signal 221, the synchronous clock source is switched while operating using the sampling value stored in the steady state.
[0038]
In the clock switching circuit 112, a clock, FP, or other input interface unit 2 from the digital PLL circuit 106 using a control output 224 from the slave control circuit 113 described later. 12 One of the clock and FP from the internal digital PLL circuit 106 is selected and sent to the multiplexing circuit 103, and the clock switching circuit 112 is connected to the other input interface unit 2. 12 When the clock and FP are selected, the selected FP is sent to the slave control circuit 113.
[0039]
The subordinate control circuit 113 uses a control signal 408 (228) and a control signal 221 of the control circuit 313 to be described later, and when the control signal 221 is an input signal on the own panel side, the master operation (for example, an input interface) 2 11 ) For selecting the output of the digital PLL circuit 106, and if it is the other input signal, the control output 224 becomes “H” for selecting the output of the digital PLL circuit 106 on the other panel side as a slave operation, and the other input interface Part 2 12 In the master operation, “L” is sent out in the case of master operation, and “H” control outputs 225 and 226 are sent out in the case of slave operation. The selected FP sent from the clock switching circuit 112 is sent to the digital PLL circuit 106 in the slave operation. Send it out.
[0040]
In the digital PLL circuit 106 (FIG. 3), an N-divided output 401 obtained by dividing the selection output 222 of the selection circuit 105 by N (N ≧ 2) by the frequency divider N301 is sent to the phase comparison circuit 303.
[0041]
The frequency divider M302 sends an M frequency divided output 402 obtained by dividing the output clock 406 of the voltage control oscillator 311 by M (M ≧ 2) to the phase comparison circuit 303. Further, the phase of the M-divided output 402 can be varied by a control signal 410 from the control circuit 313.
[0042]
The phase comparison circuit 303 performs phase comparison with “H” between the waveform rise of the N-divided output 401 and the waveform rise of the M-divided output 402, and sends the phase comparison result 403 to the A / D conversion circuit 306. .
[0043]
The A / D conversion circuit 306 counts while the phase comparison result 403 is “H” using the clock of the transmitter 304, and sends the count value 404 to the phase storage circuit 307, the selection circuit T 308, and the comparison circuit 314. .
[0044]
The timing generation circuit 305 sends a timing signal (timing clock) for determining the operation timing of each circuit to the A / D conversion circuit 306, the phase storage circuit 307, the selection circuit T308, and the control circuit 313.
[0045]
The phase storage circuit 307 has a function of storing the count value 404 in accordance with the timing signal (timing clock) output from the timing generation circuit 305 and holding the value stored in accordance with the control signal 408 from the control circuit 313. The stored value 405 is sent to the circuit T308 and the comparison circuit 314.
[0046]
In the selection circuit T308, output selection of the count value 404 and the storage value 405 is performed by the control signal 408 from the control circuit 313, and the selection value is sent to the D / A conversion circuit 309.
[0047]
The D / A conversion circuit 309 generates an analog voltage by D / A converting the selection value sent from the selection circuit T308 and sends it to the loop filter 310.
[0048]
The loop filter 310 suppresses unnecessary frequency components included in the input analog voltage and sends them to the voltage control transmitter 311.
[0049]
The voltage control oscillator 311 sends an output clock 406, the frequency of which is controlled according to the voltage sent from the loop filter 310, to the frequency divider P312, the frequency divider M302, and the clock switching circuit 112.
[0050]
The frequency divider P312 sends an output FP (frame pulse) 407 generated by dividing the output clock 406 by P (P ≧ 2) to the multiplexing circuit 103 via the clock switching circuit 112. Further, the frequency division counter is reset by the control output 227 from the subordinate control circuit 113.
[0051]
The comparison circuit 314 compares the count value 404 and the stored value 405 except for the lower X (X ≧ 1) bits. When the count value 404 is smaller than the stored value 405, “LT” is obtained. Is sent to the control circuit 313 as “GT”, and in this case, “EQ”.
[0052]
The control circuit 313 outputs the control signal 408 “L” in the steady state, and when the state of the control signal 221 changes, the control signal 408 is set to “H” to shift to the HOLDOVER mode and control is performed to the selection circuit T308. After switching to the stored value 405 side using the signal 408 and keeping the stored value 405 of the phase storage circuit 307 so that the clock does not fluctuate, the count value 404 of the A / D conversion circuit 306 and the stored value 405 are compared. The frequency divider M302 is controlled using the result 409, and is controlled to be the same as the phase state immediately before switching. When the comparison result 409 of the comparison circuit 314 becomes “EQ” and matches, the control signal 408 switches the selection value of the “L” selection circuit T308 from the stored value 405 to the count value 404, and the stored value 405 held in the phase storage circuit 307 is released. To do.
[0053]
Phase control unit 4 shown in FIG. 1 Then, the phase absorption circuit 108 is connected to the input interface unit 2. 11 Output 209 and input interface unit 2 12 The output unit 209 absorbs the phase difference by using the clock of the voltage control oscillator 107 to modulate the modulation unit 5. 1 To send. The selection circuit B 109 receives the input interface unit 2 in response to a control signal from a clock control circuit 111 described later. 11 2 12 Either FP is selected and sent to the PLL circuit 110. The PLL circuit 110 sends a control signal synchronized with the FP selected by the selection circuit B 109 to the voltage control oscillator 107. The voltage control oscillator 107 generates a clock synchronized with the control signal of the PLL circuit 110 and sends it to the phase absorption circuit 108. The clock control circuit 111 includes the input interface unit 2 11 2 12 The in-device synchronous clock is determined using the extracted clock information 210 from the data, and the selection result is sent to the selection circuit B109 and the input interface unit 2 11 2 12 (As control signal 221).
[0054]
Next, the circuit operation of FIGS. 1 to 4 will be described together with the timing charts (time charts) of FIGS. In this description, the in-device synchronous clock source switching is input signal 1 11 To input signal 1 15 The parentheses for the count value 404 and the stored value 405 are values obtained by removing the lower X (X ≧ 1) bits of the respective values.
[0055]
Input interface unit 2 in steady state 11 Then, the phase control unit 4 1 The control signal 221 from the input signal 1 11 Therefore, the subordinate control circuit 113 performs the master operation, and the other input interface unit 2 12 The control output 225 to “L” is set to “L”, the control output 224 to the clock switching circuit 112 is set to “L”, and the control output 227 to the digital PLL circuit 106 is set to “H”. In the extraction selection circuit 104, the control signal 221 is input signal 1 11 Input signal 1 from selection 1 The unipolar signal 211 is selected, the selection circuit 105 as the extraction selection clock 220 and the other input interface unit 2 12 To the selection circuit 105.
[0056]
In the selection circuit 105, the control signal 221 is input signal 1 11 The extraction selection clock 220 is selected from the selection and sent to the digital PLL circuit 106. The clock switching circuit 112 selects the digital PLL output 223 on the own panel side when the control output 224 of the slave control circuit 113 is “L”, and sends it to the multiplexing circuit 103.
[0057]
A frequency divider N301 in the digital PLL circuit 106 (FIG. 3) divides the selection output 222 selected by the selection circuit 105 by N and sends it to the phase comparison circuit 303 as an N divided output 401. The frequency divider M302 divides the output clock 406 of the voltage control oscillator 311 by M and sends the M-frequency divided output 402 to the phase comparison circuit 303.
[0058]
The phase comparison circuit 303 sends the phase comparison result 403 to the A / D conversion circuit 306 with the time θ1 from the rising waveform of the N divided output 401 to the rising waveform of the M divided output 402 being “H”. In the A / D conversion circuit 306, the phase comparison result 403 is counted using the clock of the transmitter 304, converted into a count value 404 "a", and sent to the phase storage circuit 307, the selection circuit T308, and the comparison circuit 314.
[0059]
The phase storage circuit 307 stores the count value 404 "a" and the storage value 405 "a" by the timing signal (timing clock) from the timing generation circuit 305.
[0060]
The selection circuit T308 sends the count value 404 “a” as a selection value to the D / A conversion circuit 309 according to the control signal 408. In the D / A conversion circuit 309, the selection value “a” is voltage-converted by D / A conversion and sent to the loop filter 310. The voltage control oscillator 311 outputs an output clock 406 whose frequency is controlled using a voltage in which unnecessary frequency components are suppressed by the loop filter 310.
[0061]
The frequency divider P312 generates an output FP407 obtained by dividing the output clock 406 by P and sends it to the clock switching circuit 112.
[0062]
One input interface unit 2 12 Then, the phase control unit 4 1 Input signal 1 from control signal 221 from 11 Since the subordinate control circuit 113 is in a slave operation, the other input interface unit 2 is selected. 11 The control output 226 to “H” is set to “H”, the control output 224 to the clock switching circuit 112 is set to “H”, and the control output 227 to the digital PLL circuit 106 is transmitted. In the clock switching circuit 112, the control output 224 is changed from “H” to the other input interface unit 2. 11 Side digital PLL output 223 is selected and sent to the multiplexing circuit 103. The digital PLL circuit 106 includes an input interface unit 2. 11 The frequency divider P312 resets the P frequency division counter using the control output 227 from the subordinate control circuit 113, and the input interface unit 2 11 The FP is controlled so that the output phase is the same as that of the FP.
[0063]
Here, the input signal 1 11 To input signal 1 15 When switching occurs, phase control unit 4 1 The control signal 221 from the input signal 1 11 To input signal 1 15 To change. Input interface unit 2 11 Then, when the state change of the control signal 221 is detected, the control circuit 313 in the digital PLL circuit 106 transmits the control signal 408 as “H” at time t 1, so that the storage value 405 is held in the phase storage circuit 307. In the selection circuit T308, the selection value for the D / A conversion circuit 309 is switched from the count value 404 to the stored value 405. The input interface unit 2 is controlled by the control signal 221. 11 Then, the selection circuit 105 outputs the selection output 222 to the input interface unit 2. 11 Extraction selection clock 220 from the other input interface unit 2 12 Is switched to the extraction selection clock 219. By switching the selection output 222, the N-divided output 401 output at time t2 when the phase of the N-divided output 401 of the frequency divider N301 is in a steady state is output at the position of time t3.
[0064]
The phase comparison circuit 303 sends a phase comparison result 403 in which the phase difference from time t3 to t4 is “H” to the A / D conversion circuit 306. The A / D conversion circuit 306 uses the clock of the oscillator 304. The counted value 404 “b” is sent to the comparison circuit 314. At time t5, the comparison circuit 314 compares the value “B” excluding the lower X bits of the count value 404 “b” and the value “A” excluding the lower X bits of the stored value 405 “a”. The comparison is performed, and a comparison result 409 “LT” indicating that “b” <“a” is smaller than the stored value 405 is sent to the control circuit 313. The control circuit 313 controls the frequency divider M302 based on the comparison result 409 “LT” to change the phase of the M frequency divided output 402 from t7 to t8. The phase comparison circuit 303 sends a phase comparison result 403 in which the phase difference from time t6 to time t8 is “H” to the A / D conversion circuit 306. The A / D conversion circuit 306 uses the clock of the oscillator 304. The counted value 404 “e” is sent to the comparison circuit 314. At time t9, the comparison circuit 314 compares the value “A” obtained by removing the lower X bits of the count value 404 “e” and the value “A” obtained by removing the lower X bits of the stored value 405 “a”. 409 “EQ” is sent to the control circuit 313. The control circuit 313 sends a control signal 408 “L” from the comparison result 409 “EQ”. In the selection circuit T308 from the control signal 408 “L”, the selection value is switched from the storage value 405 to the count value 404. In the phase storage circuit 307, the operation of holding the storage value 405 is canceled, and the timing signal (timing of the timing generation circuit 305) The operation returns to the operation of setting the count value 404 to the stored value 405 according to the clock).
[0065]
On the other hand, input interface 2 12 In the selection circuit 105, the selection output 222 is sent to the other input interface unit 2. 11 Input interface unit 2 from extraction selection clock 220 12 Are switched to the extraction selection clock 219 and sent to the digital PLL circuit 106. The digital PLL circuit 106 includes an input interface unit 2 11 In the same manner as described above, the synchronous clock is switched while maintaining the phase.
[0066]
Input interface unit 2 11 The subordinate control circuit 113 of the control signal 221 also receives the input signal 1 11 To input signal 1 15 As a result, the comparison result 409 of the digital PLL circuit 106 becomes “EQ”, and the master operation is changed to the slave operation at time t11 after a predetermined time has elapsed. 12 The control output 225 to “H” is set to “H”, the control output 224 to the clock switching circuit 112 is set to “H”, and the control output 227 to the digital PLL circuit 106 is transmitted. As a result, the clock switching circuit 112 supplies the clock to the input interface unit 2. 11 Digital PLL output 223 to the other input interface unit 2 12 Is switched to the digital PLL output 229.
[0067]
Input interface unit 2 12 The subordinate control circuit 113 of the other input interface unit 2 11 When the control output 225 to “L” is changed from “L” to “H”, the slave operation becomes the master operation, and the other input interface unit 2 11 The control output 226 to “L” is set to “L”, the control output 224 to the clock switching circuit 112 is set to “L”, and the control output 227 to the digital PLL circuit 106 is set to “H”. As a result, the clock switching circuit 112 supplies the clock to the other input interface unit 2. 11 From the digital PLL output 223 of the input interface unit 2 12 Is switched to the digital PLL output 229.
[0068]
Second Embodiment: Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 7 is a second embodiment of the present invention, and FIG. 8 is a timing chart.
[0069]
Input interface unit 2 11 The subordinate control circuit 113 includes a control output 225 and the other input interface unit 2. 12 The master operation and the slave operation are controlled using the control output 226 of the subordinate control circuit 113 and the extracted clock information 210 from the extraction selection circuit 104. When the control output 225 is “H”, the control output 226 is “H”, and the extracted clock information 210 can be used by any one of the unipolar signals 211 to 214, the master operation is performed and the control output 225 is set to “L”. “The control output 224 to the clock switching circuit 112 is set to“ L ”, and the control output 227 to the digital PLL circuit 106 is set to“ H ”. When the control output 225 is “H” and the control input 226 is “L”, the slave operation is performed, the control output 225 is “H”, the control output 224 to the clock switching circuit 112 is “H”, and the control output 227 is clocked. The FP input from the switching circuit 112 is sent out. Switching from the master operation to the slave operation occurs because the control output 225 is changed from “L” to “H” after a certain time has elapsed since the extracted clock information 210 sends a signal indicating that all unipolar signals cannot be used. The output 224 is switched from “L” to “H”, and the control output 227 to the digital PLL circuit 106 is switched from “H” to FP input from the clock switching circuit 112.
[0070]
On the other hand, the input interface unit 2 12 Operates with the same logic, but even if the control output 226 is “H”, the control output 225 is “H”, and the extracted clock information 210 can be used by any one of the unipolar signals 211 to 214, Shall be. Input signal 1 11 To input signal 1 15 When switching occurs in the input signal 1 12 To input signal 1 14 Is the same operation as in the first embodiment of the present invention when input is interrupted or in an abnormal state. On the other hand, input signal 1 12 To input signal 1 14 Is normal, the master interface and the slave operation are not switched at time t11 ′ in FIG. 15 An in-device clock synchronized with is used. The advantage of this embodiment is that the configuration of the subordinate control circuit 113 is simplified.
[0071]
【The invention's effect】
The first effect is that a transmission signal can be transmitted without error even if the in-device clock synchronization source switching between the input interface units occurs. The reason is that the clock switching device according to the present invention makes the internal clock identical by supplying the clock and FP generated by the digital PLL circuit of the input interface unit selected as the internal clock synchronization source to the other input interface unit. By controlling the FP generated by another digital PLL circuit to have a unique phase relationship, the output phase from the plurality of input interface units to the phase control unit is kept constant. As a result, even if clock switching occurs, the FP of the input interface unit can be kept within the phase absorption range of the phase absorption circuit in the phase control unit, so that switching can be performed without generating a transmission signal error due to clock switching. Can do. For this reason, it becomes possible to transmit a transmission signal without error.
[0072]
The second effect is that an unnecessary alarm does not occur. The reason is that, conventionally, an out-of-synchronization alarm or the like is generated in the multiplexing circuit due to switching of the clock in the apparatus, but if the present invention is used, an out-of-synchronization does not occur and an unnecessary alarm does not occur.
[Brief description of the drawings]
FIG. 1 shows the configuration of a radio transmission apparatus having an active N line according to the present invention.
FIG. 2 is an input interface unit according to the first embodiment of the present invention.
FIG. 3 is a digital PLL circuit in the input interface unit of the present invention.
FIG. 4 is a phase controller of the present invention.
FIG. 5 is a clock synchronization circuit operation timing chart in the steady state of the present invention.
FIG. 6 is a clock synchronization circuit operation timing chart during the clock switching operation in the device of the present invention.
FIG. 7 shows an input interface unit according to a second embodiment of the present invention.
FIG. 8 is an operation timing chart of the clock synchronization circuit at the time of the internal clock switching operation according to the second embodiment of the present invention.
FIG. 9 shows an input interface unit according to a conventional example.
FIG. 10 is a digital PLL circuit in an input interface unit according to a conventional example.
FIG. 11 is an operation timing chart of a clock synchronization circuit in a steady state according to a conventional example.
FIG. 12 is an operation timing chart of the clock synchronization circuit at the time of the internal clock switching operation according to the conventional example.
[Explanation of symbols]
1 11 ~ 1 14 1 15 ~ 1 18 input signal
1 1 ~ 1 4 1 5 ~ 1 8 input signal
2 11 2 12 Input interface section
4 1 Phase controller
5 1 Modulator
6 1 Transmitter
7 1 Receiver
8 1 Demodulator
9 1 Distribution department
10 11 10 12 Output interface section
11 11 ~ 11 14 , 11 15 ~ 11 18 Output signal
101 Conversion circuit
102 Memory circuit
103 Multiplexing circuit
104 Extraction selection circuit
105 selection circuit
106 Digital PLL circuit
107 Voltage controlled transmitter
108 Phase absorption circuit
109 Selection circuit B
110 PLL circuit
111 Clock control circuit
112 Clock switching circuit
113 Subordinate control circuit
201 Input signal
209 output
210 Extracted clock information
211-214 Unipolar signal
219, 220 Extraction selection clock
221 Control signal
222 Selection output
223 Digital PLL output
224 Control output
225 Control output
226 Control output
227 Control output
228 control signal
229 Digital PLL output
301 Divider N
302 Divider M
303 Phase comparison circuit
304 transmitter
305 Timing generation circuit
306 A / D conversion circuit
307 Phase memory circuit
308 Selection circuit T
309 D / A conversion circuit
310 Loop filter
311 Voltage controlled transmitter
312 Divider P
401 N frequency division output
402 M frequency division output
403 Phase comparison result
404 count value
405 Memory value
406 output clock
407 output FP
408 Control signal
409 Comparison results
410 Control signal

Claims (3)

伝送装置における第1の入力インタフェース部から第2の入力インタフェース部へクロックを切替えるクロック切替方法であって、
前記第1の入力インタフェース部への複数の入力信号からの一つを第1の同期クロック源として選択し、第1の抽出選択クロックとして送出する工程と、
前記第2の入力インタフェース部への複数の入力信号からの一つを第2の同期クロック源として選択し、第2の抽出選択クロックとして送出する工程と、
第1の選択回路において、前記第1の抽出選択クロックおよび前記第2の抽出選択クロックのいずれかを選択して第1の選択出力として送出する工程と、
第2の選択回路において、前記第1の抽出選択クロックおよび前記第2の抽出選択クロックのいずれかを選択して第2の選択出力として送出する工程と、
第1のディジタルPLL回路において、前記第1の選択出力に同期した、第1の同期クロックと第1の同期フレームパルス(FP)の生成を行い、前記第1の入力インタフェース部及び前記第2の入力インタフェース部に送出する工程と、
第2のディジタルPLL回路において、前記第2の選択出力に同期した、第2の同期クロックと第2の同期FPの生成を行い、前記第1の入力インタフェース部及び前記第2の入力インタフェース部に送出する工程と、
前記第1の入力インタフェース部において、前記第1の同期クロックおよび第1の同期FP、又は前記第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出する工程と、
前記第2の入力インタフェース部において、前記第1の同期クロックおよび第1の同期FP、又は前記第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出する工程と、
前記第1の同期FPの位相と前記第2の同期FPの位相が同じになるように制御する第1の制御出力を生成して前記第1のディジタルPLL回路に送出する工程と、
前記第1の同期FPの位相と前記第2の同期FPの位相が同じになるように制御する第2の制御出力を生成して前記第2のディジタルPLL回路に送出する工程と、を備えることを特徴とするクロック切替方法。
A clock switching method for switching a clock from a first input interface unit to a second input interface unit in a transmission apparatus,
Selecting one of a plurality of input signals to the first input interface unit as a first synchronous clock source and sending it as a first extraction selection clock;
Selecting one of a plurality of input signals to the second input interface unit as a second synchronous clock source and sending it as a second extraction selection clock;
In the first selection circuit, selecting one of the first extraction selection clock and the second extraction selection clock and sending it as a first selection output;
In the second selection circuit, selecting either the first extraction selection clock or the second extraction selection clock and sending it as a second selection output;
In the first digital PLL circuit, a first synchronization clock and a first synchronization frame pulse (FP) are generated in synchronization with the first selection output, and the first input interface unit and the second synchronization frame pulse (FP) are generated. Sending to the input interface unit;
In the second digital PLL circuit, a second synchronous clock and a second synchronous FP that are synchronized with the second selected output are generated, and the first input interface unit and the second input interface unit A sending process;
Selecting and transmitting either the first synchronous clock and the first synchronous FP, or the second synchronous clock and the second synchronous FP in the first input interface unit;
Selecting and sending either the first synchronous clock and the first synchronous FP or the second synchronous clock and the second synchronous FP in the second input interface unit;
A step of the first synchronization FP phase and the second synchronization FP phases to generate a first control output for controlling to be the same, and sends it to the first digital PLL circuit,
Said first synchronization FP phase and the second synchronization FP phase generates a second control output for controlling to be the same, and a step of sending to said second digital PLL circuit And a clock switching method.
伝送装置における第1の入力インタフェース部から第2の入力インタフェース部へクロックを切替えるクロック切替装置であって、
前記第1のインタフェース部は、第1の抽出選択回路と、第1の選択回路と、第1のディジタルPLL回路と、第1のクロック切替回路と、第1の従属制御回路とを備え、
前記第2のインタフェース部は、第2の抽出選択回路と、第2の選択回路と、第2のディジタルPLL回路と、第2のクロック切替回路と、第2の従属制御回路とを備え、
前記第1の抽出選択回路は、前記第1の入力インタフェース部への複数の入力信号からの一つを第1の同期クロック源として選択し、第1の抽出選択クロックとして前記第1の選択回路および前記第2の選択回路へ送出し、
前記第2の抽出選択回路は、前記第2の入力インタフェース部への複数の入力信号からの一つを第2の同期クロック源として選択し、第2の抽出選択クロックとして前記第1の選択回路および前記第2の選択回路へ送出し、
前記第1の選択回路は、前記第1の抽出選択クロックおよび前記第2の抽出選択クロックのいずれかを選択して第1の選択出力として前記第1のディジタルPLL回路へ送出し、
前記第2の選択回路は、前記第1の抽出選択クロックおよび前記第2の抽出選択クロックのいずれかを選択して第2の選択出力として前記第2のディジタルPLL回路へ送出し、
前記第1のディジタルPLL回路は、前記第1の選択出力に同期した、第1の同期クロックと第1の同期FPの生成を行い、前記第1の入力インタフェース部及び前記第2の入力インタフェース部に送出し、
前記第2のディジタルPLL回路は、前記第2の選択出力に同期した、第2の同期クロックと第2の同期FPの生成を行い、前記第1のクロック切替回路および前記第2のクロック切替回路へ送出し、
前記第1のクロック切替回路は、前記第1の同期クロックおよび第1の同期FP、又は前記第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出し、
前記第2のクロック切替回路は、前記第1の同期クロックおよび第1の同期FP、又は前記第2の同期クロックおよび第2の同期FP、のいずれかを選択して送出し、
前記第1の従属制御回路は、前記第1の同期FPの位相と前記第2の同期FPの位相が同じになるように制御する第1の制御出力を生成して前記第1のディジタルPLL回路に送出し、
前記第2の従属制御回路は、前記第1の同期FPの位相と前記第2の同期FPの位相が同じになるように制御する第2の制御出力を生成して前記第2のディジタルPLL回路に送出する、
ことを特徴とするクロック切替装置。
A clock switching device for switching a clock from a first input interface unit to a second input interface unit in a transmission device,
The first interface unit includes a first extraction selection circuit, a first selection circuit, a first digital PLL circuit, a first clock switching circuit, and a first subordinate control circuit,
The second interface unit includes a second extraction selection circuit, a second selection circuit, a second digital PLL circuit, a second clock switching circuit, and a second subordinate control circuit,
The first extraction selection circuit selects one of a plurality of input signals to the first input interface unit as a first synchronous clock source, and uses the first selection circuit as a first extraction selection clock. And sending to the second selection circuit,
The second extraction selection circuit selects one of a plurality of input signals to the second input interface unit as a second synchronous clock source, and uses the first selection circuit as a second extraction selection clock. And sending to the second selection circuit,
The first selection circuit selects one of the first extraction selection clock and the second extraction selection clock and sends it to the first digital PLL circuit as a first selection output;
The second selection circuit selects either the first extraction selection clock or the second extraction selection clock and sends it to the second digital PLL circuit as a second selection output;
The first digital PLL circuit generates a first synchronous clock and a first synchronous FP synchronized with the first selection output, and the first input interface unit and the second input interface unit To
The second digital PLL circuit generates a second synchronous clock and a second synchronous FP synchronized with the second selection output, and the first clock switching circuit and the second clock switching circuit To
The first clock switching circuit selects and sends either the first synchronous clock and the first synchronous FP, or the second synchronous clock and the second synchronous FP,
The second clock switching circuit selects and sends either the first synchronous clock and the first synchronous FP, or the second synchronous clock and the second synchronous FP,
The first dependent control circuit, said first first generates a control output, wherein the synchronized FP phase second synchronization FP phase is controlled to be the same, the first digital PLL To the circuit,
It said second slave control circuit, the first second and generates a control output, wherein the synchronized FP phase second synchronization FP phase is controlled to be the same, the second digital PLL Send to circuit,
A clock switching device.
前記第1および第2のディジタルPLL回路が、
前記選択回路の選択出力をN(N≧2)分周したN分周出力を送出する分周器Nと、
前記クロックをM(M≧2)分周したM分周出力を送出する分周器Mと、
前記N分周出力及び前記M分周出力の位相比較を行い、位相比較結果を送出する位相比較回路と、
前記位相比較結果をカウントし、カウント値を送出するA/D変換回路と、
前記カウント値を記憶し記憶値として送出する位相記憶回路と、
前記カウント値及び前記記憶値の選択出力を選択値として送出する選択回路Tと、
前記選択値をD/A変換してアナログ電圧を生成して送出するD/A変換回路と、
前記アナログ電圧に含まれる不要な周波数成分を抑圧して送出するループフィルタと、
前記ループフィルタから送出された電圧に従って周波数を制御した前記クロックを送出する電圧制御発信器と、
前記クロックをP(P≧2)分周して生成したFPを送出する分周器Pと、
前記カウント値と前記記憶値の比較を行い比較結果を送出する比較回路と、
前記選択回路T、前記位相記憶回路、前記分周器Mを制御する制御回路と、
を備えることを特徴とする請求項2に記載のクロック切替装置。
The first and second digital PLL circuits are
A frequency divider N for transmitting an N-divided output obtained by dividing the selection output of the selection circuit by N (N ≧ 2);
A frequency divider M for transmitting an M-divided output obtained by dividing the clock by M (M ≧ 2);
A phase comparison circuit that performs phase comparison of the N-divided output and the M-divided output and sends out a phase comparison result;
An A / D conversion circuit that counts the phase comparison results and sends a count value;
A phase storage circuit for storing the count value and sending it as a stored value;
A selection circuit T for sending a selection output of the count value and the stored value as a selection value;
A D / A conversion circuit for D / A converting the selected value to generate and send an analog voltage;
A loop filter that suppresses and transmits unnecessary frequency components included in the analog voltage;
A voltage controlled oscillator for transmitting the clock whose frequency is controlled according to the voltage transmitted from the loop filter;
A frequency divider P for sending out an FP generated by dividing the clock by P (P ≧ 2);
A comparison circuit that compares the count value with the stored value and sends a comparison result;
A control circuit for controlling the selection circuit T, the phase storage circuit, and the frequency divider M;
The clock switching device according to claim 2, further comprising:
JP2002342362A 2002-11-26 2002-11-26 Clock switching method and clock switching device Expired - Fee Related JP4336790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002342362A JP4336790B2 (en) 2002-11-26 2002-11-26 Clock switching method and clock switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002342362A JP4336790B2 (en) 2002-11-26 2002-11-26 Clock switching method and clock switching device

Publications (2)

Publication Number Publication Date
JP2004179864A JP2004179864A (en) 2004-06-24
JP4336790B2 true JP4336790B2 (en) 2009-09-30

Family

ID=32704452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002342362A Expired - Fee Related JP4336790B2 (en) 2002-11-26 2002-11-26 Clock switching method and clock switching device

Country Status (1)

Country Link
JP (1) JP4336790B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114108236A (en) * 2020-08-31 2022-03-01 天津海尔洗涤电器有限公司 Dewatering control method and device for washing equipment

Also Published As

Publication number Publication date
JP2004179864A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
JP2012049754A (en) Clock generation circuit
JP3850063B2 (en) Method and apparatus for determining feedback division ratio in a phase locked loop
JP4336790B2 (en) Clock switching method and clock switching device
US9832551B2 (en) Optical transmission device and optical transmission control method
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JP4156529B2 (en) Selectable clocking architecture
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
JP7083644B2 (en) Clock switching device
US5923704A (en) Transmit clock generation system and method
JP7198335B2 (en) clock switching device
JPH07273648A (en) Pll circuit
US20070079163A1 (en) Transmitting apparatus
JP4465658B2 (en) Clock converter, modulator, and transmitter for digital broadcasting
JP3655878B2 (en) PLL circuit
JP2015171002A (en) Electric/electronic apparatus, circuit and communication system
KR20000061197A (en) Apparatus and method for controlling clock frequency using plural phase-locked loops
KR100560434B1 (en) Apparatus for providing system clock synchronized to network universally
JP2004201119A (en) Relay transmission device, relay transmission method, and relay transmission program
KR100257344B1 (en) Digital pll circuit
JP3720552B2 (en) Dual clock synchronous control system
JP2009212659A (en) Phase difference correction circuit and phase difference correction method
JP4089352B2 (en) Frame pulse switching circuit and phase control method thereof
JPH11298460A (en) Clock changeover circuit
KR100328761B1 (en) A device of switching system clock unit for optical communication system
JP2972463B2 (en) Synchronous signal supply device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050309

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051017

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080111

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090508

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090526

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090608

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees