|
|
|
|
CompactPCI® Hot Swap Design Solutions |
|
Download
the entire Applications Note in PDF
format.
Introduction The
SMH4042 can act as an autonomous controller used
solely to switch and monitor voltages on the
add-in-card. However, based on its flexibility it
can also be used in more sophisticated high
availability systems that require handshaking with
a host processor.
Background
Platform - the platform provides the physical structure for the boards. This includes the backplane, cooling and power supplies and, because the backplane is passive, a system host. Various combinations of System Host, Platform and Boards make up different system models. Those models with which we are concerned are Basic Hot Swap, Full Hot Swap and High Availability. Figure 1 illustrates a full implementation block diagram of a generic CompactPCI board and platform connector. The SMH4042 is an integral block in the board's implementation where it is the primary controlling interface to the P1 connector. In a basic hot swap implementation the backend power circuits and bus interface circuits need to be addressed. As a full hot swap board (for use in a high availability system) the ejector/injector logic block needs to be provided as do the handshake signals between the host board and the SMH4042. Details on implementing each section will be discussed and a complete implementation will be given as a conclusion. For simplicity of illustration the P1 pin functions in the block diagram are shown in their relative vertical position, but not their horizontal position. The pins on P1 are in three (3) staged lengths; the longest being those supplying voltages, the medium length pins providing signal paths, and the shortest pin being the BD_SEL# signal (one method of indicating board insertion).
Figure 1: Generic CompactPCI Hot Swap add-in card block diagram. Connector
Need for
Hot Swap Sequence of
Board Insertion As the card is inserted into the platform:
Early
Power
Figure 2: Power control and power plane isolation
Early power voltages are applied to the SMH4042 and it immediately begins driving the LOCAL_PCI_RESET# output and it will force the VGATE outputs to a known off-condition. The 1Vref output immediately becomes active providing a reference for the pre-charge circuit. At the same time V(I/O) is applied to certain pull-ups and also to any interface I/O circuitry. All of these activities must occur within 4ms of the long pins first engaging the card.
Bus
Conditioning PCI_RST#, ENUM#, INTA#, INTB#, INTC#, INTD#, and REQ# which should be "pulled-up" to V(I/O).
Placing the I/Os in a high impedance state is a relatively easy task. The selected interface device, such as a CMOS switch, needs to be powered-on with V(I/O) and the ENABLE input or ON input needs to be connected to a SMH4042output, such as SGNL_VLD\. SGNL_VLD\ is an open drain active low output indicating the card-side power is valid and LOCAL_PCI_RESET# is false. Figure 3 shows a simple method of developing the 1V volt pre-charge. The amplifier is available in an inexpensive SOT23 package making this a great board area saver. Depending upon the application requirements there are a number of silicon solutions that employ low on-resistance CMOS switches. Figure 3 shows one implementation using a QuickSwitch ® from Quality Semiconductor. This particular device exhibits very Flat RON characteristics from 0 to 5V. The only drawback is the extra space required for the external pull-up resistors.
Figure 3:
Pre-Charge Reference Voltage Circuit and CMOS switch
implementation Figure
4 shows another implementation, but the pull-up resistor
structure is incorporated in the switch. The circuit also
automatically switches the bias voltage out of the circuit
as the CMOS switches are enabled. A potential advantage is
the ability to place the interface closer to the edge of the
card. The board designer should evaluate their requirements
and design goals and determine their best solution. The bus
switches are available from both Texas Instruments and
Pericom Semiconductor.
Figure 4:
CMOS switch with integrated bias voltage pull-up
structure.
The Rest of
the Power As the board is fully seated the last pin, BD_SEL#, makes contact and pulls one or both of the BD_SEL# inputs to ground. Simultaneously, the injector is locked in place, and optionally, closes a micro-switch which grounds the second BD_SEL# input. At this point the SMH4042 should have most of the input information needed to power the backend logic.
Powering
the Backend As the power
MOSFETs are turned on the SMH4042 will monitor the backend
voltage and the current of the two supplies. If an
overcurrent condition is detected the SMH4042 will
immediately turn off the VGATE outputs. The
SMH4042 will monitor the voltage on the load side of the
FETs and continue asserting the LOCAL_PCI_RESET# output
until the voltages are at or above their specified
thresholds.
Figure 5:
Power MOSFET circuit options. There are four basic configurations for turning on the power to the backend. These are illustrated in Figure 5. Regardless of the method chosen for a dual voltage application, the designer must take into consideration the skew between +5V and +3.3V turning on. Generally you will want the +5V turning on first; therefore, the SMH4042 has provided a self-imposed skew of a one-diode drop difference between VGATE5 and VGATE3. The resultant outputs are shown in Figure 6. The
VGATE output ramp rate is nominally set at
250V/s; it can be accelerated by injecting current into the
ISLEW input or alternatively slowed down by adding
capacitance to the outputs. Refer to the SMH4042 data sheet
for the timing details.
Figure 6:
Skew between VGATE5 and VGATE3. Once the voltages on the backend are at or above their thresholds the SMH4042 will drive the HEALTHY# output to indicate to the host system the power on the board is valid.
Software
Connection Control Full Hot Swap boards have the minimum features plus the ability for software connection control. The additional resources needed are: The ENUM# signal indicates a board has been freshly inserted or is about to be extracted. "Full Hot Swap Boards assert ENUM# until serviced by the Hot-Plug System Driver." ENUM# is activated by a micro-switch located in the lower injector handle. A blue LED, located on the front of the board, is illuminated when it is permissible to extract the board. During the insertion process the LED is illuminated immediately by the hardware. On the host system the BD_SEL# signal has a weak pull-down. As the board is inserted the pull-up, on the board, overrides the pull-down generating a change in state to the host. The host can now respond and activate the power-on circuit driving the BD_SEL# signal low. (see figure 10) The LED will stay on until the host system pulls the BD_SEL# signal low and until the board is fully powered-on. At this point the operator may fully close the injector closing the switch that generates the ENUM# signal. The ENUM# signal will stay active until the host system clears the board's status register. The LED remains off until activated by the host software indicating the board may be extracted. It is assumed the operator will begin the extraction process by unlocking the injector (the switch opens) and then waits for the LED to be illuminated before removing the board. The blue LED
is driven by the RESET\ output of the SMH4042. This is the
same as the LOCAL_PCI_ RESET# for the backend
logic. Figure 10 shows a current boost circuit for the
reset. This ensures enough current sink capability for the
LED and all of the backend logic.
Figure 7:
Example of the software connection handshake signals. Figure
8
Conclusion
Figure 9:
Basic Hot Swap Board Insertion / Removal Sequence
Figure 10:
Power-On Sequence for a Full Hot Swap Board Using the
SMH4042
|
|
|
|
|
Download a partial listing of suitable MOSFETs for use with the SUMMIT SMH4042 Hot Swap Controller |
|
|
|
Summit Microelectronics is a member of the PCI Industrial Computers Manufacturing Group. |
|
|
|
CompactPCI and PICMG are registered trademarks of the PCI Industrial Computer Manufacturing Group Microwire is a trademark of National Semiconductor Data Download is a trademark of Summit Microelectronics, Inc. Copyright©1999-2003 by Summit Microelectronics, Inc. |