JP7623069B2 - COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM - Google Patents
COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP7623069B2 JP7623069B2 JP2022143004A JP2022143004A JP7623069B2 JP 7623069 B2 JP7623069 B2 JP 7623069B2 JP 2022143004 A JP2022143004 A JP 2022143004A JP 2022143004 A JP2022143004 A JP 2022143004A JP 7623069 B2 JP7623069 B2 JP 7623069B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- resistor
- resistance value
- resistors
- communication
- 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
本開示は、通信システム、処理方法、およびプログラムに関する。 The present disclosure relates to a communication system, a processing method, and a program.
通信システムの中には、スイッチで接続先(通信経路)を切り換えて通信を行うものがある。特許文献1には、関連する技術として、バスラインを介して通信を行うバスシステムに関する技術が開示されている。
Some communication systems use switches to change the connection destination (communication path) to communicate.
ところで、スイッチで接続先(通信経路)を切り換えて通信を行う通信システムにおいて、通信経路を高電位に保持するプルアップ抵抗は、一般的に固定値である。スイッチで接続先(通信経路)を切り換える場合、通信経路ごとに負荷容量が異なり、通信エラーに対するマージンも異なる。その結果、通信経路によっては通信エラーが生じやすくなってしまう。 In a communication system that uses a switch to switch between connection destinations (communication paths), the pull-up resistor that holds the communication path at a high potential is generally a fixed value. When using a switch to switch between connection destinations (communication paths), the load capacity differs for each communication path, and the margin for communication errors also differs. As a result, communication errors are more likely to occur depending on the communication path.
そこで、通信システムにおいて、通信の接続先(すなわち、通信経路)が変更され負荷容量が変更された場合であっても、通信エラーの発生を低減することのできる技術が求められている。 Therefore, there is a demand for technology in communication systems that can reduce the occurrence of communication errors even when the communication connection destination (i.e., the communication path) is changed and the load capacity is changed.
本開示の各態様は、上記の課題を解決することのできる通信システム、処理方法、およびプログラムを提供することを目的の1つとしている。 One of the objectives of each aspect of the present disclosure is to provide a communication system, processing method, and program that can solve the above problems.
上記目的を達成するために、本開示の一態様によれば、通信システムは、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定する第1特定手段と、複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定する第2特定手段と、前記第2特定手段が特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させる構成手段と、を備える。 In order to achieve the above object, according to one aspect of the present disclosure, a communication system includes a first identification means for identifying a resistance value of a pull-up resistor corresponding to a load capacitance in a communication path for bus communication, a second identification means for identifying a resistor from among a plurality of resistors that achieves the resistance value by combining the plurality of resistors, and a configuration means for configuring a resistor of the resistance value using a control signal for combining the resistors identified by the second identification means .
上記目的を達成するために、本開示の別の態様によれば、通信システムが実行する処理方法であって、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定することと、特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させることと、を含む。 In order to achieve the above object, according to another aspect of the present disclosure, a processing method executed by a communication system includes identifying a resistance value of a pull-up resistor corresponding to a load capacitance in a communication path for bus communication, identifying a resistor from among a plurality of resistors that achieves the resistance value by combining the plurality of resistors, and constructing a resistor of the resistance value using a control signal for combining the identified resistors .
上記目的を達成するために、本開示の別の態様によれば、プログラムは、コンピュータに、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定することと、特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させることと、を実行させる。 In order to achieve the above object, according to another aspect of the present disclosure, a program causes a computer to specify a resistance value of a pull-up resistor corresponding to a load capacitance in a communication path for bus communication, specify a resistor from among a plurality of resistors that achieves the resistance value by combining the plurality of resistors, and configure a resistor with the resistance value using a control signal for combining the specified resistors .
本開示の各態様によれば、通信の接続先(すなわち、通信経路)が変更され負荷容量が変更された場合であっても、通信エラーの発生を低減することができる。 According to each aspect of the present disclosure, the occurrence of communication errors can be reduced even when the communication connection destination (i.e., the communication path) is changed and the load capacity is changed.
以下、図面を参照しながら実施形態について詳しく説明する。
<実施形態>
図1は、本開示の一実施形態による通信システム1の構成の一例を示す図である。通信システム1は、図1に示すように、ボード10a、10b、10c、10d、ケーブル20a、20b、20c、20d、およびボード30を備える。ボード10a、10b、10c、10dを総称して、ボード10という。ケーブル20a、20b、20c、20dを総称して、ケーブル20という。
Hereinafter, the embodiments will be described in detail with reference to the drawings.
<Embodiment>
Fig. 1 is a diagram showing an example of a configuration of a
ボード10aは、図1に示すように、デバイス101a1、101a2、端子102a、およびプルアップ抵抗器103aを備える。デバイス101a1、101a2のそれぞれは、Inter-Integrated Circuit(I2C)バスを介してボード30とI2C通信を行うスレーブデバイスである。端子102aは、デバイス101a1、101a2、およびプルアップ抵抗器103aに接続される。また、端子102aは、ケーブル20aを介してボード30に接続される。プルアップ抵抗器103aは、端子102aの電位を高電位に保持する。なお、ボード10aのロケーションは、A0である。
As shown in FIG. 1, the
ボード10bは、図1に示すように、デバイス101b1、101b2、端子102b、およびプルアップ抵抗器103bを備える。デバイス101b1、101b2のそれぞれは、I2Cバスを介してボード30とI2C通信を行うスレーブデバイスである。端子102bは、デバイス101b1、101b2、およびプルアップ抵抗器103bに接続される。また、端子102bは、ケーブル20bを介してボード30に接続される。プルアップ抵抗器103bは、端子102bの電位を高電位に保持する。なお、ボード10bのロケーションは、A1である。
As shown in FIG. 1, the
ボード10cは、図1に示すように、デバイス101c1、101c2、端子102c、およびプルアップ抵抗器103cを備える。デバイス101c1、101c2のそれぞれは、I2Cバスを介してボード30とI2C通信を行うスレーブデバイスである。端子102cは、デバイス101c1、101c2、およびプルアップ抵抗器103cに接続される。また、端子102cは、ケーブル20cを介してボード30に接続される。プルアップ抵抗器103cは、端子102cの電位を高電位に保持する。なお、ボード10cのロケーションは、A2である。
As shown in FIG. 1, the
ボード10dは、図1に示すように、デバイス101d1、101d2、101d3、101d4、端子102d、およびプルアップ抵抗器103dを備える。デバイス101d1、101d2、101d3、101d4のそれぞれは、I2Cバスを介してボード30とI2C通信を行うスレーブデバイスである。端子102dは、デバイス101d1、101d2、101d3、101d4、およびプルアップ抵抗器103dに接続される。また、端子102dは、ケーブル20dを介してボード30に接続される。プルアップ抵抗器103dは、端子102dの電位を高電位に保持する。なお、ボード10dのロケーションは、Bである。
As shown in FIG. 1, the
ケーブル20aは、ボード10aと、ボード30とを接続する。具体的には、端子102aと、ボード30の後述する端子301aとを接続する。
Cable 20a connects
ケーブル20bは、ボード10bと、ボード30とを接続する。具体的には、ケーブル20bは、端子102bと、ボード30の後述する端子301bとを接続する。
Cable 20b connects
ケーブル20cは、ボード10cと、ボード30とを接続する。具体的には、ケーブル20cは、端子102cと、ボード30の後述する端子301cとを接続する。
Cable 20c connects
ケーブル20dは、ボード10dと、ボード30とを接続する。具体的には、ケーブル20dは、端子102dと、ボード30の後述する端子301dとを接続する。
Cable 20d connects
ボード30は、図1に示すように、端子301a、301b、301c、301d、バスセレクタ302a、302b、302c、バススイッチ303a、303b、反転回路304、抵抗合成器305、プルアップ抵抗器306a1、306a2、・・・、306a(n-1)、306an、抵抗生成指示回路307、装置構成部308、およびバスマスタ309を備える。バスセレクタ302a、302b、302cを総称して、バスセレクタ302という。バススイッチ303a、303bを総称して、バススイッチ303という。
1, the
端子301aは、配線Aを介して、バスセレクタ302bの後述するP0端子およびバスセレクタ302cの後述するP0端子に接続される。また、端子301aは、ケーブル20aを介して、ボード10aの端子102aに接続される。
The
端子301bは、配線Bを介して、バスセレクタ302bの後述するP1端子およびバスセレクタ302cの後述するP1端子に接続される。また、端子301bは、ケーブル20bを介して、ボード10bの端子102bに接続される。
The
端子301cは、配線Cを介して、バスセレクタ302bの後述するP2端子およびバスセレクタ302cの後述するP2端子に接続される。また、端子301cは、ケーブル20cを介して、ボード10cの端子102cに接続される。
The terminal 301c is connected to a P2 terminal of the
端子301dは、配線Dを介して、バスセレクタ302bの後述するP3端子およびバスセレクタ302cの後述するP3端子に接続される。また、端子301dは、ケーブル20dを介して、ボード10dの端子102dに接続される。
The terminal 301d is connected to a P3 terminal of the
バスセレクタ302のそれぞれは、入力される信号に応じて端子P0、P1、P2、P3の何れかから信号を出力する。これにより、信号を伝搬させるバスが選択されることになる。 Each bus selector 302 outputs a signal from one of terminals P0, P1, P2, or P3 depending on the input signal. This selects the bus through which the signal is to be propagated.
具体的には、バスセレクタ302aは、バスマスタ309から信号が入力され、バスセレクタ302aの端子P0、P1、P2、P3の何れかから信号を出力する。バスセレクタ302aの端子P0は、バススイッチ303a、303b、抵抗合成器305、および抵抗生成指示回路307の後述するバス状態判定部307a3に接続される。
Specifically, the
また、具体的には、バスセレクタ302bは、バススイッチ303aから信号が入力され、バスセレクタ302bの端子P0、P1、P2、P3の何れかから信号を出力する。また、具体的には、バスセレクタ302cは、バススイッチ303bから信号が入力され、バスセレクタ302cの端子P0、P1、P2、P3の何れかから信号を出力する。
More specifically, the
バススイッチ303のそれぞれは、抵抗生成指示回路307の後述するバススイッチ切換回路307a2が出力するバス有効信号に応じた信号を入力する。そして、バススイッチ303のそれぞれは、入力した信号に応じてバスを接続または切断する。
Each of the bus switches 303 receives a signal corresponding to a bus enable signal output by a bus switch switching circuit 307a2 (described later) of the resistor
具体的には、バススイッチ303aは、バススイッチ切換回路307a2が出力するバス有効信号を直接入力し、入力したバス有効信号に応じてバスを接続または切断する。また、具体的には、バススイッチ303bは、バススイッチ切換回路307a2が出力するバス有効信号を反転回路304を介して入力し、入力した信号に応じてバスを接続または切断する。つまり、バススイッチ303aとバススイッチ303bとには、バス有効信号に応じた信号として、互いに反転した信号が入力されることになる。よって、バススイッチ303aがバスを接続する場合、バススイッチ303bがバスを切断する。また、バススイッチ303bがバスを接続する場合、バススイッチ303aがバスを切断する。その結果、バスを伝搬する信号は、バススイッチ303aがバスを接続する場合、バスセレクタ302bに入力されるが、バスセレクタ302cには入力されない。また、バスを伝搬する信号は、バススイッチ303bがバスを接続する場合、バスセレクタ302cに入力されるが、バスセレクタ302bには入力されない。
Specifically, the
反転回路304は、入力された信号を反転させて出力する。反転回路304は、図1に示すように、バススイッチ切換回路307a2とバススイッチ303bとの間に設けられる。
The
抵抗合成器305は、図1に示すように、バススイッチ305a1、305a2、・・・、305a(n-1)、305anを備える。バススイッチ305a1、305a2、・・・、305a(n-1)、305anを総称して、バススイッチ305aという。
As shown in FIG. 1, the
バススイッチ305aのそれぞれは、抵抗生成指示回路307の後述するセレクト信号生成部307a1が出力するセレクト信号を入力する。そして、バススイッチ305aのそれぞれは、入力したセレクト信号に応じてバスを接続または切断する。なお、セレクト信号は、生成する抵抗に応じた信号であり、バススイッチ305aのそれぞれには、バススイッチ305aのそれぞれに応じた個別の信号が入力される。
Each of the
バススイッチ305aそれぞれの入力は、バスセレクタ302aの端子P0に接続される。また、バススイッチ305a1の出力にはプルアップ抵抗器306a1が、バススイッチ305a2の出力にはプルアップ抵抗器306a2が、バススイッチ305a(n-1)の出力にはプルアップ抵抗器306a(n-1)が、バススイッチ305anの出力にはプルアップ抵抗器306anが、それぞれ接続される。
The input of each
生成する抵抗に応じたセレクト信号がバススイッチ305aのそれぞれに入力され、そのセレクト信号に応じてバススイッチ305aのそれぞれがバスを接続またはバスを切断することにより、プルアップ抵抗器306a1~306anによって生成される抵抗が所望の抵抗値を有する抵抗となる。
A select signal corresponding to the resistance to be generated is input to each of the
プルアップ抵抗器306a1、306a2、・・・、306a(n-1)、306anは、バススイッチ305aそれぞれによるバスの接続またはバスの切断に応じて、互いに接続または切断されることにより、所望の抵抗値を有する抵抗となる。プルアップ抵抗器306a1、306a2、・・・、306a(n-1)、306anを総称して、プルアップ抵抗器306aという。プルアップ抵抗器306aのそれぞれは、所望の抵抗値を有する抵抗の要素となる抵抗値を有し、所望の抵抗値を有する抵抗を生成するために、プルアップ抵抗器306aのそれぞれの抵抗値が決定される。なお、所望の抵抗値を有する抵抗を生成できる限り、プルアップ抵抗器306aのそれぞれの抵抗値は、同一であってもよいし、異なっていてもよい。
The pull-up resistors 306a1, 306a2, ..., 306a(n-1), and 306an become resistors having the desired resistance value by being connected or disconnected to each other in response to the connection or disconnection of the bus by each of the
抵抗生成指示回路307は、図1に示すように、セレクト信号生成部307a1(第1特定手段の一例、第2特定手段の一例、構成手段の一例)、バススイッチ切換回路307a2(切替手段の一例)、バス状態判定部307a3(判定手段の一例)、および記憶部307a4を備える。
As shown in FIG. 1, the resistor
セレクト信号生成部307a1は、プルアップ抵抗器306a1~306anによって生成される抵抗が所望の抵抗値を有する抵抗とするセレクト信号を生成する。そして、セレクト信号生成部307a1は、生成したセレクト信号を抵抗合成器305に出力する。
The select signal generating unit 307a1 generates a select signal that causes the resistors generated by the pull-up resistors 306a1 to 306an to have a desired resistance value. The select signal generating unit 307a1 then outputs the generated select signal to the
バススイッチ切換回路307a2は、バス状態判定部307a3からストールしたか否かの判定結果を受ける。そして、バススイッチ切換回路307a2は、受けた判定結果に基づいて、バスセレクタ302bとバスセレクタ302cとを切り換えるためのバス有効信号を生成する。バススイッチ切換回路307a2は、生成したバス有効信号をバススイッチ303aおよび反転回路304に出力する。
The bus switch switching circuit 307a2 receives the determination result of whether or not a stall has occurred from the bus state determination unit 307a3. Then, based on the received determination result, the bus switch switching circuit 307a2 generates a bus enable signal for switching between the
バス状態判定部307a3は、常にバスの状態を監視している。また、バス状態判定部307a3は、バスセレクタ302bまたは302cのどちらを選択しているかを認識している。バス状態判定部307a3は、現在の経路の一部を構成するバスセレクタ(すなわち、バスセレクタ302bおよび302cの何れか一方)がストールしたか否かを判定する。バス状態判定部307a3は、ストールしたと判定した場合、現在の経路の一部を構成するバスセレクタとは別のバスセレクタ(すなわち、バスセレクタ302bまたは302c)に切り換える指示をバススイッチ切換回路307a2に出力する。
The bus state determination unit 307a3 constantly monitors the state of the bus. In addition, the bus state determination unit 307a3 recognizes whether the
記憶部307a4は、抵抗生成指示回路307が行う処理に必要な種々の情報を記憶する。例えば、記憶部307a4は、テーブルTBL0およびテーブルTBL1を記憶する。テーブルTBL0は、すべての接続先(経路)と、それぞれの接続先に対して最適な抵抗値との対応関係を定義するテーブルである。図2は、本開示の一実施形態におけるテーブルTBL0の一例を示す図である。図2に示すように、テーブルTBL0では、例えば、接続1として、バスマスタ309(図2では[バスマスタ]と記載)-バスセレクタ302a(図2では[バスSEL(A)]と記載)-バススイッチ303a(図2では[バスSW(A)]と記載)-バスセレクタ302b(図2では[バスSEL(B)]と記載)-ボード10a(図2では[ボードA(ロケーション:A0)]と記載)の順に接続先が記憶されており、その接続先に最適な抵抗値として2.4kΩが関連付けられて記憶されている。
The memory unit 307a4 stores various information necessary for the processing performed by the resistance
テーブルTBL1は、各接続先と、各接続先に最適な抵抗値と、その最適な抵抗値を実現するための抵抗の組み合わせ(すなわち、プルアップ抵抗器306a1~306anの組み合わせ)との対応関係を定義するテーブルである。図3は、本開示の一実施形態におけるテーブルTBL1の一例を示す図である。図3に示すように、テーブルTBL1では、例えば、接続1と、接続1に対して最適な抵抗値2.4kΩと、その抵抗値を実現する抵抗の組み合わせ4kΩ+6kΩ(4kΩと6kΩの並列接続)がされている。
Table TBL1 is a table that defines the correspondence between each connection destination, the optimum resistance value for each connection destination, and the combination of resistors to achieve that optimum resistance value (i.e., the combination of pull-up resistors 306a1 to 306an). FIG. 3 is a diagram showing an example of table TBL1 in one embodiment of the present disclosure. As shown in FIG. 3, table TBL1 contains, for example,
装置構成部308は、通信システム1における現在のI2Cバスのすべての接続状態を認識している。そして、装置構成部308は、通信システム1における現在のI2Cバスのすべての接続状態を抵抗生成指示回路307に出力する。また、装置構成部308は、抵抗生成指示回路307におけるテーブルTBL0およびTBL1の更新を指示する。装置構成部308は、最適なプルアップ抵抗値を有する抵抗の生成を指示する制御部である。
The
バスマスタ309は、I2Cバスマスタコントローラである。バスマスタ309は、ボード10それぞれが備えるスレーブデバイスであるデバイス101a1、101a2、101b1、101b2、101c1、101c2、101d1、101d2、101d3、101d4との間で通信を行う。
The
なお、通信システム1における各処理部が行う上述した処理は、一例であって上述した処理に限定されるものではない。例えば、以下で説明する通信システム1の処理について示す処理を行うものであってもよい。
The above-mentioned processing performed by each processing unit in the
次に、本開示の一実施形態による通信システム1が行う処理について説明する。図4は、本開示の一実施形態による通信システム1の処理フローの一例を示す図である。ここでは、図4を参照して、通信システム1が行う処理について説明する。なお、ケーブル20a、20b、20c、および20dそれぞれの負荷容量はすべて異なるものとする。すなわち、バスセレクタ302bおよび302cの各出力端子に対する負荷容量が異なるものとする。また、ここでは、ボード30のバスマスタ309がボード10aのデバイス101a1と通信を行う場合を例に、通信システム1の処理について説明する。具体的には、通信システム1において、バスセレクタ302cを経由してボード30のバスマスタ309がボード10aのデバイス101a1と通信を行っていた場合に、バスセレクタ302cがストールし、バスセレクタ302bを経由して通信を行うバスマスタ309-バスセレクタ302a-バススイッチ303a-バスセレクタ302b-ボード10aの経路(図2のテーブルTBL0における経路1)となるように経路が変更されるものとする。この場合、バスセレクタ302aは、バスセレクタ302aの端子P0から信号を出力する。また、バスセレクタ302bは、バスセレクタ302bの端子P0から信号を出力する。また、バススイッチ切換回路307a2は、バススイッチ303aがバスを接続し、バススイッチ303bがバスを切断するバス有効信号を、バススイッチ303aおよび反転回路304に出力する。
Next, the processing performed by the
ボード30のバスマスタ309が、ボード10aのデバイス101a1と通信を行う場合、装置構成部308は、通信システム1における現在のI2Cバスのすべての接続状態を認識する(ステップS1)。そして、装置構成部308は、通信システム1における現在のI2Cバスのすべての接続状態を抵抗生成指示回路307に出力する。バス状態判定部307a3は、バスセレクタ302cがストールしたか否かを判定する(ステップS2)。バス状態判定部307a3は、バスセレクタ302cがストールしていないと判定した場合(ステップS2においてNO)、ステップS2の処理に戻す。また、バス状態判定部307a3は、バスセレクタ302cがストールしたと判定した場合(ステップS2においてYES)、バスセレクタを切り換える(すなわち、バスセレクタ302cからバスセレクタ302bに切り換える)指示をバススイッチ切換回路307a2に出力する。
When the
バススイッチ切換回路307a2は、バス状態判定部307a3からストールしたか否かの判定結果を受ける。そして、バススイッチ切換回路307a2は、受けた判定結果に基づいてバスセレクタ302cをバスセレクタ302bに切り換えるバス有効信号を生成する(ステップS3)。バススイッチ切換回路307a2は、生成したバス有効信号をバススイッチ303aおよび反転回路304に出力する。これにより、通信システム1における通信経路がバスマスタ309-バスセレクタ302a-バススイッチ303a-バスセレクタ302b-ボード10aの経路(図2のテーブルTBL0における経路1)となる。
The bus switch switching circuit 307a2 receives the determination result of whether or not a stall has occurred from the bus state determination unit 307a3. Then, the bus switch switching circuit 307a2 generates a bus enable signal that switches the
装置構成部308は、新たな経路を含む通信システム1における現在のI2Cバスのすべての接続状態を認識する(ステップS4)。装置構成部308は、新たな経路を含む現在の接続状態を抵抗生成指示回路307に出力する。
The
セレクト信号生成部307a1は、装置構成部308が出力した新たな経路を含む現在の経路に基づいて、プルアップ抵抗器306a1~306anによって生成される抵抗が所望の抵抗値を有する抵抗とするセレクト信号を生成する。例えば、セレクト信号生成部307a1は、新たな経路を含む現在の経路に対応する最適な抵抗値を、テーブルTBL0において特定する(ステップS5)。ここで示す例では、セレクト信号生成部307a1は、図2のテーブルTBL0において、新たな経路を含む現在の経路に一致する経路1を特定し、経路1に関連付けられている抵抗値2.4kΩを特定する。セレクト信号生成部307a1は、特定した抵抗値に関連付けられているプルアップ抵抗器306a1~306anの組み合わせを、テーブルTBL1において特定する(ステップS6)。ここで示す例では、セレクト信号生成部307a1は、図2のテーブルTBL1において、経路1に関連付けられている抵抗値2.4kΩを実現する抵抗値の組み合わせ、すなわち、プルアップ抵抗器306a1~306anの組み合わせを特定する。そして、セレクト信号生成部307a1は、特定したプルアップ抵抗器306a1~306anの組み合わせを実現するセレクト信号を生成する(ステップS7)。
The select signal generating unit 307a1 generates a select signal that causes the resistance generated by the pull-up resistors 306a1 to 306an to have a desired resistance value based on the current path including the new path output by the
バススイッチ305aのそれぞれは、セレクト信号生成部307a1が出力するセレクト信号を入力する。そして、バススイッチ305aのそれぞれは、入力したセレクト信号に応じてバスを接続または切断する(ステップS8)。
Each of the
上述のように、生成する抵抗に応じたセレクト信号がバススイッチ305aのそれぞれに入力され、そのセレクト信号に応じてバススイッチ305aのそれぞれがバスを接続またはバスを切断することにより、プルアップ抵抗器306a1~306anによって生成される抵抗が所望の抵抗値を有する抵抗となる。
As described above, a select signal corresponding to the resistance to be generated is input to each of the
(利点)
上述のように、通信システム1において、セレクト信号生成部307a1(第1特定手段の一例)は、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定する。また、セレクト信号生成部307a1(第2特定手段の一例)は、複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定する。また、セレクト信号生成部307a1(構成手段の一例)は、特定した抵抗器に前記抵抗値の抵抗を構成させる。こうすることにより、通信の接続先(すなわち、通信経路)が変更され負荷容量が変更された場合であっても、通信エラーの発生を低減することができる。
(advantage)
As described above, in the
また、通信システム1において、バス状態判定部307a3(判定手段の一例)は、通信経路における接続状態に基づいて通信経路におけるバスがストールしたか否かを判定する。これに応じて、上述のように、セレクト信号生成部307a1が前記抵抗値の抵抗を構成させる。こうすることにより、通信システム1は、バスのリセットや種々の再設定などの処理を行わずにスイッチバスを切り換えることで、バスを復旧することができ、復旧までの時間を短縮することが可能となる。
In addition, in the
図5は、本開示の実施形態による通信システム1の最小構成を示す図である。通信システム1は、図5に示すように、セレクト信号生成部307a1(第1特定手段の一例、第2特定手段の一例、構成手段の一例)を備える。セレクト信号生成部307a1は、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定する。セレクト信号生成部307a1は、複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定する。セレクト信号生成部307a1は、特定した抵抗器に前記抵抗値の抵抗を構成させる。
FIG. 5 is a diagram showing a minimum configuration of a
図6は、本開示の実施形態による最小構成の通信システム1の処理フローの一例を示す図である。次に、本開示の実施形態による最小構成の通信システム1の処理について図6を参照して説明する。
Figure 6 is a diagram showing an example of a processing flow of a
セレクト信号生成部307a1は、バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定する(ステップS101)。セレクト信号生成部307a1は、複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定する(ステップS102)。セレクト信号生成部307a1は、特定した抵抗器に前記抵抗値の抵抗を構成させる(ステップS103)。 The select signal generating unit 307a1 identifies the resistance value of a pull-up resistor according to the load capacitance in the communication path for bus communication (step S101). The select signal generating unit 307a1 identifies a resistor that realizes the resistance value from among multiple resistors (step S102). The select signal generating unit 307a1 configures the identified resistor as a resistor with the resistance value (step S103).
以上、本開示の実施形態による最小構成の通信システム1について説明した。この通信システム1により、通信の接続先(すなわち、通信経路)が変更され負荷容量が変更された場合であっても、通信エラーの発生を低減することができる。
A minimum
なお、本開示の実施形態における処理は、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 The order of the processes in the embodiments of the present disclosure may be changed as long as appropriate processing is performed.
本開示の実施形態について説明したが、上述の通信システム1、ボード10、30、その他の制御装置は内部に、コンピュータシステムを有していてもよい。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。コンピュータの具体例を以下に示す。
Although the embodiments of the present disclosure have been described, the above-mentioned
図7は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。コンピュータ5は、図7に示すように、CPU6、メインメモリ7、ストレージ8、インターフェース9を備える。
Figure 7 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in Figure 7, the computer 5 includes a
例えば、上述の通信システム1、ボード10、30、その他の制御装置のそれぞれは、コンピュータ5に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ8に記憶されている。CPU6は、プログラムをストレージ8から読み出してメインメモリ7に展開し、当該プログラムに従って上記処理を実行する。また、CPU6は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ7に確保する。
For example, each of the above-mentioned
ストレージ8の例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、磁気ディスク、光磁気ディスク、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc Read Only Memory)、半導体メモリ等が挙げられる。ストレージ8は、コンピュータ5のバスに直接接続された内部メディアであってもよいし、インターフェース9または通信回線を介してコンピュータ5に接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ5に配信される場合、配信を受けたコンピュータ5が当該プログラムをメインメモリ7に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ8は、一時的でない有形の記憶媒体である。
Examples of storage 8 include HDD (Hard Disk Drive), SSD (Solid State Drive), magnetic disk, magneto-optical disk, CD-ROM (Compact Disc Read Only Memory), DVD-ROM (Digital Versatile Disc Read Only Memory), and semiconductor memory. Storage 8 may be an internal medium directly connected to the bus of computer 5, or an external medium connected to computer 5 via
また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 The program may also realize some of the functions described above. Furthermore, the program may be a file that can realize the functions described above in combination with a program already recorded in the computer system, a so-called differential file (differential program).
本開示のいくつかの実施形態を説明したが、これらの実施形態は、例であり、開示の範囲を限定しない。これらの実施形態は、開示の要旨を逸脱しない範囲で、種々の追加、省略、置き換え、変更を行ってよい。 Although several embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit and scope of the disclosure.
なお、上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 In addition, some or all of the above embodiments can be described as follows, but are not limited to the following:
(付記1)
バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定する第1特定手段と、
複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定する第2特定手段と、
前記第2特定手段が特定した抵抗器に前記抵抗値の抵抗を構成させる構成手段と、
を備える通信システム。
(Appendix 1)
a first specifying means for specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
A second specifying means for specifying a resistor that realizes the resistance value from among a plurality of resistors;
A configuration means for configuring a resistor having the resistance value in the resistor specified by the second specification means;
A communication system comprising:
(付記2)
前記通信経路における接続状態に基づいて通信経路におけるバスがストールしたか否かを判定する判定手段、
を備える付記1に記載の通信システム。
(Appendix 2)
a determination means for determining whether or not a bus in the communication path has stalled based on a connection state in the communication path;
2. The communication system of
(付記3)
前記バスがストールしたと前記判定手段が判定した場合に予備の通信経路に切り換える切換手段、
を備える付記2に記載の通信システム。
(Appendix 3)
a switching means for switching to a spare communication path when the determining means determines that the bus has stalled;
3. The communication system of
(付記4)
前記予備の通信経路は、
バススイッチおよびバスセレクタを備える、
付記3に記載の通信システム。
(Appendix 4)
The backup communication path is
A bus switch and a bus selector are provided.
4. The communication system of claim 3.
(付記5)
通信システムが実行する処理方法であって、
バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、
複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定することと、
特定した抵抗器に前記抵抗値の抵抗を構成させることと、
を含む処理方法。
(Appendix 5)
A processing method executed by a communication system, comprising:
Specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
Identifying a resistor that realizes the resistance value from among a plurality of resistors;
configuring the identified resistor with a resistance of said resistance value;
A processing method comprising:
(付記6)
コンピュータに、
バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、
複数の抵抗器の中から前記抵抗値を実現する抵抗器を特定することと、
特定した抵抗器に前記抵抗値の抵抗を構成させることと、
を実行させるプログラム。
(Appendix 6)
On the computer,
Specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
Identifying a resistor that realizes the resistance value from among a plurality of resistors;
configuring the identified resistor with a resistance of said resistance value;
A program that executes the following.
1・・・通信システム
5・・・コンピュータ
6・・・CPU
7・・・メインメモリ
8・・・ストレージ
9・・・インターフェース
10、30・・・ボード
20・・・ケーブル
101・・・デバイス
102、301・・・端子
103、306・・・プルアップ抵抗器
302・・・バスセレクタ
303、305a・・・バススイッチ
304・・・反転回路
305・・・抵抗合成器
307・・・抵抗生成指示回路
307a1・・・セレクト信号生成部
307a2・・・バススイッチ切換回路
307a3・・・バス状態判定部
308・・・装置構成部
309・・・バスマスタ
1... communication system 5...
7... Main memory 8...
Claims (6)
複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定する第2特定手段と、
前記第2特定手段が特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させる構成手段と、
を備える通信システム。 a first specifying means for specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
a second specifying means for specifying , from among the plurality of resistors , a resistor that realizes the resistance value by combining the plurality of resistors;
a configuration means for configuring a resistor having the resistance value by using a control signal for combining the resistors specified by the second specification means;
A communication system comprising:
を備える請求項1に記載の通信システム。 a determination means for determining whether or not a bus in the communication path has stalled based on a connection state in the communication path;
The communication system of claim 1 .
を備える請求項2に記載の通信システム。 a switching means for switching to a spare communication path when the determining means determines that the bus has stalled;
The communication system of claim 2 .
バススイッチおよびバスセレクタを備える、
請求項3に記載の通信システム。 The backup communication path is
A bus switch and a bus selector are provided.
The communication system according to claim 3.
バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、
複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定することと、
特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させることと、
を含む処理方法。 A processing method executed by a communication system, comprising:
Specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
identifying a resistor from among the plurality of resistors that achieves the resistance value by combining the plurality of resistors;
configuring a resistor of said resistance value using a control signal for combining the identified resistors;
A processing method comprising:
バス通信を行う通信経路における負荷容量に応じたプルアップ抵抗の抵抗値を特定することと、
複数の抵抗器を組み合わせて前記抵抗値を実現する抵抗器を前記複数の抵抗器の中から特定することと、
特定した抵抗器を組み合わせるための制御信号を用いて前記抵抗値の抵抗を構成させることと、
を実行させるプログラム。 On the computer,
Specifying a resistance value of a pull-up resistor according to a load capacitance in a communication path for performing bus communication;
identifying a resistor from among the plurality of resistors that achieves the resistance value by combining the plurality of resistors;
configuring a resistor of said resistance value using a control signal for combining the identified resistors;
A program that executes the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022143004A JP7623069B2 (en) | 2022-09-08 | 2022-09-08 | COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022143004A JP7623069B2 (en) | 2022-09-08 | 2022-09-08 | COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2024038751A JP2024038751A (en) | 2024-03-21 |
JP7623069B2 true JP7623069B2 (en) | 2025-01-28 |
Family
ID=90308864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022143004A Active JP7623069B2 (en) | 2022-09-08 | 2022-09-08 | COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7623069B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004364276A (en) | 2003-05-30 | 2004-12-24 | Hewlett-Packard Development Co Lp | Rise time control structure and rise time control method |
US20070073506A1 (en) | 2005-09-27 | 2007-03-29 | Ati Technologies Inc. | Closed loop controlled reference voltage calibration circuit and method |
JP2013541121A (en) | 2010-08-13 | 2013-11-07 | マイクロン テクノロジー, インク. | Line termination method and apparatus |
JP6125261B2 (en) | 2013-02-12 | 2017-05-10 | 三菱重工業株式会社 | Water jet peening compressive residual stress test method |
-
2022
- 2022-09-08 JP JP2022143004A patent/JP7623069B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004364276A (en) | 2003-05-30 | 2004-12-24 | Hewlett-Packard Development Co Lp | Rise time control structure and rise time control method |
US20070073506A1 (en) | 2005-09-27 | 2007-03-29 | Ati Technologies Inc. | Closed loop controlled reference voltage calibration circuit and method |
JP2013541121A (en) | 2010-08-13 | 2013-11-07 | マイクロン テクノロジー, インク. | Line termination method and apparatus |
JP6125261B2 (en) | 2013-02-12 | 2017-05-10 | 三菱重工業株式会社 | Water jet peening compressive residual stress test method |
Also Published As
Publication number | Publication date |
---|---|
JP2024038751A (en) | 2024-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10372652B2 (en) | USB hub | |
KR101875171B1 (en) | Devices, systems, and methods of reducing chip select | |
JP2006268683A (en) | Memory system and hot swap method for the same | |
JP7623069B2 (en) | COMMUNICATION SYSTEM, PROCESSING METHOD, AND PROGRAM | |
EP3285173A1 (en) | Cpu interconnecting apparatus, system and control method, control apparatus therefor | |
US8156294B2 (en) | Apparatus and method for controlling storage buffers | |
CN114725940A (en) | Distribution network power supply recovery method, device, terminal equipment and storage medium | |
US11899062B2 (en) | Basic logic element, semiconductor device including the same, output control method for basic logic element, and non-transitory computer readable medium | |
US10162530B2 (en) | Computer and computer system for collision determination of a command identifier | |
JP6544454B1 (en) | Server, control method by server and program | |
JP2012043024A (en) | Storage device | |
JP2017021589A (en) | Information processing device, method and program | |
US11700144B2 (en) | Master slave communication system and control method for master slave communication system | |
US20220291916A1 (en) | Server system for updating firmware with baseboard management controller | |
TW202238373A (en) | Server system with baseboard management controller to update firmware | |
JP2024535213A (en) | Fault protected signal splitter device | |
JP7563831B2 (en) | POWER SUPPLY SYSTEM, ELECTRONIC DEVICE, PROCESSING METHOD, AND PROGRAM | |
JP6996757B2 (en) | Cards, systems, control methods and programs executed by the cards | |
CN112527714A (en) | PECI signal interconnection method, system, equipment and medium of server | |
EP2317444B1 (en) | Flash memory accessing apparatus and an accessing method thereof | |
JP6024752B2 (en) | Information processing apparatus and control method thereof | |
CN117827716B (en) | Master-slave switching interface structure of server and application equipment thereof | |
JP2005010966A (en) | Lsi device | |
JP4622871B2 (en) | Data processing system, access control method, apparatus thereof, and program thereof | |
JP6973854B2 (en) | Devices, information processing devices, control methods and programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220908 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231031 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231225 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20240220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250109 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7623069 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |