Abstract:
An arrangement is disclosed for determining a byte error rate (ByER) of a received digital signal. In particular, a local byte clock signal is generated and a complement of the received signal (or clock signal) is compared to the clock signal (or received signal). When both are the same logic value, as determined by a series of logic gates, an error is deemed to have occurred. A counter is utilized to track a number of occurrences N over a predetermined period of time T. The byte error rate is then determined from the relation ##EQU1##

Description:
BACKGROUND OF THE INVENTION 
     1. Technical Field 
     The present invention relates to an error rate test arrangement and, more particularly, to an arrangement for determining the byte error rate (ByER) of a recovered data signal. 
     2. Description of the Prior Art 
     In digital data communication systems, a sequence of bits (i.e., a signal comprising binary digits) originates from a transmitter and is transmitted through a communications channel to a receiver. If the communication channel were perfect, the sequence of bits received at the receiver would be identical to the transmitted data bits. However, communications channels are not perfect and, because of the presence of noise and other spurious signals, the received data may very well not be the same as the transmitted data. Accordingly, systems have been designed to detect and correct errors occurring in sequences of received data. Such systems determine if some of the bits of the received data differ from the transmitted data, and thereafter correct the error or errors. 
     There are many commercially available arrangements for monitoring the received bit stream and providing error correction, for one bit at a time. Indeed, many systems list as a criteria a maximum bit error rate (BER) as one specification to monitor system performance. However, as the systems evolve and the needs of the designers change, it is becoming more desirable to also monitor and correct for &#34;byte&#34; errors, where a &#34;byte&#34; is commonly defined as a string of eight bits. A need remains in the art, therefore, for a relatively simple way for monitoring the byte error rate of a digital communication system. 
     SUMMARY OF THE INVENTION 
     The need remaining in the prior art is addressed by the present invention which relates to an error rate test arrangement and, more particularly, to an arrangement for determining the byte error rate (ByER) of a recovered data signal. 
     In accordance with an exemplary embodiment of the present invention, a recovered data signal is inverted and then clocked with a locally-generated standard byte clock. The output is then provided to a counter, which will increment every time the byte clock is coincident with the complement of the data signal. The ByER may then be determined by calculating the number of coincidences during a given period of time. 
     It is an advantage of the present invention that the ByER may be simply determined using a microprocessor, or other similar device, where the microprocessor contains the value of the standard byte rate and controls the counting process. The microprocessor can then simply determine the ByER using the following relation: ##EQU2## where N is defined as the total number of counts from the counter (i.e., the number of byte rate errors), T is the elapsed count time, and C is the standard byte clock frequency. 
     In one embodiment of the present invention, the received signal (S) may be applied to an inverter to form the complement (S) of the data signal. The complement signal (S) is subsequently applied as a first input to an AND gate, where the byte clock (C) is coupled to the remaining input of the AND gate. The AND gate output (E) is then applied as an input to a counter for monitoring the occurrences of coincidences. Alternatively, a series of NAND gates may be interconnected to provide the same function, where the NAND arrangement is simplified in that only a single integrated circuit is required. 
     Other and further embodiments and advantages of the present invention will become apparent during the course of the following discussion and by reference to the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     Referring now to the drawings, where like numerals represent like parts in several views: 
     FIG. 1 illustrates an exemplary arrangement for providing byte error rate testing in accordance with the present invention; 
     FIG. 2 contains timing diagrams of various signals generated in accordance with the teachings of the present invention; 
     FIG. 3 illustrates an alternative embodiment of the present invention, utilizing a series of NAND gates; and 
     FIG. 4 illustrates yet another embodiment of the present invention, utilizing in particular a complement byte clock signal. 
     FIG. 5 contains a flowchart illustrating in particular the various functions utilized in practicing the arrangement of the present invention; 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 illustrates an exemplary byte error rate test arrangement 10 formed in accordance with the teachings of the present invention. As shown, a received data signal S (also denoted &#34;signal detect&#34; in FIG. 1) is applied as an input to an inverter 12. Inverter 12 functions, therefore, to form the complement, denoted S of the received data signal. Complement signal S is subsequently applied as a first input to an AND gate 14. The remaining input to AND gate 14 is a byte clock signal C, which is generated by a standard byte clock source 16. Source 16, located at the receiver, is chosen to provide a constant output at the byte rate determined by the system user. In particular, byte clock signal C will have a value of logic &#34;1&#34; at the beginning of each byte. The timing diagrams shown in FIG. 2 illustrate the various signals described thus far, namely, received signal S, complement signal S, and byte clock signal C. The output of AND gate 14, denoted E and also illustrated in FIG. 2, will therefore have a value of logic &#34;1&#34; only when both signals S and C are logic &#34;1&#34;&#39;s. Obviously, the coincidence of S of logic &#34;1&#34; with the beginning of a byte (as defined by a clock signal C of logic &#34;1&#34;) indicates an error in byte rate of the received data signal. Thus, output error signal E from AND gate 14 will maintain an output value of logic &#34;0&#34; as long as there is no byte rate error present in the received data signal. However, when error signal E becomes a logic &#34;1&#34;, a byte rate error has occurred. 
     In accordance with the teaching of the present invention the byte error rate is determined by providing the error output E from AND gate 14 as an input to a counter 18. Counter 18 functions to simply increment in value each time it receives a logic &#34;1&#34; signal input from the output of AND gate 14 (signal E). After a predetermined period of time T has elapsed, the total number of increments N of counter 18 is read out, and used to determine the ByER as defined above. For example, if the elapsed time T was 1200 seconds and the number of errors N was 3 for a byte clock C operating at 26 MHz (26 MHz=26×10 6  cycles per sec), the ByER will be: ##EQU3## 
     As shown in FIG. 1, a microprocessor 20 may be programmed to perform the calculation described above. In particular, microprocessor 20 receives as inputs to byte clock C and the total number of increments N. Microprocessor 20 may be configured to control the timing operation of the arrangement and provide the time control signal T to counter 18 such that when counter 18 receives the T signal, the total count N will be transferred to microprocessor 20. Using the relation described above, microprocessor 20 may then determine the ByER. An advantage of using a microprocessor is that the byte clock input may be modified as a function of time, at the desire of the user, without disturbing the output. Similarly, the elapsed time T may be modified by a microprocessor. In fact, the microprocessor may be configured to store progressive ByER values to enable a system designer to study the performance history of the system in terms of ByER. 
     FIG. 3 illustrates an alternative ByER detection arrangement 30. Arrangement 30, formed using a series of NAND gates, may be a preferred embodiment of the present invention, since a single integrated circuit may be used to form the complete logic arrangement. Similar to arrangement 10 described above, arrangement 30 receives as an input digital signal S detected by the receiver (not shown). Signal S is subsequently applied as both inputs to a first NAND gate 32. As is well-known in the art, when both inputs are identical, a NAND gate will function as an inverter. Therefore, first NAND gate 32 will provide as an output the complement signal S of the detected signal S. Complement signal S is subsequently applied as a first input to a second NAND gate 34. The remaining input to NAND gate 34 is the clock signal C from a byte clock source 36, which is essentially identical to byte clock source 16 described above. The output from NAND gate 34 will remain at a logic &#34;1&#34; value as long as either input signal S or C comprises a logic &#34;0&#34; value. As discussed above, when both S and C are simultaneously a logic &#34;1&#34; value, a byte clock error has occurred in the received signal S. 
     Returning to FIG. 3, when both S and C are logic &#34;1&#34; values, the output from NAND gate 34, denoted E, will be a logic &#34;0&#34;. A timing diagram of signal E is also shown in FIG. 2. This error output signal E from NAND gate 34 is subsequently inverted by a third NAND gate 38, which thus provides as an output the error signal E. As with arrangement 10 described above, error signal E is subsequently applied as an input to a counter 40, where counter 40 functions in a manner similar to counter 18 described above. After a predetermined period of time T, the total number N of errors may then be read out and the byte error rate determined. A microprocessor 42 may be used as described above to generate the ByER data. 
     An alternative arrangement 50 for providing the same ByER determination is shown in FIG. 4. In this case, an inverted byte clock C is formed by passing the output C from a clock source 52 through an inverter 54 (the timing diagram of signal C is also illustrated in FIG. 2). Inverted clock signal C and received signal S are subsequently applied as separate inputs to an OR gate 56. As is well-known in the art, the only time an OR gate will provide an output of logic &#34;0&#34; is when both inputs are logic &#34;0&#34;, which in this case is indicative of an error in the received signal S byte rate. Therefore, the output from NOR gate 56, denoted E will be at logic &#34;0&#34; when an error has occurred. Signal E subsequently passes through an inverter 58 such that an error signal E is formed which will be a value of logic &#34;1&#34; when an error is present. Signal E is then utilized as the increment input to a counter 60. As with the arrangements described above, after a predetermined period of time T, the total number of errors N is read out of counter 60 and used to determine the byte error rate (ByER). 
     It is to be understood that there exist many other logic arrangements which may be used to provide an output similar to those described above. Further, a microprocessor is not considered to be a necessary element of the present invention and various other arrangements may be used to determine the byte error rate.