JP2010238000A - Device for bus connection/disconnection of module - Google Patents
Device for bus connection/disconnection of module Download PDFInfo
- Publication number
- JP2010238000A JP2010238000A JP2009085918A JP2009085918A JP2010238000A JP 2010238000 A JP2010238000 A JP 2010238000A JP 2009085918 A JP2009085918 A JP 2009085918A JP 2009085918 A JP2009085918 A JP 2009085918A JP 2010238000 A JP2010238000 A JP 2010238000A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- module
- signal
- output
- bypass
- 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
- 230000005540 biological transmission Effects 0.000 claims abstract description 75
- 238000012544 monitoring process Methods 0.000 claims abstract description 19
- 230000005856 abnormality Effects 0.000 claims description 52
- 238000012545 processing Methods 0.000 claims description 16
- 230000005764 inhibitory process Effects 0.000 claims description 10
- 230000003213 activating effect Effects 0.000 claims description 2
- 230000000415 inactivating effect Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 3
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、複数のモジュールをシステムバスにディジーチェーン接続したコンピュータシステムに係り、特にモジュールのバス接続/切り離し装置に関する。 The present invention relates to a computer system in which a plurality of modules are daisy chain connected to a system bus, and more particularly to a module bus connection / disconnection device.
コンピュータシステムの構築方式として、複数の機能モジュール間をシステムバスで接続するビルディングブロック方式がある。例えば、プログラマブルコントローラ(PLC)は、図6に組み立て構造を示すように、ベース(バックプレーンとも呼ぶ)1に電源モジュール2、CPUモジュール3、各種機能モジュール/IOモジュール4A〜4Nをアプリケーションに合わせてバス接続するものが主流となっている。 As a computer system construction method, there is a building block method in which a plurality of functional modules are connected by a system bus. For example, the programmable controller (PLC) has a power supply module 2, a CPU module 3, and various functional modules / IO modules 4 </ b> A to 4 </ b> N in accordance with an application, as shown in FIG. The bus connection is the mainstream.
ベース1の機能は、構造的に各モジュールを固定する他、図7に示すように、システムバスとして各モジュールヘの電源供給、CPUモジュールと他の各モジュール間のデータ転送がある。システムバスを構成するデータバスに対して、各モジュールはT分岐接続となっている。T分岐接続の分岐長はモジュール内でパターンを最短距離で配線することにより、ある一定の伝送速度までは実用的に問題なく動作させることは可能である。しかし、システムバス上のデータ伝送速度がある一定レベルを超えると、伝送信号の反射の影響が無視できなくなり、正常なデータ伝送ができなくなる。
In addition to structurally fixing each module, the functions of the
一方、各モジュールをディジーチェーン接続する方式は、伝送路長が短くなると共にモジュール間が1対1接続となり、伝送波形の反射が軽減されるため、T分岐接続の場合に比べて速い伝送速度に対応できる。 On the other hand, the daisy chain connection method for each module shortens the transmission path length and makes a one-to-one connection between the modules, reducing the reflection of the transmission waveform. Yes.
ディジーチェーン接続方式のシステムバス構成を図8に示す。ディジーチェーン接続方式にした場合、モジュールが実装されないスロットはベース上でバイパスするモジュールのバス接続/切り離し装置が必要となる。このバス接続/切り離し装置は、図9に概略構成を示すように、各段のモジュール側に設けた内部回路14によるバイパス・バッファ11および出力バッファ13に対するイネーブル信号EN1,EN2のコントロールによって行う(例えば、特許文献1,2,3参照)。
A daisy chain connection system bus configuration is shown in FIG. In the case of the daisy chain connection method, a module bus connection / disconnection device that bypasses on the base is required for a slot in which no module is mounted. This bus connecting / disconnecting device is performed by controlling enable signals EN1, EN2 for the
図10はバス接続/切り離し装置の具体的な回路構成例を示す。ベース1のデータバスにはモジュール毎にバイパス・バッファ11を介挿し、実装するモジュール(4Aの場合を示す)にはバイパス・バッファ11に入力される伝送信号をモジュール内に取り込む入力バッファ12と、モジュールからの出力信号をバイパス・バッファ11の出力側に載せる出力バッファ13とを設ける。バイパス・バッファ11による伝送信号のバイパス/抑止の切換はモジュールの内部回路14から発生するバイパス・バッファ・イネーブル信号EN1のアクティブ(L)/インアクティブ(H)で制御し、内部回路14からデータバスに載せる伝送信号の出力/抑止の切換は出力バッファ13に与える出力バッファ・イネーブル信号EN2のアクティブ(L)/インアクティブ(H)で制御する。
FIG. 10 shows a specific circuit configuration example of the bus connection / disconnection device. A
この構成において、モジュール4Aが正常な場合はENIをインアクティブ「H」にすることでバイパス・バッファ出力をハイインピーダンス状態にし、EN2をアクティブ「L」にすることで出力バッファ13を出力状態にし、ディジーチェーン接続が構成される。モジュール不実装のスロットではイネーブル信号EN1のプルダウン抵抗15によってバイパス・バッファ11を出力状態とする。
In this configuration, when the
前記のように、各モジュールをディジーチェーン接続したシステムバスにおけるモジュールのバス接続/切り離し制御には、バイパス・バッファ・イネーブル信号EN1と出力バッファ・イネーブル信号EN2のアクティブ(L)/インアクティブ(H)で制御する。 As described above, for the bus connection / disconnection control of the modules in the system bus in which the modules are daisy chain connected, the active (L) / inactive (H) of the bypass buffer enable signal EN1 and the output buffer enable signal EN2 are used. To control.
ここで、モジュール切り離し制御の具体例を説明する。まず、モジュールのシステムバスからの受信系回路が故障し、正常に受信できなかった場合を想定する。ディジーチェーンの場合、受信系回路で正常に機能しないと次のスロットヘの送信も機能しなくなる。この場合、モジュール14の内部回路では受信データを監視し、一定時間正常な受信ができなかった場合は受信系回路の故障と判断し、自モジュールをシステムバスから切り離すことが考えられ、これによりシステム全体への影響を回避することが可能となる。
Here, a specific example of module separation control will be described. First, it is assumed that the receiving system circuit from the system bus of the module has failed and cannot be normally received. In the case of daisy chain, if the receiving system does not function properly, transmission to the next slot also does not function. In this case, the received data is monitored by the internal circuit of the
しかし、モジュールのシステムバスに対する送信系回路が故障し、システムバスに対して正常に送信できない場合、上記の受信データによる監視方式では故障判断ができない。ディジーチェーン接続の場合、送信系回路の故障を検出できないと通信が途絶え、システムバス全体の通信が機能しなくなる。 However, if the transmission circuit for the system bus of the module fails and cannot be transmitted normally to the system bus, the failure cannot be determined by the monitoring method using the received data. In the case of daisy chain connection, if the failure of the transmission system circuit cannot be detected, communication is interrupted and communication of the entire system bus does not function.
本発明の目的は、モジュールの送信系回路の故障を検出でき、この検出で故障モジュールをシステムバスから確実に切り離しできるモジュールのバス接続/切り離し装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a module bus connection / disconnection device that can detect a failure in a transmission system circuit of a module and can reliably disconnect a failure module from a system bus by this detection.
本発明は、前記の課題を解決するため、自モジュールからの送信信号をシステムバスを通して読み返すことで送信系回路の異常監視を行い、または下位のスロットに接続されたモジュールの受信系回路の異常発生信号をチェックすることで送信系回路の異常監視を行い、これらの監視で送信系回路が故障と判断した場合は故障モジュールをシステムバスから切り離すようにしたもので、以下の構成を特徴とする。 In order to solve the above-mentioned problems, the present invention monitors the abnormality of the transmission system circuit by reading back the transmission signal from the own module through the system bus, or the occurrence of the abnormality of the reception system circuit of the module connected to the lower slot. An abnormality of the transmission system circuit is monitored by checking the signal, and when the transmission system circuit is determined to be faulty by these monitoring, the faulty module is disconnected from the system bus, and has the following configuration.
(1)複数のモジュール間をディジーチェーン接続するシステムバスは、データバスにモジュール毎のバイパス・バッファを介挿し、
前記データバスにコネクタ接続する各モジュールは、自モジュールの上位のモジュールから出力されて前記バイパス・バッファの入力側に伝送される出力信号を入力バッファを通して受信信号RXDとして取り込む受信処理回路と、自モジュールからの出力信号を出力バッファを通して前記バイパス・バッファの出力側に載せる送信処理回路と、前記バイパス・バッファによる伝送信号のバイパス/抑止の切換制御に前記バイパス・バッファに与えるバイパス・バッファ・イネーブル信号EN1を発生し、自モジュールから前記データバスに載せる伝送信号の出力/抑止の切換制御に前記出力バッファに与える出力バッファ・イネーブル信号EN2を発生するバッファ制御回路とを備えたコンピュータシステムにおいて、
前記各モジュールは、前記出力バッファを通してシステムバスに載せた送信信号TXDをコネクタの別のピンを通して送信リターン信号TXD_Rとして自モジュールに読み返す読み返し用入力バッファと、前記送信リターン信号TXD_Rの変化が無くなり、この状態が設定時間だけ継続したときに送信異常と判定する監視回路を備え、
前記バッファ制御回路は、前記送信異常の判定信号で前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段を備えたことを特徴とする。
(1) A system bus that connects multiple modules in a daisy chain is configured to insert a bypass buffer for each module in the data bus.
Each module connected to the data bus by a connector includes a reception processing circuit that takes in an output signal output from a higher-order module of the module and transmitted to the input side of the bypass buffer as a reception signal RXD through the input buffer, and the module A transmission processing circuit for placing the output signal from the output on the output side of the bypass buffer through an output buffer, and a bypass buffer enable signal EN1 applied to the bypass buffer for switching control of bypass / inhibition of the transmission signal by the bypass buffer And a buffer control circuit for generating an output buffer enable signal EN2 to be provided to the output buffer for switching control of output / inhibition of transmission signals carried on the data bus from its own module,
Each of the modules eliminates a change in the transmission return signal TXD_R, and a read back input buffer that reads the transmission signal TXD loaded on the system bus through the output buffer to the module as a transmission return signal TXD_R through another pin of the connector. Equipped with a monitoring circuit that determines a transmission error when the state continues for a set time,
The buffer control circuit inactivates the output buffer enable signal EN2 in response to the transmission abnormality determination signal to disconnect the output buffer from the system bus, and activates the bypass buffer enable signal EN1 to activate the bypass buffer. It is characterized by having a means for making the bypass state.
(2)電源投入時の自モジュールの異常発生診断とバスからの切り離し手段として、
前記バッファ制御回路は、前記バイパス・バッファ・イネーブル信号EN1をインアクティブ、前記出力バッファ・イネーブル信号EN2をアクティブにしてシステムバスヘ接続する手段を設け、
前記受信処理回路は、前記受信信号RXDに代えて前記読み返し信号TXD_Rをマルチプレクサで選択して取り込み、この信号と前記送信信号TXDとの一致/不一致を比較することで送信異常と判定する手段を設け、
前記バッファ制御回路は、前記送信異常の判定信号で前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段を備えたことを特徴とする。
(2) As a means for diagnosing abnormalities in the module when the power is turned on and disconnecting from the bus,
The buffer control circuit includes means for inactivating the bypass buffer enable signal EN1 and activating the output buffer enable signal EN2 to connect to the system bus,
The reception processing circuit is provided with means for selecting the read-back signal TXD_R by a multiplexer instead of the reception signal RXD, and determining a transmission abnormality by comparing a match / mismatch between the signal and the transmission signal TXD. ,
The buffer control circuit inactivates the output buffer enable signal EN2 in response to the transmission abnormality determination signal to disconnect the output buffer from the system bus, and activates the bypass buffer enable signal EN1 to activate the bypass buffer. It is characterized by having a means for making the bypass state.
(3)複数のモジュール間をディジーチェーン接続するシステムバスは、データバスにモジュール毎のバイパス・バッファを介挿し、
前記データバスにコネクタ接続する各モジュールは、自モジュールの上位のモジュールから出力されて前記バイパス・バッファの入力側に伝送される出力信号を入力バッファを通して受信信号RXDとして取り込む受信処理回路と、自モジュールからの出力信号を出力バッファを通して前記バイパス・バッファの出力側に載せる送信処理回路と、前記バイパス・バッファによる伝送信号のバイパス/抑止の切換制御に前記バイパス・バッファに与えるバイパス・バッファ・イネーブル信号EN1を発生し、自モジュールから前記データバスに載せる伝送信号の出力/抑止の切換制御に前記出力バッファに与える出力バッファ・イネーブル信号EN2を発生するバッファ制御回路とを備えたコンピュータシステムにおいて、
前記各モジュールは、上位モジュールからの受信信号RXDの変化が無くなり、この状態が設定時間tR1だけ継続したときに異常発生信号RXD_ERR1を該上位モジュールに出力する監視回路を備え、
前記バッファ制御回路は、
下位のモジュールから前記異常発生信号RXD_ERR1を受けたときに前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段と、
前記バイパス・バッファのバイパス状態で、異常発生信号RXD_ERR1を受けたときから一定時間tT2経過後に該受信異常信号RXD_ERR1が受信異常無しのときは異常発生による自モジュールのバス切り離しを継続し、該受信異常信号RXD_ERR1が受信異常有りのときは自モジュールをシステムバスに再接続する手段とを備えたことを特徴とする。
(3) A system bus that connects multiple modules in a daisy chain is configured to insert a bypass buffer for each module in the data bus.
Each module connected to the data bus by a connector includes a reception processing circuit that takes in an output signal output from a higher-order module of the module and transmitted to the input side of the bypass buffer as a reception signal RXD through the input buffer, and the module A transmission processing circuit for placing the output signal from the output on the output side of the bypass buffer through an output buffer, and a bypass buffer enable signal EN1 applied to the bypass buffer for switching control of bypass / inhibition of the transmission signal by the bypass buffer And a buffer control circuit for generating an output buffer enable signal EN2 to be provided to the output buffer for switching control of output / inhibition of transmission signals carried on the data bus from its own module,
Each of the modules includes a monitoring circuit that outputs the abnormality occurrence signal RXD_ERR1 to the upper module when the change of the reception signal RXD from the upper module disappears and this state continues for the set time tR1.
The buffer control circuit includes:
When receiving the abnormality occurrence signal RXD_ERR1 from the lower module, the output buffer enable signal EN2 is made inactive to disconnect the output buffer from the system bus, and the bypass buffer enable signal EN1 is made active to make the bypass buffer enable signal END inactive. Means for bypassing the buffer;
When the reception abnormality signal RXD_ERR1 has no reception abnormality after a lapse of a predetermined time tT2 from the time when the abnormality occurrence signal RXD_ERR1 is received in the bypass buffer bypass state, the module disconnection of the own module due to the abnormality occurrence is continued, and the reception abnormality And means for reconnecting the own module to the system bus when the signal RXD_ERR1 has a reception abnormality.
以上のとおり、本発明によれば、自モジュールからの送信信号をシステムバスを通して読み返すことで送信系回路の異常監視を行い、または下位のスロットに接続されたモジュールの受信系回路の異常発生信号をチェックすることで送信系回路の異常監視を行い、これらの監視で送信系回路が故障と判断した場合は故障モジュールをシステムバスから切り離すようにしたため、モジュールの送信系回路の故障を検出でき、この検出で故障モジュールをシステムバスから確実に切り離してシステムバス全体の通信機能を確保できる。 As described above, according to the present invention, the transmission signal from the own module is read back through the system bus to monitor the abnormality of the transmission system circuit, or the abnormality occurrence signal of the reception system circuit of the module connected to the lower slot is detected. By checking for abnormalities in the transmission system circuit, if it is determined that the transmission system circuit is faulty, the faulty module is disconnected from the system bus. The faulty module can be reliably separated from the system bus by detection, and the communication function of the entire system bus can be secured.
(実施形態1)
図1は、本発明の実施形態を示すバス接続/切り離し装置の回路構成図であり、図10と同等の部分は同一符号で示す。
(Embodiment 1)
FIG. 1 is a circuit configuration diagram of a bus connection / disconnection device showing an embodiment of the present invention, and parts equivalent to those in FIG. 10 are denoted by the same reference numerals.
図1において、出力バッファ13を通してシステムバスに載せた送信信号TXDはコネクタの別のピンを通して送信リターン信号TXD_Rとして読み返し用入力バッファ16が自モジュール内に読み返す。モジュール(4Aとする)内ではTXD_R信号を監視回路17に取り込むと共に、マルチプレクサ18の一方の入力とする。監視回路17は読み返した送信リターン信号TXD_Rの時間監視によって送信系回路の異常の有無を監視し、この監視で異常有りと判定した場合には出力信号TXD_ERRをバッファ制御回路19に入力する。一方、マルチプレクサ18では入力バッファ12を通して受信された入力データ信号RXDと送信リターン信号TXD_Rを切り替えて受信処理回路20へ入力する。
In FIG. 1, the transmission signal TXD loaded on the system bus through the
図2は送信系回路の異常時の動作タイミングチャートを示し、この図を参照してモジュールの監視と切り離し制御を説明する。まず、モジュール4Aの接続状態では、入力バッファ12を通した受信信号RXDをマルチプレクサ18を通して受信処理回路20に受信し、この受信によって送信処理回路21から出力バッファ13を通して送信信号TXDを送信する。
FIG. 2 shows an operation timing chart when the transmission system circuit is abnormal, and the module monitoring and disconnection control will be described with reference to this figure. First, in the connected state of the
この送信において、送信信号TXDは送信リターン信号TXD_Rとして読み返し用入力バッファ16を通して監視回路17およびマルチプレクサ18に読み返される。このとき、監視回路17は、送信リターン信号TXD_Rの変化が無くなり、LレベルまたはHレベルの状態が設定時間tT1だけ継続したときに送信異常と判定して出力信号TXD_ERRをHレベルにする。 In this transmission, the transmission signal TXD is read back to the monitoring circuit 17 and the multiplexer 18 through the read back input buffer 16 as a transmission return signal TXD_R. At this time, the monitoring circuit 17 determines that there is a transmission abnormality when the transmission return signal TXD_R does not change and the L level or H level state continues for the set time tT1, and sets the output signal TXD_ERR to the H level.
バッファ制御回路19では出力信号TXD_ERRがHレベルになると出力バッファ・イネーブル信号EN2をHレベル(インアクティブ)にして出力バッファ13でシステムバスから切り離し、バイパス・バッファ・イネーブル信号EN1をLレベル(アクティブ)にしてベース上のバイパス・バッファ11をデータバイパス状態にする。
In the
これにより、システムバスからはモジュール4Aが切り離され、正常に通信を継続する。そして、バイパス・バッファ11がバイパス状態になると監視回路の出力信号TXD_ERRはLになるため、この出力信号TXD_ERRがL→Hの変化で異常をラッチすることにより再度システムバスヘの接続を回避させる。
As a result, the
また、電源投入時の自モジュールの異常発生診断とバスからの切り離しには、バッファ制御回路19がバイパス・バッファ・イネーブル信号EN1をH、出力バッファ・イネーブル信号EN2をLにしてシステムバスヘ接続した後、受信処理回路20がマルチプレクサ18で読み返し信号TXD_Rを選択して受信回路に取り込み、この信号と送信信号TXDとの一致/不一致を比較することで送信正常/異常を判定し、送信異常の場合にはバッファ制御回路19は、出力バッファ・イネーブル信号EN2をHにして前記出力バッファをシステムバスから切り離し、バイパス・バッファ・イネーブル信号EN1をLにしてバイパス・バッファ11をバイパス状態にすることができる。
In order to diagnose the abnormality of the own module at the time of power-on and disconnect from the bus, the
(実施形態2)
本実施形態の構成を図3に示す。同図が図1と異なる部分は、受信信号RXDの監視回路22は時限が異なる2つのタイマを持ち、この監視回路22の出力信号RXD_ERR1はシステムバスを通して上位のスロットのバッファ制御回路(19)に入力され、また、監視回路22の出力信号RXD_ERR2は自モジュール内のバッファ制御回路19に入力される。
(Embodiment 2)
The configuration of the present embodiment is shown in FIG. 1 differs from FIG. 1 in that the monitoring circuit 22 for the received signal RXD has two timers with different time limits, and the output signal RXD_ERR1 of the monitoring circuit 22 is sent to the buffer control circuit (19) in the upper slot through the system bus. The output signal RXD_ERR2 of the monitoring circuit 22 is input to the
図4は送信系回路の異常時の動作タイミングチャートを示し、この図を参照してモジュールの異常発生監視と切り離し制御を説明する。まず、スロットNに実装されたモジュール(4Aとする)の送信系回路に故障が発生したとき(時刻t1)、スロットN+1に実装されたモジュール(4Bとする)の監視回路(22)は受信信号RXDの変化が無くなり、LレベルまたはHレベルの状態が設定時間tR1だけ継続したときに受信異常信号RXD_ERR1をHレベルにする(時刻t2)。 FIG. 4 shows an operation timing chart when the transmission system circuit is abnormal, and the module abnormality monitoring and disconnection control will be described with reference to this figure. First, when a failure occurs in the transmission system circuit of the module (referred to as 4A) mounted in the slot N (time t1), the monitoring circuit (22) of the module (referred to as 4B) mounted in the slot N + 1 receives the received signal. When the RXD does not change and the L level or H level state continues for the set time tR1, the reception abnormality signal RXD_ERR1 is set to the H level (time t2).
バッファ制御回路19では受信異常信号RXD_ERR1がHレベルになると自回路内の異常フラグERR_FLGをHレベルにセットする。異常フラグERR_FLGがHレベルになると、イネーブル信号EN2をHレベルにしてシステムバスからモジュール4Aを切り離し、イネーブル信号EN1をLレベルにしてベース上のバイパス・バッファ11をバイパス状態にする。これにより、システムバスはモジュール4Aを除き、正常に通信を継続する。
When the reception abnormality signal RXD_ERR1 becomes H level, the
バイパス・バッファ11がバイパス状態になると、下位のモジュール(スロット)からの受信異常信号RXD_ERR1は再び受信異常無しのLレベルになる(時刻t3)。一方、バッファ制御回路19内の異常フラグERR_FLGがHレベルにセットされてから一定時間tT2の経過後にバッファ制御回路19内のチェック信号CHK_FLGをHレベルにする(時刻t4)。このタイミングで受信異常信号RXD_ERR1をチェックし、Lレベルであれば異常フラグERR_FLGをHレベルのまま保持し、異常発生による切り離しを継続する。
When the
次に、下位のスロットN+1に実装したモジュールの受信系回路の異常時の動作タイミングチャートを図5に示す。下位のスロットN+1のモジュール4Bでは受信系回路が故障し(時刻t1)、時間tR1後に受信異常信号RXD_ERR1をHレベルにする(時刻t2)。さらに、時間tR2後に受信異常信号RXD_ERR2をHレベルにして、バッファ制御回路(19)が自モジュール4Bをバスから切り離す(時刻t5)。
Next, FIG. 5 shows an operation timing chart when the reception system circuit of the module mounted in the lower slot N + 1 is abnormal. In the
スロットNのモジュール4Aでは受信異常信号RXD_ERRlがHレベルになると、バッファ制御回路19内のフラグERR_FLGをHレベルにセットし、バッファ制御回路19によりイネーブル信号EN2をHレベルにしてシステムバスからモジュール4Aを一旦切り離す(時刻t2)。この後、時間tT2後に受信異常信号RXD_ERR1をチェックし、Hレベル(受信異常有り)のままであれば、スロットN+1の受信系故障と判断し、モジュール4Aをシステムバスに再接続する(時刻t4)。
In the
1 ベース
2 電源モジュール
3 CPUモジュール
4A〜4N 機能モジュール/IOモジュール
11 バイパス・バッファ
12 入力バッファ
13 出力バッファ
14 内部回路
15プルダウン抵抗
16 読み返し用入力バッファ
17、22 監視回路
18 マルチプレクサ
19 バッファ制御回路
20 受信処理回路
21 送信処理回路
DESCRIPTION OF
Claims (3)
前記データバスにコネクタ接続する各モジュールは、自モジュールの上位のモジュールから出力されて前記バイパス・バッファの入力側に伝送される出力信号を入力バッファを通して受信信号RXDとして取り込む受信処理回路と、自モジュールからの出力信号を出力バッファを通して前記バイパス・バッファの出力側に載せる送信処理回路と、前記バイパス・バッファによる伝送信号のバイパス/抑止の切換制御に前記バイパス・バッファに与えるバイパス・バッファ・イネーブル信号EN1を発生し、自モジュールから前記データバスに載せる伝送信号の出力/抑止の切換制御に前記出力バッファに与える出力バッファ・イネーブル信号EN2を発生するバッファ制御回路とを備えたコンピュータシステムにおいて、
前記各モジュールは、前記出力バッファを通してシステムバスに載せた送信信号TXDをコネクタの別のピンを通して送信リターン信号TXD_Rとして自モジュールに読み返す読み返し用入力バッファと、前記送信リターン信号TXD_Rの変化が無くなり、この状態が設定時間だけ継続したときに送信異常と判定する監視回路を備え、
前記バッファ制御回路は、前記送信異常の判定信号で前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段を備えたことを特徴とするモジュールのバス接続/切り離し装置。 A system bus that connects multiple modules in a daisy chain is connected to the data bus by a bypass buffer for each module.
Each module connected to the data bus by a connector includes a reception processing circuit that takes in an output signal output from a higher-order module of the module and transmitted to the input side of the bypass buffer as a reception signal RXD through the input buffer, and the module A transmission processing circuit for placing the output signal from the output on the output side of the bypass buffer through an output buffer, and a bypass buffer enable signal EN1 applied to the bypass buffer for switching control of bypass / inhibition of the transmission signal by the bypass buffer And a buffer control circuit for generating an output buffer enable signal EN2 to be given to the output buffer for switching control of output / inhibition of a transmission signal placed on the data bus from its own module,
Each of the modules eliminates the change of the transmission return signal TXD_R, and the read input buffer for reading back the transmission signal TXD loaded on the system bus through the output buffer to the module as the transmission return signal TXD_R through another pin of the connector. Equipped with a monitoring circuit that determines a transmission error when the state continues for a set time,
The buffer control circuit inactivates the output buffer enable signal EN2 in response to the transmission abnormality determination signal to disconnect the output buffer from the system bus, and activates the bypass buffer enable signal EN1 to activate the bypass buffer. A module bus connecting / disconnecting device comprising means for bypassing the module.
前記バッファ制御回路は、前記バイパス・バッファ・イネーブル信号EN1をインアクティブ、前記出力バッファ・イネーブル信号EN2をアクティブにしてシステムバスヘ接続する手段を設け、
前記受信処理回路は、前記受信信号RXDに代えて前記読み返し信号TXD_Rをマルチプレクサで選択して取り込み、この信号と前記送信信号TXDとの一致/不一致を比較することで送信異常と判定する手段を設け、
前記バッファ制御回路は、前記送信異常の判定信号で前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段を備えたことを特徴とする請求項1に記載のモジュールのバス接続/切り離し装置。 As a means of diagnosing the occurrence of an error in the module at power-on and disconnecting from the bus,
The buffer control circuit includes means for inactivating the bypass buffer enable signal EN1 and activating the output buffer enable signal EN2 to connect to the system bus,
The reception processing circuit is provided with means for selecting the read-back signal TXD_R by a multiplexer instead of the reception signal RXD, and determining a transmission abnormality by comparing a match / mismatch between the signal and the transmission signal TXD. ,
The buffer control circuit inactivates the output buffer enable signal EN2 in response to the transmission abnormality determination signal to disconnect the output buffer from the system bus, and activates the bypass buffer enable signal EN1 to activate the bypass buffer. 2. The module bus connection / disconnection device according to claim 1, further comprising means for bypassing the module.
前記データバスにコネクタ接続する各モジュールは、自モジュールの上位のモジュールから出力されて前記バイパス・バッファの入力側に伝送される出力信号を入力バッファを通して受信信号RXDとして取り込む受信処理回路と、自モジュールからの出力信号を出力バッファを通して前記バイパス・バッファの出力側に載せる送信処理回路と、前記バイパス・バッファによる伝送信号のバイパス/抑止の切換制御に前記バイパス・バッファに与えるバイパス・バッファ・イネーブル信号EN1を発生し、自モジュールから前記データバスに載せる伝送信号の出力/抑止の切換制御に前記出力バッファに与える出力バッファ・イネーブル信号EN2を発生するバッファ制御回路とを備えたコンピュータシステムにおいて、
前記各モジュールは、上位モジュールからの受信信号RXDの変化が無くなり、この状態が設定時間tR1だけ継続したときに異常発生信号RXD_ERR1を該上位モジュールに出力する監視回路を備え、
前記バッファ制御回路は、
下位のモジュールから前記異常発生信号RXD_ERR1を受けたときに前記出力バッファ・イネーブル信号EN2をインアクティブにして前記出力バッファをシステムバスから切り離し、前記バイパス・バッファ・イネーブル信号EN1をアクティブにして前記バイパス・バッファをバイパス状態にする手段と、
前記バイパス・バッファのバイパス状態で、異常発生信号RXD_ERR1を受けたときから一定時間tT2経過後に該受信異常信号RXD_ERR1が受信異常無しのときは異常発生による自モジュールのバス切り離しを継続し、該受信異常信号RXD_ERR1が受信異常有りのときは自モジュールをシステムバスに再接続する手段とを備えたことを特徴とするモジュールのバス接続/切り離し装置。 A system bus that connects multiple modules in a daisy chain is connected to the data bus by a bypass buffer for each module.
Each module connected to the data bus by a connector includes a reception processing circuit that takes in an output signal output from a higher-order module of the module and transmitted to the input side of the bypass buffer as a reception signal RXD through the input buffer, and the module A transmission processing circuit for placing the output signal from the output on the output side of the bypass buffer through an output buffer, and a bypass buffer enable signal EN1 applied to the bypass buffer for switching control of bypass / inhibition of the transmission signal by the bypass buffer And a buffer control circuit for generating an output buffer enable signal EN2 to be given to the output buffer for switching control of output / inhibition of a transmission signal placed on the data bus from its own module,
Each of the modules includes a monitoring circuit that outputs the abnormality occurrence signal RXD_ERR1 to the upper module when the change of the reception signal RXD from the upper module disappears and this state continues for the set time tR1.
The buffer control circuit includes:
When receiving the abnormality occurrence signal RXD_ERR1 from the lower module, the output buffer enable signal EN2 is made inactive to disconnect the output buffer from the system bus, and the bypass buffer enable signal EN1 is made active to make the bypass buffer enable signal END inactive. Means for bypassing the buffer;
When the reception abnormality signal RXD_ERR1 has no reception abnormality after a lapse of a predetermined time tT2 from the time when the abnormality occurrence signal RXD_ERR1 is received in the bypass buffer bypass state, the module disconnection of the own module due to the abnormality occurrence is continued, and the reception abnormality A module bus connecting / disconnecting device comprising means for reconnecting the own module to the system bus when the signal RXD_ERR1 is abnormally received.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009085918A JP2010238000A (en) | 2009-03-31 | 2009-03-31 | Device for bus connection/disconnection of module |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009085918A JP2010238000A (en) | 2009-03-31 | 2009-03-31 | Device for bus connection/disconnection of module |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010238000A true JP2010238000A (en) | 2010-10-21 |
Family
ID=43092253
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009085918A Pending JP2010238000A (en) | 2009-03-31 | 2009-03-31 | Device for bus connection/disconnection of module |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010238000A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017068796A (en) * | 2015-10-02 | 2017-04-06 | 株式会社ジェイテクト | Programmable controller |
| CN110768815A (en) * | 2018-07-27 | 2020-02-07 | 汉能移动能源控股集团有限公司 | Method for switching signal line and solar energy system |
| EP3703320A1 (en) | 2019-02-28 | 2020-09-02 | Kabushiki Kaisha Yaskawa Denki | Slave device and communication system |
-
2009
- 2009-03-31 JP JP2009085918A patent/JP2010238000A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017068796A (en) * | 2015-10-02 | 2017-04-06 | 株式会社ジェイテクト | Programmable controller |
| CN110768815A (en) * | 2018-07-27 | 2020-02-07 | 汉能移动能源控股集团有限公司 | Method for switching signal line and solar energy system |
| CN110768815B (en) * | 2018-07-27 | 2023-10-10 | 东君新能源有限公司 | Methods of switching signal lines and solar systems |
| EP3703320A1 (en) | 2019-02-28 | 2020-09-02 | Kabushiki Kaisha Yaskawa Denki | Slave device and communication system |
| US11245548B2 (en) | 2019-02-28 | 2022-02-08 | Kabushiki Kaisha Yaskawa Denki | Slave device and communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2206293B1 (en) | System and method for signal failure detection in a ring bus system | |
| CN102713773A (en) | Security module for an automation device | |
| CN103425542B (en) | There is the safety detecting system of integrated diagnosis function | |
| US8509057B2 (en) | Communication system, test apparatus, communication apparatus, communication method and test method | |
| KR20150018993A (en) | Apparatus and Method for implementing fail safe in Battery Management System | |
| JP2010238000A (en) | Device for bus connection/disconnection of module | |
| US20160149835A1 (en) | Relay Apparatus | |
| CN120723521B (en) | Server and control methods | |
| US10621024B2 (en) | Signal pairing for module expansion of a failsafe computing system | |
| JP2012068907A (en) | Bus connection circuit and bus connection method | |
| KR101512921B1 (en) | Programmable logic controller | |
| CN106446311B (en) | CPU alarm circuit and alarm method | |
| CN112291128A (en) | Bus-based communication system, system on chip, and method therefor | |
| JP5234374B2 (en) | Differential signal transmission circuit, disk array controller, and differential signal transmission cable | |
| US20190266055A1 (en) | Electronic data-distribution control unit and method for operating such a control unit | |
| JP5040466B2 (en) | Data processing system | |
| JPH1165603A (en) | Duplex process input / output device | |
| US11973636B2 (en) | Performing network communication regardless of state of network connected device | |
| JP2009187284A (en) | Inter-board connection monitoring device | |
| JP4935336B2 (en) | System bus interface | |
| JP2007293678A (en) | Shared bus connection diagnostic device | |
| JPH11338594A (en) | Defective contact detecting circuit | |
| CN113939467B (en) | Device for connecting to controls of personnel transport equipment | |
| JP2007171019A (en) | Electronic circuit and connection diagnostic circuit | |
| WO2016202390A1 (en) | Power generation plant monitoring apparatus and monitoring system |