JP2016178425A - Information processing apparatus and delay adjustment method - Google Patents
Information processing apparatus and delay adjustment method Download PDFInfo
- Publication number
- JP2016178425A JP2016178425A JP2015056225A JP2015056225A JP2016178425A JP 2016178425 A JP2016178425 A JP 2016178425A JP 2015056225 A JP2015056225 A JP 2015056225A JP 2015056225 A JP2015056225 A JP 2015056225A JP 2016178425 A JP2016178425 A JP 2016178425A
- Authority
- JP
- Japan
- Prior art keywords
- data
- clock
- unit
- delay amount
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
本発明は、情報処理装置及び遅延調整方法に関する。 The present invention relates to an information processing apparatus and a delay adjustment method.
プリンタ、スキャナ、ファクシミリ、複合機などの情報処理装置は、LAN(Local Area Network)インタフェース等の通信インタフェースを持つ形態が増えてきている。また、取り扱うデータの増加に伴い、通信インタフェースの最大通信速度も高速化が求められている。また、情報処理装置は、他の情報処理装置等とのデータ通信の高速化だけでなく、情報処理装置自体の小型化のニーズも高まってきている。 An increasing number of information processing apparatuses such as printers, scanners, facsimiles, and multifunction machines have a communication interface such as a LAN (Local Area Network) interface. In addition, as the amount of data handled increases, the maximum communication speed of the communication interface is also required to be increased. In addition, the information processing apparatus is not only required to speed up data communication with other information processing apparatuses, but also needs for downsizing the information processing apparatus itself.
通信インタフェースの高速化を実現するには、装置内部のデバイスの動作周波数も高速化が必要となる。例えば、通信インタフェースの物理層部(PHY部)とその上位層であるメディアアクセス制御部(MAC部)との間のインタフェースにおいては、LAN規格のギガビットイーサネット(登録商標)では、クロック速度は125MHzの動作周波数まで高速化されている。 In order to increase the speed of the communication interface, it is necessary to increase the operating frequency of the devices inside the apparatus. For example, in the interface between the physical layer part (PHY part) of the communication interface and the media access control part (MAC part) which is the upper layer, the LAN speed Gigabit Ethernet (registered trademark) has a clock speed of 125 MHz. Speed up to operating frequency.
ギガビットイーサネットにおけるPHY部とMAC部の間のインタフェース規格の1つに、RGMII(Reduced Gigabit Media Independent Interface)がある。RGMIIは、GMII(Gigabit Media Independent Interface)に比べ、PHY部とMAC部の間の信号線数が少なくなるので、情報処理装置の小型化の設計が可能となる。しかし、RGMIIは、クロックによるデータの取り込みを行う時間間隔がGMIIの半分になり、PHY部とMAC部の間でのデータに対するクロックの遅延調整が必要となってくる。 One of the interface standards between the PHY part and the MAC part in Gigabit Ethernet is RGMII (Reduced Gigabit Media Independent Interface). Since RGMII has a smaller number of signal lines between the PHY unit and the MAC unit than GMII (Gigabit Media Independent Interface), it is possible to design a smaller information processing apparatus. However, in RGMII, the time interval for taking in data by a clock is half that of GMII, and it is necessary to adjust the delay of the clock for the data between the PHY part and the MAC part.
RGMIIにおけるクロックの遅延調整には、クロックの物理的な配線を長くする方法や、受信側のデバイスに内蔵されるクロックの内部遅延機能を使う方法が知られている。しかしながら、いずれの方法も基板の設計において、クロック及びデータの物理的な配線に、ミアンダと呼ばれる信号配線で配線長を追加することが必要となる。これは、情報処理装置の小型化の妨げとなる。 To adjust the clock delay in RGMII, there are known a method of lengthening the physical wiring of the clock and a method of using an internal delay function of the clock built in the device on the receiving side. However, in any of the methods, it is necessary to add a wiring length with a signal wiring called a meander to the physical wiring of the clock and data in designing the board. This hinders downsizing of the information processing apparatus.
下記特許文献1には、ミアンダが不要な方法でクロックとデータのタイミングを調整する方法が提案されている。この方法では、デバイス内で受信したデータを一時的にバッファに保存して、その間にデータの先頭を識別し、識別されたデータの先頭のタイミングでタイミング調整用パルスを生成する。さらに、デバイス内では受信した第1クロックとは別に第2クロックを生成し、タイミング調整用パルスと第2クロックとの間でタイミングの調整を図って、バッファリングされたデータを送信する。 Patent Document 1 below proposes a method of adjusting clock and data timings in a manner that does not require meandering. In this method, data received in the device is temporarily stored in a buffer, the head of data is identified during that time, and a timing adjustment pulse is generated at the timing of the head of the identified data. Further, in the device, a second clock is generated separately from the received first clock, the timing is adjusted between the timing adjustment pulse and the second clock, and the buffered data is transmitted.
しかしながら、特許文献1に記載の技術では、タイミング調整用パルスを生成する回路や第2クロックを生成する回路を新たに搭載する必要があるため、設計規模が増大してしまう。前述した方法以外にも、送信側のデバイスに内蔵されるクロックの遅延機能を使ってクロックに遅延を与え、クロックとデータのタイミングを調整することも可能である。この場合、送信側のデバイス単体毎に、設定した遅延量に対する実際のデバイスのばらつき特性を考慮する必要がある。例えば、ファームウェア等で送信側のデバイスに設定するクロックの遅延量に対して実際の遅延量がずれてしまうことで、受信側のデバイスに入力すべきクロックの遅延量の規定を満たせなくなる可能性がある。 However, in the technique described in Patent Document 1, it is necessary to newly install a circuit for generating a timing adjustment pulse and a circuit for generating a second clock, which increases the design scale. In addition to the method described above, it is also possible to adjust the clock and data timing by delaying the clock by using a clock delay function built in the device on the transmission side. In this case, it is necessary to consider an actual device variation characteristic with respect to the set delay amount for each device on the transmission side. For example, the actual delay amount may deviate from the delay amount of the clock set in the device on the transmission side by firmware, etc., which may prevent the clock delay amount to be input to the device on the reception side from being satisfied. is there.
本発明は、このような事情に鑑みてなされたものであり、設計規模を増大させることなく、データ通信におけるクロックとデータのタイミングを適切に調整できるようにすることを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to enable appropriate adjustment of clock and data timings in data communication without increasing the design scale.
本発明に係る情報処理装置は、受信したクロックにて受信したデータの信号レベルを判定して該信号レベルを基にしたデータを送信し、ネットワークを介して接続される機器とのデータ通信における物理層の処理を行う物理層部と、設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部と、前記メディアアクセス制御部での前記クロックの遅延量を制御する制御部とを有し、前記制御部が、前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定し、判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定することを特徴とする。 An information processing apparatus according to the present invention determines the signal level of data received at a received clock, transmits data based on the signal level, and performs physical communication in data communication with a device connected via a network. A physical layer unit that performs layer processing, and delays a clock with respect to an output timing of data by a set delay amount, and transmits the data and the clock to the physical layer unit. A media access control unit that performs transmission and reception and performs logical layer processing in the data communication; and a control unit that controls a delay amount of the clock in the media access control unit, and the control unit includes the delay amount of the clock The data access and the clock are transmitted by the media access control unit by changing the data, and data communication is performed based on a response to the transmission. It determines whether performed normally, and determining the amount of delay that allows the normal data communications from the determination result and sets the media access controller.
本発明によれば、特別な回路を使わずにデータ通信におけるクロックの遅延量を装置毎に適切に設定でき、設計規模を増大させることなく、データ通信におけるクロックとデータのタイミングを適切に調整することが可能となる。 According to the present invention, the delay amount of the clock in the data communication can be appropriately set for each apparatus without using a special circuit, and the timing of the clock and the data in the data communication can be adjusted appropriately without increasing the design scale. It becomes possible.
以下、本発明の実施形態を図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1の実施形態)
本発明の第1の実施形態について説明する。図1は、本発明の実施形態における情報処理装置100のハードウェア構成例を示すブロック図である。本実施形態における情報処理装置100は、他の情報処理装置等とデータ通信を行うための通信インタフェースを有している。図1には、通信インタフェースとしてLAN(Local Area Network)インタフェースを有する情報処理装置100を一例として示している。
(First embodiment)
A first embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating a hardware configuration example of an
情報処理装置100は、コントローラ110、プリンタ111、電源部112、及びパネル114を有する。コントローラ110は、情報処理装置100の主たる制御を行う。コネクタ101は、LANケーブルのモジュラーを接続するためのコネクタである。トランス102は、情報処理装置100とネットワークを電気的に絶縁するためのものである。
The
物理層部(PHY部)103は、データ通信における物理層の処理を行う。PHY部103は、例えば情報処理装置100がLANインタフェースを介してネットワークで接続される接続先の機器との電気的な信号のやり取りを行う。メディアアクセス制御部(MAC部)104は、データ通信における論理層の処理を行う。MAC部104は、例えばPHY部103にて受信した信号を装置内のデバイスが取り扱うフレームに変換する。本実施形態では、PHY部とMAC部とはRGMII(Reduced Gigabit Media Independent Interface)によって接続されており、PHY部とMAC部との間でデータを送受信する。
A physical layer unit (PHY unit) 103 performs physical layer processing in data communication. The
TXデータTXDTは、MAC部104からPHY部103へ送信される送信データであり、TXクロックTXCKは、MAC部104からPHY部103へ送信される送信クロックである。TX情報群TXIFは、MAC部104からPHY部103へ送信データの送信状態を表す。TX情報群TXIFにより、MAC部104からの送信有効状態や送信エラー状態をPHY部103に通知することができる。
TX data TXDT is transmission data transmitted from the
また、RXデータRXDTは、MAC部104がPHY部103から受信する受信データであり、RXクロックRXCKは、MAC部104がPHY部103から受信する受信クロックである。RX情報群RXIFは、MAC部104がPHY部103から受信する受信データの状態を表す。RX情報群RXIFにより、受信データの検出状態や受信データのエラー情報をMAC部104に通知することができる。管理情報MNGは、PHY部103とMAC部104との間で双方向使用し、管理情報のやり取りを行う。
RX data RXDT is reception data that the
PHY部103は、TXクロックTXCKを受信した際、TXクロックTXCKが電気的にハイ(High)レベル又はロー(Low)レベルに変化したタイミングで、受信しているTXデータTXDTの電気的なハイレベル又はローレベルを検知する。ここで検知した信号レベル(ハイレベル又はローレベル)を、MAC部104から受信したデータとして認識する。ただし、RGMIIインタフェースにおいて、MAC部104が送信したデータをPHY部103が正常に取り込むためには、TXデータTXDTに対し、TXクロックTXCKが一定量の遅延を有する必要がある。この遅延がPHY部103にて定められる範囲の遅延量でない場合、PHY部103は、TXデータTXDTの電気的なハイレベル又はローレベルを、MAC部104が送信している通りのレベルで検知できない可能性がある。
When the
また、MAC部104は、RXクロックRXCKを受信した際、RXクロックRXCKが電気的なハイレベル又はローレベルに変化したタイミングで、受信しているRXデータRXDTの電気的なハイレベル又はローレベルを検知する。ここで検知した信号レベル(ハイレベル又はローレベル)を、PHY部103から受信したデータとして認識する。ただし、RGMIIインタフェースにおいて、PHY部103が送信したデータをMAC部104が正常に取り込むためには、RXデータRXDTに対し、RXクロックRXCKが一定量の遅延を有する必要がある。この遅延がMAC部104にて定められる範囲の遅延量でない場合、MAC部104は、RXデータRXDTの電気的なハイレベル又はローレベルを、PHY部103が送信している通りのレベルで検知できない可能性がある。
Further, when the
CPU(Central Processing Unit)108は、装置内のデバイスに命令を実行する。RAM(Random Access Memory)109は、CPU108が実行するプログラムを一時的に格納する。ROM(Read Only Memory)116は、情報処理装置100の設定値や初期データ等を保存するメモリである。RTC(Real Time Clock)は、現在時刻を計時し、必要に応じてCPU108に対し時刻を通知する時計機能を有する。
A CPU (Central Processing Unit) 108 executes instructions to devices in the apparatus. A RAM (Random Access Memory) 109 temporarily stores a program executed by the
プリンタ111は、CPUから受けた命令に従って印字や画像のプリントを行う。パネル114は、情報処理装置100の情報の表示やユーザーからの命令を入力するためのものであり、LCD(Liquid Crystal Display)115を有する。パネル114に取り付けられたLCD115には、パネル114がCPU108から受けた命令を表示することができる。電源部112は、情報処理装置100の内部に電力を供給する。電源部112は、CPU108により制御が可能であり、コントローラ110、プリンタ111、及びLCD115等に電力を供給する。電源スイッチ120は、電源部112の電源供給のオフオンを実施するためのスイッチである。
The
図2は、本実施形態における情報処理装置100の接続形態の一例を示す図である。201は、複数のLAN回線との接続が可能で、またパケットの交換やパケットの同報転送が可能であるHUBである。HUB201は、他情報処理装置との接続に使用され通信における物理層の処理を行う物理層部(PHY部)204、及び通信における論理層の処理を行うメディアアクセス制御部(MAC部)205を、複数組有する。PHY部204及びMAC部205は、それぞれPHY部103及びMAC部104と同等の機能を有する。
FIG. 2 is a diagram illustrating an example of a connection form of the
情報処理装置100は、コネクタ101を介して、通信に使用するLANケーブル206によりHUB201と接続されている。また、HUB201のPHY部204及びMAC部205の組に対して、情報処理装置100へのプリント要求等を行う端末A202、端末B203がそれぞれ接続されている。したがって、HUB201を介して情報処理装置100と端末A202、端末B203は通信が可能である。また、HUB201は、外部インターネット等のネットワーク211に接続されている。
The
スイッチLSI207は、MAC部205経由で受信したパケットを所定の方向へ転送する機能を有する。CPU208は、HUB201内のデバイスに命令を実行する。RAM210は、CPU207が実行するプログラムを一時的に格納する。ROM209は、HUB201の設定値や初期データ等を保存するメモリである。PHY部204及びスイッチLSI207への設定変更等の命令は、CPU208が実行する。
The
次に、本実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作について説明する。
図3は、本実施形態におけるMAC部104及びPHY部103の内部構成例を示す図である。MAC部104は、TX送信部301及びRX受信部306を有する。また、PHY部103は、TX受信部303及びRX送信部305を有する。
Next, an operation related to the delay amount setting of the TX clock TXCK of the
FIG. 3 is a diagram illustrating an internal configuration example of the
TX送信部301は、PHY部103へ送信するTXクロックTXCK及びTXデータTXDTを生成する。TX送信部301のTX遅延部302は、TXクロックTXCKについて、TXデータTXDTの出力タイミングに対し任意の遅延を与える。TX遅延部302にて設定できる遅延量は、CPU108の命令により、MAC部104で設定することが可能である。RX受信部306は、PHY部103からのRXクロックRXCK及びRXデータRXDTを受信する。RX受信部306に内蔵されているRX判定部307は、PHY部103のRX送信部306が送信したRXクロックRXCKにてRXデータRXDTの信号レベルがハイレベルであるかローレベルであるかを判定する。
The
TX受信部303は、MAC部104からのTXクロックTXCK及びTXデータTXDTを受信する。TX受信部303に内蔵されているTX判定部304は、TX受信部303が受信したTXクロックTXCKにてTXデータTXDTの信号レベルがハイレベルであるかローレベルであるかを判定する。TX受信部303は、TX判定部304にて判定されたハイレベル又はローレベルを基にした信号を送信データMDITXとしてPHY部103の外部インタフェースへ送信する。送信データMDITXは、通常図2に示したLANケーブル206により外部機器へ送信され、HUB201を経由し端末A202や端末B203などへ送信される。なお、HUB201を使用しない場合には、LANケーブル206を情報処理装置100と直接つなぐことで、端末A202や端末B203などに直接送信できる。
The
RX送信部305は、RXクロックRXCK及びRXデータRXDTをMAC部104へ送信する。また、RX送信部305は、PHY部103の外部インタフェースから受信データMDIRXを受信する。受信データMDIRXは、通常端末A202や端末B203などの外部機器から送信され、HUB201を経由して図2に示したLANケーブル206により受信される。なお、HUB201を使用しない場合は、LANケーブル206を情報処理装置100と直接つなぐことで、端末A202や端末B203などから直接受信できる。
The
また、PHY部103は、TX受信部303のTX判定部304で判定したTXデータTXDTの信号レベル(ハイレベル又はローレベル)を、RX送信部305へ送信することのできるループ経路308を有する。すなわち、PHY部103は、折り返し機能を有しており、ループ経路308を用いることで、TX判定部304から受信したTXデータTXDTのハイレベル又はローレベルを、RXデータRXDTとして送信することが可能である。ループ経路308を使ってTX判定部304で判定したTXデータTXDTのハイレベル又はローレベルをRX送信部305へ送信するか否かは、CPU108より任意に設定することができる。また、CPU108は、ループ経路308を使用した際、任意のタイミングで任意のデータをTXデータTXDTとして送信することが可能である。
Further, the
また、PHY部103のループ経路308を使用した際、TXデータTXDTとして送信したデータがRXデータRXDTとしてRX受信部306で受信された際、RX判定部307で判定されたハイレベル又はローレベルをCPU108は確認することができる。つまり、CPU108は、ループ経路308を使用した際に、自身の命令で送信したデータがTX判定部304にて正しく検知されているかどうかを対応する受信したデータを基に確認することができる。さらに、CPU108は、自身の命令で、MAC部104に対し、TX遅延部302で任意の遅延を設定することが可能である。
Further, when the loop path 308 of the
以上の機能を使うことで、CPU108は、MAC部104内のTX遅延部302に任意の遅延量を設定し、かつその遅延量にて、送信したデータがPHY部103で正常に受信できているかどうかを判定することが可能となる。したがって、CPU108がTX遅延部302に設定した数々の遅延に対し、各遅延量でのデータの正常疎通を確認することで、データの正常疎通ができる範囲のTXクロックTXCKの遅延を求めることが可能となり、適切な遅延量を設定することができる。例えば、求められたデータの正常疎通できる遅延量の範囲の中心値をTX遅延部302に設定することで、TXデータTXDTに対するTXクロックTXCKの遅延量は、PHY部103が受信できる範囲の一番マージンのある最適値に設定することが可能である。
By using the above functions, the
図4は、第1の実施形態におけるCPU108、MAC部104、及びPHY部103のやりとりを示すシーケンスの一例を示す図である。ステップS401では、CPU108が、MAC部104経由でPHY部103にループ経路308の使用を設定するために、MAC部104に対しループ経路308の使用命令を行う。ステップS402では、MAC部104が、CPU108からの命令を受けて、PHY部103に対しループ経路308の使用命令を行う。PHY部103は、ループ経路308の使用命令を受けると、ループ経路308の使用を開始する。ステップS403では、CPU108が、MAC部104に対し、TX遅延部302に対して任意の遅延量を設定する。
FIG. 4 is a diagram illustrating an example of a sequence indicating exchanges between the
ステップS404では、CPU108が、ネットワークへのデータ送信の命令をMAC部104に対し行う。ステップS405では、MAC部104が、CPU108からの命令を受けて、PHY部103に対しデータの送信を行う。ステップS406では、PHY部103が、MAC部104から受信したデータのハイレベル又はローレベルを検知した後、検知したデータのハイレベル又はローレベルをループ経路308を経由してMAC部104へ折り返す。ステップS407では、MAC部104が、ステップS406においてPHY部103から折り返されたデータを検知し、CPU108へ検知結果を知らせる。CPU108は、検知結果によってステップS403でTX遅延部302に対して設定した遅延量がデータの疎通に許容できるかどうかの決定を行う。
In step S404, the
以上の一連の処理を、TX遅延部302に対して設定可能な遅延量に対し繰り返し行うことで、データ疎通可能なTXクロックTXCKの遅延量の範囲をCPU108は確認することができる。
The
図5は、第1の実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作例を示すフローチャートである。まず、ステップS501にて、情報処理装置100は電源ON(電源投入)される。ステップS502にて、PHY部103は、MAC部104から受信するデータをMAC部104へ折り返すため、ループ経路308を使用したデータのループバック経路を設定する。
FIG. 5 is a flowchart illustrating an operation example related to the delay amount setting of the TX clock TXCK of the
ステップS503にて、MAC部104は、CPU108からの命令に従い、TX遅延部302に対し、TXクロックTXCKの遅延量を設定する。次に、ステップS504にて、MAC部104は、CPU108からの命令に従い、任意のデータをPHY部103に対し送信する。ステップS505にて、MAC部104は、ステップS504においてPHY部103に送信したデータについて、PHY部103より折り返されたデータとして受信する。
In step S503, the
続いて、ステップS506にて、CPU108は、ステップS505において受信されたデータが、ステップS504においてPHY部103に送信したデータと一致するか否か、すなわち正常に伝送されているか否かの判定を行う。ステップS507にて、CPU108は、ステップS506でのデータ伝送が正常か否かの判定結果と、それに対しステップS503においてTX遅延部302に設定した遅延量との関係をRAM109に保持させる。
Subsequently, in step S506, the
そして、ステップS508にて、TX遅延部302に対しまだ設定していない遅延量がある場合(ステップS508のYes)、ステップS503に戻り、設定していない遅延量を設定して、ステップS503以降の動作を行う。一方、TX遅延部302に対しまだ設定していない遅延量がない場合(ステップS508のNo)、ステップS509に進む。
If there is a delay amount that has not yet been set for the
ステップS509にて、CPU108は、ステップS507において保持させた遅延量とデータ伝送が正常か否かの関係から、適切な遅延量を算出する。例えば、データが正常に疎通した遅延量の範囲のなかから、中心にあたる遅延量を算出することで一番マージンのある遅延量とすることが可能である。ステップS510にて、MAC部104は、CPU108からの命令に従い、ステップS509において算出された遅延量をTX遅延部302に設定し、TXクロックTXCKの遅延量設定に係る動作を終了する。
In step S509, the
本実施形態では、MAC部104内のTX遅延部302のみ遅延調整を行う例をあげたが、このほかにPHY部103の遅延調整機能を使い、PHY部103で可能な遅延をTXクロックTXCKに与えても良い。
In the present embodiment, an example in which only the
(第2の実施形態)
次に、本発明の第2の実施形態について説明する。第2の実施形態では、図3におけるループ経路308を使用しないでTXクロックTXCKの適切な遅延量を決定する。第2の実施形態における情報処理装置100の構成は、第1の実施形態における情報処理装置100と同様である。なお、本実施形態では、ループ経路308を使用しないため、PHY部103はループ経路308を有していなくとも良い。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the second embodiment, an appropriate delay amount of the TX clock TXCK is determined without using the loop path 308 in FIG. The configuration of the
情報処理装置100が、送信データMDITX及び受信データMDIRXにて外部機器と通信できる環境においては、疎通確認を行うためのPingと呼ばれる端末同士の応答を確認するパケットにて、データの正常疎通を確認することができる。したがって、情報処理装置100は、TX遅延部302に対しTXクロックTXCKの任意の遅延量を設定した状態で、端末A202又は端末B203に対してのPing応答を確認することで、TX遅延部302に設定した遅延量が適切か否かを確認できる。
In an environment where the
以下では、情報処理装置100と端末A202の間でのPingによる疎通確認を使用する場合を例に説明する。図6は、第2の実施形態におけるCPU108、MAC部104、PHY部103、及び端末A202のやりとりを示すシーケンスの一例を示す図である。ステップS601では、CPU108が、MAC部104に対し、TX遅延部302に対して任意の遅延量を設定する。
Below, the case where the communication confirmation by Ping between the
ステップS602では、CPU108が、MAC部104及びPHY部103経由でPingパケットを端末A202に対し送信するため、MAC部104へPing送信の命令を行う。ステップS603では、MAC部104が、CPU108からの命令に応じて、端末A202にPingを送るためのデータをPHY部103へ送信する。ステップS604では、PHY部103が、MAC部104から受けたPingを送るためのデータを端末A202に対し送信する。
In step S <b> 602, the
ステップS605では、端末A202が、受信したPingを正常に認識できた場合、CPU108に対し応答を返信するためにPHY部103に対しPing応答のデータを送信する。ステップS606では、PHY部103が、ステップS605において送信された端末A202からのPing応答を、MAC部104に送信する。ステップS607では、MAC部104が、ステップS606において送信されたPHY部103からのPing応答を、CPU108に対し送信する。
In step S605, when the terminal A202 can normally recognize the received Ping, the terminal A202 transmits data of the Ping response to the
ここで、TX遅延部302に設定された遅延量が、TX判定部304にて正しく信号レベル(ハイレベル又はローレベル)が正しく検知できる量であれば、CPU108が送信したPingパケットは、正常に端末A202に送信される。また、その場合、CPU108は送信したPingパケットに対応する端末A202からのPing応答を受け取ることで確認することができる。一方、TX遅延部302に設定された遅延量が、TX判定部304にて正しく信号レベル(ハイレベル又はローレベル)が正しく検知できない量であれば、送信したPingパケットに対応するPing応答はCPU108に返信されない。
Here, if the delay amount set in the
よって、TX遅延部302に設定するTXクロックTXCKの遅延量と端末A202からのPing応答の受信を確認することで、CPU108は、TX遅延部302に設定するTXクロックTXCKの遅延量が適切であるか否かを確認することが可能である。TX遅延部302に設定する遅延量を変えながら、前述のように送信したPingパケットに対応するPing応答を確認することで、適切な遅延量を決めることが可能である。
Therefore, by confirming the delay amount of the TX clock TXCK set in the
図7に、第2の実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作例を示すフローチャートである。まず、ステップS701にて、情報処理装置100は電源ON(電源投入)される。ステップS702にて、MAC部104は、CPU108からの命令に従い、TX遅延部302に対し、TXクロックTXCKの遅延量を設定する。
FIG. 7 is a flowchart illustrating an operation example related to the delay amount setting of the TX clock TXCK of the
次に、ステップS703にて、MAC部104は、CPU108からの命令により、Ping送信をPHY部103経由で端末A202に送信する。そして、ステップS704にて、CPU108は、端末A202からのPing応答が来たかどうかの判定を行う。ステップS705にて、CPU108は、ステップS704でのPing応答が来たかどうかの判定結果と、それに対しステップS702においてTX遅延部302に設定した遅延量との関係をRAM109保持させる。
Next, in step S <b> 703, the
ステップS706にて、TX遅延部302に対しまだ設定していない遅延量がある場合(ステップS706のYes)、ステップS702に戻り、設定してない遅延量を設定して、ステップS702以降の動作を行う。一方、TX遅延部302に対しまだ設定していない遅延量がない場合(ステップS706のNo)、ステップS707に進む。
If there is a delay amount that has not yet been set for the
ステップS707にて、CPU108は、ステップS705において保持させた遅延量とPing応答が来たかどうかの関係から、適切な遅延量を算出する。例えば、Ping応答があった遅延量の範囲のなかから、中心にあたる遅延量を算出することで一番マージンのある遅延量とすることが可能である。ステップS708にて、MAC部104は、CPU108からの命令に従い、ステップS707において算出された遅延量をTX遅延部302に設定し、TXクロックTXCKの遅延量設定に係る動作を終了する。
In step S707, the
本実施形態を実施する方法としては、情報処理装置100にてサービスモードなどのメンテナンス用のモードを設けておくことで、一連のフローを簡単な操作で実施するように設定してもよい。また、本実施形態では、MAC部104内のTX遅延部302のみ遅延調整を行う例をあげたが、このほかにPHY部103の遅延調整機能を使い、PHY部103で可能な遅延をTXクロックTXCKに与えても良い。
As a method for implementing this embodiment, the
(本発明の他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments of the present invention)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
なお、前記実施形態は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
100:情報処理装置 103:物理層部(PHY部) 104:メディアアクセス制御部(MAC部) 108:CPU 109:RAM 110:コントローラ 116:ROM 301:TX送信部 302:TX遅延部 303:TX受信部 304:TX判定部 305:RX送信部 306:RX処理部 307:RX判定部 TXDT:TXデータ TXCK:TXクロック RXDT:RXデータ RXCK:RXクロック DESCRIPTION OF SYMBOLS 100: Information processing apparatus 103: Physical layer part (PHY part) 104: Media access control part (MAC part) 108: CPU 109: RAM 110: Controller 116: ROM 301: TX transmission part 302: TX delay part 303: TX reception Unit 304: TX determination unit 305: RX transmission unit 306: RX processing unit 307: RX determination unit TXDT: TX data TXCK: TX clock RXDT: RX data RXCK: RX clock
Claims (7)
設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部と、
前記メディアアクセス制御部での前記クロックの遅延量を制御する制御部とを有し、
前記制御部が、前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定し、判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定することを特徴とする情報処理装置。 A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; ,
The clock is delayed with respect to the data output timing by a set delay amount, and the data and the clock are transmitted to the physical layer unit. A media access control unit for performing
A control unit for controlling a delay amount of the clock in the media access control unit,
The control unit causes the media access control unit to transmit the data and the clock by changing the delay amount of the clock, and determines whether data communication has been normally performed based on a response to the transmission. An information processing apparatus characterized by determining the delay amount capable of normal data communication from the determination result and setting the delay amount in the media access control unit.
前記クロックの遅延量を変化させて前記メディアアクセス制御部から前記物理層部にデータを送信させ、前記物理層部に送信したデータと前記折り返し機能により折り返された該データに対応する前記物理層部から受信したデータとが一致するか否かの判定を行うことでデータ通信が正常に行えたか否かを判定することを特徴とする請求項1又は2記載の情報処理装置。 The physical layer unit has a loopback function of determining a signal level of data received from the media access control unit and transmitting data based on the signal level to the media access control unit;
The data is transmitted from the media access control unit to the physical layer unit by changing the delay amount of the clock, and the physical layer unit corresponding to the data transmitted to the physical layer unit and the data folded by the loopback function The information processing apparatus according to claim 1, wherein it is determined whether or not data communication is normally performed by determining whether or not the data received from the data matches.
前記メディアアクセス制御部での前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定する工程と、
判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定する工程とを有することを特徴とする遅延調整方法。 A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; The data and the clock are transmitted to the physical layer unit by delaying the clock with respect to the data output timing by a set delay amount, and the logical layer in the data communication is transmitted and received with the physical layer unit. A delay adjustment method in an information processing apparatus having a media access control unit that performs processing,
Whether or not the data access and the clock are transmitted by the media access control unit by changing the delay amount of the clock in the media access control unit, and whether or not the data communication is normally performed based on a response to the transmission A determining step;
Determining a delay amount that allows normal data communication from the determination result, and setting the delay amount in the media access control unit.
前記メディアアクセス制御部での前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定するステップと、
判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定するステップとをコンピュータに実行させるためのプログラム。 A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; The data and the clock are transmitted to the physical layer unit by delaying the clock with respect to the data output timing by a set delay amount, and the logical layer in the data communication is transmitted and received with the physical layer unit. A program for causing a computer to execute a delay adjustment method in an information processing apparatus having a media access control unit that performs processing,
Whether or not the data access and the clock are transmitted by the media access control unit by changing the delay amount of the clock in the media access control unit, and whether or not the data communication is normally performed based on a response to the transmission A determining step;
A program for causing a computer to execute the step of determining the delay amount capable of normal data communication from the determination result and setting the delay amount in the media access control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015056225A JP2016178425A (en) | 2015-03-19 | 2015-03-19 | Information processing apparatus and delay adjustment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015056225A JP2016178425A (en) | 2015-03-19 | 2015-03-19 | Information processing apparatus and delay adjustment method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016178425A true JP2016178425A (en) | 2016-10-06 |
Family
ID=57071548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015056225A Pending JP2016178425A (en) | 2015-03-19 | 2015-03-19 | Information processing apparatus and delay adjustment method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016178425A (en) |
-
2015
- 2015-03-19 JP JP2015056225A patent/JP2016178425A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150347335A1 (en) | USB 3.0 Link Layer Timer Adjustment to Extend Distance | |
TWI504196B (en) | Physical layer device auto-adjustment based on power over ethernet magnetic heating | |
US10389551B2 (en) | Network for an aircraft or spacecraft, an aircraft or spacecraft, and a method for configuring a network | |
US8576734B2 (en) | Information processing apparatus, control method thereof and program | |
US9465565B2 (en) | Image forming apparatus and image formation method suitable for changing between the normal mode and sleep mode | |
JP5495743B2 (en) | NETWORK DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2016178425A (en) | Information processing apparatus and delay adjustment method | |
US20060098722A1 (en) | Repeating installation, communication speed adjusting method, program, and recording medium | |
JP2019016319A (en) | Power supply device and method for controlling the same | |
US9154313B2 (en) | Network relay apparatus and control method thereof | |
JP2018101917A (en) | Communication apparatus, control method, and program | |
JP5902402B2 (en) | Data output adjustment device, data output adjustment method, RGMII network system, and RGMII network communication path switching method | |
JP2008172329A (en) | Power line communication method and device | |
JP2006051635A (en) | Device, method and program for controlling printing | |
US20170026578A1 (en) | Network camera system and network camera thereof | |
JP5683142B2 (en) | Information processing apparatus or information processing method | |
US10797932B2 (en) | Communication device, link-up method, and communication system | |
JP5573950B2 (en) | Data transmission system, data transmission method, and transmission apparatus | |
JP5625569B2 (en) | Communication unit, communication system, and communication unit control method | |
JP2006238317A (en) | Equipment control apparatus | |
WO2018149325A1 (en) | Reverse power feeding method and device | |
JP5672720B2 (en) | POWER CONTROL DEVICE, POWER CONTROL METHOD, NETWORK DEVICE, AND NETWORK DEVICE CONTROL PROGRAM | |
CN117978349A (en) | Data communication method and communication system | |
JP2004032369A (en) | Optical wireless communication apparatus | |
JPH04205620A (en) | Printer controller |