JPH05127777A - Substrate insertion and extraction in hot-line state - Google Patents

Substrate insertion and extraction in hot-line state

Info

Publication number
JPH05127777A
JPH05127777A JP3289726A JP28972691A JPH05127777A JP H05127777 A JPH05127777 A JP H05127777A JP 3289726 A JP3289726 A JP 3289726A JP 28972691 A JP28972691 A JP 28972691A JP H05127777 A JPH05127777 A JP H05127777A
Authority
JP
Japan
Prior art keywords
hot
connector
board
cpu
swap
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.)
Granted
Application number
JP3289726A
Other languages
Japanese (ja)
Other versions
JP2630520B2 (en
Inventor
Koji Oikawa
浩司 及川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3289726A priority Critical patent/JP2630520B2/en
Publication of JPH05127777A publication Critical patent/JPH05127777A/en
Application granted granted Critical
Publication of JP2630520B2 publication Critical patent/JP2630520B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Mounting Of Printed Circuit Boards And The Like (AREA)

Abstract

PURPOSE:To prevent turbulence from being generated on a bus line when a bus-connected substrate is inserted or extracted. CONSTITUTION:The substrate which is connected to the bus of a CPU and a power source through a 1st connector 1 is equipped with a 2nd connector 2 for supplying electric power, a switch 3 which is operated at the time of insertion or extraction of the substrate in hot-line state, an interruption initiating circuit 4 which initiates an interruption to the CPU when the switch 3 is operated, a 1st attachment/detachment detecting circuit 5 which generates a 1st connector attachment/detachment signal when the 1st connector 1 is connected, a 2nd attachment/detachment detecting circuit 6 which generates a 2nd connector attachment/detachment signal when the 2nd connector 2 is connected, a write register 7 which holds the permission for insertion or extraction of the CPU in the hot-line state and generates insertion/extraction permission signal, and a bus driver control circuit 9 which holds a bus driver 8 high in impedance with the 1st connector insertion/extraction signal, 2nd connector insertion/ extraction signal, and insertion/extraction in hot-line state permission signal; when the CPU issues the permission for insertion or extraction in hot-line state, bus access is stopped.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、基板を活線状態で挿抜
する方式に関し、特にバス接続された基板を挿抜する際
に、バスライン上に擾乱が発生することを防止した、基
板活線挿抜方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for inserting and removing a board in a hot line state, and more particularly, a method for preventing a disturbance from occurring on a bus line when inserting and removing a board connected to a bus. It relates to the insertion / removal method.

【0002】CPUを用いた制御装置等においては、そ
の回路を複数の基板に分割して、基板間をバス接続する
方式が多く用いられている。このような場合、その中の
1枚の基板に障害が発生した場合、そのために装置全体
を停止させるのは非常に効率が悪いので、活線状態でそ
の基板を抜き取って、修理または交換を行ない、その
後、再び活線状態で良品の基板を挿入することによって
障害を復旧する、基板活線挿抜方式がとられる。
In a control device or the like using a CPU, a method is often used in which the circuit is divided into a plurality of boards and the boards are connected by a bus. In such a case, if one of the substrates fails, it is very inefficient to stop the entire device for that reason. Therefore, the substrate is pulled out in a live state and repaired or replaced. After that, a hot-plugging and unplugging method of the board is adopted in which a good board is inserted again in a hot-line state to restore the fault.

【0003】このような基板活線挿抜方式においては、
基板の挿抜に伴ってバス上にノイズが発生することがな
く、従って他の動作中の基板の、正常動作を妨げないも
のであることが要望される。
In such a hot-plugging method for the substrate,
It is desired that noise does not occur on the bus when the board is inserted / pulled out, so that normal operation of the board during other operations is not hindered.

【0004】[0004]

【従来の技術】活線状態で基板の挿抜を行なう際に、バ
スライン上に擾乱を与えないようにするために有効な方
法として、従来、知られているのは、挿抜時にも基板に
電源を供給することによって、基板上のバスドライバを
ハイインピーダンス状態に保つ方法である。
2. Description of the Related Art When inserting or removing a board in a hot line state, a method known to be effective in order to prevent disturbance on the bus line is that a power supply is applied to the board during insertion and removal. Is to maintain the bus driver on the substrate in a high impedance state.

【0005】そのためには、基板に挿抜時の電源供給用
コネクタを設けて、可撓性のケーブルを介して電源を接
続したまま、基板を挿抜できるようにする必要がある
が、このような活線挿抜の方法については、従来、種々
の提案がなされている。
To this end, it is necessary to provide a connector for power supply at the time of insertion / removal on the board so that the board can be inserted / removed while the power source is connected via a flexible cable. Various proposals have heretofore been made regarding the wire insertion / extraction method.

【0006】図5は、従来の基板活線挿抜方式の一例を
示したものであって、11は基板を示し、実装状態で
は、バス接続用のコネクタ(A)12を介して、バック
ボード側のバスおよび電源5Vと接地GNDとに接続さ
れるようになっている。
FIG. 5 shows an example of a conventional hot-swap method for a board, in which 11 is a board, and in a mounted state, a backboard side is provided via a connector (A) 12 for bus connection. And the power supply 5V and the ground GND.

【0007】基板11をコネクタ(A)12に対して挿
抜する際には、活線挿抜時電源供給用のコネクタ(B)
13を接続することによって、電源5Vと接地GNDと
を接続して、動作用の電源を供給する。そしてスイッチ
14を操作して、バスドライバ15に対して、ローレベ
ルの入力を与えることによって、これをハイインピーダ
ンス状態に保持して、この状態で基板11の挿抜を行な
う。バスドライバ15は、コネクタ(A)12を介して
バスに接続されているが、ハイインピーダンス状態に保
持されているので、基板11の挿抜によってバス上にノ
イズを発生することはない。
When the board 11 is inserted into or removed from the connector (A) 12, the connector (B) for supplying power during hot-line insertion and removal.
By connecting 13, the power supply 5V and the ground GND are connected to supply power for operation. Then, the switch 14 is operated to give a low level input to the bus driver 15 to hold it in a high impedance state, and the board 11 is inserted and removed in this state. Although the bus driver 15 is connected to the bus via the connector (A) 12, it is held in a high impedance state, and therefore noise is not generated on the bus when the board 11 is inserted and removed.

【0008】図6は、従来の基板活線挿抜方式の他の例
を示したものであって、図5におけると同じものを同じ
番号で示し、16はコネクタ(B)13の接続時におけ
る、電源5Vの存在を検出するための電圧検出部であ
る。
FIG. 6 shows another example of the conventional board hot-swap system, in which the same parts as those in FIG. 5 are designated by the same reference numerals, and 16 is the one when the connector (B) 13 is connected, It is a voltage detection unit for detecting the presence of the power supply 5V.

【0009】この例では、活線挿抜時電源供給用のコネ
クタ(B)を接続することによって、電圧検出部16
は、電源5Vの存在を検出して出力を発生する。バスド
ライバ15は、電圧検出部16の出力によって、ハイイ
ンピーダンス状態に保持されるので、この状態で基板1
1の挿抜を行なう。
In this example, the voltage detector 16 is connected by connecting the connector (B) for supplying power during hot plugging and unplugging.
Detects the presence of a 5V power supply and produces an output. The bus driver 15 is held in a high-impedance state by the output of the voltage detection unit 16, so that in this state the substrate 1
Insert and remove 1.

【0010】このように従来の基板活線挿抜方式では、
コネクタ(B)を接続することによって、またはさらに
スイッチを操作することによって、バスに接続されるバ
スドライバをハイインピーダンス状態にすることができ
るので、この状態で基板を挿抜すれば、バスに擾乱を与
えることはない。基板の挿抜時にコネクタ(B)に接続
する電源は、その装置の主電源部や、外部の電源装置か
ら供給される。
As described above, in the conventional hot-plugging method for the substrate,
The bus driver connected to the bus can be brought to a high impedance state by connecting the connector (B) or further operating the switch. Therefore, if the board is inserted and removed in this state, the bus is disturbed. Never give. The power to be connected to the connector (B) when the board is inserted / removed is supplied from the main power supply unit of the device or an external power supply device.

【0011】[0011]

【発明が解決しようとする課題】図5および図6に示さ
れたような従来の基板活線挿抜方式では、バスドライバ
をハイインピーダンス状態に保持するためには、スイッ
チ操作または活線挿抜時電源供給用のコネクタの接続
を、例えば手動操作によって機械的に行なうことが必要
である。
In the conventional board hot-swap method as shown in FIGS. 5 and 6, in order to keep the bus driver in a high impedance state, a switch operation or a power supply at hot-swap is used. It is necessary to connect the supply connector mechanically, for example by manual operation.

【0012】一方、基板に対するCPUのバスアクセス
が行なわれても、通常は、これを外部から認識すること
ができない。そのため、基板に対するバスアクセス中に
挿抜が行なわれて、バスドライバがハイインピーダンス
状態になる可能性があるが、このような場合、CPUの
正常動作は保証されないことになるという問題があっ
た。
On the other hand, even if the CPU makes a bus access to the board, it is usually impossible to recognize this from the outside. Therefore, there is a possibility that the bus driver is put into the high-impedance state while being inserted / removed during the bus access to the board, but in such a case, there is a problem that the normal operation of the CPU cannot be guaranteed.

【0013】また、活線挿抜を行なう基板に対して電源
を供給するために、装置の主電源部に接続用のコネクタ
を設けたり、またはそのために、外部電源を用意するこ
とが必要であった。
Further, in order to supply power to the board for hot-plugging and unplugging, it is necessary to provide a connector for connection in the main power source of the apparatus, or to prepare an external power source for that purpose. ..

【0014】本発明はこのような従来技術の課題を解決
しようとするものであって、バスアクセス中に、バスド
ライバをハイインピーダンス状態にすることがないよう
にして、基板の活線挿抜時のCPUの誤動作を防止でき
るようにするとともに、電源供給用として主電源部に接
続するコネクタを設けたり、または外部電源を用意する
必要がないようにすることを目的としている。
The present invention is intended to solve such a problem of the prior art, and prevents the bus driver from being in a high impedance state during bus access so that the board is hot-swapped. It is an object of the present invention to prevent malfunction of the CPU, and to eliminate the need for providing a connector for connecting to the main power supply unit for power supply or preparing an external power supply.

【0015】[0015]

【課題を解決するための手段】図1は、本発明の原理的
構成を示したものである。本発明は、CPUに接続され
た共通バスと電源にそれぞれ第1のコネクタ1を介して
接続される複数の基板において、基板に電源を供給する
第2のコネクタ2と、基板の活線挿抜時操作を行なうス
イッチ3と、スイッチ3の操作時CPUに対する割り込
みを発生する割り込み発生回路4と、第1のコネクタ1
が接続されていることを検出して第1のコネクタ着脱信
号を発生する第1の着脱検出回路5と、第2のコネクタ
2が接続されていることを検出して第2のコネクタ着脱
信号を発生する第2の着脱検出回路6と、基板の活線挿
抜を許可するCPUからの活線挿抜許可を保持して活線
挿抜許可信号を発生するライトレジスタ7と、第1のコ
ネクタ着脱信号と、第2のコネクタ着脱信号と、活線挿
抜許可信号とのそれぞれの状態から所定の論理に基づい
て共通バスに接続されたバスドライバ8をハイインピー
ダンス状態にするバスドライバ制御回路9とを備え、活
線挿抜許可の発行時、CPUがバスアクセスを停止する
ことによって、基板の活線状態での挿抜を可能にするも
のである。
FIG. 1 shows the basic configuration of the present invention. The present invention relates to a plurality of boards which are connected to a common bus connected to a CPU and a power supply through a first connector 1, respectively, and a second connector 2 which supplies power to the boards and a hot plug of the boards. A switch 3 for operating, an interrupt generating circuit 4 for generating an interrupt to the CPU when the switch 3 is operated, and a first connector 1
Is detected to generate a first connector attachment / detachment signal and a second connector 2 is detected to detect a second connector attachment / detachment signal. A second connection / disconnection detection circuit 6 that is generated; a write register 7 that generates a hot-swap permission signal by holding a hot-swap permission from a CPU that permits hot-swap of a board; A bus driver control circuit 9 that puts the bus driver 8 connected to the common bus into a high-impedance state based on a predetermined logic from the respective states of the second connector attachment / detachment signal and the hot-swap permission signal. When the hot-swap permission is issued, the CPU stops the bus access so that the board can be hot-swapped.

【0016】また本発明は、上記の発明において、第2
のコネクタ2が、基板内から電源供給を行なう回路と、
基板に対して電源供給を受ける回路とを有し、挿抜を行
なわない基板と挿抜を行なう基板とにおけるそれぞれの
コネクタ2をケーブルを介して接続することによって、
挿抜を行なわない基板から挿抜を行なう基板に電源を供
給するものである。
The present invention also provides the second invention in the above-mentioned invention.
Connector 2 of the circuit, which supplies power from inside the board,
A circuit for receiving power supply to the board, and connecting the respective connectors 2 of the board not to be inserted and removed and the board to be inserted and removed via a cable,
The power is supplied from the board which is not inserted and removed to the board which is inserted and removed.

【0017】さらに本発明は、これらの場合に、割り込
み発生回路4からの割り込みに基づくCPUからの活線
挿抜許可の発生が、CPUにおけるソフトウェア制御に
基づいて行なわれるものである。
Further, according to the present invention, in these cases, the generation of the hot-swap permission from the CPU based on the interrupt from the interrupt generation circuit 4 is performed based on the software control in the CPU.

【0018】[0018]

【作用】CPUに接続された共通バスと電源にそれぞれ
第1のコネクタ1を介して接続される複数の基板におい
て、第2のコネクタ2を設けて、基板に電源を供給す
る。基板に設けられたスイッチ3の操作時CPUに対す
る割り込みを発生して、この割り込みに基づくCPUか
らの、基板の活線挿抜許可をライトレジスタ7に保持し
て活線挿抜許可信号を発生し、また、第1のコネクタ1
が接続されていることを検出して第1のコネクタ着脱信
号を発生し、第2のコネクタ2が接続されていることを
検出して第2のコネクタ着脱信号を発生する。そして、
第1のコネクタ着脱信号と、第2のコネクタ着脱信号
と、活線挿抜許可信号とのそれぞれの状態から、所定の
論理に基づいて、共通バスに接続されたバスドライバ8
をハイインピーダンス状態にする。
The second connector 2 is provided on each of a plurality of boards which are connected to the common bus connected to the CPU and the power supply via the first connector 1, and the power is supplied to the boards. When the switch 3 provided on the board is operated, an interrupt is generated to the CPU, the hot-plugging permission of the board from the CPU based on this interrupt is held in the write register 7, and a hot-plugging permission signal is generated. , The first connector 1
Is detected to generate a first connector attachment / detachment signal, and the second connector 2 is detected to be connected to generate a second connector attachment / detachment signal. And
A bus driver 8 connected to the common bus based on a predetermined logic from the respective states of the first connector attachment / detachment signal, the second connector attachment / detachment signal, and the hot-swap permission signal.
To high impedance state.

【0019】CPUは基板の活線挿抜許可を発行したと
きは、バスアクセスを停止するので、従ってこの状態で
基板の挿抜を行なうことによって、バスアクセス中に、
バスドライバがハイインピーダンス状態になることはな
く、基板の活線挿抜時におけるCPUの誤動作を防止す
ることができる。
When the CPU issues a hot-line insertion / removal permission of the board, the bus access is stopped. Therefore, by inserting / removing the board in this state, during the bus access,
The bus driver does not enter the high impedance state, and it is possible to prevent the malfunction of the CPU when the board is hot-swapped.

【0020】この場合、第2のコネクタ2が、基板内か
ら電源供給を行なうとともに、基板に対して電源供給を
受けるように構成されているので、挿抜を行なわない基
板と挿抜を行なう基板とにおけるそれぞれのコネクタ2
を、ケーブルを介して接続することによって、挿抜を行
なわない基板から挿抜を行なう基板に電源を供給するこ
とができる。
In this case, since the second connector 2 is configured to supply power from the inside of the board and receive power from the board, the board not to be inserted and removed and the board to be inserted and removed. Each connector 2
Is connected via a cable, it is possible to supply power from a board that is not inserted or removed to a board that is inserted or removed.

【0021】従って本発明によれば、電源供給用として
主電源部に接続するコネクタを設けたり、または外部電
源を用意する必要がない。
Therefore, according to the present invention, there is no need to provide a connector for connecting to the main power source for supplying power or to prepare an external power source.

【0022】なお、これらの場合に、割り込みに基づく
CPUからの活線挿抜許可の発生を、CPUにおけるソ
フトウェア制御に基づいて行なうようにすることができ
る。
In these cases, it is possible to generate the hot-swap permission from the CPU based on the interrupt based on the software control in the CPU.

【0023】[0023]

【実施例】図2は、本発明の一実施例の構成を示したも
のであって、同等の基板21と基板22とが示されてい
るが、基板の数は任意である。以下においては、基板2
1を挿抜を行なう基板とし、基板22を挿抜を行なわな
い基板として説明する。基板21は、バックボード側に
設けられたバス23と接続するためのコネクタ24と、
活線挿抜時電源供給用のコネクタ25とを有している。
基板22も同様の構成を有しているが、図2において
は、活線挿抜時電源供給用のコネクタ26のみが示され
ている。
FIG. 2 shows the structure of an embodiment of the present invention, in which equivalent substrates 21 and 22 are shown, but the number of substrates is arbitrary. In the following, substrate 2
1 will be described as a substrate that is inserted and removed, and the substrate 22 will be described as a substrate that is not inserted and removed. The board 21 includes a connector 24 for connecting to a bus 23 provided on the backboard side,
It has a connector 25 for supplying power during hot plugging and unplugging.
The board 22 has the same structure, but in FIG. 2, only the connector 26 for supplying power during hot-plugging and unplugging is shown.

【0024】図2において、27は活線挿抜用の接続ケ
ーブル、28はCPUに対する割り込み発生操作用のス
イッチ、29はCPUに対する割り込み発生回路、30
1,302 は基板21内のバス、31はCPUからの命令
を書き込むライトレジスタ、32はバスドライバ、、3
3はバスドライバ32のディセーブル,イネーブルを制
御するバスドライバ制御回路、34はバスドライバ32
のハイインピーダンス状態を表示する表示灯、35は抵
抗、36はインバータ、37は抵抗、38はインバータ
である。
In FIG. 2, 27 is a connection cable for hot-line insertion / removal, 28 is a switch for interrupt generation operation for the CPU, 29 is an interrupt generation circuit for the CPU, and 30 is a circuit.
1, 30 2 are buses in the substrate 21, 31 is a write register for writing instructions from the CPU, 32 is a bus driver, 3
Reference numeral 3 is a bus driver control circuit for controlling disabling and enabling of the bus driver 32, and 34 is a bus driver 32.
, 35 is a resistor, 36 is an inverter, 37 is a resistor, and 38 is an inverter.

【0025】また、図3は、バスドライバ制御回路の動
作を説明するものであって、第1のコネクタ着脱信号
,第2のコネクタ着脱信号,活線挿抜許可信号お
よびディセーブル信号の真理値表を示したものであ
る。
FIG. 3 illustrates the operation of the bus driver control circuit, and is a truth table of the first connector attachment / detachment signal, the second connector attachment / detachment signal, the hot-swap permission signal, and the disable signal. Is shown.

【0026】第1のコネクタ着脱信号は、コネクタ2
4が挿入されているとき、“1”となり、第2のコネク
タ着脱信号は、コネクタ25が挿入されているとき、
“1”となる。また活線挿抜許可信号は、CPUから
の活線挿抜許可がライトレジスタ31に書き込まれたと
き、“1”となる。バスドライバのディセーブル信号
は、ディセーブル(ハイインピーダンス状態)時、
“1”となり、イネーブル時、“0”となる。
The first connector attachment / detachment signal is the connector 2
When the connector 25 is inserted, it becomes "1", and when the connector 25 is inserted,
It becomes "1". Also, the hot-swap permission signal becomes “1” when the hot-swap permission from the CPU is written in the write register 31. When the disable signal of the bus driver is disabled (high impedance state),
It becomes "1" and becomes "0" when enabled.

【0027】いま、基板21を引き抜こうとするとき
は、基板21におけるコネクタ25と、基板22におけ
るコネクタ26とを、ケーブル27を用いて接続して、
基板22から基板21側へ電源を供給する。その後、基
板21上のスイッチ28を操作することによって、割り
込み発生回路29から、CPUに対する割り込みを発生
する。この割り込みは、バス23を経て図示されないC
PUへ送られて、基板21において活線挿抜が行なわれ
ることをCPUに通知する。
When the board 21 is to be pulled out, the connector 25 of the board 21 and the connector 26 of the board 22 are connected using a cable 27,
Power is supplied from the substrate 22 to the substrate 21 side. After that, by operating the switch 28 on the substrate 21, the interrupt generation circuit 29 generates an interrupt to the CPU. This interrupt is sent via the bus 23 to C (not shown).
It is sent to the PU to notify the CPU that hot plugging and unplugging will be performed on the board 21.

【0028】CPUは、バスアクセス終了後、バス23
を経て基板21に対する活線挿抜許可を発行する。この
情報は、基板21において、バス301,302 を経てラ
イトレジスタ31に書き込まれる。CPUはその後、バ
スアクセスを停止する。CPUのこのような一連の動作
は、例えばCPUの有するソフトウェアに基づいて行な
われる。
After the bus access is completed, the CPU operates the bus 23
After that, the hot-swap permission for the board 21 is issued. This information is written in the write register 31 on the substrate 21 via the buses 30 1 and 30 2 . The CPU then stops bus access. Such a series of operations of the CPU is performed based on, for example, software included in the CPU.

【0029】バスドライバ制御回路32には、コネクタ
24の接続によって、第1のコネクタ着脱信号が入力
され、コネクタ25,26の接続によって、第2のコネ
クタ着脱信号が入力されている。ライトレジスタ31
に活線挿抜許可が書き込まれたことによって、活線挿抜
許可信号が発生すると、図3において(1)に示され
るように、バスドライバ制御回路33から、バスドライ
バ32に対してディセーブル信号が出力される。これ
によって、バスドライバ32は、ハイインピーダンス状
態となる。これと同時に、バスドライバ制御回路33に
よって、表示灯34が点灯して、活線挿抜可能な状態に
なったことを表示する。
To the bus driver control circuit 32, the first connector attachment / detachment signal is input by connecting the connector 24, and the second connector attachment / detachment signal is input by connecting the connectors 25 and 26. Write register 31
When the hot-swap permission signal is generated because the hot-swap permission is written in, the bus driver control circuit 33 sends a disable signal to the bus driver 32, as indicated by (1) in FIG. Is output. As a result, the bus driver 32 enters a high impedance state. At the same time, the bus driver control circuit 33 turns on the indicator lamp 34 to indicate that the hot-plugging / unplugging is ready.

【0030】この状態で、ケーブル27を接続したま
ま、基板21をコネクタ24から引き抜くと、コネクタ
24からの電源供給は停止するが、コネクタ25から電
源が供給されているので、バスドライバ32をハイイン
ピーダンス状態に保ったまま、基板21を抜きとること
ができる。
In this state, if the board 21 is pulled out from the connector 24 while the cable 27 is still connected, the power supply from the connector 24 is stopped, but since the power is supplied from the connector 25, the bus driver 32 goes high. The substrate 21 can be removed while maintaining the impedance state.

【0031】基板21を挿入するときは、コネクタ24
を接続しない状態で、コネクタ25とコネクタ26の間
をケーブル27で接続して、基板22から電源を供給す
る。これによって、第2のコネクタ着脱信号が発生す
るので、図3において(2)に示されるように、バスド
ライバ制御回路33から、バスドライバ32に対してデ
ィセーブル信号が出力され、バスドライバ32は、ハ
イインピーダンス状態になる。
When inserting the board 21, the connector 24
In a state in which the connector 25 and the connector 26 are not connected, a cable 27 is connected between the connector 25 and the connector 26 to supply power from the substrate 22. As a result, the second connector attachment / detachment signal is generated, so that the bus driver control circuit 33 outputs a disable signal to the bus driver 32, as shown in (2) of FIG. , High impedance state.

【0032】ここでケーブル27を接続したまま、コネ
クタ24を接続することによって、バスドライバ32を
ハイインピーダンス状態に保ったまま、基板21の挿入
を行なうことができる。コネクタ24の接続によって、
第1のコネクタ着脱信号が入力されるので、図3にお
いて(3)に示されるように、バスドライバ制御回路3
3から、バスドライバ32に対するディセーブル信号
の出力が停止され、バスドライバ32はイネーブルとな
って、動作可能な状態となる。
By connecting the connector 24 while connecting the cable 27, the board 21 can be inserted while keeping the bus driver 32 in a high impedance state. By connecting the connector 24,
Since the first connector attachment / detachment signal is inputted, as shown in (3) in FIG. 3, the bus driver control circuit 3
From 3, the output of the disable signal to the bus driver 32 is stopped, the bus driver 32 is enabled, and becomes the operable state.

【0033】なお、活線挿抜時、リセットすることが必
要な他のデバイス等が基板内に含まれているときは、上
述のバスドライバに対するディセーブル信号を利用し
て、これらのデバイスを同時にリセットすることができ
る。
When the board includes other devices that need to be reset during hot-plugging and unplugging, these devices are simultaneously reset using the disable signal for the bus driver. can do.

【0034】図4は、本発明の適用例を示したものであ
って、CPU40を搭載した基板41と、その周辺回路
を搭載した複数の基板42,43,44とが、共通バス
45を介して相互に接続されたシステムが示されてい
る。
FIG. 4 shows an application example of the present invention. A substrate 41 having a CPU 40 mounted thereon and a plurality of substrates 42, 43, 44 having peripheral circuits mounted thereon are connected via a common bus 45. Systems interconnected with each other are shown.

【0035】図4に示されたシステムにおいて、例えば
基板42を活線挿抜する場合には、活線挿抜用接続ケー
ブル46によって、基板42と例えば隣接する基板43
とを接続した状態で、図2の実施例において説明したよ
うな手順で操作を行なうことによって、CPU40のバ
スアクセスになんら支障を与えることなく、基板42の
挿抜を行なうことができる。
In the system shown in FIG. 4, for example, when the board 42 is hot-swapped, the board 43 is adjacent to the board 42 by the hot-swap connection cable 46.
By performing the operation according to the procedure described in the embodiment of FIG. 2 in a state in which and are connected, it is possible to insert and remove the substrate 42 without any trouble in the bus access of the CPU 40.

【0036】なお、活線挿抜用接続ケーブル46を接続
するコネクタを、基板41〜44のすべてに同様に設け
ておくことによって、どの基板を挿抜する場合でも、隣
接する基板との間に活線挿抜用接続ケーブル46を接続
することによって、同様の操作によって、基板の活線挿
抜を行なうことができる。従って、本発明によれば、装
置の主電源部に活線挿抜用接続ケーブルを接続するため
のコネクタを設けたり、またはそのために、外部電源を
用意することが必要でない。
It should be noted that by providing connectors for connecting the hot-swap connection cable 46 to all of the substrates 41 to 44 in the same manner, no matter which of the substrates is to be inserted or removed, the live line between the adjacent substrates will be used. By connecting the connecting / disconnecting connection cable 46, the hot plugging / unplugging of the board can be performed by the same operation. Therefore, according to the present invention, it is not necessary to provide a connector for connecting the hot-swap connection cable to the main power supply unit of the apparatus, or to prepare an external power supply for that purpose.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、バ
スに挿抜可能に接続された複数の基板において、基板の
活線挿抜時、バスドライバをハイインピーダンスにする
タイミングは、CPUのバスアクセス時以外となるの
で、基板の活線挿抜に基づくCPUの誤動作を防止する
ことができるとともに、挿抜しない基板から電源を供給
するので、接続用のケーブルを用意するだけで、活線挿
抜を行なうことが可能となる。
As described above, according to the present invention, in a plurality of boards that are removably connected to a bus, when a board is hot-plugged and unplugged, the timing at which the bus driver is set to high impedance is the bus access of the CPU. It is possible to prevent a malfunction of the CPU due to hot plugging and unplugging of the board, except when it is time to use, and since power is supplied from the board that is not plugged or unplugged, hot plugging and unplugging can be performed simply by preparing a cable for connection. Is possible.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理的構成を示す図である。FIG. 1 is a diagram showing a principle configuration of the present invention.

【図2】本発明の一実施例の構成を示す図である。FIG. 2 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図3】バスドライバ制御回路の動作を説明する図であ
る。
FIG. 3 is a diagram illustrating an operation of a bus driver control circuit.

【図4】本発明の適用例を示す図である。FIG. 4 is a diagram showing an application example of the present invention.

【図5】従来の基板活線挿抜方式の一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a conventional board hot-swap method.

【図6】従来の基板活線挿抜方式の他の例を示す図であ
る。
FIG. 6 is a diagram showing another example of a conventional board hot-swap method.

【符号の説明】[Explanation of symbols]

1 第1のコネクタ 2 第2のコネクタ 3 スイッチ 4 割り込み発生回路 5 第1の着脱検出回路 6 第2の着脱検出回路 7 ライトレジスタ 8 バスドライバ 9 バスドライバ制御回路 1 1st connector 2 2nd connector 3 switch 4 interrupt generation circuit 5 1st attachment / detachment detection circuit 6 2nd attachment / detachment detection circuit 7 write register 8 bus driver 9 bus driver control circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPUに接続された共通バスと電源にそ
れぞれ第1のコネクタ(1)を介して接続される複数の
基板において、 該基板に電源を供給する第2のコネクタ(2)と、 該基板の活線挿抜時操作を行なうスイッチ(3)と、 該スイッチ(3)の操作時CPUに対する割り込みを発
生する割り込み発生回路(4)と、 前記第1のコネクタ(1)が接続されていることを検出
して第1のコネクタ着脱信号を発生する第1の着脱検出
回路(5)と、 前記第2のコネクタ(2)が接続されていることを検出
して第2のコネクタ着脱信号を発生する第2の着脱検出
回路(6)と、 該基板の活線挿抜を許可するCPUからの活線挿抜許可
を保持して活線挿抜許可信号を発生するライトレジスタ
(7)と、 前記第1のコネクタ着脱信号と、第2のコネクタ着脱信
号と、活線挿抜許可信号とのそれぞれの状態から所定の
論理に基づいて前記共通バスに接続されたバスドライバ
(8)をハイインピーダンスにするバスドライバ制御回
路(9)とを備え、 前記活線挿抜許可の発行時、CPUがバスアクセスを停
止することによって前記基板の活線状態での挿抜を可能
にすることを特徴とする基板活線挿抜方式。
1. A plurality of boards respectively connected to a common bus connected to a CPU and a power supply via a first connector (1), and a second connector (2) for supplying power to the boards, A switch (3) that is operated when the board is hot-swapped, an interrupt generation circuit (4) that generates an interrupt to the CPU when the switch (3) is operated, and the first connector (1) are connected. A second connector attachment / detachment signal by detecting that the first connector attachment / detachment detection circuit (5) that detects that the second connector (2) is connected A second attach / detach detection circuit (6) for generating a hot-swap enable / disable signal from the CPU for permitting hot-swap of the board, and a write register (7) for generating a hot-swap enable / disable signal. The first connector attachment / detachment signal and the second A bus driver control circuit (9) for setting the bus driver (8) connected to the common bus to high impedance based on a predetermined logic based on the respective states of the connector attachment / detachment signal and the hot-swap enable / disable signal; A hot-swap board system, wherein when the hot-swap permission is issued, the CPU stops bus access so that the board can be hot-swapped.
【請求項2】 前記第2のコネクタ(2)が、該基板内
から電源供給を行なう回路と、該基板に対して電源供給
を受ける回路とを有し、挿抜を行なわない基板と挿抜を
行なう基板とにおけるそれぞれのコネクタ(2)をケー
ブルを介して接続することによって、挿抜を行なわない
基板から挿抜を行なう基板に電源を供給することを特徴
とする請求項1に記載の基板活線挿抜方式。
2. The second connector (2) has a circuit for supplying power from inside the board and a circuit for receiving power supply to the board, and performs insertion and removal with and without a board. The hot-plugging and unplugging method for the board according to claim 1, characterized in that power is supplied to the board to be inserted and removed from the board not to be inserted and removed by connecting the respective connectors (2) to the board via a cable. ..
【請求項3】 前記割り込み発生回路(4)からの割り
込みに基づくCPUからの活線挿抜許可の発生が、該C
PUにおけるソフトウェア制御に基づいて行なわれるこ
とを特徴とする請求項1または2に記載の基板活線挿抜
方式。
3. The generation of hot-swap permission from the CPU based on the interrupt from the interrupt generation circuit (4)
The hot-swap method for a substrate according to claim 1 or 2, wherein the hot-swap method is performed based on software control in the PU.
JP3289726A 1991-11-06 1991-11-06 Board hot-swap method Expired - Lifetime JP2630520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3289726A JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3289726A JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Publications (2)

Publication Number Publication Date
JPH05127777A true JPH05127777A (en) 1993-05-25
JP2630520B2 JP2630520B2 (en) 1997-07-16

Family

ID=17746963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3289726A Expired - Lifetime JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Country Status (1)

Country Link
JP (1) JP2630520B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5964855A (en) * 1997-04-07 1999-10-12 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
JP2011053811A (en) * 2009-08-31 2011-03-17 Fujitsu Ltd Multi-board unit and resetting method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5964855A (en) * 1997-04-07 1999-10-12 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
US6041375A (en) * 1997-04-07 2000-03-21 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
JP2011053811A (en) * 2009-08-31 2011-03-17 Fujitsu Ltd Multi-board unit and resetting method

Also Published As

Publication number Publication date
JP2630520B2 (en) 1997-07-16

Similar Documents

Publication Publication Date Title
JP3418128B2 (en) EMS enhancement circuit for USB system
JP3304292B2 (en) Automatic detection device for detecting attachment or identification of an external device, information processing device, and external device
EP0974085B1 (en) Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
US6952785B1 (en) Methods and apparatus for powering a data communications port
US6438639B1 (en) Computer system bus network providing concurrent communication and connection transition of peripheral devices
CA2018069A1 (en) Method and apparatus for a rapid interconnection to a computer bus
JP2630520B2 (en) Board hot-swap method
US6625681B1 (en) State activated one shot with extended pulse timing for hot-swap applications
JP4615413B2 (en) Electronic system that can be hot-plugged
KR950004201B1 (en) System safety apparatus and method therefor
JP3270392B2 (en) Hot-swap protection
JPS60134924A (en) Option unit connecting system
JP2002278913A (en) Information processing system and control method therefor
JP3243687B2 (en) Hot swapping system
JPH0934594A (en) Information processor
JP3157749B2 (en) Hot-swap method
JPH08256191A (en) Data processor
JP2000010659A (en) Live wire insertion/ejection protector
JP2980454B2 (en) State protection method
JP3110790B2 (en) Data processing device
JP2697660B2 (en) System operation assurance circuit for hot swapping
TW460699B (en) Testing system of PCI board
JP3335171B2 (en) Electronic equipment
JPH07253834A (en) Module insertion withdrawal controller
JPH11305890A (en) Hot line inserting and pulling-out device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970121