From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <722c0ecb17b406437c86a8c370c1ce6b.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.1.32.19970504090905.006ef254@ellpspace.math.ualberta.ca> Date: Sun, 04 May 1997 09:09:05 -0600 From: Maurice W. Hilarius Subject: Re: DAT drives and the UDB In-Reply-To: At 11:04 hrs. 05-03-97 -0700, you wrote: >On Sat, 3 May 1997, Maurice W. Hilarius wrote: > >> Replacing the passive terminator on the far end of the device chain with >> an active one usually clears these matters up pretty quickly. > >I realize that this is kind of off-topic for this list, but as long as >we're on the subject, could someone explain the difference between active >and passive SCSI termination? To keep it to as simple an explanation as possible: Typical passive termination (Single-ended SCSI): +5V (termination power, supplied on line 26 by some device(s)) ------------0 | \ / 220 Ohm resistor \ / -SIGNAL | ------------o | \ / 330 Ohm resistor \ / Ground | ------------o | | ------- --- - Please note that this is the termination for each of the 18 signal lines used by narrow SCSI devices. There are therefore 18 sets of the this at each end of the SCSI bus. Ground and 5V lines may be (and usually is) common on these. SCSI signals within single-ended cables shall be terminated into a resistive load with 220 ohms connected to +5 volts and 330 ohms connected to ground at each end of the cable. All signals on the bus will be driven using open-collector or three-state drivers. In essence we are using a passive circuit to achieve a constant voltage level for the signals on the lines. Note that in commonly used single-ended SCSI the signal is only derived from a - signal potential. This limits us to a maximum of 6 meter total cable length befor signal noise overcomes our voltage levels. In higher speed scenarios, such as UltraSCSI where the clock rate of the signals is doubled, or even higher rate SCSI-2 the maximum effective total cable length is reduced to about 2 meters total. Some work has been done in improving cable quality and characteristics to provide a better signal-to-noise ration on the cables themselves. A good example of this is silver wire cable with teflon shielding. This allows us to nearly double effective maximum cable length, albeit at a higher cable cost. Active termination uses a feedback circuit with a response time faster than the signal clock to maintain voltage levels at the appropriate range. Many modern SCSI devices now incorporate active SCSI termination onboard. These can be genrally distinguished by the fact that a jumper is used on the device to enable/disable the device termination. Most of the modern versions of this work quite well. Unfortunately some may not work as well. It usually depends on the performance and response of the active termiantion circuit on the device. Where better signal characteristics are demanded, such as in a case where the bus-length maximum is too limiting for practical purposes, differeential SCSI devices may be employed. This circuit uses an actual + signal and - signal line pair for each active line. Passive termination for differential SCSI is shown as: Typical passive termination (Single-ended SCSI): +5V ------------0 | \ / 330 Ohm resistor \ / -SIGNAL | ------------o | \ / 150 Ohm resistor \ / +SIGNAL | ------------o | \ / 330 Ohm resistor \ / Ground | ------------o | | ------- --- - A differential signal consists of of two lines, +signal and -signal. A signal is considered active, asserted, or true when the +signal is more positive than the -signal and a signal is considered inactive, negated, or false when the -signal is more positive than the +signal. Each signal shall be terminated as shown above. This differential scheme allow much longer cable lengths (up to 25 meters), and is far less prone to termination and voltage level problems. Unfortunately it is not widely used because it demands much greater consumption of current, thusly it is expensive, and puts more stress on the computer bus, which has to supply the current when the SCSI interface is the device providing the power. The real problems of termination and signal quality appear very frequently wqhen we install multiple deives from different vendors on a single-ended SCSI bus. They all show slightly different characteristics, and all respond slightly differently. Add to the equation the different lengths of cable involved, and it is clear that the results may become unpredictable, and in some cases unusable. Generally the only good way to get a stable SCSI bus when using larger numbers of devices is to ensure that: A) The cables used are of good quality, with good shielding and little crosstalk. Better external enclosure cables use a configuration with a core of signal lines surrounded by a layer of ground lines, and another layer of signal lines surrounding that, and a high-quality grounded shield surrounding the lot. These cables are easily differentiated from the cheaper variety by the fact that they are usually 2 to 3 times thicker. Good cabling should provide a characteristic impedance of 100 ohms, +/- 10%. The total characteristic of all cables used in the SCSI bus should also comply to this impedance level. To minimize cable signal reflections, cables within a SCSI bus should be of the same type (not mixed). The maximum speed and drive capability of the bus will depend upon the quality of the cable. B) Remove the termination resistors from the devices used, and install good quality active terminators at both ends of the bus. C) Ensure that all cables used are as short as is possible, and that the total for SCSI-2 FAST (10MB/sec data rate) or faster SCSI standards such as UltraSCSI use no more than a total of 2 meters (78 inches) in length. In practice an UltraSCSI (20MB/sec data rate) bus should be kept under 1.5 meters in length, unless teflon cable with silver wires is used. Sorry for the long letter, but "you asked". Cheers, Maurice +--------------------------------------------------------+ | Maurice Hilarius | The Past is History | | President | The Future is Mystery | | Hard Data Ltd. | Today is a Gift | | Phone/FAX (403) 456-1510 | That is why they call it | | email:harddata@bigfoot.com | The Present | +--------------------------------------------------------+ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com