[go: up one dir, main page]

JP4650044B2 - Information processing apparatus, system, and information processing method - Google Patents

Information processing apparatus, system, and information processing method Download PDF

Info

Publication number
JP4650044B2
JP4650044B2 JP2005077553A JP2005077553A JP4650044B2 JP 4650044 B2 JP4650044 B2 JP 4650044B2 JP 2005077553 A JP2005077553 A JP 2005077553A JP 2005077553 A JP2005077553 A JP 2005077553A JP 4650044 B2 JP4650044 B2 JP 4650044B2
Authority
JP
Japan
Prior art keywords
clock signal
frame clock
signal
data
information processing
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
JP2005077553A
Other languages
Japanese (ja)
Other versions
JP2006262154A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005077553A priority Critical patent/JP4650044B2/en
Publication of JP2006262154A publication Critical patent/JP2006262154A/en
Application granted granted Critical
Publication of JP4650044B2 publication Critical patent/JP4650044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、情報処理装置、システムおよび情報処理方法に関する。   The present invention relates to an information processing device, a system, and an information processing method.

従来、演算モジュールとメモリ・モジュール間を光伝送する装置が提案されている。この技術は特許文献1及び特許文献2で紹介されている。これは従来バス配線を電気的に接続したときの、消費電力の増加、コスト・アップ、スキューによる伝送エラーなどの課題を解決するというものである。光伝送を実現させるには、送信側と受信側には様々な手段が設けられている。具体的には、光電変換手段、電光変換手段、パラレル/シリアル変換手段、シリアル/パラレル変換手段、誤り訂正符号のエンコード/デコード手段、DCバランスをとるための符号のエンコード/デコード手段、光伝送のためのクロックとデータのタイミング調整手段などがあり、これらを組み合わせることで正確な信号の送受信が可能となる。   Conventionally, an apparatus for optical transmission between an arithmetic module and a memory module has been proposed. This technique is introduced in Patent Document 1 and Patent Document 2. This solves problems such as increase in power consumption, cost increase, and transmission error due to skew when the conventional bus wiring is electrically connected. In order to realize optical transmission, various means are provided on the transmission side and the reception side. Specifically, photoelectric conversion means, electro-optic conversion means, parallel / serial conversion means, serial / parallel conversion means, error correction code encoding / decoding means, code encoding / decoding means for DC balance, optical transmission For example, a clock and data timing adjusting means for the above-mentioned signals can be combined, and by combining these, accurate signal transmission and reception is possible.

CPU(Central Processing Unit)バスのような双方向データバス信号を光ファイバ接続で実現しようとするとき、光信号の系統を送信側と受信側の2系統に分割する必要がある。CPU側からメモリやASIC(Application Specific Integrated Circuit)にデータを書き込み(Write)に行くとき、CPU側では光信号送信側を、メモリやASICのある側では光信号受信側を使用し、逆にCPU側がメモリやASICのデータを読み取り(Read)に行くときはCPU側では光信号受信側を、メモリやASICのある側では光信号送信側を使用する。   When a bidirectional data bus signal such as a CPU (Central Processing Unit) bus is to be realized by an optical fiber connection, it is necessary to divide the optical signal system into two systems, a transmission side and a reception side. When data is written (write) from the CPU side to the memory or ASIC (Application Specific Integrated Circuit), the CPU side uses the optical signal transmission side, the memory or ASIC side uses the optical signal reception side, and conversely the CPU When the side goes to read data from the memory or ASIC, the optical signal receiving side is used on the CPU side, and the optical signal transmitting side is used on the side having the memory or ASIC.

ここで問題になるのが、ビット・エラー・レート(BER)の確保である。光ファイバを使うような高速シリアルデータ伝送においては、誤り訂正符号のエンコード/デコード手段を用意することが必須である。CPUバスにおけるデータの読み書きでは誤り発生時にデータを再送する余裕はなく、誤り訂正もリアルタイムで行う必要がある。物理レベルでのBERとエラー訂正アルゴリズムを組み合わせた状態での実質BERが要求仕様を上回らなければならない。物理レベルでのBERの確保のためには、伝送路の距離の違い、結合損失の大小、部品の個体差などに起因する光量損失のバラツキを考慮して、発光素子ごとに適切な光強度の設定をするだけでなく、各ノードから送信されるデータと受信ノード側でそれをラッチするクロックとの間で同期が取れていることが求められる。   The problem here is securing the bit error rate (BER). In high-speed serial data transmission using an optical fiber, it is essential to prepare an error correction code encoding / decoding means. In reading and writing data on the CPU bus, there is no room for resending data when an error occurs, and error correction must be performed in real time. The actual BER in a state where the BER at the physical level and the error correction algorithm are combined must exceed the required specification. In order to ensure the BER at the physical level, considering the variation in light loss caused by differences in transmission line distance, coupling loss, individual differences in components, etc. In addition to setting, it is required that the data transmitted from each node is synchronized with the clock for latching it on the receiving node side.

高速シリアルデータの伝送方式には、フレームクロック信号とデータ信号とを併送する方式、そしてフレームクロック信号は送らずデータ信号にクロック信号周波数を埋め込む方式(CDR; Clock Data Recovery)がある。受信ノードにおいてシリアル信号をパラレル信号に復元するためにフレームクロック信号が必要であるが、CDRとPLL(Phase Locked Loop)回路等を組み合わせる方法でフレームクロック信号を自動生成することが可能である。   High-speed serial data transmission methods include a method in which a frame clock signal and a data signal are sent together, and a method in which a clock signal frequency is embedded in a data signal without sending a frame clock signal (CDR; Clock Data Recovery). A frame clock signal is required to restore a serial signal to a parallel signal at the receiving node, but it is possible to automatically generate a frame clock signal by a method combining a CDR and a PLL (Phase Locked Loop) circuit or the like.

しかしながら、PLL回路等から受信側のフレームクロック信号を生成する場合、入力信号の変化により安定化するまでに一定の時間(通常はミリ秒オーダ)を要するため、その間はシリアルデータの伝送が中断される。ノードが切り替わってからデータ転送が開始されるまでに、十分な時間の余裕があるシステムであれば、上記の中断は問題とならない。   However, when a frame clock signal on the receiving side is generated from a PLL circuit or the like, it takes a certain time (usually on the order of milliseconds) to stabilize due to a change in the input signal. The If the system has sufficient time from when the node is switched to when data transfer is started, the above interruption is not a problem.

しかし例えばCPUとキャッシュメモリ間のデータ転送のように、メモリアクセス時間を極力短縮する必要のあるシステムにおいては、このような中断は全体システムの性能を大きく低下させてしまうので問題となる。そこで、上記事情に鑑み、シリアル伝送路によって接続された1対多のノード間伝送を高速に行うことができる信号伝送システムを提供することを目的とする方法が特許文献3で紹介されている。   However, in a system that needs to shorten the memory access time as much as possible, for example, data transfer between the CPU and the cache memory, such interruption causes a problem because the performance of the entire system is greatly reduced. Therefore, in view of the above circumstances, Patent Document 3 introduces a method aimed at providing a signal transmission system capable of performing one-to-many inter-node transmission connected by a serial transmission path at high speed.

この技術は、実データの送受信に先立ち、タイミング調整シーケンスを実行し、互いに異なるスレーブ装置から送られてきたシリアルデータであっても受信側マスター装置でそれをラッチするクロックにおいては同期が取れているように調整し、ノードの切り替わりが行われても、シリアルデータの伝送の中断が発生しないようにするものである。
特開平11−39069号公報 特開平11−39521号公報 特開2003−244175号公報
In this technology, a timing adjustment sequence is executed prior to transmission / reception of actual data, and even serial data sent from different slave devices is synchronized in a clock latched by the receiving master device. Thus, even if a node is switched, serial data transmission is not interrupted.
Japanese Patent Laid-Open No. 11-39069 JP 11-39521 A JP 2003-244175 A

しかしながら、タイミング調整シーケンスを実行してからの経過時間によっては、たとえば各スレーブ装置上のデバイス間の個体差、周囲温度などの環境変化などにより、各スレーブ装置とマスター装置間の同期状態を維持できなくなってくるという問題がある。   However, depending on the elapsed time since the execution of the timing adjustment sequence, the synchronization state between each slave device and the master device can be maintained due to, for example, individual differences between devices on each slave device, environmental changes such as ambient temperature, etc. There is a problem of disappearing.

そこで、本発明は、上記問題点に鑑みてなされたもので、送信側・受信側両ノード間の信号の同期状態を維持することができる情報処理装置、システムおよび情報処理方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and provides an information processing apparatus, a system, and an information processing method capable of maintaining the synchronization state of signals between both nodes on the transmission side and the reception side. Objective.

上記課題を解決するために、本発明は、外外部装置との間でデータ転送を行う情報処理装置であって、前記外部装置に対して同期伝送に用いる第1のフレームクロック信号に同期させて第1のデータ信号を送信する送信手段と、前記外部装置が同期伝送に用いる第2のフレームクロック信号に同期させて送信する第2のデータ信号を受信する受信手段と、データ転送の実行中に、前記第1のフレームクロック信号との間で一定の位相差関係を確立するクロックと前記第2のデータ信号とに基づいて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差変位の度合いを判定する判定手段と、前記判定手段の判定結果に基づき前記第1のフレームクロック信号に対する前記第2のフレームクロック信号の位相差変位を修正するため、前記外部装置に対して前記第2のフレームクロック信号の位相設定値の変更を促すコマンドを送信する制御手段とを有し、前記第2のフレームクロック信号は、前記第1のフレームクロック信号との間で一定の位相差関係を確立するように、前記第1のフレームクロック信号を基に生成され、前記外部装置から前記情報処理装置には送信されず、前記第2のフレームクロック信号に同期させて送信される前記第2のデータ信号は、前記第1のフレームクロック信号を用いてシリアル信号からパラレル信号に復元されることを特徴とする情報処理装置である。 In order to solve the above-described problems, the present invention provides an information processing apparatus that transfers data to and from an external device, and is synchronized with a first frame clock signal used for synchronous transmission with respect to the external device. Transmitting means for transmitting a first data signal; receiving means for receiving a second data signal transmitted in synchronization with a second frame clock signal used by the external device for synchronous transmission; and during execution of data transfer , The first frame clock signal and the second frame clock signal based on a clock that establishes a constant phase difference relationship with the first frame clock signal and the second data signal. Determining means for determining a degree of phase difference displacement; and correcting a phase difference displacement of the second frame clock signal with respect to the first frame clock signal based on a determination result of the determining means. To order, and a control means for transmitting a command for prompting the change of the phase setting value of the second frame clock signal to the external device, the second frame clock signal, said first frame clock The second frame clock signal is generated based on the first frame clock signal and is not transmitted from the external device to the information processing device so as to establish a constant phase difference relationship with the signal. The information processing apparatus is characterized in that the second data signal transmitted in synchronization with the second data signal is restored from a serial signal to a parallel signal using the first frame clock signal .

本発明によれば、位相ずれの傾向をデータ転送の実行中も常に監視し続けることができ、必要に応じて位相ずれを修正するために第2のフレームクロック信号の位相設定値の変更を促すコマンドを送信することで、双方向バス・システムのビット・エラー・レート(BER)を確保することが可能になる。これにより、シリアル伝送路によって接続された1対多のノード間伝送を行う際、送信側・受信側両ノード間の信号の同期状態を維持した、双方向バス・システムの実現することができる。   According to the present invention, the tendency of the phase shift can be continuously monitored even during the data transfer, and the change of the phase setting value of the second frame clock signal is urged to correct the phase shift as necessary. By sending the command, it is possible to ensure the bit error rate (BER) of the bidirectional bus system. As a result, it is possible to realize a bidirectional bus system that maintains the synchronized state of signals between both nodes on the transmission side and reception side when performing transmission between one-to-many nodes connected by a serial transmission path.

前記判定手段は、前記第2のフレームクロック信号に同期したクロックと、前記第2のフレームクロック信号から位相を進めたクロックと、前記第2のフレームクロック信号から位相を遅らせたクロックを用いて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差を判定することを特徴とする。   The determination means uses a clock synchronized with the second frame clock signal, a clock whose phase is advanced from the second frame clock signal, and a clock whose phase is delayed from the second frame clock signal, The phase difference between the first frame clock signal and the second frame clock signal is determined.

前記判定手段は、前記外部装置における調整ステップ間隔に基づいて、前記第2のフレームクロック信号から位相を進めたクロックと、前記第2のフレームクロック信号から位相を遅らせたクロックをそれぞれ生成するための位相調整ステップ間隔を決定することを特徴とする。前記第1のフレームクロック信号および前記第2のフレームクロック信号は、同一の発振源を基準にして生成されることを特徴とする。前記第1のデータ信号および前記第2のデータ信号の少なくとも一方は、光伝送媒体を介して伝送されることを特徴とする。前記第1のフレームクロック信号は、光伝送媒体を介して伝送されることを特徴とする。   The determination unit generates a clock whose phase is advanced from the second frame clock signal and a clock whose phase is delayed from the second frame clock signal based on the adjustment step interval in the external device. The phase adjustment step interval is determined. The first frame clock signal and the second frame clock signal are generated based on the same oscillation source. At least one of the first data signal and the second data signal is transmitted through an optical transmission medium. The first frame clock signal is transmitted through an optical transmission medium.

本発明のシステムは、上記情報処理装置と、前記情報処理装置との間で光伝送媒体を介してデータ転送を行う外部装置とを備えたシステムである。
本発明は、外部装置に対して同期伝送に用いる第1のフレームクロック信号に同期させて第1のデータ信号を送信する送信ステップと、外部装置が同期伝送に用いる第2のフレームクロック信号に同期させて送信する第2のデータ信号を受信する受信ステップと、データ転送の実行中に、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差変位の度合いを判定する判定ステップと、前記判定ステップの判定結果に基づき前記第1のフレームクロック信号に対する前記第2のフレームクロック信号の位相差変位を修正するため、データ受信時のラッチタイミングを変更する変更ステップとを有する情報処理方法である。
The system of the present invention is a system including the information processing apparatus and an external apparatus that transfers data between the information processing apparatus via an optical transmission medium.
The present invention provides a transmission step of transmitting a first data signal in synchronization with a first frame clock signal used for synchronous transmission to an external device, and a second frame clock signal used by the external device for synchronous transmission. A receiving step for receiving the second data signal to be transmitted, and a determining step for determining a degree of phase difference displacement between the first frame clock signal and the second frame clock signal during execution of data transfer; An information processing method comprising: a changing step of changing a latch timing at the time of data reception in order to correct a phase difference displacement of the second frame clock signal with respect to the first frame clock signal based on a determination result of the determination step It is.

本発明によれば、位相ずれの傾向をデータ転送の実行中も常に監視し続けることができ、必要に応じて位相ずれを修正するために受信データのラッチタイミング変更を促すことで、双方向バス・システムのビット・エラー・レート(BER)を確保することが可能になる。これにより、シリアル伝送路によって接続された1対多のノード間伝送を行う際、送信側・受信側両ノード間の信号の同期状態を維持した、双方向バス・システムの実現することができる。   According to the present invention, the tendency of the phase shift can be continuously monitored even during the data transfer, and the bidirectional data bus is urged to change the latch timing of the received data in order to correct the phase shift as necessary. It becomes possible to secure the bit error rate (BER) of the system. As a result, it is possible to realize a bidirectional bus system that maintains the synchronized state of signals between both nodes on the transmission side and reception side when performing transmission between one-to-many nodes connected by a serial transmission path.

本発明は、外部装置に対して同期伝送に用いる第1のフレームクロック信号に同期させて第1のデータ信号を送信する送信ステップと、外部装置が同期伝送に用いる第2のフレームクロック信号に同期させて送信する第2のデータ信号を受信する受信ステップと、データ転送の実行中に、前記第1のフレームクロック信号との間で一定の位相差関係を確立するクロックと前記第2のデータ信号とに基づいて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差変位の度合いを判定する判定ステップと、前記判定ステップの判定結果に基づき前記第1のフレームクロック信号に対する前記第2のフレームクロック信号の位相差変位を修正するため、前記外部装置に対して前記第2のフレームクロック信号の位相設定値の変更を促すコマンドを送信するステップと、を有し、前記第2のフレームクロック信号は、前記第1のフレームクロック信号との間で一定の位相差関係を確立するように、前記第1のフレームクロック信号を基に生成され、前記外部装置から前記情報処理装置には送信されず、前記第2のフレームクロック信号に同期させて送信される前記第2のデータ信号は、前記第1のフレームクロック信号を用いてシリアル信号からパラレル信号に復元されることを特徴とする情報処理方法である。 The present invention provides a transmission step of transmitting a first data signal in synchronization with a first frame clock signal used for synchronous transmission to an external device, and a second frame clock signal used by the external device for synchronous transmission. Receiving the second data signal to be transmitted and the clock and the second data signal establishing a certain phase difference relationship between the first frame clock signal and the first frame clock signal during execution of the data transfer And a determination step of determining a degree of phase difference displacement between the first frame clock signal and the second frame clock signal, and the first frame clock signal with respect to the first frame clock signal based on a determination result of the determination step. In order to correct the phase difference displacement of the second frame clock signal, the phase setting value of the second frame clock signal to the external device Possess sending a command to prompt the change, wherein the second frame clock signal, so as to establish a constant phase difference relationship between the first frame clock signal, the first frame The second data signal generated based on the clock signal and not transmitted from the external device to the information processing device and transmitted in synchronization with the second frame clock signal is the first frame clock. The information processing method is characterized in that a signal is used to restore a serial signal to a parallel signal .

本発明によれば、送信側・受信側両ノード間の信号の同期状態を維持することができる情報処理装置、システムおよび情報処理方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the information processing apparatus, system, and information processing method which can maintain the synchronous state of the signal between both transmitting side and receiving side nodes can be provided.

以下、本発明を実施するための最良の形態について説明する。   Hereinafter, the best mode for carrying out the present invention will be described.

図1は、本発明に係る双方向光伝送システムの構成例を示す概略図である。機構系の動作や画像系処理用のASICなどを制御する場合などに使われるCPUには、CPUとその周辺デバイスを電気的に接続し制御するためにCPUインターフェースとも呼ばれるCPUバスがある。そのCPUバスの双方向データバスを光ファイバ接続で実現しようとするとき、図1に示すように、光信号の系統を送信側と受信側の2系統に分割する必要がある。   FIG. 1 is a schematic diagram showing a configuration example of a bidirectional optical transmission system according to the present invention. CPUs used for controlling mechanical operation, ASIC for image processing, and the like include a CPU bus called a CPU interface for electrically connecting and controlling the CPU and its peripheral devices. When the bidirectional data bus of the CPU bus is to be realized by optical fiber connection, as shown in FIG. 1, it is necessary to divide the optical signal system into two systems, a transmission side and a reception side.

信号伝送システム100は、マスター装置(情報処理装置)1とメインスレーブ装置2および複数のサブスレーブ装置3、4を備える。マスター装置1は、スレーブ装置2〜4との間でデータ転送を行うものである。マスター装置1は、CPU(プロセッサ)11、ASIC12、光送信器13、および光受信器14を有する。光送信器13は、レーザダイオード(LD)等の発光素子131、その駆動回路132、および光ファイバとの結合用の光コネクタ133を有する。光受信器14は、フォトダイオード(PD)等の受光素子141、受信回路142、および光ファイバとの結合用の光コネクタ143を有する。ASIC12には発振器15より所定のクロックが与えられる。   The signal transmission system 100 includes a master device (information processing device) 1, a main slave device 2, and a plurality of sub slave devices 3 and 4. The master device 1 performs data transfer with the slave devices 2 to 4. The master device 1 includes a CPU (processor) 11, an ASIC 12, an optical transmitter 13, and an optical receiver 14. The optical transmitter 13 includes a light emitting element 131 such as a laser diode (LD), a driving circuit 132 thereof, and an optical connector 133 for coupling with an optical fiber. The optical receiver 14 includes a light receiving element 141 such as a photodiode (PD), a receiving circuit 142, and an optical connector 143 for coupling with an optical fiber. The ASIC 12 is given a predetermined clock from the oscillator 15.

メインスレーブ装置2およびサブスレーブ装置3、4は同一構成とすることができる。メインスレーブ装置2およびサブスレーブ装置3、4は、それぞれメモリ21、31、41、ASIC22、32、42、光送信器23、33、43、および光受信器24、34、44を有する。光送信器23、33、43はマスター装置の場合と同様に、レーザダイオード(LD)等の発光素子、その駆動回路、および光ファイバとの結合用の光コネクタ233、333、433を有する。光受信器24、34、44も同様に、フォトダイオード(PD)等の受光素子、受信回路、および光ファイバとの結合用の光コネクタ243、343、443を有する。   The main slave device 2 and the sub slave devices 3 and 4 can have the same configuration. The main slave device 2 and the sub slave devices 3, 4 have memories 21, 31, 41, ASICs 22, 32, 42, optical transmitters 23, 33, 43, and optical receivers 24, 34, 44, respectively. As in the case of the master device, the optical transmitters 23, 33, and 43 have light emitting elements such as laser diodes (LD), their drive circuits, and optical connectors 233, 333, and 433 for coupling with optical fibers. Similarly, the optical receivers 24, 34, and 44 include light receiving elements such as photodiodes (PD), receiving circuits, and optical connectors 243, 343, and 443 for coupling to optical fibers.

マスター装置1と各スレーブ装置2〜4との間は、下り用の光伝送路5と上り用の光伝送路6とにより接続される。下り用の光伝送路5は、光ファイバ51、光分岐装置55、および複数の光ファイバ52〜54を有する。上り用の光伝送路6は、光ファイバ61、光結合装置65、および複数の光ファイバ62〜64を有する。光ファイバ51は光コネクタ133に接続され、光ファイバ52〜54は光コネクタ243、343、443に接続される。また、光ファイバ61は光コネクタ143に接続され、光ファイバ62〜64は光コネクタ233、333、433に接続される。ここで、光ファイバは、例えばプラスチック光ファイバ(POF)を用いることができるが、これに限定されない。光分岐装置55および光結合装置65は、例えばスターカプラ、または透過光拡散部を備えた光シートバスを用いることができる。   The master device 1 and each of the slave devices 2 to 4 are connected by a downstream optical transmission path 5 and an upstream optical transmission path 6. The downstream optical transmission path 5 includes an optical fiber 51, an optical branching device 55, and a plurality of optical fibers 52 to 54. The upstream optical transmission line 6 includes an optical fiber 61, an optical coupling device 65, and a plurality of optical fibers 62 to 64. The optical fiber 51 is connected to the optical connector 133, and the optical fibers 52 to 54 are connected to the optical connectors 243, 343, and 443. The optical fiber 61 is connected to the optical connector 143, and the optical fibers 62 to 64 are connected to the optical connectors 233, 333, and 433. Here, for example, a plastic optical fiber (POF) can be used as the optical fiber, but the optical fiber is not limited thereto. As the optical branching device 55 and the optical coupling device 65, for example, a star coupler or an optical sheet bus provided with a transmitted light diffusing unit can be used.

図2は図1に示した双方向光伝送システムにおけるマスター装置1及びメインスレーブ装置の詳細ブロック図である。なお、サブスレーブ装置3および4はメインスレーブ装置と同様の構成であるため省略している。図2に示すように、マスター装置1は、CPU11、光送信器13、光受信器14、発振器15、送信PLL回路16、受信PLL回路17、並列直列変換部(SERDES)18、直列並列変換部(SERDES)19、タイミング調整回路110、受信タイミング検出ブロック111を備える。CPU11はCPUバスを通じてメインスレーブ装置2、サブスレーブ装置3、4とのデータの送受信を行うとともに、必要に応じてタイミング調整回路110に対してタイミング調整起動信号の送信、タイミング調整回路110からはビジー信号の受信を行う。   FIG. 2 is a detailed block diagram of the master device 1 and the main slave device in the bidirectional optical transmission system shown in FIG. The sub-slave devices 3 and 4 are omitted because they have the same configuration as the main slave device. As shown in FIG. 2, the master device 1 includes a CPU 11, an optical transmitter 13, an optical receiver 14, an oscillator 15, a transmission PLL circuit 16, a reception PLL circuit 17, a parallel / serial converter (SERDES) 18, and a serial / parallel converter. (SERDES) 19, a timing adjustment circuit 110, and a reception timing detection block 111. The CPU 11 transmits / receives data to / from the main slave device 2 and the sub slave devices 3 and 4 through the CPU bus, transmits a timing adjustment start signal to the timing adjustment circuit 110 as necessary, and is busy from the timing adjustment circuit 110. Receive the signal.

マスター装置1及びスレーブ装置2、3、4から出力されるフレームクロック信号は、同一の発振器15より生成することができる。このようにして、マスター側フレームクロック信号およびスレーブ側フレームクロック信号は、同一の発振源を基準にして生成される。発振器15で生成されたマスター側フレームクロック信号をスレーブ装置2に伝送し、スレーブ装置2側にて受信フレームクロック信号と送信フレームクロック信号を接続することで実現できる。   Frame clock signals output from the master device 1 and the slave devices 2, 3, 4 can be generated from the same oscillator 15. In this way, the master side frame clock signal and the slave side frame clock signal are generated based on the same oscillation source. This can be realized by transmitting the master side frame clock signal generated by the oscillator 15 to the slave device 2 and connecting the reception frame clock signal and the transmission frame clock signal on the slave device 2 side.

タイミング調整回路110は、CPU11からのタイミング調整起動信号が有効であればタイミング調整シーケンスを起動し、無効の場合は外部との入出力信号をそのまま内部に接続する。送信PLL16は発振器15から出力された基準クロック信号を入力し、デューティ比を整えられたフレームクロック信号を出力する。並列直列変換部18は、パラレルデータ信号の速度変換を行い、シリアルデータ信号を出力する。例えば入力信号として伝送速度各50Mbpsのパラレルデータ信号が16本、、送信PLL16から出力される50MHzのフレームクロック信号が与えられ、DCバランスを取るための8B10B符号化を含めて10逓倍の並列直列変換を行った場合、並列直列変換部18の出力信号は500Mbpsのシリアルデータ信号が2本となる。光送信器13は、スレーブ装置2に対して同期伝送に用いるマスター側フレームクロック信号(第1のフレームクロック信号)に同期させてマスターデータ信号(第1のデータ)を送信する。   The timing adjustment circuit 110 activates the timing adjustment sequence if the timing adjustment activation signal from the CPU 11 is valid, and connects the input / output signal with the outside to the inside as it is invalid. The transmission PLL 16 receives the reference clock signal output from the oscillator 15 and outputs a frame clock signal with a adjusted duty ratio. The parallel / serial converter 18 performs speed conversion of the parallel data signal and outputs a serial data signal. For example, 16 parallel data signals with a transmission rate of 50 Mbps are input as input signals, and a 50 MHz frame clock signal output from the transmission PLL 16 is provided. Is performed, the output signal of the parallel-serial conversion unit 18 is two serial data signals of 500 Mbps. The optical transmitter 13 transmits a master data signal (first data) to the slave device 2 in synchronization with a master side frame clock signal (first frame clock signal) used for synchronous transmission.

光受信器14は、スレーブ装置2が同期伝送に用いるスレーブ側フレームクロック信号(第2のフレームクロック信号)に同期させて送信するスレーブデータ信号(第2のデータ)を受信する。受信PLL17は、フレームクロック信号をシリアルバスより入力し、送信PLL16と同様の動作を行う。直列並列変換部19は、シリアルデータ信号の直列並列変換を行い、パラレルデータ信号を出力する。例えば入力信号として伝送速度各500Mbpsのシリアルデータ信号が2本、受信PLL17から出力される50MHzのフレームクロック信号が与えられ、8B10B復号化を行った場合、直列並列変換部19の出力信号は50Mbpsのパラレルデータ信号が16本となる。   The optical receiver 14 receives a slave data signal (second data) transmitted in synchronization with a slave-side frame clock signal (second frame clock signal) used by the slave device 2 for synchronous transmission. The reception PLL 17 inputs a frame clock signal from the serial bus and performs the same operation as the transmission PLL 16. The serial / parallel converter 19 performs serial / parallel conversion of the serial data signal and outputs a parallel data signal. For example, when two serial data signals each having a transmission rate of 500 Mbps are provided as input signals and a 50 MHz frame clock signal output from the reception PLL 17 is provided and 8B10B decoding is performed, the output signal of the serial / parallel converter 19 is 50 Mbps. There are 16 parallel data signals.

受信タイミング検出ブロック111は、データ転送の実行中に、マスター側フレームクロック信号とスレーブ側フレームクロック信号の位相差変位の度合いを判定するものである。マスター側フレームクロック信号とスレーブ側フレームクロック信号との間は一定の位相差関係を確立するようにあらかじめ調整されている。   The reception timing detection block 111 determines the degree of phase difference displacement between the master side frame clock signal and the slave side frame clock signal during execution of data transfer. The master side frame clock signal and the slave side frame clock signal are adjusted in advance so as to establish a certain phase difference relationship.

また、受信タイミング検出ブロック111は、データ転送を実行する期間中において、スレーブデータを受信する際に、スレーブ側フレームクロック信号に同期した中心位相クロックと、スレーブ側フレームクロック信号から位相を進めた前シフト位相クロックと、スレーブ側フレームクロック信号から位相を遅らせた後シフト位相クロックを用意し、それぞれのクロックを用いて受信した結果を比較することで、マスター側フレームクロック信号とスレーブ側フレームクロック信号の位相差を判定する。これによりスレーブ側フレームクロック信号の位相がマスター側フレームクロック信号に対して進んでいるか、遅れているかあるいはそのいずれでもないのかを判定することができる。   In addition, the reception timing detection block 111, when receiving slave data during the period of executing data transfer, has received the center phase clock synchronized with the slave side frame clock signal and the phase advanced from the slave side frame clock signal. Prepare the shift phase clock and the shift phase clock after delaying the phase from the slave side frame clock signal, and compare the received results using each clock, so that the master side frame clock signal and the slave side frame clock signal Determine the phase difference. As a result, it can be determined whether the phase of the slave side frame clock signal is advanced, delayed, or neither relative to the master side frame clock signal.

また、受信タイミング検出ブロック111は、スレーブ装置2における調整ステップ間隔に基づいて、スレーブ側フレームクロック信号から位相を進めた前シフト位相クロックと、スレーブ側フレームクロック信号から位相を遅らせた後シフト位相クロックをそれぞれ生成するための位相調整ステップ間隔を決定する。   In addition, the reception timing detection block 111 has a pre-shift phase clock whose phase is advanced from the slave-side frame clock signal and a post-shift phase clock whose phase is delayed from the slave-side frame clock signal based on the adjustment step interval in the slave device 2. To determine the phase adjustment step interval for generating.

CPU11は、受信タイミング検出ブロック111の判定結果に基づきマスター側フレームクロック信号に対するスレーブ側フレームクロック信号の位相差変位を修正するため、スレーブ装置2に対してスレーブ側フレームクロック信号の位相設定値の変更を促すコマンドを送信するようにしてもよい。これを受けたスレーブ装置2は、スレーブ側フレームクロック信号の位相設定値を保存しているレジスタをコマンドに従って書き換える。ここで、レジスタは図2のタイミング調整回路26の中に包含されている。タイミング調整回路26は最適な位相設定値パラメータを記憶する必要があり、そのパラメータを保持するのがレジスタである。そのレジスタ内の位相設定値パラメータに基づき、8ビット信号線を通じてプログラマブルディレイライン27のディレイ値設定を行う。通常のデータ送信をしていない合間に、スレーブ装置側2のタイミング調整回路26の設定値を修正することで、スレーブ側フレームクロック信号の位相をずらし、結果的にマスター側においてスレーブデータを正しいタイミングで受信できるようにする。   The CPU 11 changes the phase setting value of the slave side frame clock signal with respect to the slave device 2 in order to correct the phase difference displacement of the slave side frame clock signal with respect to the master side frame clock signal based on the determination result of the reception timing detection block 111. A command for prompting may be transmitted. Receiving this, the slave device 2 rewrites the register storing the phase setting value of the slave side frame clock signal in accordance with the command. Here, the register is included in the timing adjustment circuit 26 of FIG. The timing adjustment circuit 26 needs to store an optimum phase set value parameter, and a register holds the parameter. Based on the phase setting value parameter in the register, the delay value of the programmable delay line 27 is set through the 8-bit signal line. By correcting the setting value of the timing adjustment circuit 26 on the slave device side 2 during the period when normal data transmission is not performed, the phase of the slave side frame clock signal is shifted, resulting in the correct timing of the slave data on the master side. So that it can be received.

メインスレーブ装置2は、光送信器23、光受信器24、直列並列変換部(SERDES)25、タイミング調整回路26、プログラマブルディレイライン27、並列直列変換部(SERDES)28を備える。サブスレーブ装置3、4も同様の構成である。光受信器24は、マスター装置1からマスターデータ信号とマスター側フレームクロック信号をセットで受信する。光送信器23はマスター装置1に対してスレーブ側フレームクロック信号に同期したスレーブデータ信号を送信する。   The main slave device 2 includes an optical transmitter 23, an optical receiver 24, a serial / parallel converter (SERDES) 25, a timing adjustment circuit 26, a programmable delay line 27, and a parallel / serial converter (SERDES) 28. The sub slave devices 3 and 4 have the same configuration. The optical receiver 24 receives a master data signal and a master side frame clock signal from the master device 1 as a set. The optical transmitter 23 transmits a slave data signal synchronized with the slave side frame clock signal to the master device 1.

タイミング調整回路26は、タイミング調整起動信号が有効であればタイミング調整シーケンスを起動するが、無効の場合は外部との入出力信号をそのまま内部と接続する。プログラマブルディレイライン27は、マスター装置1に対して送信するスレーブデータ信号の同期伝送に用いるスレーブ側フレームクロック信号を、光受信器24により受信したマスター側フレームクロック信号を基にして生成する。プログラマブルディレイライン27は、遅延時間を可変させられるデバイスであり、シリアルバスより入力されるシリアルデータ信号を、タイミング調整回路26からの指示信号に従って遅延させたタイミングに同期して出力する。   The timing adjustment circuit 26 activates the timing adjustment sequence if the timing adjustment activation signal is valid, but connects the input / output signal with the outside as it is when the timing adjustment circuit is invalid. The programmable delay line 27 generates a slave side frame clock signal used for synchronous transmission of a slave data signal to be transmitted to the master device 1 based on the master side frame clock signal received by the optical receiver 24. The programmable delay line 27 is a device whose delay time is variable, and outputs the serial data signal input from the serial bus in synchronization with the timing delayed according to the instruction signal from the timing adjustment circuit 26.

図3はタイミング調整シーケンス全体のフローチャートである。ステップS31で、タイミング調整起動信号の検知を行うと、ステップS32で、ビジー信号をアクティブにし、外部に対してビジー状態を通知する。これにより、タイミング調整処理中はデータ信号の入出力は禁止される。ステップS33で受信調整シーケンスを実行し、ステップS34で送信調整シーケンスを実行する。これらが終了すると、ステップS35で外部に対するビジー状態を解除し、全体を終了する。   FIG. 3 is a flowchart of the entire timing adjustment sequence. When the timing adjustment activation signal is detected in step S31, the busy signal is activated in step S32 and the busy state is notified to the outside. Thereby, input / output of data signals is prohibited during the timing adjustment processing. A reception adjustment sequence is executed in step S33, and a transmission adjustment sequence is executed in step S34. When these are finished, the busy state for the outside is canceled in step S35, and the whole is finished.

図4は受信調整シーケンスのフローチャートを示す図である。図4〜図6において、太い矢印は、マスター装置1とスレーブ装置2間の信号のやり取りを表す。受信調整シーケンスは、マスター側タイミング調整回路110が実行するステップSM41が起動される。これはテストパターン信号を並列直列変換部18より全スレーブ装置に送信する処理を表す。   FIG. 4 is a flowchart of the reception adjustment sequence. 4 to 6, thick arrows represent signal exchange between the master device 1 and the slave device 2. In the reception adjustment sequence, step SM41 executed by the master side timing adjustment circuit 110 is activated. This represents a process of transmitting the test pattern signal from the parallel-serial converter 18 to all slave devices.

このテストパターンは、マスター側タイミング調整回路110、スレーブ側タイミング調整回路26の両方において予めメモリ等の記憶手段に格納されている。テストパターンは、例えば10ビット信号の場合であれば以下の繰り返しパターンを用いる。
・ビット列1.“0001110101”
・ビット列2.“0011010101”
This test pattern is stored in advance in storage means such as a memory in both the master side timing adjustment circuit 110 and the slave side timing adjustment circuit 26. For example, if the test pattern is a 10-bit signal, the following repetitive pattern is used.
-Bit string 1. “0001110101”
-Bit string 2. “0011010101”

テストパターンに必要な条件は伝送路の仕様に依存するが、例えば以下が必要である。
・条件1.ビット列の中に論理値“1”が4割から6割を占めていること
・条件2.先頭ビットがどれであるかをパターン自身から判定できること
ビット列1と2はいずれも条件1と2を満たしている。
The conditions necessary for the test pattern depend on the specifications of the transmission path, but for example, the following is necessary.
Condition 1 1. The logical value “1” occupies 40% to 60% in the bit string. It can be determined from the pattern itself which bit is the first bit. Bit strings 1 and 2 both satisfy conditions 1 and 2.

次にマスター側タイミング調整回路110は、ステップSM42で、一定時間だけテストパターン信号を送信し続けた後、処理を終了する。ここでの一定時間とは、以下で説明するスレーブ側タイミング調整回路26のステップSS41〜SS51の処理時間よりも十分に長い時間を表す。   Next, in step SM42, the master side timing adjustment circuit 110 continues to transmit the test pattern signal for a predetermined time, and then ends the process. The fixed time here represents a time sufficiently longer than the processing time of steps SS41 to SS51 of the slave side timing adjustment circuit 26 described below.

続いてスレーブ側タイミング調整回路26の処理を説明する。ステップSS41で、スレーブ側タイミング調整回路26は、ステップSM41で送信されたテストパターン信号を受信する。このときスレーブ側のタイミング調整回路26は、プログラマブルディレイライン27に対して、受信タイミングの初期値を予め設定しておく必要がある。ステップSS42で、スレーブ側タイミング調整回路26は、受信されたテストパターンと、予め格納されている正解パターンとの照合を行い、ステップSS43で、照合結果をメモリに格納する。ここで例えば上記のビット列1が正解パターンである場合に、受信されたテストパターンが、ビット列3.“1000111010”であったとする。この場合、各ビットは正しく受信されているが、先頭ビットの位置が1ビット下位側にずれているだけであるため、ワードアライメントを行えば正解となる。よって照合結果としては、以下の2つを記憶する。
・結果1.全ての個別ビットは正しく受信されているかどうか。
・結果2.もし結果1がOKであれば、何ビットシフトすれば正解となるか。
Next, processing of the slave side timing adjustment circuit 26 will be described. In step SS41, the slave side timing adjustment circuit 26 receives the test pattern signal transmitted in step SM41. At this time, the slave-side timing adjustment circuit 26 needs to set an initial value of the reception timing for the programmable delay line 27 in advance. In step SS42, the slave side timing adjustment circuit 26 collates the received test pattern with the correct answer pattern stored in advance, and stores the collation result in the memory in step SS43. Here, for example, when the bit string 1 is a correct pattern, the received test pattern is a bit string 3. Assume that it is “10000111010”. In this case, each bit is correctly received, but the position of the first bit is only shifted to the lower side by one bit. Therefore, the following two are stored as the collation results.
Results 1. Whether all individual bits are received correctly.
Result 2. If the result 1 is OK, how many bits should be shifted to get the correct answer?

ステップSS44では、全ての受信タイミングに関するテストを終了したか否かの判定を行う。未終了の場合はステップSS45で、受信タイミングを変更し、ステップSS41に戻る。ここで受信タイミングの変更は、スレーブ側のタイミング調整回路26の指示によりプログラマブルディレイライン27が実行する。テスト終了の場合は、ステップSS46で、全ての照合結果をメモリから読み出し、ステップSS47で、最適な受信タイミングを決定する。   In step SS44, it is determined whether or not all the reception timing tests have been completed. If not completed, the reception timing is changed in step SS45, and the process returns to step SS41. Here, the change of the reception timing is executed by the programmable delay line 27 in accordance with an instruction from the timing adjustment circuit 26 on the slave side. When the test is completed, all matching results are read from the memory at step SS46, and the optimum reception timing is determined at step SS47.

以下の表1に、一例として連続的に変化させた8種類の受信タイミングによる照合結果の例を示す。ここでは「結果1」がOKである受信タイミング3〜7のうち、中間である受信タイミング5を最適受信タイミングとして決定している。決定方法として例えば、「結果1」を表す8ビットをアドレスとし、各アドレスに対する最適受信タイミングを予め格納したルックアップテーブルを用いることができる。   Table 1 below shows an example of a collation result based on eight reception timings that are continuously changed as an example. Here, among reception timings 3 to 7 in which “Result 1” is OK, intermediate reception timing 5 is determined as the optimum reception timing. As a determination method, for example, a look-up table in which 8 bits representing “result 1” are used as addresses and optimum reception timing for each address is stored in advance can be used.

表1の例でOKを値“1”、NGを値“0”、受信タイミング8の「結果1」をMSB、受信タイミング1の「結果1」をLSBとすると、アドレス“01111100”即ち124番地に、受信タイミング5を示す値を格納しておく。

Figure 0004650044
In the example of Table 1, if OK is a value “1”, NG is a value “0”, “Result 1” at reception timing 8 is MSB, and “Result 1” at reception timing 1 is LSB, address “01111100”, that is, 124 addresses In addition, a value indicating the reception timing 5 is stored.
Figure 0004650044

全ての結果がNGである場合も考えられるため、ステップSS49で、スレーブ側タイミング調整回路26は、受信可能な結果が得られたかどうかの判定を行い、もしもNGの場合は受信タイミングを設定できなかったものとして、ステップSS50で、エラー信号を外部に出力する。そうでない場合、ステップSS48で、スレーブ側タイミング調整回路26は、結果をメモリに格納し、ステップSS51で、プログラマブルディレイライン27に対して最適な受信タイミングを設定する。以上でスレーブ側タイミング調整回路26の処理が終了する。   Since all the results may be NG, in step SS49, the slave side timing adjustment circuit 26 determines whether or not a receivable result has been obtained, and if it is NG, the reception timing cannot be set. In step SS50, an error signal is output to the outside. Otherwise, in step SS48, the slave side timing adjustment circuit 26 stores the result in the memory, and sets the optimum reception timing for the programmable delay line 27 in step SS51. Thus, the processing of the slave side timing adjustment circuit 26 is completed.

図5はマスター装置1における送信調整シーケンス、図6はスレーブ装置2における送信調整シーケンスを示す図である。両図は各図中の「A」、「B」、「C」同士で接続される。送信調整シーケンスでは、マスター側タイミング調整回路110が実行するステップSM81が起動される。これはID信号を、並列直列変換部18より全スレーブ装置に送信する処理を表す。なおID信号は各スレーブノードを識別するために予め設定されたID番号をデータ信号として信号である。   FIG. 5 is a diagram illustrating a transmission adjustment sequence in the master device 1, and FIG. 6 is a diagram illustrating a transmission adjustment sequence in the slave device 2. Both figures are connected by “A”, “B”, and “C” in each figure. In the transmission adjustment sequence, step SM81 executed by the master side timing adjustment circuit 110 is activated. This represents processing for transmitting the ID signal from the parallel-serial converter 18 to all slave devices. The ID signal is a signal having an ID number set in advance for identifying each slave node as a data signal.

送信調整シーケンスは、個々のスレーブ装置2〜4とマスター装置1との1対1の伝送により実行するため、マスター装置1側からスレーブ装置を1つずつ指定するためにステップSM81が必要となる。ステップSM82で、マスター側タイミング調整回路110は、一定時間だけID信号を送信し続けた後、ステップSM83で、スレーブ装置2から送信されるテストパターンを受信する。   Since the transmission adjustment sequence is executed by one-to-one transmission between each slave device 2 to 4 and the master device 1, step SM81 is required to designate one slave device from the master device 1 side. In step SM82, the master side timing adjustment circuit 110 continues to transmit the ID signal for a predetermined time, and then receives the test pattern transmitted from the slave device 2 in step SM83.

続いてスレーブ側タイミング調整回路26の処理を説明する。以下でのスレーブ側タイミング調整回路26の処理は全てのスレーブ装置において実行する。図6においてまずステップS92で、タイミング調整回路26は、送信タイミングの初期化を行う。ステップSS81で、タイミング調整回路26は、ステップSM81により送信されたID信号を受信し、それがID信号であるか、終了通知信号であるかを判別する。終了通知信号を受信した場合は、処理を終了する。ID信号を受信した場合は、ステップSS82で各スレーブ装置のID番号との照合を行い、ステップSS83で、自ノードが指定されているか否かを判定する。この判定結果はレジスタ等の記憶手段により保持する。ステップSS83の結果、ID信号によって指定されたスレーブ装置2は、ステップSS84でテストパターン信号をマスター装置1に対して送信する。テストパターン信号については図4のステップSM41と同様であるため、説明を省略する。   Next, processing of the slave side timing adjustment circuit 26 will be described. The processing of the slave side timing adjustment circuit 26 below is executed in all slave devices. In FIG. 6, first, in step S92, the timing adjustment circuit 26 initializes transmission timing. In step SS81, the timing adjustment circuit 26 receives the ID signal transmitted in step SM81, and determines whether it is an ID signal or an end notification signal. If an end notification signal is received, the process ends. If the ID signal is received, the ID number of each slave device is checked in step SS82, and it is determined in step SS83 whether or not the own node is designated. This determination result is held by storage means such as a register. As a result of step SS83, the slave device 2 designated by the ID signal transmits a test pattern signal to the master device 1 in step SS84. The test pattern signal is the same as step SM41 in FIG.

またID信号によって指定されていないスレーブ装置は、ステップSS85で全ての論理値が“0”であるテストパターン信号を送信する。ステップSS84とステップSS85は同様のタイミングで実行され、かつ各信号がシリアルバスにおいて合流される。よって、ステップSS84のテストパターン信号が合流による影響を受けず、正しくマスター装置1に伝送されるように、ステップSS85の信号を選ぶことが必要である。   In addition, the slave device not designated by the ID signal transmits a test pattern signal in which all logical values are “0” in step SS85. Steps SS84 and SS85 are executed at the same timing, and the signals are joined on the serial bus. Therefore, it is necessary to select the signal at step SS85 so that the test pattern signal at step SS84 is not affected by the merge and is correctly transmitted to the master device 1.

次にマスター側タイミング調整回路110の処理を説明するが、テストパターンを受信するステップSM83からステップSM86までの4つは、図4のステップSS41〜S44と同様であるため説明を省略する。ステップSM86で、現在指定中のスレーブ装置の関して全ての送信タイミングに関するテストを終了したか否かの判定を行い、未終了の場合はステップSM90でタイミング変更指示信号をスレーブ装置に送信する。ここでタイミング変更指示信号とは、スレーブ装置2からの送信タイミングを変更して再度テストを行う指示信号である。   Next, the processing of the master side timing adjustment circuit 110 will be described. The four steps from step SM83 to step SM86 that receive the test pattern are the same as steps SS41 to S44 in FIG. In step SM86, it is determined whether or not all transmission timing tests have been completed for the currently designated slave device, and if not completed, a timing change instruction signal is transmitted to the slave device in step SM90. Here, the timing change instruction signal is an instruction signal for changing the transmission timing from the slave device 2 and performing the test again.

次にステップSM95で、一定時間だけタイミング変更指示信号を送信し続けた後にステップSM83に戻り、ステップSM83〜M86を実行する。ステップSM95における一定時間とは、後述するスレーブ側タイミング調整回路26によるステップSS86〜SS87、SS83〜SS85の処理時間よりも十分に長い時間とする。一方テスト終了の場合は、ステップSM87により全ての照合結果をメモリから読み出し、ステップSM88により最適なタイミングを決定し、その結果を選択結果信号としてステップSM89で、スレーブ装置に送信する。ステップSM87、SM88は図4のステップSS46、S47と各々同様であるので説明を省略する。   Next, in step SM95, after continuing to transmit the timing change instruction signal for a predetermined time, the process returns to step SM83, and steps SM83 to M86 are executed. The fixed time in step SM95 is a time sufficiently longer than the processing time of steps SS86 to SS87 and SS83 to SS85 by the slave side timing adjustment circuit 26 described later. On the other hand, when the test is completed, all the collation results are read from the memory at step SM87, the optimum timing is determined at step SM88, and the result is transmitted as a selection result signal to the slave device at step SM89. Steps SM87 and SM88 are the same as steps SS46 and S47 in FIG.

続いてステップSM91で、全てのスレーブ装置に関して送信タイミング調整を終えたかどうかの判定を行う。まだ終えていない場合は、ステップSM92で、スレーブ装置のID番号を更新し、ステップSM81に戻り、次のスレーブ装置の送信タイミング調整を行う。調整終了の場合は、ステップSM96とSM97で、終了通知信号を一定時間だけスレーブ装置に送信し続ける。ここで一定時間とは、スレーブ側タイミング調整回路26によるS81の処理時間よりも十分に長い時間を示す。最後にステップSM93において最終結果とステータスを出力し、処理を終了する。   Subsequently, in step SM91, it is determined whether or not the transmission timing adjustment has been completed for all slave devices. If it has not been completed yet, the ID number of the slave device is updated in step SM92, and the process returns to step SM81 to adjust the transmission timing of the next slave device. In the case of the end of adjustment, in steps SM96 and SM97, the end notification signal is continuously transmitted to the slave device for a predetermined time. Here, the fixed time indicates a time sufficiently longer than the processing time of S81 by the slave side timing adjustment circuit 26. Finally, in step SM93, the final result and status are output, and the process is terminated.

スレーブ側タイミング調整回路26は、マスター側タイミング調整回路110によるステップSM89もしくはSM90により送信された信号を、ステップSS86により受信する。受信信号がタイミング変更指示信号である場合、ステップSS87によりデータ送信タイミングの変更を送信タイミング制御部24bに対して指示し、更にステップSS83に戻る。受信信号が選択結果信号である場合、ステップSS88によりその結果をメモリに格納し、ステップSS89により送信タイミング制御部24bに対して設定する。更にステップSS90によりマスター装置1に対するテストパターンの送信を中止した後、ステップSS81に戻る。またステップSS86において上記以外の信号を受信している場合は、ステップSS83に戻りテストパターン信号の送信を継続する。   The slave side timing adjustment circuit 26 receives the signal transmitted at step SM89 or SM90 by the master side timing adjustment circuit 110 at step SS86. If the received signal is a timing change instruction signal, the transmission timing control unit 24b is instructed to change the data transmission timing in step SS87, and the process returns to step SS83. If the received signal is a selection result signal, the result is stored in the memory in step SS88, and set in the transmission timing control unit 24b in step SS89. Furthermore, after stopping the transmission of the test pattern to the master device 1 in step SS90, the process returns to step SS81. If a signal other than the above is received in step SS86, the process returns to step SS83 and continues to transmit the test pattern signal.

図7は、受信タイミング検出ブロック111の構成を示す図である。図7に示すように、受信タイミング検出ブロック111は、遅延回路191〜193、ラッチ回路194〜196及び比較回路197を備える。参照符号202は比較回路197から出力結果を所定の処理後にCPU11に結果を通知する後処理回路である。   FIG. 7 is a diagram illustrating a configuration of the reception timing detection block 111. As shown in FIG. 7, the reception timing detection block 111 includes delay circuits 191 to 193, latch circuits 194 to 196, and a comparison circuit 197. Reference numeral 202 denotes a post-processing circuit for notifying the CPU 11 of a result after predetermined processing of the output result from the comparison circuit 197.

受信タイミング検出ブロック111のタイミングモニタ用シリアルデータ信号入力部ISは、シリアルデータ受信、直列並列変換回路19、パラレルデータ出力という本来の処理の流れと並行して存在する。受信タイミング検出ブロック111のタイミングモニタ用シリアルデータ信号入力チャネル数は、少なくとも1つ必要で、通常のシリアルデータ受信部と同じチャネル数を設けても良い。一方、受信タイミング検出ブロック111のクロック信号入力部ICには、マスター装置1の発振器15(システム・クロック)に接続される。これを次の3通りのクロックに分ける。   The serial data signal input unit IS for timing monitoring of the reception timing detection block 111 exists in parallel with the original processing flow of serial data reception, serial / parallel conversion circuit 19, and parallel data output. At least one serial data signal input channel for timing monitoring of the reception timing detection block 111 is required, and the same number of channels as that of a normal serial data receiving unit may be provided. On the other hand, the clock signal input unit IC of the reception timing detection block 111 is connected to the oscillator 15 (system clock) of the master device 1. This is divided into the following three clocks.

遅延回路191は、入力されたシステム・クロックを1周期遅延させて中心位相クロックを生成する。この中心位相クロックがスレーブ側フレームクロック信号に同期したクロックとなる。遅延回路192は、中心位相クロックに対してスレーブ装置2における送信タイミング調整最小ステップ間隔の整数(N)倍だけ前に位相を前にずらして前シフト位相クロックを生成する。このシフト位相クロックがスレーブ側フレームクロック信号から位相を進めたクロックである。遅延回路193は、中心位相クロックに対してスレーブ装置2における送信タイミング調整最小ステップ間隔の整数(N)倍だけ前に位相を後にずらした後シフト位相クロックを生成する。この後シフト位相クロックがスレーブ側フレームクロック信号から位相を遅らせたクロックである。   The delay circuit 191 generates a center phase clock by delaying the input system clock by one cycle. This center phase clock is a clock synchronized with the slave side frame clock signal. The delay circuit 192 shifts the phase forward by an integer (N) times the transmission timing adjustment minimum step interval in the slave device 2 with respect to the center phase clock, and generates a pre-shift phase clock. This shift phase clock is a clock whose phase is advanced from the slave side frame clock signal. The delay circuit 193 generates a shifted phase clock after shifting the phase backward by an integer (N) times the transmission timing adjustment minimum step interval in the slave device 2 with respect to the center phase clock. Thereafter, the shift phase clock is a clock delayed in phase from the slave side frame clock signal.

前述のタイミングモニタ用シリアルデータ信号を3系統に分け、それぞれを3通りの異なる位相を持つクロックの立ち上がりエッジでラッチする。各クロックは逓倍させていないため、シリアルデータの成り立ちが10:1伝送によるものであるとすると、各クロックの立ち上がりエッジがシリアルデータをラッチできるチャンスは10分の1である。すなわち、あるチャネルに10個のシリアルデータが入ってきたときに、各クロックがそのシリアルデータをラッチするのは1個だけということになる。   The above-mentioned timing monitor serial data signal is divided into three systems, and each is latched at the rising edge of a clock having three different phases. Since each clock is not multiplied, assuming that the serial data is formed by 10: 1 transmission, the chance that the rising edge of each clock can latch the serial data is 1/10. That is, when 10 serial data are input to a certain channel, only one clock is latched by each clock.

比較回路197は、上記3通りの中心位相クロック、前シフト位相クロック、後シフト位相クロックで、ラッチ回路194〜196でラッチした結果の比較を行い、結果を出力する。すなわち、比較回路197は、上記3通りのクロックを用いて受信した結果を比較することで、CPU11は、マスター側フレームクロック信号とスレーブ側フレームクロック信号の位相差を判定する。これによりスレーブ側フレームクロック信号の位相がマスター側フレームクロック信号に対して進んでいるか、遅れているかあるいはそのいずれでもないのかを判定することができる。   The comparison circuit 197 compares the results latched by the latch circuits 194 to 196 with the above three types of center phase clock, front shift phase clock, and rear shift phase clock, and outputs the result. That is, the comparison circuit 197 compares the received results using the above three clocks, so that the CPU 11 determines the phase difference between the master side frame clock signal and the slave side frame clock signal. As a result, it can be determined whether the phase of the slave side frame clock signal is advanced, delayed, or neither relative to the master side frame clock signal.

図8は、データ転送時におけるフレームクロック信号の位相ずれ検出方法を説明する図である。今回ラッチタイミングテスト対象「0」、次回ラッチタイミングテスト対象「0」を示す。また、(a)は前シフト位相クロック、(b)は中心位相クロック、(c)は後シフト位相クロックをそれぞれ示す。図8では、位相ずれの3パターンを示している。また、図中「○」「×」はCPU11の判定結果を示す。CPU11は、中心位相クロックと前シフト位相クロックと後位相クロックでのラッチ結果が同一であれば、スレーブ同期信号の調整値はそのままで良い、と判定する。CPU11は、正常のタイミングで受信可能であるため、記憶したスレーブタイミング調整値をそのまま使用する。   FIG. 8 is a diagram for explaining a method for detecting a phase shift of the frame clock signal during data transfer. The current latch timing test target “0” and the next latch timing test target “0” are shown. Further, (a) shows a front shift phase clock, (b) shows a center phase clock, and (c) shows a rear shift phase clock. FIG. 8 shows three patterns of phase shift. In the figure, “◯” and “x” indicate the determination results of the CPU 11. The CPU 11 determines that the adjustment value of the slave synchronization signal is not changed if the latch results of the center phase clock, the previous shift phase clock, and the rear phase clock are the same. Since the CPU 11 can receive at a normal timing, it uses the stored slave timing adjustment value as it is.

CPU11は、中心位相クロックと後シフト位相クロックでのラッチ結果が同一で、前シフト位相クロックでのラッチ結果だけが異なる場合は、スレーブ同期信号の調整値は修正が必要で、中心位相クロックを後にずらす必要がある、と判定する。CPU11は、中心位相クロックを後にずらすため、記憶しているスレーブタイミング調整値の修正を促すコマンドをスレーブ装置2に送信する。CPU11は、中心位相クロックと前シフト位相クロックでのラッチ結果が同一で、後シフト位相クロックでのラッチ結果だけが異なる場合は、スレーブ同期信号の調整値は修正が必要で、中心位相クロックを前にずらす必要がある、と判定する。CPU11は、中心位相クロックを前にずらすため、記憶したスレーブタイミング調整値の修正を促すコマンドをスレーブ装置2に送信する。   When the latch results in the center phase clock and the rear shift phase clock are the same, and only the latch results in the previous shift phase clock are different, the CPU 11 needs to modify the adjustment value of the slave synchronization signal. Judge that it is necessary to shift. The CPU 11 transmits to the slave device 2 a command for urging correction of the stored slave timing adjustment value in order to shift the center phase clock later. When the latch results in the center phase clock and the previous shift phase clock are the same and only the latch results in the rear shift phase clock are different, the CPU 11 needs to modify the adjustment value of the slave synchronization signal, It is determined that it is necessary to shift to The CPU 11 transmits a command for urging correction of the stored slave timing adjustment value to the slave device 2 in order to shift the center phase clock forward.

図9は、ラッチタイミングテスト対象のタイミングバジェットを説明するための図である。図9において、(a)〜(c)はマスター側フレームクロック信号、(d)は受信側デバイス(マスター装置1)のタイミングスペック、(e)はスレーブ装置2から送信されるシリアルデータをそれぞれ示す。サンプリング・ウィンドウ(Sampling Window)は、受信デバイス1がデータを受信できる最小時間、RSKMは受信デバイス1がデータに許容するジッタマージン、System SWは、伝送システムが作り出せるデータのセットアップ・ホールド時間、System RSKMは伝送システムで発生するジッタをそれぞれ示す。図中「○」の箇所は、セットアップ時間、ホールド時間が足りているため、データをラッチ可能であることを示し、「×」の箇所は、セットアップ時間、ホールド時間が不足のためデータをラッチ不可能であることを示す。   FIG. 9 is a diagram for explaining a timing budget for a latch timing test. 9, (a) to (c) are the master side frame clock signals, (d) is the timing specification of the receiving side device (master device 1), and (e) is the serial data transmitted from the slave device 2, respectively. . Sampling Window is the minimum time that receiving device 1 can receive data, RSKM is the jitter margin that receiving device 1 allows for data, System SW is the setup and hold time of data that can be created by the transmission system, and System RSKM Indicates jitter generated in the transmission system. In the figure, “○” indicates that the setup time and hold time are sufficient, so that data can be latched, and “×” indicates that the setup time and hold time are insufficient, so that data cannot be latched. Indicates that it is possible.

上記整数Nの値は、図9に示すタイミングバジェットに示した、受信側デバイス1におけるサンプリング・ウィンドウ(SW:Sampling Window)の間隔と送信タイミング調整最小ステップ間隔Sとの関係が式(1)の関係を満たすように決定される。   The value of the integer N is the relationship between the sampling window (SW: Sampling Window) interval and the transmission timing adjustment minimum step interval S shown in the timing budget shown in FIG. Determined to satisfy the relationship.

s×N×2<SW<s×N×3 (1)   s × N × 2 <SW <s × N × 3 (1)

ここで、Nは整数である。これらはいずれもディレイラインなどの遅延素子とPLLの組合せにより実現することが出来る。   Here, N is an integer. All of these can be realized by a combination of a delay element such as a delay line and a PLL.

図10は、位相ずれを修正する際の動作フローチャートである。ステップS91で、CPU11は、前シフト位相クロック、中心位相クロックのラッチ結果が一致かどうかを判断し、ラッチ結果が一致する場合はステップS95に進み、ラッチ結果が一致しない場合は、ステップS92に進む。ステップS92で、CPU11は、単位時間中にN回発生したかどうかを判断し、N回発生していない場合、ステップS91に戻り、N回発生した場合はステップS93に進む。ここで、Nはあらかじめ設定した整数である。ステップS93で、CPU11は、記憶したスレーブタイミング調整値の修正を促すコマンドをスレーブ装置2に送信し、結果的にマスター側フレームクロック信号の位相に対してスレーブデータを1ステップ前にずらす。   FIG. 10 is an operation flowchart for correcting the phase shift. In step S91, the CPU 11 determines whether the latch results of the previous shift phase clock and the center phase clock match. If the latch results match, the process proceeds to step S95. If the latch results do not match, the process proceeds to step S92. . In step S92, the CPU 11 determines whether or not it has occurred N times during the unit time. If it has not occurred N times, the process returns to step S91. If it has occurred N times, the process proceeds to step S93. Here, N is an integer set in advance. In step S93, the CPU 11 transmits a command for urging correction of the stored slave timing adjustment value to the slave device 2, and as a result, shifts the slave data one step before the phase of the master side frame clock signal.

ステップS94で、CPU11は、前シフト位相クロック、中心位相クロックのラッチ結果が一致するかどうかを判断し、ラッチ結果が一致しない場合は、ステップS93に戻り、前シフト位相クロックと中心位相クロックのラッチ結果が一致するまでループし、前シフト位相クロックと後シフト位相クロックのラッチ結果が一致した場合はステップS95に進む。ステップS95で、CPU11は、中心位相クロック、後シフト位相クロックのラッチ結果が一致したかどうかを判断し、中心位相クロックと後シフト位相クロックのラッチ結果が一致した場合は、記憶したスレーブタイミング調整値をそのまま使用し、ステップS99に進む。   In step S94, the CPU 11 determines whether the latch results of the previous shift phase clock and the center phase clock match. If the latch results do not match, the CPU 11 returns to step S93 to latch the previous shift phase clock and the center phase clock. The process loops until the results match, and if the latch results of the front shift phase clock and the rear shift phase clock match, the process proceeds to step S95. In step S95, the CPU 11 determines whether or not the latch results of the center phase clock and the post-shift phase clock match. If the latch results of the center phase clock and the post-shift phase clock match, the stored slave timing adjustment value is determined. Are used as they are, and the process proceeds to Step S99.

ステップS95で、CPU11は、中心位相クロックと後シフト位相クロックのラッチ結果が一致していない場合、ステップS96で、単位時間中にN回発生したかどうかを判断し、単位時間中にN回発生しない場合はステップS95に戻り、N回発生した場合はステップS97に進む。ここでNはあらかじめ設定した整数である。   In step S95, if the latch results of the center phase clock and the post-shift phase clock do not match, the CPU 11 determines in step S96 whether or not it has occurred N times during the unit time, and occurs N times during the unit time. If not, the process returns to step S95, and if it occurs N times, the process proceeds to step S97. Here, N is an integer set in advance.

ステップS97で、CPU11は、記憶したスレーブタイミング調整値の修正を促すコマンドをスレーブ装置2に送信し、結果的にマスター側フレームクロックの位相に対してスレーブデータを1ステップ後ろにずらす。ステップS98で、CPU11は、中心位相クロック、後シフト位相クロックのラッチ結果が一致しているかどうかを判断し、ラッチ結果が一致していない場合はステップS97に戻り、中心位相クロックと後シフト位相クロックのラッチ結果が一致するまでループし、一致している場合はステップS99に進む。ステップS99で、CPU11は、データ伝送を中止しない場合はステップS91に戻り、データ伝送を中止する場合は処理を終了する。   In step S97, the CPU 11 transmits a command for urging correction of the stored slave timing adjustment value to the slave device 2, and consequently shifts the slave data backward by one step with respect to the phase of the master side frame clock. In step S98, the CPU 11 determines whether or not the latch results of the center phase clock and the rear shift phase clock match, and if the latch results do not match, the CPU 11 returns to step S97 to return to the center phase clock and the rear shift phase clock. Loop until the latch results match, and if they match, the process proceeds to step S99. In step S99, the CPU 11 returns to step S91 when the data transmission is not stopped, and ends the process when the data transmission is stopped.

なお、中心位相クロックを前にずらすべきか、後にずらすべきか、全くずらす必要が無いかの判定は1度で行うのではなく、図10に示すように複数回の累積カウント結果を基に行う。このとき単純な累積結果ではなく、単位時間あたりのカウント数に着目し、一定時間同じ傾向が続いた場合のみ、ずれが発生したと判定する。これによりバラツキから来る誤検知の発生を抑えるようにする。あらかじめ設定した規定回数を上回る判定結果が累積した場合に、CPU11からスレーブタイミング調整値の修正を促すコマンドをスレーブ装置2に送信する。   It should be noted that whether the center phase clock should be shifted forward, backward, or not required at all is not determined once, but based on the cumulative count results of a plurality of times as shown in FIG. . At this time, focusing on the number of counts per unit time instead of a simple cumulative result, it is determined that a deviation has occurred only when the same tendency continues for a certain period of time. This suppresses the occurrence of false detections resulting from variations. When determination results exceeding the predetermined number of times set in advance are accumulated, the CPU 11 transmits a command for urging correction of the slave timing adjustment value to the slave device 2.

なお、前述のコマンド送信はデータ伝送を行っていないときに実行する必要がある。   The command transmission described above must be executed when data transmission is not performed.

上記実施例によれば、位相ずれの傾向をデータ転送の実行中も常に監視し続けることができ、必要に応じて位相ずれを修正するために受信データのラッチタイミング変更を促すことで、双方向バス・システムのビット・エラー・レート(BER)を確保することが可能になる。これにより、シリアル伝送路によって接続された1対多のノード間伝送を行う際、送信側・受信側両ノード間の信号の同期状態を維持した、双方向バス・システムの実現することができる。マスター装置1が情報処理装置に、光送信器13が送信手段、光受信器14が受信手段、受信タイミング検出ブロック111が判定手段、CPU11が制御手段に対応する。   According to the above-described embodiment, the tendency of the phase shift can be continuously monitored even during the data transfer, and it is possible to change the latch timing of the received data in order to correct the phase shift as necessary. It becomes possible to ensure the bit error rate (BER) of the bus system. As a result, it is possible to realize a bidirectional bus system that maintains the synchronized state of signals between both nodes on the transmission side and reception side when performing transmission between one-to-many nodes connected by a serial transmission path. The master device 1 corresponds to the information processing device, the optical transmitter 13 corresponds to the transmission means, the optical receiver 14 corresponds to the reception means, the reception timing detection block 111 corresponds to the determination means, and the CPU 11 corresponds to the control means.

以上本発明の好ましい実施例について詳述したが、本発明は係る特定の実施例に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形、変更が可能である。たとえばマスター装置1を情報処理装置として例にとって説明したが、スレーブ装置2を情報処理装置とすることもできる。   Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the specific embodiments, and various modifications, within the scope of the gist of the present invention described in the claims, It can be changed. For example, the master device 1 has been described as an example of the information processing device, but the slave device 2 may be an information processing device.

本発明に係る双方向光伝送システムの構成例を示す概略図である。It is the schematic which shows the structural example of the bidirectional | two-way optical transmission system which concerns on this invention. 図1に示した双方向光伝送システムにおけるマスター装置1及びメインスレーブ装置の詳細ブロック図である。FIG. 2 is a detailed block diagram of a master device 1 and a main slave device in the bidirectional optical transmission system shown in FIG. 1. タイミング調整シーケンス全体のフローチャートである。It is a flowchart of the whole timing adjustment sequence. 受信調整シーケンスのフローチャートを示す図である。It is a figure which shows the flowchart of a reception adjustment sequence. マスター装置1における送信調整シーケンスである。4 is a transmission adjustment sequence in the master device 1; スレーブ装置2における送信調整シーケンスである。It is a transmission adjustment sequence in the slave device 2. 受信タイミング検出ブロックの構成を示す図である。It is a figure which shows the structure of a reception timing detection block. データ転送時におけるフレームクロック信号の位相ずれ検出方法を説明する図である。It is a figure explaining the phase shift detection method of the frame clock signal at the time of data transfer. ラッチタイミングテスト対象のタイミングバジェットを説明するための図である。It is a figure for demonstrating the timing budget of a latch timing test object. 位相ずれを修正する際の動作フローチャートである。It is an operation | movement flowchart at the time of correcting a phase shift.

符号の説明Explanation of symbols

100 信号伝送システム
1 マスター装置
2 メインスレーブ装置
3、4 サブスレーブ装置
11 CPU
12 ASIC
13 光送信器
14 光受信器
110 タイミング調整回路
111 受信タイミング検出ブロック
100 Signal Transmission System 1 Master Device 2 Main Slave Device 3 4 Sub Slave Device 11 CPU
12 ASIC
13 Optical Transmitter 14 Optical Receiver 110 Timing Adjustment Circuit 111 Reception Timing Detection Block

Claims (8)

外部装置との間でデータ転送を行う情報処理装置であって、
前記外部装置に対して同期伝送に用いる第1のフレームクロック信号に同期させて第1のデータ信号を送信する送信手段と、
前記外部装置が同期伝送に用いる第2のフレームクロック信号に同期させて送信する第2のデータ信号を受信する受信手段と、
データ転送の実行中に、前記第1のフレームクロック信号との間で一定の位相差関係を確立するクロックと前記第2のデータ信号とに基づいて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差変位の度合いを判定する判定手段と、
前記判定手段の判定結果に基づき前記第1のフレームクロック信号に対する前記第2のフレームクロック信号の位相差変位を修正するため、前記外部装置に対して前記第2のフレームクロック信号の位相設定値の変更を促すコマンドを送信する制御手段と
を有し
前記第2のフレームクロック信号は、前記第1のフレームクロック信号との間で一定の位相差関係を確立するように、前記第1のフレームクロック信号を基に生成され、前記外部装置から前記情報処理装置には送信されず、
前記第2のフレームクロック信号に同期させて送信される前記第2のデータ信号は、前記第1のフレームクロック信号を用いてシリアル信号からパラレル信号に復元されることを特徴とする情報処理装置。
An information processing device that transfers data to and from an external device,
Transmitting means for transmitting a first data signal in synchronization with a first frame clock signal used for synchronous transmission to the external device;
Receiving means for receiving a second data signal transmitted in synchronization with a second frame clock signal used by the external device for synchronous transmission;
During execution of data transfer, the first frame clock signal and the second data signal are based on the clock and the second data signal that establish a certain phase difference relationship with the first frame clock signal. Determining means for determining the degree of phase difference displacement of the frame clock signal;
In order to correct the phase difference displacement of the second frame clock signal with respect to the first frame clock signal based on the determination result of the determination means, the phase setting value of the second frame clock signal is set to the external device. And a control means for transmitting a command prompting the change ,
The second frame clock signal is generated based on the first frame clock signal so as to establish a certain phase difference relationship with the first frame clock signal, and the information is received from the external device. Is not sent to the processor
The information processing apparatus, wherein the second data signal transmitted in synchronization with the second frame clock signal is restored from a serial signal to a parallel signal using the first frame clock signal .
前記判定手段は、前記第2のフレームクロック信号に同期したクロックと、前記第2のフレームクロックから位相を進めたクロックと、前記第2のフレームクロック信号から位相を遅らせたクロックを用いて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差を判定することを特徴とする請求項1に記載の情報処理装置。   The determination means uses a clock synchronized with the second frame clock signal, a clock whose phase is advanced from the second frame clock, and a clock whose phase is delayed from the second frame clock signal. The information processing apparatus according to claim 1, wherein a phase difference between the first frame clock signal and the second frame clock signal is determined. 前記判定手段は、前記外部装置における調整ステップ間隔に基づいて、前記第2のフレームクロック信号から位相を進めたクロックと、前記第2のフレームクロック信号から位相を遅らせたクロックをそれぞれ生成するための位相調整ステップ間隔を決定することを特徴とする請求項に記載の情報処理装置。 The determination unit generates a clock whose phase is advanced from the second frame clock signal and a clock whose phase is delayed from the second frame clock signal based on the adjustment step interval in the external device. The information processing apparatus according to claim 2 , wherein a phase adjustment step interval is determined. 前記第1のフレームクロック信号および前記第2のフレームクロック信号は、同一の発振源を基準にして生成されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the first frame clock signal and the second frame clock signal are generated based on the same oscillation source. 前記第1のデータ信号および前記第2のデータ信号の少なくとも一方は、光伝送媒体を介して伝送されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein at least one of the first data signal and the second data signal is transmitted via an optical transmission medium. 前記第1のフレームクロック信号は、光伝送媒体を介して伝送されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the first frame clock signal is transmitted via an optical transmission medium. 請求項1から請求項6のいずれか一項に記載の情報処理装置と、前記情報処理装置との間で光伝送媒体を介してデータ転送を行う外部装置とを備えたシステム。   A system comprising: the information processing apparatus according to any one of claims 1 to 6; and an external apparatus that transfers data to and from the information processing apparatus via an optical transmission medium. 外部装置に対して同期伝送に用いる第1のフレームクロック信号に同期させて第1のデータ信号を送信する送信ステップと、
外部装置が同期伝送に用いる第2のフレームクロック信号に同期させて送信する第2のデータ信号を受信する受信ステップと、
データ転送の実行中に、前記第1のフレームクロック信号との間で一定の位相差関係を確立するクロックと前記第2のデータ信号とに基づいて、前記第1のフレームクロック信号と前記第2のフレームクロック信号の位相差変位の度合いを判定する判定ステップと、
前記判定ステップの判定結果に基づき前記第1のフレームクロック信号に対する前記第2のフレームクロック信号の位相差変位を修正するため、前記外部装置に対して前記第2のフレームクロック信号の位相設定値の変更を促すコマンドを送信するステップと、
を有し、
前記第2のフレームクロック信号は、前記第1のフレームクロック信号との間で一定の位相差関係を確立するように、前記第1のフレームクロック信号を基に生成され、前記外部装置から前記情報処理装置には送信されず、
前記第2のフレームクロック信号に同期させて送信される前記第2のデータ信号は、前記第1のフレームクロック信号を用いてシリアル信号からパラレル信号に復元されることを特徴とする情報処理方法。
A transmission step of transmitting a first data signal in synchronization with a first frame clock signal used for synchronous transmission to an external device;
A receiving step of receiving a second data signal transmitted in synchronization with a second frame clock signal used by the external device for synchronous transmission;
During execution of data transfer, the first frame clock signal and the second data signal are based on the clock and the second data signal that establish a certain phase difference relationship with the first frame clock signal. A determination step for determining the degree of phase difference displacement of the frame clock signal;
In order to correct the phase difference displacement of the second frame clock signal with respect to the first frame clock signal based on the determination result of the determination step, the phase setting value of the second frame clock signal is set to the external device. Sending a command to prompt for change;
I have a,
The second frame clock signal is generated based on the first frame clock signal so as to establish a certain phase difference relationship with the first frame clock signal, and the information is received from the external device. Is not sent to the processor
The information processing method, wherein the second data signal transmitted in synchronization with the second frame clock signal is restored from a serial signal to a parallel signal by using the first frame clock signal .
JP2005077553A 2005-03-17 2005-03-17 Information processing apparatus, system, and information processing method Expired - Fee Related JP4650044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005077553A JP4650044B2 (en) 2005-03-17 2005-03-17 Information processing apparatus, system, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005077553A JP4650044B2 (en) 2005-03-17 2005-03-17 Information processing apparatus, system, and information processing method

Publications (2)

Publication Number Publication Date
JP2006262154A JP2006262154A (en) 2006-09-28
JP4650044B2 true JP4650044B2 (en) 2011-03-16

Family

ID=37100884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005077553A Expired - Fee Related JP4650044B2 (en) 2005-03-17 2005-03-17 Information processing apparatus, system, and information processing method

Country Status (1)

Country Link
JP (1) JP4650044B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5704988B2 (en) * 2011-03-28 2015-04-22 三菱電機株式会社 Communication device
CN107290736B (en) * 2017-07-12 2023-06-13 无锡海斯凯尔医学技术有限公司 Signal processing device and ultrasonic signal processing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62204636A (en) * 1986-03-05 1987-09-09 Hitachi Ltd Data transmission equipment
JPS63248244A (en) * 1987-04-03 1988-10-14 Fujitsu Ltd Frame synchronization signal transmission method
JPH0267033A (en) * 1988-09-01 1990-03-07 Fujitsu Ltd network synchronization system
JPH0851451A (en) * 1994-05-21 1996-02-20 Alcatel Nv Method and apparatus for synchronization,terminal and switching apparatus
JPH10228449A (en) * 1996-09-17 1998-08-25 Fujitsu Ltd Semiconductor device system and semiconductor device
JPH11220511A (en) * 1998-02-02 1999-08-10 Nippon Telegr & Teleph Corp <Ntt> Data transmission reception system for optical bus circuit device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62204636A (en) * 1986-03-05 1987-09-09 Hitachi Ltd Data transmission equipment
JPS63248244A (en) * 1987-04-03 1988-10-14 Fujitsu Ltd Frame synchronization signal transmission method
JPH0267033A (en) * 1988-09-01 1990-03-07 Fujitsu Ltd network synchronization system
JPH0851451A (en) * 1994-05-21 1996-02-20 Alcatel Nv Method and apparatus for synchronization,terminal and switching apparatus
JPH10228449A (en) * 1996-09-17 1998-08-25 Fujitsu Ltd Semiconductor device system and semiconductor device
JPH11220511A (en) * 1998-02-02 1999-08-10 Nippon Telegr & Teleph Corp <Ntt> Data transmission reception system for optical bus circuit device

Also Published As

Publication number Publication date
JP2006262154A (en) 2006-09-28

Similar Documents

Publication Publication Date Title
JP4741003B2 (en) Phase comparator, phase comparator, and clock data recovery system
US7777536B2 (en) Synchronization circuit
US20020054409A1 (en) Fiber optic transceiver employing clock and data phase aligner
US20200389244A1 (en) Method for a slave device for calibrating its output timing, method for a master device for enabling a slave device to calibrate its output timing, master device and slave device
JP4650044B2 (en) Information processing apparatus, system, and information processing method
JP2011061350A (en) Receiving apparatus and receiving method thereof
JP5099122B2 (en) Integrated circuit chip and circuit network
JP4321175B2 (en) Signal transmission system with error correction code
US9374096B2 (en) Semiconductor apparatus and semiconductor system including the same, and method of operating the same
JPWO2008152755A1 (en) Timing recovery circuit, communication node, network system, and electronic device
JP4492379B2 (en) Master optical transmission apparatus and optical transmission system
US20070104486A1 (en) Optical network system and device, and method for controlling optical network and device
US20090129455A1 (en) Apparatus for and method of automatically controlling skew between transmitted data
JP2003218844A5 (en)
US20090180580A1 (en) Signal transmission system
JP4201610B2 (en) Test circuit and test method for communication system
JP2019193149A (en) Receiver and transmission system
JP3024528B2 (en) Timing transfer circuit
JP4493581B2 (en) Relay node and transmission system
US7526017B2 (en) Transmitting device, receiving device, transmission system, and transmission method
JP2008187683A (en) Synchronous serial bus system
JP2004096217A (en) Communication device and communication method
CN117997672A (en) CAN communication method, CAN communication device, electronic equipment and storage medium
JP2005033690A (en) Bidirectional optical transmission system
JP2005012589A (en) Signal transmission system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101029

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: 20101116

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: 20101129

R150 Certificate of patent or registration of utility model

Ref document number: 4650044

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees