(19)
(11) EP 0 802 487 A2

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
22.10.1997 Bulletin 1997/43

(21) Application number: 97302535.6

(22) Date of filing: 14.04.1997
(51) International Patent Classification (IPC)6G06F 13/40
(84) Designated Contracting States:
DE FR GB IT

(30) Priority: 15.04.1996 US 631963

(71) Applicant: Compaq Computer Corporation
Houston Texas 77070 (US)

(72) Inventors:
  • Sides, Chi Kim
    Spring, Texas 77070 (US)
  • McKenzie, Philip J.
    Houston, Texas 77070 (US)
  • Basile, Barry S.
    Houston, Texas 77084 (US)

(74) Representative: Brunner, Michael John et al
GILL JENNINGS & EVERY Broadgate House 7 Eldon Street
London EC2M 7LH
London EC2M 7LH (GB)

   


(54) Hot plug computer system protection circuit


(57) A protection circuit 116 for a computer system 110 having PCI expansion cards 120 and PCI expansion slots 118 with multiple power rails 312,322;314,328;318,324;320,326 for supplying power to the PCI expansion cards is disclosed. The protection circuit includes a current monitor 212 that monitors the current levels drawn by the PCI expansion card at each power rail. An inrush current controller 330/332/334 controls the initial current applied to each of the power rails when an expansion card is initially inserted into an expansion slot. A voltage monitor 212 monitors the voltage levels applied to selected power rails and a disconnector 210 disconnects the power to the PCI expansion slot when either the current level drawn by the PCI expansion card at any of the power rails goes beyond a selected range or when the voltage levels at any of the selected monitored power rails are below a selected threshold, or when commanded to by the computer system.




Description


[0001] The present invention relates to protection circuits for computer systems having peripheral expansion slots. More specifically, the present invention relates to a protection circuit for a computer system having an interface card-receiving socket such as a peripheral component interconnect slot that receives peripheral component interconnect cards.

[0002] Many existing computer systems utilize peripheral component interconnect (PCI) expansion slots and cards. The PCI utilizes power rails to transfer power from the computer system through the expansion slot to the card. Generally +5V, +3.3V, +12V and -12V power rails are used.

[0003] In computer systems utilizing a PCI environment, expansion cards can be plugged into the computer system while the computer system is powered and running. As can be appreciated, the ability to hot plug PCI cards is especially desirable in network computer systems. This allows maintenance to be performed on a server in a network computer system without having to power down the server. For example the addition of a PCI expansion card or the removal and replacement an existing defective PCI expansion card can be performed while the server of the network computer system is running thereby allowing users to continue to use the system during the maintenance period.

[0004] However, if the added PCI expansion card is defective or if a problem arises with the PCI expansion card such as if an effective short is caused by the card's bypass capacitors between its power rails and ground, then when the card is hot plugged into the network computer system, a system failure could result. Further if an installed PCI expansion card becomes defective during use, a system failure could also result.

[0005] Therefore it is proposed, according to the present invention, to monitor the current drawn by the PCI expansion card at each of the power rails and, if at any time the current drawn at any of these power rails is beyond a selected range, to quickly turn off the power to the PCI expansion slot or to the PCI expansion card so that the entire computer system does not fail.

[0006] According to the present invention therefore there is provided a protection circuit for a computer having a power supply and an interface card-receiving socket for receiving an interface card, the protection circuit comprising a current monitor for monitoring the levels of current drawn by an interface card when the interface card is received at the interface card-receiving socket; and a disconnector coupled to receive indications of the current levels monitored by the current monitor, and to disconnect the power supply from the interface card when the indications of the current levels monitored by said current monitor are beyond a selected level.

[0007] The present invention overcomes the above identified problems as well as other shortcomings and deficiencies or existing technologies by providing a PCI hot plug protection circuit that is able to monitor the current drawn at each of the power rails of the PCI expansion slot and that can shut off power to the expansion slot when the current drawn at any of the power rails go beyond a selected range.

[0008] The present invention further provides a computer system having: PCI expansion cards; PCI expansion slots with four power rails to supply power to the PCI expansion cards; a current monitor that monitors the current levels drawn by the PCI expansion card at each power rail; an inrush current controller for controlling the initial current applied to each of the power rails when power is initially applied to an expansion card; a voltage monitor that monitors the voltage levels applied to selected power rails; and a disconnector for disconnecting the power to the PCI expansion slot when either the current level drawn by the PCI expansion card at any of the power rails goes beyond a selected range or when the voltage levels at any of the selected monitored power rails do not reach or fall below a selected operating potential.

[0009] A more complete understanding of the method and apparatus of the present invention may be had by reference to the following detailed description in conjunction with the accompanying drawings in which:

Figure 1 is a block diagram illustrating a computer system utilizing the present invention;

Figure 2 is a more detailed block diagram illustrating the protection circuit shown in FIG. 1;

Figure 3 is schematic diagram illustrating the in-rush current controller shown in FIG. 2; and

Figure 4 is a schematic diagram illustrating the current and voltage monitor shown in FIG. 2.



[0010] Referring now to FIG. 1, there is shown a block diagram illustrating a computer system 110 which includes a power supply 112, a computer 114, a protection circuit 116, a peripheral component interconnect (hereinafter PCI) slot 118 and a peripheral card 120.

[0011] Computer 114 is interconnected between protection circuit 116 and power supply 112. Power supply 112 provides at least a portion of the power to the operate computer system 110. PCI slot 118 is connected to protection circuit 116 and is configured to receive a PCI expansion card such as peripheral card 120.

[0012] PCI slot 118 is a standard PCI slot and includes +5V, +3.3V, +12V and -12V power rails for supplying power to peripheral card when connected.

[0013] The present invention is not limited to a single protection circuit, PCI slot, and peripheral card, but rather could be practiced by one skilled in the art to include multiple protection circuits, multiple PCI slots, and multiple peripheral cards all within the computer system.

[0014] Referring now to FIG. 2, there is shown a block diagram illustrating in more detail protection circuit 116 as shown in FIG. 1. As depicted protection circuit 116 includes a power rail switch 210 connected with an overcurrent detector 212.

[0015] In general operation, protection circuit 116 allows a peripheral card to be connected to PCI slot 118 while the computer system is powered and running and prevents the computer system from failing if the added peripheral card is defective such as by having an effective short therein. The overcurrent detector 212 of protection circuit 116 monitors currents and voltages being supplied to the peripheral card 120 when it is connected to PCI slot 118. When any of the monitored currents are beyond a selected value or if any of the monitored voltages are below a selected value, monitor 212 generates a fault signal which is used to interrupt the CPU of the computer system 110, and also generates and sends disconnect signal to power rail switch 210 whereby power rail switch 210 disconnects the power to PCI slot 118.

[0016] Power rail switch 210 also controls the in-rush current, i.e. the initial current that is supplied to the peripheral card 120 when it is initially connected to PCI slot 118. The in-rush current is limited during power up so that overcurrent detector 212 does not trip. A more detailed description of power rail switch 210 and overcurrent detector 212 and their operations are given below with reference to FIGS. 3 and 4 respectively.

[0017] Referring now to FIG. 3, there is illustrated a schematic diagram of power rail switch 210 shown in FIG. 2. As depicted power rail switch 210 includes input terminals 312, 314, 316, 318 and 320, with terminals 312, 314, 318 and 320 receiving power signals from power supply 112. Power rail switch 210 further includes output terminals 322, 324, 326 and 328, controllers 330, 332 and 334 for controlling the outputs to the output terminals, and a level shifter 336.

[0018] In this particular embodiment, input terminal 312 receives a -12V signal, input terminal 314 receives a +12V signal, input terminal 318 receives a +5V signal, and input terminal 320 receives a +3.3V signal, while input terminal 316 receives a power on signal.

[0019] Output terminal 322 is a -12V output terminal, output terminal 324 is a +5V output terminal, output terminal 326 is a +3.3V output terminal, and output terminal 328 is a +12V output terminal.

[0020] Controller 330 controls the output signals to output terminals 322 and 328, while control 332 controls the output signal to output terminal 324 and control 334 controls the output to output terminal 326.

[0021] Power rail switch 210 further includes FET 338, and positive temperature coefficient (PTC) resistors 340 and 342. PTC resistors 340 and 342 are used as secondary overcurrent protectors by abruptly increasing in resistance when a select overcurrent condition is detected. This is preferred to be higher than required to trip overcurrent detector 212. This is because, if a PTC resistor is tripped, it takes several hours for its resistance to return to its initial value.

[0022] Controller 330 includes resistors 344, 346 and 348, capacitors 350 and 352, and FETs 354 and 356. Controller 332 includes FETs 358 and 360, capacitor 361, and resistor 362. Controller 334 includes FETs 364 and 366, capacitor 367 and resistor 368. Level shifter 336 includes FET 370 and resistor 372.

[0023] In operation, when power is first applied to power rail switch, the power on signal received at input terminal 316 is high. This enhances the channel of FET 338 bringing the signal low with respect to ground. The low signal pulls down on the gate of p-channel FET 354, whereby capacitor 350 and resistors 344 and 346 slowly lower the voltage received from input terminal 314 thereby slowly ramping the gate voltage of FET 354, thereby slowing turning on FET 354. This controls the amount of in-rush current associated with the power rail supplying the +12V to input terminal 314. After FET 354 has been turned on, the voltage signal sent from controller 330 to output terminal 328 will reach a +12V signal.

[0024] Similarly and simultaneously within controller 330, capacitor 352 and resistor 348 slowly ramp the gate voltage of FET 356, thereby slowing turning on FET 356. This control the amount of in-rush-current associated with the power rail supplying the -12V to input terminal 312. After FET 356 has been turned on, the voltage signal sent from controller 330 to output terminal 322 will reach a -12V signal.

[0025] Controllers 332 and 334 also operate in a similar manner. When a high power-enable signal is received at input terminal 316, the signal is passed high through noninverting buffer 374 to each of controllers 332 and 334. Within controller 332, capacitor 361 and resistor 362 slowly ramp the gate voltages of FETs 358 and 360, thereby slowing turning on FETs 358 and 360. This controls the amount of in-rush current associated with the one power rail supplying the +5V to input terminal 318. After FETs 358 and 360 have been turned on, the voltage signal from controller 332 to output terminal 324 will reach a +5V signal.

[0026] Within controller 334, capacitor 367 and resistor 368 slowly ramp the gate voltages of FETS 364 and 366, thereby slowing turning on FETs 364 and 366. This control the amount of in-rush current associated with the power rail supplying the +3.3V to input terminal 320. After FETs 364 and 366 have been turned on, the voltage signal from controller 344 to output terminal 326 will reach a +3.3V signal.

[0027] When the power is to be disconnected, the power on signal received at 316 is low turning off FET 338, which then turns off controllers 330, 332 and 334, thereby preventing power from reaching output terminals 322, 424, 326 and 328. It is noted that controllers 332 and 334 are disconnected quickly because of the diodes associated therewith.

[0028] Referring now to FIG. 4, there is illustrated a schematic diagram of overcurrent detector 212 shown in FIG. 2. As depicted detector 212 includes input terminals 412, 414, 416, 418, 420, 422 and 424, with input terminals 414, 416, 420 and 424 being connected to output terminals 326, 324, 328 and 322 of power rail switch 210, respectively. Input terminal 412 is connected to power supply to receive +12V signal, input terminal 418 is coupled to receive a bus enable signal, the bus enable signal being high when the slot has reached a stable operating state, and input terminal 422 is coupled to receive a power enable signal, the power enable signal being high when power is to be supplied to the slot.

[0029] Overcurrent detector 212 further includes output terminals 426, 428, 430, 432, 434 and 436, with output terminals 426, 428, 430 and 436 being connected to peripheral card 120 and supplying thereto +3.3V, +5V, -12V and +12V signals respectively.

[0030] Overcurrent detector 212 further includes voltage level detectors 440, 442, 444 and 446, an under voltage detector 438, and a flip-flop 448. Voltage level detectors 440 442, 444 and 446 are coupled to monitor the input signals received at input terminals 414, 416, 420 and 424 respectively and to monitor output signals at output terminals 426, 428, 436 and 430 respectively. The under voltage detector 438 is coupled to operate with voltage level detectors 440 and 442.

[0031] The voltage level detectors 440, 442, 444 and 446 monitor the current drawn by each of the power rails and when an overcurrent is detected at any of the voltage level detectors, i.e. when the current passing through any of the voltage level detectors goes beyond a selected level, flip-flop 448 will be enabled and generate a low power-on signal at output terminal 432 (which is connected to input terminal 316 of power rail switch 210). Power rail switch 210 will then disconnect power from slot 118 by turning off controllers 330, 332 and 334 (see FIG. 3).

[0032] Voltage level detector 440 includes a voltage divider 448 and a comparator 450. An overcurrent condition is detected by using comparator 450 to monitor the voltage drop across resistor 452 of voltage divider 448. When the voltage drop across resistor 452 is sufficient to bring the negative input of comparator 450 above the positive input of comparator 450 by a user defined amount of voltage an overcurrent condition exists. When this occurs the output of comparator 450 is pulled low, FET 454 is turned off, triggering flip-flop 448 to latch and to send a low power-on signal out of output terminal 432, wherein power rail switch 210 will disconnect power from slot 118 by turning off controllers 330, 332 and 334.

[0033] A fault indicator is also sent to the CPU from output terminal 434. Voltage level detectors 442, 444 and 446 generally operate in a similar manner as voltage level detector 440.

[0034] Although good results have been achieved with the above described voltage level detector, it is contemplated that other voltage level detectors could be utilized in the present invention by one skilled in the art.

[0035] Good results have also been achieved in the exemplary embodiment by setting the overcurrent trip point to greater than 9A for the both the +5V and the +3.3V power rails, greater then 1.5A for the +12V power rail, and greater than 300 mA for the -12V power rail. However it is contemplated that other trips could be utilized in the present invention.

[0036] The under voltage detector 438 detects power failure on the +5V and the +3.3V power rails. In operation, input terminal 418 receives a bus enable signal, a high signal to enable the under voltage detector 438 and a low signal to disable the under voltage detector 438. In this exemplary embodiment, under voltage detector 438 is disabled during initial power-up so that under voltage detector 438 does not trip overcurrent detector. When the power to the slot has been stabilized, the bus enable signal goes high, enabling under voltage detector 438.

[0037] If the voltage at either of the +3.3V or the +5V power rails drop below a user selected level, the corresponding diode (diode 454 or 456) will pull the signal at the negative input of the comparator in the corresponding voltage level detectors (440 or 442) high enough to pull the output of the comparators low. FET 454 is then turned off, triggering flip-flop 448 to latch and to send a low power-on signal out of output terminal 432. A fault indicator is also sent in to the CPU in the computer from output terminal 434, wherein power rail switch 210 will disconnect power from slot 118 by turning off controllers 330, 332 and 334.

[0038] A fault indicator is also sent to the CPU from output terminal 434. Voltage level detectors 442, 444 and 446 generally operate in a similar manner as voltage level detector 440.

[0039] It is noted that bias circuitry 458 prevents false overcurrent indications when power-on is initially set high.


Claims

1. A protection circuit (116) for a computer (114) having a power supply (112) and an interface card-receiving socket (118) for receiving an interface card (120), the protection circuit comprising:

a current monitor (212) for monitoring the levels of current drawn by an interface card (120) when the interface card is received at the interface card-receiving socket (118); and

a disconnector (210) coupled to receive indications of the current levels monitored by the current monitor, and to disconnect the power supply from the interface card when the indications of the current levels monitored by said current monitor are beyond a selected level.


 
2. The protection circuit of claim 1, further comprising:
   a current controller (330/332/334) for controlling the level of current supplied to the interface card (120) for a predetermined amount of time subsequent to the interface card-receiving socket (118) receiving the interface card.
 
3. The protection circuit of claim 2, wherein:
   the current monitor includes at least one voltage divider (448) and at least one comparator (450).
 
4. The protection circuit of any of claims 1 to 3, further comprising:
   a power interface for transferring power from the power supply ((112) to the interface card (120) when the interface card is received at the interface card receiving socket (118), the power interface including a plurality of power rails (312,322;314,328;318,324;320,326) at which voltages are supplied by the power supply.
 
5. The protection circuit of claim 4, further comprising:
   a voltage monitor (438) for monitoring the levels of voltage supplied to at least one of the power rails of the power interface.
 
6. The protection circuit of claim 5, wherein:
   the disconnector (210) is further coupled to receive indications of the voltage potential levels monitored by the voltage monitor (438), the disconnector further disconnecting the power supply from the interface card (120) when the indications of the voltage levels monitored by the voltage monitor are below a selected level.
 
7. The protection circuit of any of claims 1 to 6, further comprising:
   an interface card-receiving socket (118) for removably receiving an interface card (120) thereat.
 
8. The protection circuit or claim 7 when dependent on claim 4, wherein:
   the power interface is integrated in the interface card-receiving socket (118).
 
9. The protection circuit of any of claims 1 to 8, wherein the interface card-receiving socket (118) is a peripheral component interconnect (PCI) slot.
 
10. A computer system (110) having a protection circuit (116) according to any of claims 1 to 9.
 
11. The computer system of claim 10, further comprising:
   a power supply (112), the power supply being selectively connectable to the interface card (118) via the protection circuit (116) for supplying voltage and current to an interface card (120).
 
12. The computer system of claim 11 when dependent on claim 4, wherein:
   the power supply (112) supplies voltage potentials of approximately +12, -12, +5, and +3.3 volts to a first, a second, a third and a fourth power rail respectively.
 




Drawing