Abstract:
The location of a termination in a properly terminated LAN can be remotely detected. The cable&#39;s skin effect produces a detectable signature at the sending-end when a step function, for example, reaches the termination. Accordingly, a network analysis device is connected to the network to inject the step function onto the network cabling. The voltage response of the cabling to this is first digitally sampled and then analyzed in a system controller. The system controller reviews the sampled data for an inflection point and then locates the termination by reference to the delay between when the signal was placed on the cable and the detection of the inflection point.

Description:
RELATED APPLICATIONS  
       [0001]    This application is a Continuation of U.S. application Ser. No. 08/890,486, filed Jul. 9, 1997, and claims priority to U.S. Provisional Application No. 60/021,487, filed Jul. 10, 1996, and No. 60/029,046, filed Oct. 29, 1996, the entire teachings of these applications being incorporated herein by this reference. 
     
    
     
       BACKGROUND OF THE INVENTION  
         [0002]    Physically, local area networks (LAN) comprise a transmission medium and network devices that transmit through it. The transmission medium is typically coaxial or twisted-pair wiring. The network devices or nodes are the network cards of computer workstations that utilize the network cabling to communicate with each other. Dedicated network devices such as hubs, repeaters, bridges, switches, and routers are also used to manage or extend a given LAN or act as inter-networking devices.  
           [0003]    One of the most common protocols for a LAN is termed carrier sense multiple access with collision detection (CSMA/CD). This protocol is sometimes generically, but incorrectly, referred to as Ethernet, which is a product of the XEROX Corporation. I.E.E.E. has promulgated standards for this protocol; IEEE 802.3 covers 1-persistent CSMA/CD access method and physical layer specification. The protocol comes in various implementations, 10Base(2) and (5) are 10 megabit per second (MBPS) networks using different gauges of coaxial cable (2 and 5) in a bus topology. 10Base(T) also operates at 10 MBPS but uses twisted-pair cabling in a star topology in which each node connects to a hub. Newer 100 MBPS implementations such as 100Base(T) are becoming more common with 1 GigaBPS devices in planning and testing.  
           [0004]    A number of problems can arise at a LAN&#39;s physical layer. In the case of twisted-pair or coaxial wiring, the electrical conductors may become frayed or broken The shielding may be damaged, failing to protect the conductors from surrounding electromagnetic interference and changing the cable&#39;s characteristic impedance. Moreover, the terminators at the end of the network cables in bus topologies or the terminators in the nodes at the ends of the links in star topologies may be poorly matched to the characteristic impedance of the network&#39;s cables or non-existent. This produces signal reflections that can impair the operation of the network.  
           [0005]    Another potential problem with a network is the fact that cabling may be too long. The IEEE 802.3 10Base(T) protocol, for example, limits the cable length to 200 meters with repeaters. This restriction is placed on networks because signals require a non-trivial time to propagate through the entire length of a CSMA/CD network relative to the data rate of the network. Network devices, however, must have some assurance that after they have been transmitting for some minimum time that a collision will not thereafter occur. Additionally, the end of each packet transmission must be allowed to propagate across the entire network before the next transmission may take place. If the cabling is long, the time allocated to this may begin to consume too much of the network&#39;s potential bandwidth.  
           [0006]    A number of techniques exist for validating a network at the physical layer. The most common approach is called time domain reflectometry (TDR). According to this technique, a predetermined signal, typically a step-function, is injected onto the network cabling. The TDR system will then listen for any returning echoes. Echoes arise from the signal passing through regions of the cable where the characteristic impedance changes. Based upon the amplitude of these reflections and the delays between the transmission of the signal onto the cable at the sending-end and the receipt of the reflection back at the sending-end, the location of the impedance change, a frayed portion of cable for example, may be located.  
           [0007]    TDR has been used to determine the length of the network cable and thus whether it conforms to the relevant protocol. Prior to testing, the network&#39;s terminators are removed and the conductors are shorted together or open circuited. The length of the cable may then be determined based on the time delay between when the TDR signal is placed on the network and when the open- or short-circuit reflection is detected at the sending-end.  
         SUMMARY OF THE INVENTION  
         [0008]    The problem with known cable length detection methods is that they rely on the removal of the terminators or on a reflection producing device. The terminators, however, are necessary to the proper operation of the network. Thus, the cable length can only be determined on a non-operational network. This requirement is not unduly restrictive in the case of validating a newly installed network since the TDR analysis may be performed prior to the installation of the terminators or attachment of the nodes. This requirement, however, negates the periodic monitoring of an operational network and the diagnosis of a previously installed network that is exhibiting problems.  
           [0009]    In the invention, the location of a properly configured terminator, i.e., a terminator that has been configured to closely match the nominal characteristic impedance of the network cabling, can be remotely detected by analyzing the network&#39;s response to a predetermined signal for skin effects. In more detail, the terminator produces a signature that is detectable at the sending-end when predetermined signal, such as a current step function, is injected onto the network cabling. The magnitude of the voltage at the sending-end will slowly increase. This results from the skin effects and accumulated d.c. resistance across the length of the cable as the step function propagates down its length. After a time corresponding to twice the propagation time between the sending-end and the terminator, the voltage will undergo an inflection. After this inflection, the voltage asymptotically returns to the voltage level initially produced when the step function was generated.  
           [0010]    In general, according to one aspect, the invention is directed to a method for analyzing a network link on a computer network. Specifically, it analyzes the link under any one of three criteria. Specifically, a short circuit threshold is applied to the link&#39;s response, an open circuit threshold is applied to the response, and a search is performed for a matched termination. A decision is then made based upon the application of these thresholds and the matched terminator search. Then, once the type of terminator and its is found, a determination of the time delay between the generation of the predetermined signal and the located termination is performed.  
           [0011]    In general, according to another aspect, the invention is also directed to a network termination analysis device for a digital data network. Specifically, a function generator is provided that injects a predetermined signal onto cabling of a network, a digitizer is provided that then digitally samples the network&#39;s response to the predetermined signal. A system processor downloads data from the digitizer to analyze the network&#39;s response to the predetermined signal. It then identifies a time between the generation of the predetermined signal and a change in the networks response due to a termination of the network. This analysis comprises applying a short circuit threshold to the response, applying an open circuit threshold to the response, and also searching the response for a matched terminator. The results of these analyses are used to first identify the type of termination and then the time delay to that termination.  
           [0012]    The above and other features of the invention including various novel details of construction and combinations of parts, and other advantages, will now be more particularly described with reference to the accompanying drawings and pointed out in the claims. It will be understood that the particular method and device embodying the invention are shown by way of illustration and not as a limitation of the invention. The principles and features of this invention may be employed in various and numerous embodiments without departing from the scope of the invention. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0013]    In the accompanying drawings, reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale; emphasis has instead been placed upon illustrating the principles of the invention. Of the drawings:  
         [0014]    [0014]FIG. 1A is a block diagram showing a network diagnostic device of the present invention;  
         [0015]    [0015]FIG. 1B is a schematic diagram showing the cross-connect panel supporting physical layer access for the MIU according to the present invention;  
         [0016]    [0016]FIG. 2 is a timing diagram showing a hybrid packet/step function for detecting terminations on an active network;  
         [0017]    [0017]FIG. 3 is a state diagram illustrating the operation of the packet/step function generator;  
         [0018]    [0018]FIG. 4 is a graph of the voltage as function of time when a step function is placed on the network cabling of a LAN;  
         [0019]    [0019]FIG. 5 is a process diagram illustrating the data processing performed on the cable&#39;s response to the TDR edge to find the terminator;  
         [0020]    [0020]FIG. 6 is a voltage vs. time plot of an exemplary cable response;  
         [0021]    [0021]FIG. 7 shows a low pass filtered and first order differential of the exemplary cable&#39;s response;  
         [0022]    [0022]FIG. 8 shows another exemplary cable response illustrating a correction for the real resistance of the cable;  
         [0023]    [0023]FIG. 9 is an impedance spectrum for the cable response shown in FIG. 8;  
         [0024]    [0024]FIG. 10 is another exemplary cable response showing the effect of an LC circuit;  
         [0025]    [0025]FIG. 11 is an impedance spectrum for the cable response of FIG. 10;  
         [0026]    [0026]FIG. 12 is a schematic diagram showing the elements of a network link and the point of attachment of the MIU;  
         [0027]    [0027]FIG. 13 is a process diagram showing the isolation of the node-side response of the link; and  
         [0028]    [0028]FIG. 14 is a graphical user interface displaying the information gained from the, terminator detection according to the present invention. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0029]    [0029]FIG. 1A illustrates a network diagnostic device  50  implementing the present invention. Other aspects of the device are described in U.S. patent application Ser. No. 08/619,934, filed on Mar. 18, 1996, entitled Packet Network Monitoring Device, the teachings of which are incorporated herein in their entirety by this reference.  
         [0030]    The illustrated network  5  is configured in a star topology, such as in 10Base(T). It incorporates multiple links  10 - 15 , which operate in a common collision domain, although separate collision domains could exist between the links in other implementations. The nodes or computers  16 - 21  are located at the ends of network cables  22 - 27  for each of the links. Each of the nodes includes a terminator  28 - 33  that is matched to the characteristic impedance of the corresponding cables. In the case were each of the links  10 - 15  is a bus-style network connecting several computers, separate terminator devices are connected at the ends of the network cables  22 - 27 . A hub  16 , or alternatively switch or other network communications device, enables communications between the nodes by retransmitting packets between the links.  
         [0031]    A media interface unit (MIU)  100 , or attachment unit, connects a digitizer  120  and signal generation circuits  150  to the physical layer of the network&#39;s links  10 - 15 . The MIU includes the receiver units R that collectively provide a two-channel input to the digitizer  120  through a summing network  36 . The summing network  36  enables individual links to be monitored, or combines the signals of multiple links, on a channel of the digitizer  120 . For adequate analog resolution, the digitizer should have at least a 500 MHZ sampling frequency with eight bits of resolution per sample and a long memory capacity of at least one megabyte of eight bit samples, or preferably 2 to 4 megabytes for 10 MBPS networks. Analysis of 100 MBPS to 1 GBPS networks is facilitated with correspondingly faster sampling frequencies and longer memory capacities.  
         [0032]    [0032]FIG. 1B shows one implementation of the MIU  100  integrated into a cross connect panel of the invention. Each remote network node  16 - 21  is connected to a wall panel W 1 -W 6 , commonly located in the office  68  in which the computer  20  is located. These wall panels receive, in one implementation, four twisted pair wires supporting a communications link in a common jack or connector scheme. The wires  70  from the wall panels W 1 -W 6  are bundled into larger horizontal cables  60  of 24 to 48 separate groups of four twisted-pair wires from other nodes in other offices.  
         [0033]    Each of the horizontal cables  14  terminates usually in a wiring closet  72  housing the cross-connect panel  64  and the network communications device  16 . Each group of wires of a communications link is associated with and electrically connected to a separate panel-device connector  66  on the front of the cross-connect panel  10 . Short jumper cables or patch cords  62  are used between each panel-device connector  66  of the cross-connect panel  64  and the network device  16 .  
         [0034]    Generally, cross-connect panels provide a convenient way to terminate the horizontal cables  60  while allowing computers to be connected to different ports of the network communication device  16 . Moreover, the network communications device may be replaced simply by switching the patch cords  24 .  
         [0035]    The panel  64  includes a monitoring port to which the media interface unit (MIU)  100  is connectable. The port provides physical layer access to the communications links by supporting direct signal taps to the communications media of the links.  
         [0036]    Returning to FIG. 1B, the digitizer  120  comprises a buffering amplifier  122   a ,  122   b  on each of the two channels Ch1, Ch2. Two sample-and-hold circuits  124   a ,  124   b  downstream of each amplifier freeze the detected voltage in each channel for digitization by two analog-to-digital converters  126   a ,  126   b . The digital outputs of the converters are written into two long memories  128   a ,  128   b , one assigned to each channel Ch1, Ch2. The memories  128   a ,  128   b  function as first-in, first-out (FIFO) buffers that continuously receive and store the output from the converters  126   a ,  126   b  until a trigger signal is received.  
         [0037]    A system processor  140  is connected to read the arrays of data from the long memories  128   a ,  128   b  of the digitizer  120 . In one implementation, it is a personal computer/workstation, which is also connected to the network  5  via a conventional network card. The system processor  140  performs signal processing on the data arrays. The system processor  140  also provides the overall control of the device  50 .  
         [0038]    A packet/step function signal generator  150 , also under the control of the system processor  140 , is connected to the network  5  via drive circuits D. The signal generator  150  has much of the control logic that would be contained in a network card for the relevant network. It can determine when other nodes are transmitting, determine incidences of collisions, and assess when a packet transmission can be made in accordance with the network&#39;s protocol.  
         [0039]    The signal generator  150  produces a hybrid step/packet transmission in order to allow the device  50  to perform terminator and physical layer analysis while the network  5  is operational. Nodes  16 - 21  can behave unpredictably if a lone step function is transmitted over an idle network. The nodes, however, will generally ignore a packet transmission as long as it is not addressed to the nodes. To utilize this behavior, the signal generator  150  is configured to generate a broadcast diagnostic packet. Packets with this source and destination address will be universally ignored by the network&#39;s nodes. The step function is inserted where a data payload would typically be found. This renders step function transparent to the nodes.  
         [0040]    [0040]FIG. 2 schematically shows the hybrid step/packet transmission  200  for a 10Base(T) CSMA/CD network. In compliance with the network&#39;s protocol, the packet  200  has a standard length preamble  210 . The source and destination addresses  220 ,  230  conform to a diagnostic broadcast packet. A data payload  240  is started, but then after a predetermined time, the voltage on the cabling is held at a quiescent level, i.e. 0 Volts in most networks, for time t 1 . This period corresponds to the time that is required for a signal to traverse the entire network, usually between 1 and 6 microseconds. This delay allows any echoes to die out. Then, the edge  250  of the current step function  252  is generated by producing a predetermined amount of current on the network cabling. This raises the magnitude of the voltage on the cabling to a selected level, e.g. 0.5-5 Volts. As shown, this voltage is preferably close to the normal voltage swings experienced during data transmission, but a stronger signal-to-noise ratio can be obtained by using higher voltages. In either case, the voltage swing should not be so large as to create the risk of damage to any of the node&#39;s network cards.  
         [0041]    The step function  252  is maintained for a tine that is long enough to allow the edge to propagate throughout the network and the response received back by the digitizer at the sending-end at time t 2 . At the expiration of this time, the voltage on the network is brought back to a quiescent state allowing the other nodes on the network to recognize the end of the transmission.  
         [0042]    The digitizer  120  is used to detect the response of the network  10  to the step function. A trigger device  130  of the digitizer is armed by the system processor  140  and triggered by the packet/step generator  150  in response to the transmission of the hybrid packet on the network. The system processor then extracts any detectable echo from the sampled event. By analyzing the echo, the location of network termination is determined.  
         [0043]    [0043]FIG. 3 is a state diagram for the packet/step function generator  150 . The generator is activated by a transmit command that is received from the system controller  140  in step  290 . It then prepares to send the packet in step  291 . First, it waits until the network is idle in step  292 . When there are no transmissions on the network cabling, an external trigger is sent to the trigger device  130  of the digitizer  120  in step  293  and the packet  200  is transmitted on the network in step  294 . The generator then waits until the packet transmission is finished in step  295 . This transmission includes the broadcast source and destination address  230 , 220 , the start of the payload  240 , and the “silent” time t 1  to allow echoes to die out. The edge  250  is then sent in step  296 . It again waits for the conclusion after time t 2  and then signals the system controller  140  in steps  297  and  298 .  
         [0044]    [0044]FIG. 4 shows an exemplary network response to the current step function  252  at the sending-end. For clarity, only the portion of sampled signal that resulted from to the step function is shown. In the properly terminated network, the response of the network to the step function  252  exhibits two slopes. The first slope  410  is indicative of the accumulated DC resistance and skin effects of the cable as the edge  250  propagates towards the terminations  28 - 33 . The magnitude of the voltage slowly increases from its initial level v 1  just after the edge  250 . At a time that corresponds to twice the propagation time T a  between the insertion point for the edge  250  and the termination, the network response exhibits an inflection point  412  where the voltage begins to drift back to its initial level v 1  with a new slope  414 .  
         [0045]    The system processor  140  processes this data from the digitizer  120  and locates the inflection point  412  and determines time T a . Then, by reference to the signal propagation speeds across the network cabling  22 - 27  the processor  140  calculates the distance to the terminators  28 - 33 .  
         [0046]    [0046]FIG. 5 illustrates the signal processing performed by the system processor  140 . The first step in the signal processing is to isolate the cable&#39;s response to the TDR edge in step  510 . As described in connection with FIG. 3, the data acquisition is triggered in response to the beginning of the hybrid/TDR packet shown in FIG. 2. For the analysis, however, the only relevant portion of the sampled signal event is the cable&#39;s response to the TDR edge  250 . FIG. 4 shows an isolated cable response. This response is exceptionally clean, without distortion, example where the terminator inflection point  412  is very evident.  
         [0047]    Possibly a more common cable response, or worse case situation, is shown in FIG. 6. This cable response shows a number of changes in the cable&#39;s characteristic impedance  610  at various time delays from the TDR edge  250 . These could be caused by cable splices, different types of cable, or damage to the cable shielding, for example.  
         [0048]    The data that corresponds to the cable&#39;s response is then low pass filtered in step  520 . This filtering smooths any high frequency spikes in the cable&#39;s response to facilitate the analysis of the trends in the data. The response labeled  710  in FIG. 7 shows the low pass filtered response of the cable response shown in FIG. 6. Many of the spikes  610  are removed in the low pass filtered response  710  of FIG. 7.  
         [0049]    The filtered data is then compared to short and open circuit thresholds in step  522  of FIG. 5. If the end of the circuit is not properly terminated in the characteristic impedance, but is an open circuit, the cable&#39;s response will be characterized by an increase in the voltage at a delay that corresponds to the distance to the open circuit. The inductance associated with the cable length causes the detected response to increase to twice the voltage of the initial TDR edge  250  in the case of a complete open circuit. An appropriate open-circuit threshold is 190% of the voltage of the TDR edge. This threshold is applied to the cable&#39;s response to determine whether an open circuit exists and the distance to the open circuit represented by the time delay at which the threshold is exceeded.  
         [0050]    Contrastingly, a short circuit at the end of the cable will be characterized by drop in the magnitude of the voltage on the cable. This corresponds to the dissipation of the energy of the TDR edge  250  to ground as the step function reaches the short-circuit. An appropriate short-circuit threshold is 10% of the voltage of the step function&#39;s magnitude. This threshold is similarly applied to the cable&#39;s response in step  522 .  
         [0051]    If either of the open or short circuit thresholds are exceeded as determined in step  524 , the distance to the short or open circuit corresponds to one-half the delay until either of thresholds are exceeded in the cable&#39;s response in step  526 .  
         [0052]    On the assumption that a short or open-circuit is not detected, i.e., the cable is probably properly terminated with a termination that closely matches the cable&#39;s characteristic impedance, a first-order differential is performed on the cable&#39;s response to the TDR edge  250  in step  528 . The result of this processing is a plot showing how the cable&#39;s response is changing as a function of the delay from the TDR edge. The first order differential of the low-pass filtered response  710  is identified as  712  also in FIG. 7.  
         [0053]    The terminator is then located by finding the highest time delay at which the first order differential becomes positive and remains positive in step  530 . This analysis is conceptionalized by beginning at the right side of the first-order differential plot  712  in FIG. 7, and then scanning leftward until the zero-crossing is found (see reference  714 ). This corresponds to the inflection point  412  described in connection with FIG. 4, and the time delay between the zero-crossing  714  and the TDR edge  250  corresponds to twice the distance to the terminator or node at the end of the cable. The physical distance is calculated by multiplying the time delay by the propagation speed of the signals over the cable and dividing by two.  
         [0054]    As shown in steps  532  and  534 , further processing is optionally performed to identify impedance problems with the network cabling. First, a resistance correction must be performed in factor out the contribution of the real portion of the cable&#39;s resistance to the response in step  532 . Since the real resistance has no frequency dependence, by definition, it will not distort any signals transmitted on the line other than causing attenuation.  
         [0055]    [0055]FIG. 8 shows an exemplary cable impedance as a function of time delay. Plot  810  is the total, real and imaginary, impedance as a function of time delay. Plot  812  represents the response that is dictated by only the imaginary portion, i.e., reactance, of the cable&#39;s impedance. An impedance frequency spectrum shown in FIG. 9 is then generated by normalization and by performing a fast Fourier transform (FFT) on the impedance response  812 . This analysis exposes problems with the cable that may cause improper operation in certain networks by showing the frequencies that are subject to distortion.  
         [0056]    For example, the cable response shown in FIG. 10 could occur in the case of a LC circuit that creates the ringing effect shown by the brief sinusoidal pulse  1010 . The frequency analysis of this response is shown in FIG. 11. The spike at 35 MHZ is characteristic of the LC circuit ring shown in FIG. 10. By this analysis, the distortion caused by the LC circuit would not be a problem in a 10Base(T) network, for example. That network is band limited under 35 MHZ. This spike, however, could present substantial problems to a 100Base(T) network whose operation frequency range includes 35 MHZ.  
         [0057]    In some instances, added processing or compensation is necessary where the injection point of the TDR step function signal is not at or near an end of the network link. FIG. 12 is a block diagram showing the components forming a monitored link  20  when the cross-connect or patch panel  64  of FIG. 1B is used to connect the network diagnostic device  50  to the network  5 . The patch panel  64  supporting the connection to the network link&#39;s physical layer is located at a non-end point on the link. A patch cable  62  connects the panel  64  to the hub or other network device  16  usually via a standardized connector  74 , an RJ-45-type connector, in the illustrated implementation. The other end of the link  14  extends from a punch-down channel  76  in the panel  64  through the horizontal cable  60  to a wall box W 1  at an office, which has a second punch-down channel  78  and connector  80 . A second patch cable  82  typically connects the computer or network device  20  to the wall box WI.  
         [0058]    The TDR signal injected at the patch panel propagates both ways along the link  14  from the point of injection  84 . It travels to the hub  16  and to the node  20 . Thus the response detected at the panel  64  is a composite response of the connection to the hub-side  86  and node-side  88  of the link  14 . This effect undermines the previously described analysis.  
         [0059]    [0059]FIG. 13 is a process diagram showing calibration processing typically performed when the network is first installed to isolate the node-side response. The node-side  88  of the patch panel  64  is opened or closed circuited at the punch down channel  76  in step  1310 . The TDR signal is then injected onto the cabling in step  1320 . The detected response is only that of hub-side  86  of the link  14 . This response is stored in connection with the link  14  in step  1340 .  
         [0060]    The stored hub-side response is later used to analyze the node-side  88  of the link  14 . The response of the link to the TDR signal is detected in the fully connected and functioning network. This response is a composite of the node-side and the hub-side responses. The hub-side response determined during calibrating, however, is subtracted from the composite response to isolate the node-side response. This node-side portion of the link is typically the most important for monitoring purposes since it is more susceptible to acquired damage and unauthorized changes.  
         [0061]    [0061]FIG. 14 is a user interface that displays the information gained from the TDR cable length analysis on a monitor  142  of the system processor  140 . For a 36 port hub, TDR analysis can be separately performed on each link. In the two-channel device shown in FIG. 1A, this probing must occur serially. The cable length derived from the analysis can then be displayed as shown also noting the maximum allowable cable length for the protocol and media type, here shown as 100 meters. Those links that do not conform with the protocol can be displayed as exceeding that distance. Additionally, the status of each of the links can be assessed and displayed. By reference to the impedance spectrum and the characteristics of the termination, open or short circuit, for example, problems can also be indicated by graphically identifying that terminals or links that require maintenance and the users on the is.  
         [0062]    While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.