JP7032779B2 - General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program - Google Patents
General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program Download PDFInfo
- Publication number
- JP7032779B2 JP7032779B2 JP2017173730A JP2017173730A JP7032779B2 JP 7032779 B2 JP7032779 B2 JP 7032779B2 JP 2017173730 A JP2017173730 A JP 2017173730A JP 2017173730 A JP2017173730 A JP 2017173730A JP 7032779 B2 JP7032779 B2 JP 7032779B2
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- general
- purpose bus
- bus
- bus control
- 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.)
- Active
Links
Images
Landscapes
- Dc Digital Transmission (AREA)
Description
本発明は、コンピュータ本体にハードディスクドライブ(HDD)やメモリ等のドライブ(デバイス)を接続するための汎用バスを制御する汎用バス制御方法、汎用バス制御装置、および汎用バス制御プログラムに関する。 The present invention relates to a general-purpose bus control method for controlling a general-purpose bus for connecting a drive (device) such as a hard disk drive (HDD) or a memory to a computer main body, a general-purpose bus control device, and a general-purpose bus control program.
汎用バスを規定する汎用バスインタフェースの規格であるとして、種々のものが知られている。例えば、ATA(advanced technology attachment)は、コンピュータ本体にハードディスクドライブ(HDD)などのストレージ装置(外部記憶装置)を繋いで通信するための接続方式の標準規格の一つである。 Various are known as general-purpose bus interface standards that define general-purpose buses. For example, ATA (advanced technology attachment) is one of the standard of connection method for connecting a storage device (external storage device) such as a hard disk drive (HDD) to a computer main body for communication.
また、SATA(Serial ATA)は、コンピュータ本体にハードディスクドライブ(HDD)、ソリッドステートドライブ(SSD)や光学ドライブを接続する為のインタフェース規格である。SATAは、SCSI(small computer system interface)やパラレルATAに代わって主流となっている記録ドライブの接続インタフェース規格である。ここで、ソリッドステートドライブ(SSD)とは、記憶装置として半導体素子メモリを用いたストレージ(特に、ディスクドライブ)として扱うことのできるデバイスである。 Further, SATA (Serial ATA) is an interface standard for connecting a hard disk drive (HDD), a solid state drive (SSD), or an optical drive to a computer body. SATA is a recording drive connection interface standard that has become the mainstream in place of SCSI (small computer system interface) and parallel ATA. Here, the solid state drive (SSD) is a device that can be treated as a storage (particularly, a disk drive) using a semiconductor element memory as a storage device.
ユニバーサルシリアルバス(USB)は、コンピュータ等の情報機器に周辺機器を接続するためのシリアルバス規格の1つである。 Universal serial bus (USB) is one of the serial bus standards for connecting peripheral devices to information devices such as computers.
ここでは、上述したようなHDDやSSD、光学ドライブ、記録ドライブ、周辺機器等を一纏めにして、単に「デバイス」とも呼ぶ。 Here, the HDD, SSD, optical drive, recording drive, peripheral device, etc. as described above are collectively referred to as a "device".
上述したようなSATA/USB等の汎用バスインタフェースでは、汎用バスの線長/信号特性や、接続するハードディスク/メモリ等のデバイスの特性によって、データの入出力を制御するドライブ回路(バスコントローラやリドライバ)での波形が変化する。尚、バスコントローラはバスコントローラIC(integrated circuit)やドライバチップとも呼ばれ、リドライバはリドライバICやリドライバチップとも呼ばれる。 In a general-purpose bus interface such as SATA / USB as described above, a drive circuit (bus controller or remote control) that controls data input / output according to the line length / signal characteristics of the general-purpose bus and the characteristics of the device such as the hard disk / memory to be connected. The waveform in the driver) changes. The bus controller is also called a bus controller IC (integrated circuit) or a driver chip, and the redriver is also called a redriver IC or a redriver chip.
そのことから、汎用バスの信号強度等を制御するドライブ回路に設定される制御値について、事前評価にて波形を測定した上で最適値を確定し、ドライブ回路の制御値を確定した最適値である固定値にて運用するのが一般的である。その場合、経年劣化/温度変化での汎用バスの信号特性の変化や、使用デバイス(HDDやSSD)の変更等によって、ドライブ回路(バスコントローラ/リドライバ)の最適値が変化する場合がある。そのようなケースでは、エラーとなる可能性が考えられる。 Therefore, regarding the control value set in the drive circuit that controls the signal strength of the general-purpose bus, the optimum value is determined after measuring the waveform in advance evaluation, and the optimum value for which the control value of the drive circuit is determined is determined. It is common to operate with a certain fixed value. In that case, the optimum value of the drive circuit (bus controller / redriver) may change due to a change in the signal characteristics of the general-purpose bus due to aged deterioration / temperature change, a change in the device used (HDD or SSD), or the like. In such a case, an error may occur.
換言すれば、汎用バスインタフェースにおいて、バス制御用のドライブ回路の信号強度等を設定する制御値の最適値が装置運用中に何らかの影響によって変化する場合、制御値を固定値として固定しているケースでは対応出来ない。 In other words, in a general-purpose bus interface, when the optimum value of the control value for setting the signal strength of the drive circuit for bus control changes due to some influence during the operation of the device, the control value is fixed as a fixed value. I can't handle it.
このような問題を克服しようとする技術が、種々、提案されている。 Various techniques for overcoming such problems have been proposed.
例えば、特許文献1は、装置起動時に複数の設定値でアクセスを実施し、場合によってエラーを繰り返すことでエラーしない値を選択する方法を開示している。
For example,
特許文献2は、バスライン上の出力された信号の波形が、バスラインの負荷容量成分に応じて変化することを積極的に利用し、これに基づいて出力信号のドライブ能力を適正に制御する技術思想を開示している。特許文献2に開示されたバス駆動回路部は、ライン上の帰還信号の電圧レベルに基づいて現在のバス状態を判定するバス状態判別手段と、判別結果に基づいて、能力可変ドライブ回路のドライブ能力を決定するドライブ能力決定手段とを含む。 Patent Document 2 positively utilizes the fact that the waveform of the output signal on the bus line changes according to the load capacitance component of the bus line, and appropriately controls the drive capability of the output signal based on this. Disclosure of technical ideas. The bus drive circuit unit disclosed in Patent Document 2 is a bus state discriminating means for determining the current bus state based on the voltage level of the feedback signal on the line, and a drive capability of the variable capability drive circuit based on the discrimination result. Includes drive capacity determination means to determine.
特許文献3は、設計時にバスを整合する際の機能拡張装置の接続枚数、転送速度、転送幅の制限を解消し、バスの不整合による影響を最小限に留めることが可能な「バス整合方法および装置」を開示している。 Patent Document 3 is a "bus matching method" that can eliminate the restrictions on the number of connected functional expansion devices, transfer speed, and transfer width when matching buses at the time of design, and can minimize the influence of bus inconsistency. And the device "is disclosed.
特許文献3では、カードの送信部及び受信部における波形を観測し、波形から整合がとれているかどうかを判断している。整合がとれていれば、現在のインピーダンス値が他の全ての区間におけるデータ転送についても整合をとることが確認されていれば、CPUがスロット及び終端インピーダンス制御にアクセスし、装着されているカードのIDと終端インピーダンスの値を読み込む。そして、カードのIDと終端インピーダンスの値を不揮発性メモリに記憶する。終端インピーダンスの値を不揮発性メモリから読込み、読込んだ値を終端インピーダンス制御部へ送出する。そして、スイッチ制御部にて、終端インピーダンスの値が送出されてきた値になるようにスイッチのオン/オフ制御を行う。 In Patent Document 3, the waveforms in the transmitting unit and the receiving unit of the card are observed, and it is determined whether or not the waveforms are matched. If it is matched, if it is confirmed that the current impedance value is also matched for data transfer in all other sections, the CPU has access to the slot and termination impedance control of the installed card. Read the ID and termination impedance values. Then, the ID of the card and the value of the termination impedance are stored in the non-volatile memory. The value of the terminal impedance is read from the non-volatile memory, and the read value is sent to the terminal impedance control unit. Then, the switch control unit controls the on / off of the switch so that the value of the termination impedance becomes the transmitted value.
しかしながら、特許文献1~3には、それぞれ、次に述べるような問題がある。
However, each of
特許文献1では、最適値を選択する過程でのエラー発生を回避することが出来ない。
In
特許文献2は、電圧レベル(電圧値のみ)を測定しているので、汎用バスの信号波形を最適な波形の状態に近づけることが困難となる。また、特許文献2では、ドライブ回路のドライブ能力を決定するための専用の回路(ドライブ能力決定手段)を設ける必要がある。 Since Patent Document 2 measures the voltage level (only the voltage value), it is difficult to bring the signal waveform of the general-purpose bus closer to the optimum waveform state. Further, in Patent Document 2, it is necessary to provide a dedicated circuit (drive capacity determining means) for determining the drive capacity of the drive circuit.
特許文献3では、装置起動時のバス接続状態の違いによる変化にしか対応できない。換言すれば、特許文献3では、装置の運用中の変化(波形変化)に対応できない。 Patent Document 3 can only deal with changes due to differences in the bus connection state when the device is started. In other words, Patent Document 3 cannot cope with changes (waveform changes) during operation of the apparatus.
本発明の目的は、上述した課題を解決する汎用バス制御方法、汎用バス制御装置、および汎用バス制御プログラムを提供することにある。 An object of the present invention is to provide a general-purpose bus control method, a general-purpose bus control device, and a general-purpose bus control program that solve the above-mentioned problems.
本発明の汎用バス制御方法は、デバイスに接続された汎用バスを制御する方法であって、前記汎用バスの波形を一定期間測定することにより前記波形をチェックして、該チェックした波形の振幅情報を数値として記録した波形情報を出力するチェック工程と;該チェックした波形の前記波形情報を取得する取得工程と;該取得した波形の前記波形情報と予め記憶している前記一定期間の最適波形の振幅情報を数値として記録した最適波形情報とを比較する比較工程と;該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定工程と;を含む。 The general-purpose bus control method of the present invention is a method of controlling a general-purpose bus connected to a device, in which the waveform is checked by measuring the waveform of the general-purpose bus for a certain period of time , and the amplitude information of the checked waveform. The check step of outputting the waveform information recorded as a numerical value ; the acquisition step of acquiring the waveform information of the checked waveform; the waveform information of the acquired waveform and the optimum waveform of the predetermined period stored in advance. A comparison step of comparing the optimum waveform information recorded with amplitude information as a numerical value ; and a change / setting step of setting to change the optimum value of the drive circuit for driving the general-purpose bus when the comparison results do not match. ;including.
本発明の汎用バス制御装置は、デバイスに接続された汎用バスを制御する汎用バス制御装置であって、前記汎用バスを駆動するドライブ回路と;前記汎用バスでの一定期間の最適波形の振幅情報を数値として記録した最適波形情報を予め記憶するメモリテーブルと;前記汎用バスの波形を前記一定期間測定することにより前記波形をチェックして、該チェックした波形の振幅情報を数値として記録した波形情報を出力する波形チェック回路と;該チェックした波形の前記波形情報を取得する取得手段と;該取得した波形の前記波形情報と前記予め記憶した最適波形の前記最適波形情報とを比較する比較手段と;該比較結果に応じて、前記ドライブ回路の最適値を変更するように設定可能な変更・設定手段と;を備える。 The general-purpose bus control device of the present invention is a general-purpose bus control device that controls a general-purpose bus connected to a device, and has a drive circuit for driving the general-purpose bus; With a memory table that stores the optimum waveform information recorded as a numerical value in advance; the waveform is checked by measuring the waveform of the general-purpose bus for a certain period of time , and the waveform information of the checked waveform is recorded as a numerical value. A waveform check circuit that outputs the above; an acquisition means for acquiring the waveform information of the checked waveform; and a comparison means for comparing the waveform information of the acquired waveform with the optimum waveform information of the optimum waveform stored in advance. It is provided with a change / setting means that can be set to change the optimum value of the drive circuit according to the comparison result.
本発明の汎用バス制御プログラムは、デバイスに接続された汎用バスをコンピュータに制御させる汎用バス制御プログラムであって、前記コンピュータに、波形チェック回路により前記汎用バスの波形を一定期間測定することにより前記波形がチェックされて、該チェックした波形の振幅情報を数値として記録した波形情報を取得する取得手順と;該取得した波形の前記波形情報と予め記憶している前記一定期間の最適波形の振幅情報を数値として記録した最適波形情報とを比較する比較手順と;該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定手順と;を実行させる。 The general-purpose bus control program of the present invention is a general-purpose bus control program that causes a computer to control a general-purpose bus connected to a device, and is described by measuring the waveform of the general-purpose bus on the computer by a waveform check circuit for a certain period of time. The acquisition procedure for acquiring the waveform information in which the waveform is checked and the amplitude information of the checked waveform is recorded as a numerical value ; the waveform information of the acquired waveform and the amplitude information of the optimum waveform for a certain period stored in advance. A comparison procedure for comparing with the optimum waveform information recorded as a numerical value ; and a change / setting procedure for setting the optimum value of the drive circuit for driving the general-purpose bus when the comparison results do not match. Let it run.
本発明によれば、装置の運用中において汎用バスの波形を最適化することができる。 According to the present invention, the waveform of a general-purpose bus can be optimized during the operation of the apparatus.
最初に、本発明の特徴について説明する。 First, the features of the present invention will be described.
本発明に係る汎用バス制御装置では、汎用バス上に、波形チェック回路を搭載し、この波形チェック回路で採取した波形情報から汎用バスでの最適値を各ドライブ回路に設定する。このことで、汎用バスの信号強度を変化させ、最適値の変化に対応している。 In the general-purpose bus control device according to the present invention, a waveform check circuit is mounted on the general-purpose bus, and the optimum value for the general-purpose bus is set in each drive circuit from the waveform information collected by this waveform check circuit. As a result, the signal strength of the general-purpose bus is changed to cope with the change of the optimum value.
以下、本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described.
[第1の実施形態]
図1は、本発明の第1の実施形態に係る汎用バス制御装置1の構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a general-purpose
図示の汎用バス制御装置1は、バス制御回路11と、バスコントローラ12と、リドライバ13と、波形チェック回路14と、デバイス15とを備える。
The illustrated general-purpose
バス制御回路11は、バスコントローラ12を内蔵している。図示のバス制御回路11は、CPU(central processing unit)とチップセットとを1チップ化して構成されたものである。したがって、バス制御回路11は、CPU/チップセットとも呼ばれる。バスコントローラ12はチップセットの内部に設けられる。
The
前述したように、バスコントローラ12はバスコントローラICやドライバチップとも呼ばれ、リドライバ13は、リドライバICやリドライバチップとも呼ばれる。
As described above, the
バスコントローラ12とリドライバ13との間は、第1の汎用バスB1によって接続されている。リドライバ13とデバイス15との間は、第2の汎用バスB2によって接続されている。
The
第1の汎用バスB1および第2の汎用バスB2の各々は、シリアルアドバンストテクノロジーアタッチメント(SATA)およびユニバーサルシリアルバス(USB)の群から選択されたシリアルバスインタフェース規格で規定されたシリアルバスであってよい。 Each of the first general-purpose bus B1 and the second general-purpose bus B2 is a serial bus specified by the serial bus interface standard selected from the group of serial advanced technology attachment (SATA) and universal serial bus (USB). good.
また、デバイス15は、ハードディスクドライブ(HDD)、ソリッドステートドライブ(SSD)、光学ドライブ、記録ドライブ、および周辺機器の群から選択されたドライブであってよい。
Further, the
バス制御回路11は不揮発性メモリから成るメモリテーブル111を内蔵する。バス制御回路11の制御部であるCPU(後述する)は、バスコントローラ12と第1のローカルバスB3によって接続されている。また、バス制御回路11は、リドライバ13とは第2のローカルバスB4によって接続されている。さらに、バス制御回路11は、波形チェック回路14とは第3のローカルバスB5によって接続されている。
The
図2は、バスコントローラ12の内部構成を示すブロック図である。バスコントローラ12は、ドライバ/イコライザC1と、レシーバ/イコライザC2とから成る。
FIG. 2 is a block diagram showing an internal configuration of the
ドライバ/イコライザC1は、CPUからの第1のローカルバスB3を介した指示によって、内部バスからの入力信号の信号波形の振幅/強度等を調整し、調整した信号を第1の汎用バスB1へ送出する。同様に、レシーバ/イコライザC2は、CPUからの第1のローカルバスB3を介した指示によって、第1の汎用バスB1からの入力信号の信号波形の振幅/強度を調整し、調整した信号を内部バスへ伝える。 The driver / equalizer C1 adjusts the amplitude / strength of the signal waveform of the input signal from the internal bus according to the instruction from the CPU via the first local bus B3, and transfers the adjusted signal to the first general-purpose bus B1. Send out. Similarly, the receiver / equalizer C2 adjusts the amplitude / strength of the signal waveform of the input signal from the first general-purpose bus B1 according to the instruction from the CPU via the first local bus B3, and internally incorporates the adjusted signal. Tell the bus.
図3は、リドライバ13の内部構成を示すブロック図である。リドライバ13は、第1のレシーバ/イコライザC3と、第1のドライバC4と、第2のレシーバ/イコライザC5と、第2のドライバC6とから成る。
FIG. 3 is a block diagram showing the internal configuration of the
第1のレシーバ/イコライザC3は、CPUからの第2のローカルバスB4を介した指示によって、第1の汎用バスB1からの入力信号の信号波形の振幅/強度等を調整する。この調整された信号は、第1のドライバC4を経由した後、第2の汎用バスB2へ送出される。 The first receiver / equalizer C3 adjusts the amplitude / strength of the signal waveform of the input signal from the first general-purpose bus B1 according to the instruction from the CPU via the second local bus B4. This adjusted signal is sent to the second general-purpose bus B2 after passing through the first driver C4.
同様に、第2のレシーバ/イコライザC5は、CPUからの第2のローカルバスB4を介した指示によって、第2の汎用バスB2からの入力信号の信号波形の振幅/強度を調整する。この調整された信号は、第2のドライバC6を経由した後、第1の汎用バスB1へ伝えられる。 Similarly, the second receiver / equalizer C5 adjusts the amplitude / strength of the signal waveform of the input signal from the second general-purpose bus B2 by the instruction from the CPU via the second local bus B4. This adjusted signal is transmitted to the first general-purpose bus B1 after passing through the second driver C6.
図示の波形チェック回路14は、第2の汎用バスB2の波形を一定期間測定し、時間と電圧レベルの情報を採取した後、その採取(チェック)した波形を示す波形情報を第3のローカルバスB5を経由してバス制御回路11へ転送する。このように、波形チェック回路14は、チェックした波形の波形情報を、第3のローカルバスB5を経由してバス制御回路11へ送る。
The illustrated
次に、図4および図5を参照して、バス制御回路11に内蔵されるメモリテーブル111について説明する。
Next, the memory table 111 incorporated in the
バス制御回路11は、図4に示されるように、事前に汎用バス制御装置1での最適波形を測定する。図4において、横軸は時間軸を示し、縦軸は電圧レベルを示す。
As shown in FIG. 4, the
そして、バス制御回路11は、メモリテーブル111に、その最適波形の形状を示すパラメータとして、図5に示すような内容を記憶しておく。尚、図5に示すvoltageの値には、ある程度幅を持たせてもよい。このように、メモリテーブル111は、最適波形を示す最適波形情報を予め記憶している。
Then, the
図6は、バス制御回路11に含まれるCPU(制御部)110の内部構成を示すブロック図である。
FIG. 6 is a block diagram showing an internal configuration of a CPU (control unit) 110 included in the
図6に示されるように、CPU(制御部)110は、取得部113と、比較部115と、変更・設定部117とを含む。
As shown in FIG. 6, the CPU (control unit) 110 includes an
取得部113は、波形チェック回路14によってチェックされた波形の波形情報を、第3のローカルバスB5を介して取得する。
The
比較部115は、取得部113で取得した波形の波形情報と、メモリテーブル111に予め記憶している最適波形を示す最適波形情報とを比較する。
The
変更・設定部117は、比較部115での比較結果に応じて、後述するように、バスコントローラ12およびリドライバ13の最適値を変更するように設定可能である。
The change /
詳述すると、比較部115での比較結果が不一致の場合、変更・設定部117は、バスコントローラ12およびリドライバ13の最適値を変更するように設定する。変更・設定部117は、その変更したドライブ強度設定値を保持するレジスタ119を含む。
More specifically, when the comparison results in the
なお、比較部115での比較結果が一致するまで、取得部113、比較部115、および変更・設定部117は、動作を繰り返す。
The
このように、本第1の実施形態では、SATA/USB等の汎用バスB1、B2にデバイス15を接続している汎用バス制御装置1に対して、汎用バスB1、B2の波形の状態を確認出来る波形チェック回路14を内蔵している。こにより、汎用バスB1、B2の信号強度を変化させて、最適値の変化に対応している。
As described above, in the first embodiment, the state of the waveforms of the general-purpose buses B1 and B2 is confirmed with respect to the general-purpose
次に、図7を参照して、本発明の第1の実施形態に係る汎用バス制御装置1の動作について説明する。
Next, the operation of the general-purpose
まず、波形チェック回路14では、第2の汎用バスB2の波形の振幅情報を数値として記録し、バス制御回路11へ第3のローカルバスB5経由で、「波形情報」として送信する。
First, the
バス制御回路11では、取得部113が、この「波形情報」を取得する(ステップS1)。
In the
次に、バス制御回路11では、比較部115が、この取得した「波形情報」と、メモリテーブル111に予め格納されている「最適波形情報」とを比較する(ステップS2)。
Next, in the
この比較部115での比較の結果、取得した「波形情報」と「最適波形情報」とが一致した場合(ステップS3;YES)、変更・設定部117は、設定変更を実施せず、動作は終了となる。
When the acquired "waveform information" and "optimal waveform information" match as a result of comparison by the comparison unit 115 (step S3; YES), the change /
ここで、取得した「波形情報」と「最適波形情報」とが一致するとは、厳密に(誤差なく)両方の情報が一致する場合のみだけでなく、予め定められた許容誤差の範囲内において、両方の情報が一致する場合をも含むことに留意されたい。 Here, the fact that the acquired "waveform information" and "optimal waveform information" match is not only when both information exactly match (without error), but also within a predetermined tolerance. Note that this includes cases where both pieces of information match.
一方、比較部115での比較の結果、取得した「波形情報」と「最適波形情報」とが不一致の場合(ステップS3;NO)、変更・設定部117は、そのレジスタ119の「ドライブ強度設定値」の値を変化させ書き換えることで、第1のローカルバスB3を介してバスコントローラ12での信号波形の振幅/強度を調整する。また、変更・設定部117は、第2のローカルバスB4を介して、リドライバ13にも同様の処理を行う(ステップS4)。
On the other hand, when the acquired "waveform information" and "optimal waveform information" do not match as a result of comparison by the comparison unit 115 (step S3; NO), the change /
ステップS4で「ドライブ強度設定値」の値を書き換えられた、バスコントローラ12およびリドライバ13は、それぞれ、第1の汎用バスB1および第2の汎用バスB2のドライブ波形を変化させる(ステップS5)。
The
ステップS5の後、バス制御回路11は、再度ステップS1、ステップS2、ステップS3の順番で処理を実施する。ステップS3において、取得した「波形情報」と「最適波形情報」とが一致すれば(ステップS3;YES)、動作終了となる。ステップS3において、取得した「波形情報」と「最適波形情報」とが一致しなければ(ステップS3;NO)、バス制御回路11は、再度ステップS4、ステップS5、ステップS1、ステップS2、ステップS3と進み、取得した「波形情報」と「最適波形情報」とが一致するまで一連の処理を繰り返す。
After step S5, the
尚、上述した汎用バス制御装置1の動作は、デバイス15を交換した際には必ず実施される。また、上記汎用バス制御装置1の動作は、装置の運用中においても定期的に実施される。しかしながら、上記汎用バス制御装置1の動作は、装置の運用中において不定期に実施されてもよい。
The operation of the general-purpose
次に、本第1の実施形態の効果について説明する。 Next, the effect of the first embodiment will be described.
第一の効果は、本第1の実施形態は、波形の最適化をエラーする/しないで判断する方法では無いため、装置の起動時だけで無く、装置の運用中においても、定期的に汎用バスの波形の設定の最適化が可能であることである。 The first effect is that the first embodiment is not a method of determining the optimization of the waveform with or without an error, so that it is periodically general-purpose not only at the time of starting the device but also during the operation of the device. It is possible to optimize the setting of the waveform of the bus.
第二の効果は、本第1の実施形態では、最適波形値と一致するまで調整を実施することで、よりマージンのある理想的な波形の状態を常に保つことが出来ることである。 The second effect is that, in the first embodiment, adjustment is performed until the waveform value matches the optimum waveform value, so that an ideal waveform state with a larger margin can always be maintained.
尚、本第1の実施形態では、ドライブ回路として、バスコントローラ12とリドライバ13とを備えた例について説明しているが、本発明はこれに限定されない。すなわち、本発明は、ドライブ回路としてバスコントローラ12のみを備えたものであってもよい。
In the first embodiment, an example including a
上述したように、バス制御回路11の各部は、ハードウェアとソフトウェアとの組み合わせを用いて実現可能である。ハードウェアとソフトウェアとを組み合わせた形態では、RAM(random access memory)に汎用バス制御プログラムが展開され、該汎用バス制御プログラムに基づいて制御部(CPU)110等のハードウェアを動作させることによって、各部を各種手段として実現する。また、該汎用バス制御プログラムは、記録媒体に記録されて頒布されても良い。当該記録媒体に記録された汎用バス制御プログラムは、有線、無線、又は記録媒体そのものを介して、メモリに読込まれ、制御部等を動作させる。尚、記録媒体を例示すれば、オプティカルディスクや磁気ディスク、半導体メモリ装置、ハードディスクなどが挙げられる。
As described above, each part of the
上記第1の実施形態を別の表現で説明すれば、バス制御回路11として動作させるコンピュータ(CPU110)を、RAMに展開された汎用バス制御プログラムに基づき、取得部113、比較部115、および変更・設定部117として動作させることで実現することが可能である。
To explain the first embodiment in another expression, the computer (CPU 110) operated as the
[第2の実施形態]
図8は、本発明の第2の実施形態に係る汎用バス制御装置1Aの構成を示すブロック図である。
[Second Embodiment]
FIG. 8 is a block diagram showing a configuration of a general-purpose
図示の汎用バス制御装置1Aは、別の波形チェック回路16を更に備えている点を除いて、図1に示した汎用バス制御回路1と同様の構成を有し、動作をする。したがって、同一の機能を有するものには同一の参照符号を付し、説明の簡略化のために、それらについての説明を省略する。以下では、相違点についてのみ説明する。
The illustrated general-purpose
波形チェック回路16は、第1の汎用バスB1の波形をチェックする回路である。この波形チェック回路16でチェックされた波形を示す波形情報は、第4のローカルバスB6を介してバス制御回路11へ送られる。
The
バス制御回路11は、図示しないスイッチ(切替回路)を備えており、最適値の選択を第1の汎用バスB1および第2の汎用バスB2毎に順番に行う。また、バス制御回路11は、レジスタ119(図6)を、第1の汎用バスB1および第2の汎用バスB2毎に2つ備えている。
The
例えば、最初に、第1の汎用バスB1に最適値を設定するために、バス制御回路11は、波形チェック回路16でチェックされた波形の波形情報を第4のローカルバスB6を介して取得する。そして、バス制御回路11は、前述した動作によってバスコントローラ12を制御して、第1の汎用バスB1の信号波形の振幅/強度等を調整する。
For example, first, in order to set an optimum value for the first general-purpose bus B1, the
その調整が終了後に、今度は、第2の汎用バスB2に最適値を設定するために、バス制御回路11は、波形チェック回路14でチェックされた波形の波形情報を第3のローカルバスB5を介して取得する。そして、バス制御回路11は、前述した動作によってリドライバ13を制御して、第2の汎用バスB2の信号波形の振幅/強度等を調整する。
After the adjustment is completed, in order to set the optimum value for the second general-purpose bus B2, the
尚、最適値の選択の順番は、これに限定されず、最初に第2の汎用バスB2を選択し、その次に、第1の汎用バスB1を選択しても良いのは勿論である。 The order of selecting the optimum values is not limited to this, and it goes without saying that the second general-purpose bus B2 may be selected first, and then the first general-purpose bus B1 may be selected.
このように、本第2の実施形態では、2つの波形チェック回路14および16を配置したので、より詳細に汎用バスの波形状態を確認することが可能となる。
As described above, in the second embodiment, since the two
なお、波形チェック回路の個数は2つに限定されず、3つ以上あっても良いのは勿論である。 Of course, the number of waveform check circuits is not limited to two, and may be three or more.
[第3の実施形態]
図9は、本発明の第3の実施形態に係る汎用バス制御装置1Bの構成を示すブロック図である。
[Third Embodiment]
FIG. 9 is a block diagram showing a configuration of a general-purpose
図示の汎用バス制御装置1Bは、バスコントローラ12と、リドライバ13と、波形チェック装置14Aと、デバイス15とを備える。
The illustrated general-purpose
すなわち、第3の実施形態に係る汎用バス制御回路1Bは、第1の実施形態に係る汎用バス制御装置1から、バス制御回路11を省略すると共に、波形チェック回路14を波形チェック装置14Aに置き換えた構成をしている。以下では、第1の実施形態との相違点についてのみ説明する。
That is, the general-purpose
波形チェック装置14Aは、メモリテーブル111を内蔵すると共に、波形チェック回路14、取得部113、比較部115、および変更・設定部115を備えている。
The waveform check device 14A has a built-in memory table 111, and also includes a
このような構成を採用することにより、本第3の実施形態では、波形チェック装置14Aから、直に、バスコントローラ12およびリドライバ13の設定を変更することが可能となる。
By adopting such a configuration, in the third embodiment, it is possible to directly change the settings of the
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above embodiments. Various modifications that can be understood by those skilled in the art can be made to the structure and details of the present invention within the scope of the present invention.
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may also be described, but not limited to:
(付記1)デバイスに接続された汎用バスを制御する方法であって、
前記汎用バスの波形をチェックするチェック工程と、
該チェックした波形を取得する取得工程と、
該取得した波形と予め記憶している最適波形とを比較する比較工程と、
該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定工程と、
を含む汎用バス制御方法。
(Appendix 1) A method of controlling a general-purpose bus connected to a device.
The check process for checking the waveform of the general-purpose bus and
The acquisition process for acquiring the checked waveform and
A comparison step of comparing the acquired waveform with the optimum waveform stored in advance,
When the comparison results do not match, the change / setting process for setting to change the optimum value of the drive circuit for driving the general-purpose bus, and the change / setting process.
General-purpose bus control method including.
(付記2)前記比較結果が一致するまで、前記取得工程、前記比較工程、および前記変更・設定工程を繰り返す、付記1に記載の汎用バス制御方法。
(Supplementary note 2) The general-purpose bus control method according to
(付記3)デバイスに接続された汎用バスを制御する汎用バス制御装置であって、
前記汎用バスを駆動するドライブ回路と、
前記汎用バスでの最適波形を予め記憶するメモリテーブルと、
前記汎用バスの波形をチェックする波形チェック回路と、
該チェックした波形を取得する取得手段と、
該取得した波形と前記予め記憶した最適波形とを比較する比較手段と、
該比較結果に応じて、前記ドライブ回路の最適値を変更するように設定可能な変更・設定手段と、
を備える汎用バス制御装置。
(Appendix 3) A general-purpose bus control device that controls a general-purpose bus connected to a device.
The drive circuit that drives the general-purpose bus and
A memory table that stores the optimum waveform on the general-purpose bus in advance,
A waveform check circuit that checks the waveform of the general-purpose bus, and
An acquisition means for acquiring the checked waveform, and
A comparison means for comparing the acquired waveform with the optimum waveform stored in advance, and
A change / setting means that can be set to change the optimum value of the drive circuit according to the comparison result, and
A general-purpose bus control device equipped with.
(付記4)前記取得手段と前記比較手段と前記変更・設定手段とを有する制御部を備える、付記3に記載の汎用バス制御装置。 (Supplementary note 4) The general-purpose bus control device according to Supplementary note 3, further comprising a control unit having the acquisition means, the comparison means, and the change / setting means.
(付記5)前記波形チェック回路と前記取得手段と前記比較手段と前記変更・設定手段とを有する波形チェック装置を備える、付記3に記載の汎用バス制御装置。 (Supplementary Note 5) The general-purpose bus control device according to Supplementary Note 3, further comprising a waveform check device having the waveform check circuit, the acquisition means, the comparison means, and the change / setting means.
(付記6)前記波形チェック回路を複数備える、付記3に記載の汎用バス制御装置。 (Supplementary note 6) The general-purpose bus control device according to Supplementary note 3, further comprising a plurality of the waveform check circuits.
(付記7)前記デバイスは、ハードディスクドライブ(HDD)、ソリッドステートドライブ(SSD)、光学ドライブ、記録ドライブ、および周辺機器の群から選択されたドライブから成る、付記3乃至6のいずれか1つに記載の汎用バス制御装置。 (Appendix 7) The device is one of Appendix 3 to 6, which comprises a hard disk drive (HDD), a solid state drive (SSD), an optical drive, a recording drive, and a drive selected from the group of peripheral devices. The general-purpose bus control device described.
(付記8)前記汎用バスは、シリアルアドバンストテクノロジーアタッチメント(SATA)およびユニバーサルシリアルバス(USB)の群から選択されたシリアルバスインタフェース規格で規定されたシリアルバスから成る、付記3乃至7のいずれか1つに記載の汎用バス制御装置。 (Appendix 8) The general-purpose bus consists of a serial bus specified by a serial bus interface standard selected from the group of serial advanced technology attachment (SATA) and universal serial bus (USB), and is any one of appendices 3 to 7. The general-purpose bus control device described in 1.
(付記9)前記ドライブ回路は、前記汎用バスの信号波形の振幅および強度を調整するバスコントローラを含む、付記3乃至8のいずれか1つに記載の汎用バス制御装置。 (Supplementary Note 9) The general-purpose bus control device according to any one of Supplementary note 3 to 8, wherein the drive circuit includes a bus controller for adjusting the amplitude and intensity of a signal waveform of the general-purpose bus.
(付記10)前記ドライブ回路は、前記デバイスと前記バスコントローラとの間に設けられて、前記汎用バスの信号波形の振幅および強度を調整するリドライバを更に含む、付記9に記載の汎用バス制御装置。 (Appendix 10) The general-purpose bus control according to Appendix 9, wherein the drive circuit is provided between the device and the bus controller and further includes a driver for adjusting the amplitude and intensity of the signal waveform of the general-purpose bus. Device.
(付記11)デバイスに接続された汎用バスをコンピュータに制御させる汎用バス制御プログラムであって、前記コンピュータに、
波形チェック回路によりチェックされた、前記汎用バスの波形を取得する取得手順と、
該取得した波形と予め記憶している最適波形とを比較する比較手順と、
該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定手順と、
を実行させるための汎用バス制御プログラム。
(Appendix 11) A general-purpose bus control program that causes a computer to control a general-purpose bus connected to a device.
The acquisition procedure for acquiring the waveform of the general-purpose bus checked by the waveform check circuit, and
A comparison procedure for comparing the acquired waveform with the optimum waveform stored in advance, and
When the comparison results do not match, the change / setting procedure for setting to change the optimum value of the drive circuit for driving the general-purpose bus and the setting procedure.
A general-purpose bus control program for executing.
(付記12)前記比較結果が一致するまで、前記コンピュータに、前記取得手順、前記比較手順、および前記変更・設定手順を繰り返し実行させる、付記11に記載の汎用バス制御プログラム。
(Appendix 12) The general-purpose bus control program according to
本発明は、コンピュータ装置全般で、装置の信頼性を向上させるために適用できる。 The present invention can be applied to improve the reliability of a computer device in general.
1、1A、1B 汎用バス制御装置
11 バス制御回路(CPU/チップセット)
110 CPU(制御部)
111 メモリテーブル
113 取得部
115 比較部
117 変更・設定部
119 レジスタ
12 バスコントローラ(ドライバチップ)
13 リドライバ(リドライバチップ)
14 波形チェック回路
14A 波形チェック装置
15 デバイス
16 波形チェック回路
B1、B2 汎用バス
B3~B6 ローカルバス
C1 ドライバ/イコライザ
C2 レシーバ/イコライザ
C3 レシーバ/イコライザ
C4 ドライバ
C5 レシーバ/イコライザ
C6 ドライバ
1, 1A, 1B General-purpose
110 CPU (control unit)
111 Memory table 113
13 Redriver (redriver chip)
14 Waveform check circuit 14A
Claims (10)
前記汎用バスの波形を一定期間測定することにより前記波形をチェックして、該チェックした波形の振幅情報を数値として記録した波形情報を出力するチェック工程と、
該チェックした波形の前記波形情報を取得する取得工程と、
該取得した波形の前記波形情報と予め記憶している前記一定期間の最適波形の振幅情報を数値として記録した最適波形情報とを比較する比較工程と、
該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定工程と、
を含む汎用バス制御方法。 A method of controlling a general-purpose bus connected to a device,
A check step of checking the waveform by measuring the waveform of the general-purpose bus for a certain period of time and outputting waveform information obtained by recording the amplitude information of the checked waveform as a numerical value .
The acquisition process for acquiring the waveform information of the checked waveform, and
A comparison step of comparing the waveform information of the acquired waveform with the optimum waveform information in which the amplitude information of the optimum waveform stored in advance for a certain period is recorded as a numerical value.
When the comparison results do not match, the change / setting process for setting to change the optimum value of the drive circuit for driving the general-purpose bus, and the change / setting process.
General-purpose bus control method including.
前記汎用バスを駆動するドライブ回路と、
前記汎用バスでの一定期間の最適波形の振幅情報を数値として記録した最適波形情報を予め記憶するメモリテーブルと、
前記汎用バスの波形を前記一定期間測定することにより前記波形をチェックして、該チェックした波形の振幅情報を数値として記録した波形情報を出力する波形チェック回路と、
該チェックした波形の前記波形情報を取得する取得手段と、
該取得した波形の前記波形情報と前記予め記憶した最適波形の前記最適波形情報とを比較する比較手段と、
該比較結果に応じて、前記ドライブ回路の最適値を変更するように設定可能な変更・設定手段と、
を備える汎用バス制御装置。 A general-purpose bus control device that controls a general-purpose bus connected to a device.
The drive circuit that drives the general-purpose bus and
A memory table that stores in advance the optimum waveform information in which the amplitude information of the optimum waveform for a certain period on the general-purpose bus is recorded as a numerical value , and
A waveform check circuit that checks the waveform by measuring the waveform of the general-purpose bus for a certain period of time , records the amplitude information of the checked waveform as a numerical value, and outputs waveform information .
An acquisition means for acquiring the waveform information of the checked waveform, and
A comparison means for comparing the waveform information of the acquired waveform with the optimum waveform information of the optimum waveform stored in advance, and
A change / setting means that can be set to change the optimum value of the drive circuit according to the comparison result, and
A general-purpose bus control device equipped with.
波形チェック回路により前記汎用バスの波形を一定期間測定することにより前記波形がチェックされて、該チェックした波形の振幅情報を数値として記録した波形情報を取得する取得手順と、
該取得した波形の前記波形情報と予め記憶している前記一定期間の最適波形の振幅情報を数値として記録した最適波形情報とを比較する比較手順と、
該比較結果が不一致の場合に、前記汎用バスを駆動するドライブ回路の最適値を変更するように設定する変更・設定手順と、
を実行させるための汎用バス制御プログラム。 A general-purpose bus control program that causes a computer to control a general-purpose bus connected to a device.
The waveform is checked by measuring the waveform of the general-purpose bus for a certain period of time by the waveform check circuit, and the acquisition procedure of acquiring the waveform information in which the amplitude information of the checked waveform is recorded as a numerical value, and the acquisition procedure.
A comparison procedure for comparing the waveform information of the acquired waveform with the optimum waveform information in which the amplitude information of the optimum waveform stored in advance for a certain period is recorded as a numerical value.
When the comparison results do not match, the change / setting procedure for setting to change the optimum value of the drive circuit for driving the general-purpose bus and the setting procedure.
A general-purpose bus control program for executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017173730A JP7032779B2 (en) | 2017-09-11 | 2017-09-11 | General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017173730A JP7032779B2 (en) | 2017-09-11 | 2017-09-11 | General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019050501A JP2019050501A (en) | 2019-03-28 |
JP7032779B2 true JP7032779B2 (en) | 2022-03-09 |
Family
ID=65906008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017173730A Active JP7032779B2 (en) | 2017-09-11 | 2017-09-11 | General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7032779B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000221025A (en) | 1999-02-01 | 2000-08-11 | Mitsutoyo Corp | Measuring instrument |
JP2002335152A (en) | 2001-05-11 | 2002-11-22 | Nec Corp | Signal output circuit |
JP2007300599A (en) | 2006-04-03 | 2007-11-15 | Denso Corp | Communication system, communication device, and method for determining duty ratio of pwm control |
JP2008267994A (en) | 2007-04-20 | 2008-11-06 | Tektronix Japan Ltd | Digital signal analyzing device and method |
JP2017138696A (en) | 2016-02-02 | 2017-08-10 | セイコーエプソン株式会社 | Conversion device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6356582B1 (en) * | 1998-11-20 | 2002-03-12 | Micrel, Incorporated | Universal serial bus transceiver |
-
2017
- 2017-09-11 JP JP2017173730A patent/JP7032779B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000221025A (en) | 1999-02-01 | 2000-08-11 | Mitsutoyo Corp | Measuring instrument |
JP2002335152A (en) | 2001-05-11 | 2002-11-22 | Nec Corp | Signal output circuit |
JP2007300599A (en) | 2006-04-03 | 2007-11-15 | Denso Corp | Communication system, communication device, and method for determining duty ratio of pwm control |
JP2008267994A (en) | 2007-04-20 | 2008-11-06 | Tektronix Japan Ltd | Digital signal analyzing device and method |
JP2017138696A (en) | 2016-02-02 | 2017-08-10 | セイコーエプソン株式会社 | Conversion device |
Also Published As
Publication number | Publication date |
---|---|
JP2019050501A (en) | 2019-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9171643B2 (en) | Solid state drive tester | |
US9411700B2 (en) | Storage tester capable of individual control for a plurality of storage | |
US9535451B2 (en) | Embedded multimedia card using unidirectional data strobe signal, host for controlling the same, and related methods of operation | |
US10942685B2 (en) | NAND raid controller | |
US11513734B2 (en) | Hardware-based power management integrated circuit register file write protection | |
US9015545B2 (en) | Solid state drive tester | |
US9159454B2 (en) | Failure detection apparatus for solid state drive tester | |
US11113222B2 (en) | NAND switch | |
KR20120062870A (en) | Adjustment of memory write timing based on error detection techniques | |
US20200409562A1 (en) | Management operations in predictable latency mode | |
US9292391B2 (en) | Interface calibration using configurable on-die terminations | |
JP2007102653A (en) | Method and apparatus for testing function of data storage apparatus | |
US20110072168A1 (en) | Data transfer system with different operating modes | |
JP7032779B2 (en) | General-purpose bus control method, general-purpose bus control device, and general-purpose bus control program | |
US9153345B2 (en) | Error generating apparatus for solid state drive tester | |
US9058863B2 (en) | Reference frequency setting method, memory controller and memory storage apparatus | |
TW201706846A (en) | Information processing device, method, and program | |
US20100251192A1 (en) | Circuit description generating apparatus and function verification method | |
JP6673270B2 (en) | Repeater device, repeater chip, card device, signal transmission device, repeater-related parameter setting method, and repeater-related parameter setting program | |
US20190122712A1 (en) | Data transmission and reception system, data transmission and reception device, and method of controlling data transmission and reception system | |
JP4925162B2 (en) | Memory device | |
JP2019215662A (en) | Nonvolatile memory device and interface setting method | |
US9043496B2 (en) | Bridge circuit | |
JP7303179B2 (en) | Adapter test method, device and storage medium | |
KR100652392B1 (en) | Power supplier of serial harddisk drive |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200814 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210528 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210728 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210827 |
|
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: 20220126 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7032779 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |