DIFFERENTIAL TRANSCEIVER WITH LINE INTEGRITY DETECTION

Abstract: A differential transceiver transmission line integrity detector detects both open and short circuits in the transmission lines (12,14). The two transmission lines are terminated at both ends by selected impedances. A driver (30, 32) coupled to each of the transmission lines drives the lines with data signals. Signal levels on the lines are detected and compared with expected levels to generate line integrity indications. Both open and short conditions are detected and indicated by the line integrity indications.

Description: The present invention relates to the detection of signal transmission line integrity on differential signal transmission lines. Detection of open circuit and short circuit conditions on differential signal transmission lines has been done by obtaining manual access to the lines and imposing a signal on the lines to check conduction. It has been very difficult to reliably predict faults caused by opens and shorts based on data transmission monitoring as in U. S. Patent No. 4,178,582 and U. S. Patent No. 3,288,929 . In a differential signal transmission bus, if one of the two transmission lines which are driven by a balanced current source driver and terminated by resistors to DC ground, is operational, at least half of the data signal transmitted is still received. Such faults seriously degrade the performance of the differential signal transmission lines because they produce intermittent data errors which are hard to trace. The data errors require time to correct, either by error correction code, or retransmission due to parity checks. Japanese patent application n o 52-48751 published in 'Patent Abstracts of Japan', vol. 3, n o 5, 18th January 1979, page 144 E84, describes a system for detecting abnormality on a transmission line, by comparing a transmitted signal voltage with a pre-set reference voltage : if ever the loading resistor on the transmission line is disconnected, the transmitted signal voltage value increases over the pre-set reference voltage value, thereby allowing the system to detect the abnormality. German patent DE-B-2 335 408 teaches the hooking of several data transmitters on a single transmission line of large length, terminated by resistors at each end of the line, and biased with potentials having opposite polarities, the value of which is small compared to the value for potential of data. Further, more costly alternatives to detect transmission line faults involve automatic superposition of special signals on the lines. A tool has also been used to detect shorts by plugging it into transceivers on the line in various orientations. This tool resulted in different lines being driven and sensed to detect shorts in the lines. This process has proven cumbersome and time consuming. These alternatives add to the cost, and potentially degrade performance. A differential transceiver transmission line integrity detector detects both open and short circuits in the transmission lines. The two transmission lines are terminated at both ends by selected impedances. A driving means is coupled to the transmission lines for driving the lines with data signals. A detection means is also coupled to the transmission lines and detects the signal level on the lines and compares the signal with an expected level to generate a line integrity indication. When one of the two lines in the differential signal transmission bus are in an open circuit condition, one of two parallel terminating resistors is effectively removed from that line. This doubles the impedance from the line to ground, and thus doubles the voltage across the remaining resistor during data transmission. The doubling of the voltage results from the terminating resistors sinking or sourcing a fixed amount of current during data transmission. The doubled voltage is detected by a comparing means on each signal line, which compares the line voltage to a predetermined value and signals an open condition when the line voltage exceeds the predetermined value. Short circuit conditions are detected on the differential signal transmission bus by individually driving the lines with selected data signals and simultaneously receiving all signals associated with the bus. By comparing the received signals with expected signals, it is determined which of several short circuit conditions exists. Line integrity detection is performed without superposition of special signals on the lines, and with higher reliability than monitoring error rates of transmitted signals. Open circuit detection is performed in a diagnostic mode using actual data level transmissions. Open and short circuit detection is performed without operator intervention or physical monitoring of the transmission lines. Detection of shorts and opens on the differential bus has been a difficult problem that has not been solved in previous systems without service repairperson assistance. Shorts and opens on the bus only reduce the noise tolerance of the bus, resulting in a series of difficult-to-detect intermittent faults caused by random noise. Such faults can seriously degrade bus performance. Through the use of this invention, the cause of such faults can be determined without assistance. Isolation of such faults is also simplified as the fault is characterized as a short or an open, not just as a series of intermittent faults. A schematic diagram of a differential bus signal pair of transmission lines is indicated generally at 10 in Fig. 1. An odd line 12 and an even line 14 are coupled to a common potential, preferably ground, at each end through termination impedances 16, 18, 20 and 22. Each line is biased by voltages indicated at 24 and 26. Voltage 24 is preferably -5 Volts and is coupled through a biasing impedance 28 to odd line 12. Voltage 26 preferably has a +5 Volt value and is coupled to even line 14 through a biasing impedance 30. Since the biasing impedances are much larger than the termination impedances 16 through 22, odd line 12 has a potential slightly negative with respect to common and even line 14 has a potential slightly positive with respect to common. The slight biasing assures adequate noise margins such that no signal is detected as a result of noise. A logic diagram of a transceiver in a differential bus for driving one of three pairs of lines comprising the bus is shown in Fig. 2. Multiple transceivers connect to the lines 12 and 14 in Fig. 1 at different points along the lines. Each transceiver comprises a first driver 30 for driving odd line 12 with predetermined current representative of data to be transmitted. Similarly, a second driver 32 drives even line 14 with predetermined current. A high input impedance receiver 33 is coupled to lines 12 and 14 to receive data from said lines. The transceiver has two modes of operation, normal mode and diagnostic mode. In normal mode, the transceiver acts as a standard balanced differential transceiver, with equal and opposite amounts of current driven out of the drivers, depending upon its logic level. In the preferred embodiment, a first comparator 34 has inputs coupled to odd line 12 and to a reference voltage of -.55 volts indicated at 38. A second comparator 36 has inputs coupled to even line 14 and to a reference voltage of +.55 volts indicated at 40. The first and second comparators 34 and 36 detect when the voltage on either line exceeds a predetermined level defined by the respective reference voltages. Exceeding the level is taken to mean that the absolute value of the level increases. These levels maintain the comparator outputs inactive during normal operating conditions. If an open occurs on a line, the voltage on that line roughly doubles due to the effective removal of one of the two parallel termination impedances. The normal voltage of a line which is driven in the direction of its biasing is approximately -.3 volts for odd line 12 and +.3 volts for even line 14. When either of the parallel terminating impedances is removed from a line by a break in the line, the impedance presented to the constant current driver associated with the line is doubled. This causes the voltage on the line to double to -.6 volts or +.6 volts when the line is allowed to settle so that reflections of the voltage at the break do not affect the line voltage. Driving each line of the bus in the direction of its biasing allows the current from the biasing impedances and the drivers to add, increasing the voltage level seen at the comparators. It also widens the window between the maximum worst case normal voltage and the minimum worst case open line voltage when all tolerances (power supplies, resistors, drive currents, cable resistances...) are taken into account. The voltages referred to are merely indicative of one embodiment of the invention. Other voltage levels may be used without departing from the spirit of the invention. If a break in the line occurs between a transceiver and the biasing voltage, the comparators 34 and 36 will still detect the open line, but may not have quite as wide a window. When comparator 34 or 36 detects the doubled voltage, the voltage exceeds the reference and the comparator output becomes active. The comparator outputs are coupled to an OR gate 41, as are the comparator outputs for other lines on the differential bus. The comparator outputs are OR'ed together to cause a signal on a line 42 (Open Sel) to switch, indicating that there is a break in the line. Driver 30 is coupled to an enable circuit 44, and driver 32 is coupled to an enable circuit 46. Enable circuits 44 and 46 have inputs, lines 48 and 50 which transmit signals labeled Group Inhibit and Dr (driver) Inhibit N respectively. These signals are at a high level for the drivers to drive the lines and thus transmit data. Data is received by the transceiver for transmission from a line 52 (labeled Data N) which is for example coupled to a computer system 53, microprocessor, disk drive controller or the like. Data is first latched from line 52 by a latch 54. Transmission by the drivers 30 and 32 is initiated by a Dr/Rec (driver/receiver) signal provided to latch 54 on a line 56. When Dr/Rec is low, latch 54 is transparent and Data N is passed through to the drivers 30 and 32. The data is latched by a positive transition of Dr/Rec and when Dr/Rec is high, Data N on line 52 becomes the transceiver output. The drivers may or may not be enabled when the Dr/Rec is high, depending upon the levels of Group Inhibit and Dr Inhibit N. If the drivers are enabled, the transceiver is in wrap-back mode. This mode is useful for dynamic intermittent fault analysis. Since it allows a transceiver to both drive and receive simultaneously, the system 53 driving the bus can check its drivers for intermittent faults. This information can be used in determining the cause of such faults which can seriously degrade bus performance. Shorts detection takes place in diagnostic mode. A Norm/Diag (normal/diagnostic) signal on a line 60 is set to indicate in which mode the bus is to be operating. When at a high state, the Norm/Diag signal disables the Open/Line Sel indication through Gates 62 and 64, thus disabling the opens detection circuitry. The drivers are now separately controllable, and the Open/Line Sel signal is used to select either of the two line drivers 30 and 32 through gates 66, 68, and 70 and enable circuits 44 and 46. The receiver 33 is permitted by the Dr/Rec signal through a gate 71 to provide data from lines 12 and 14 on line 52. To detect shorts, data is latched by a positive transition of the Dr/Rec line and the drivers and receivers are enabled by system 53 in the same manner as normal mode. To check the bus for shorts, the following procedure is used. The transceiver is placed in diagnostic mode and each line is individually enabled. During this time the line is alternately sourced and sunk to a steady state by its driver. After the line has settled during each source and sink, all receivers on the bus are checked for abnormal switching by system 53 which places all the transceivers in receive mode. A shorts detection table indicating detection actions initiated by the system 53 is presented below as Table 1: If a line has been shorted to ground, the receiver 33 will not switch when the line is driven in the opposite direction of its biasing. If odd line 12 is shorted to ground, the receiver 33 will not switch when current is sourced through the shorted line. By individually sinking and sourcing each line, all shorts on the bus can be detected. If both lines of a signal pair are shorted together, then the receiver will not switch, or will oscillate. If a line of one signal pair has been shorted to a line of another signal pair, the receiver of one shorted line will switch when the other shorted line is driven in the correct direction (eg, if two negatively biased lines are shorted together, the receivers of both signal pairs will switch when current is sourced through either of the two lines). In a diagnostic mode, which occurs following a number of errors in trying to send data, or on power on, additional current is sourced or sunk at each driver by logically adding additional driving circuitry. The additional current causes switching when two odd or two even lines are shorted across signal pairs. The biasing of the lines is strengthened in this case because the biasing resistors are placed in parallel, doubling the biasing current. A single current source or sink is unable to overcome this increased biasing. Switching on an additional current source or sink at each driver also increases the noise margin in the line shorted to ground case. A function table is given in Table 2 below for the circuit of Fig. 2, wherein "x" corresponds to "do not care", "output" corresponds to a line being enabled as output, "diff data (rec)" corresponds to a line being enabled as output from a differential receiver and "inactive" corresponds to a driver neither sourcing nor sinking current. Detection of shorts and opens on the differential bus has been a difficult problem that has not been solved in previous systems without service repairperson assistance. Shorts and opens on the bus only reduce the noise tolerance of the bus, resulting in a series of difficult-to-detect intermittent faults caused by random noise. Such faults can seriously degrade bus performance. Through the use of this invention, the cause of such faults can be determined without assistance. Isolation of such faults is also simplified as the fault is characterized as a short or an open, not just as a series of intermittent faults. A further preferred embodiment of an opens detection circuit is indicated in block diagram form in Fig. 3. Data is input and output from the circuit on a line 70 labeled Data I/O. To transmit data, the data is buffered in a buffer 72, latched by a data latch 74 and driven on lines 12 and 14 (as in Fig. 1) by a balanced driver 76. A Drvr Inh (driver inhibit) signal on a line 78 is supplied to an inhibit buffer 80, as is a Grp Inh (group inhibit) signal on line 82. The Inhibit buffer 80 acts to combine the Grp Inh and Drvr Inh signals to control whether driver 76 is permitted to drive the lines 12 and 14. While Grp Inh is asserted (low), the entire module comprising two differential transceivers is disabled. While Drvr Inh is asserted (low), driver 76 is disabled. The Grp Inh signal on line 82 is also supplied along with a Rcv Inh (receiver inhibit) signal on a line 84 to a Dr/Rcv Buffer 86. Rcv Inh, when low, disables receiver 88 and allows data present at Data I/O to be passed through latch 74 to the driver 76. When Rcv Inh transitions to high, the input level present at the Data I/O line is latched into the module. The output of receiver 88 is then placed on line 70 for reception by a further system similarly coupled thereto and not shown. Lines 12 and 14 are also coupled to comparators indicated as Open Line Detector 90. The detector 90 compares the voltages on lines 12 and 14 to references Vf and -Vf. As described above with respect to opens detection in Fig. 2, if the line voltages exceed its corresponding reference, the open line detector 90 provides a Line Open signal on a line 92. While the present invention has been described with reference to preferred embodiments, it will be recognized by those skilled in the art that changes to the embodiments may be made to the detection circuitry to arrive at equivalent detection circuits. For example, voltage levels on the transmission lines could be digitized prior to comparison to digitized reference levels.

Claims: A line integrity detector in a differential transceiver having an odd transmission line (12) and an even transmission line (14), being respectively biased with a negative and a positive potential, comprising: a high input impedance receiver (33) coupled to said lines to receive data, said detector being characterized in that it comprises: a first driver (30) for driving the odd line with predetermined current representative of data to be transmitted, a second driver (32) for driving the even line with predetermined current representative of data to be transmitted, a detection system (53, 66, 68, 70, 44, 46) for: setting the transceiver in diagnostic mode, separately controlling the drivers, alternately sourcing and sinking each one of the lines, and testing for abnormal switching of the receiver, whereby a detection of shorts between any of the lines and the ground, or between the two lines is achieved. The detector according to claim 1 characterized in that the differential transceiver comprises multiple pairs of transmission lines having corresponding drivers. The detector according to claim 2 characterized in that the receiver will switch when at least one line of each of two pairs of transmission lines are shorted together, and one of the shorted lines is driven in the proper direction. The detector according to claim 3 characterized in that the receiver will not switch in response to either of the lines of one pair of transmission lines being driven when said lines are shorted together.

Inventors: BONACCIO, ANTHONY RICHARD, CARLSON, BRENT ALLEN, HEIM, LLOYD STEPHEN, MOE, KENNETH ARDELL, SCHMITT, STEVEN ALOIS
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1987
Main classification: H04L25
IPC codes: H04L25, G01R31