Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYNCHRONOUS SIGNAL DECODER
Document Type and Number:
WIPO Patent Application WO/1989/001721
Kind Code:
A2
Abstract:
A synchronous decoder for recovering a train of binary data encoded in a biphase format and decoding into NRZ format. Encoded data is sampled during the first half of a bit period and the second half of a bit period and stored respectively into two storage elements. The stored data is combined and applied to a third storage element at the beginning of the next bit period. The state of the third storage element is responsive to the sequentially applied combined signals in the train of data and thereby produces a pulsed output encoded in NRZ format.

Inventors:
BARNDT ROBERT ALLAN SR (US)
Application Number:
PCT/US1988/002606
Publication Date:
February 23, 1989
Filing Date:
August 01, 1988
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNISYS CORP (US)
International Classes:
H03M5/12; H04L7/00; H04L7/02; H04L25/49; (IPC1-7): H03M5/12; H04L7/02
Foreign References:
EP0140703A21985-05-08
US3437932A1969-04-08
Download PDF:
Claims:
CLAIMS
1. What is claimed: A synchronuous detector for phaseencoded binary signals rs comprised of a plurality of sequential pulses, ones of said sequential pulses encoded to designate a binary logic state in ? synchronism with a predetermined clock rate, said synchronous 5 detector comprising: first digital storage means for providing a first output signal in accordance with the logic state of a first predetermined portion of one of said binary signals having first and secnd portions, 10 second digital storage meansfor providing a second output signal in accordance with the logic state of a second predetermined portion of said one of said binary signals; said first and second predetermined portions of said one binary signal comprising a binary character of predetermined 15 duration; gate means responsive to said first and second output signals for providing a third output signal when said first and second output signals are in opposing binary states, and for producing a null output when said first and second output signals 20 are in the same binary state; means for inverting said third output signal; and digital switch means responsive to said third output signal and said inverted third output signal for providing a further output signal indicative of the logic state of said one of 25 said binary signals, said third output signal corresponding to a first transition de arking the beginning of said binary signal and said inverted output signal corresponding to a second transition demarking the end of said binary signal, said switch means so constructed and arranged as to change to a first logic state when * 30 said third output signal is applied and to an opposing logic state when said inverted output signal is sequentially applied, the time * interval between said first and second logic states corresponding to multiples of a period corresponding to a binary character.
2. The synchronous detector as set forth in claim 1, further comprising first AND gate means, responsive to said one of said phaseencoded binary signals and to a timing signal representative of said first predetermined portion thereof, for providing an output signal to said first digital storage means when said timing signal and said phaseencoded binary signal are in logic state coincidence.
3. The synchronous detector as set forth in claim 2, further comprising second AND gate means responsive to said one of said phaseencoded binary signals and to a further timing signal representative of said second portion thereof, for providing an input signal to said second digital storage means when said further timing signal and said phaseencoded binary signal are in logic state coincidence.
4. The synchronous detector as set forth in claim 3, said first digital storage means comprised of first bistable multivibrator means, also responsive to a source of clock signals and to a still further timing signal corresponding to a duration of said binary character.
5. The synchronous detector as set forth in claim 4, said second digital storage means comprised of second bistable multivibrator means, also responsive to said source of clock signals and said still further timing signal.
6. The synchronous detector as set forth in claim 5, said gate means comprised of an EXCLUSIVE OR gate.
7. The synchronous detector as set forth in claim 6, further comprising third AND gate means responsive to said third output signal and to said still further timing signal for providing a first input signal to said digital switch means corresponding' to a 5 coincidence of said third output signal and said still further timing signal. **"• .
8. The synchronous detector as set forth in claim 7, further comprising fourth AND gate means responsive to said inverted third output signal and to said still further timing signal, for providing a second input signal to said digital switch means corresponding to a coincidence of said inverted third output signal and said still further timing signal.
9. The synchronous detector as set forth in claim 8, said digital switch means further comprising third bistable multivibrator means responsive to said source of clock signals.
10. The synchronous detector as set forth in claim 9, wherein said first, second, and third multivibrator means comprise JK flipflop means.
11. * 15.
Description:
SϊNCH CNCUS SIGNAL DECODER

BACKGROUND OF THE INVECTIGN

, ' -.. 1. -F_—ie--l-d-—o._—f.__t___h_-e-—I-—n-v-__e___n__— t__i___o__—n.

The present invention relates generally to a detector for ψ serial data transmission and more particularly to a synchronous decoder for fiber-optic signals wherein data and clock rate have 5 been encoded together.

2.Description of the Prior Art

Present day digital data transmission systems typically recover binary data by transmitting and detecting binary encoded electrical signal waveforms. Transmission of signals over fiber-

10 optic lines offers several advantages over copper transmission lines. Thus, fiber transmission lines possess wide bandwidths which permit multiplexing a plurality of signals with minimum losses, are compact, and immune to electromagnetic interference. The simplest method of transmission is by intensity modulation of

15 a light source which is applied to the fiber transmission line and detected by an appropriate sensor. However, transmission over appreciable distances results in phase shift due to perturbations in the optical fiber, variations in the thickness of the jacket surrounding the fiber and the effects of mechanical stimuli which

20 result in changes in the index of refraction. As a result, it is desirable to buffer, periodically detect, and reconstruct the transmitted signal so that it replicates the original transmission. By this means, signals can be transmitted over fiber-optic lines of significant length with minimal distortion. 25 The choice of the code used for transmitting the fiber-optic signals is of importance in order to obtain maximum achievable data density with minimum phase distortion. Further, in -,_. applications where remote terminals or work stations are fed from a centrally disposed computer, it is desirable to transmit a clock

frequency for synchronizing the remote stations with the computer. The method of encoding known as biphase, which is similar to phase modulation, frequency shift, and manchester codes, produces a waveform from which both data and clock frequency may be recovered. Biphase zero is a self-clocking signal data transmission code characterized by always changing logic state at the end of the bit time period, but if the bit is a zero, also changing at mid-bit. Thus, a train of successive logic ones would be represented by alternating logic zero and logic one bit pulses, while a logic zero would be comprised of a comparable bit period wherein the logic state changes substantially in the middle of the bit.

An apparatus for generating biphase data signals, and asynchronously recovering the data, is shown in U.S. Patent 4,584,719, Fiber Optic Workstation Datalink Interface, issued April 22, 1986 to B.J. Miller, which is incorporated herein by reference.

The present invention provides an apparatus for synchronously decoding biphase data in accordance with a system clock and providing an output encoded in accordance with the well known NRZ format. Thus, it is adaptable to utilization between electrical signals generated, for example, in RS-422A format, which are converted to fiber-optic signals for transmission over fiber-optic lines, and then detected by the present invention, and the NRZ output decoded to regenerate the electrical signals.

BRIEF DESCRIPTION OF THE DRAWINGS

Fig. 1 is a schematic block diagram illustrating the apparatus of the present invention.

Fig. 2 is a timing diagram illustrating the signal relationships at various points within the present invention.

DESCRIPTION OF THE PREFERED EMBODIMENT

In the following description the present invention is applied to the decoding of fiber optical signals encoded in biphase format. It should be appreciated that signals in this format also provide information with respect to an embeded data clock frequency utilized by a work station; however, the present invention is concerned primarily with the decoding of the biphase signal and conversion to NRZ data in synchronism with a provided clock signal. Thus, recovery of the data clock frequencies are not herein involved. The present " invention is adapted for synchronization with an incoming data stream so that the receiving interface will detect

vi e data bits (binary ones and zeros) will occur. A 16MHZ system clock is used for illustrative purposes, although this clock rate is exemplary and not to be construed as limiting. A binary one is represented by a period nine clock pulses in duration of logic zero or logic one value, with a stream of binary ones represented by sequentially alternating periods of logic one and logic zero values. A binary zero is represented by a first portion four clock pulses in duration having a logic zero value and a second portion of five clock pulses having a logic one value. Each character transmitted during a bit period is encoded with a data clock frequency. Since each character is individually encoded, a dynamically changing data clock may be utilized.

Referring now to Fig. 1, there is illustrated a schematic block diagram of the logic elements forming the present invention. Biphase serial signal data, such as digital fiber-optic data, is applied at terminal 10 to input 11 of AND gate 12. The biphase data is also transmitted from node 16 along line 18 to 1* '.put 20 of a second AND gate 22. A start signal denoting the beginning of a character is applied to input 26 and a second terminal 14 of AND gate 12. In a similar manner, a stop signal denoting the end of the character is applied to the terminal 28 and input 24 of AND gate 22. The start and stop signals may be derived from a timing generator source gated by an internal clock and which has been prograimied with the anticipated character structure, which needs a some point in time to be synchronized, prior to being applied to node 16, with the incoming data rate.

The output 30 of AND gate 12 is applied on line 32 to terminal J of logic element 34. Element 34 is a bistable multivibrator, such as the type 74LS107JK flip-flop which triggers on the falling edge of a clock signal applied to terminal CK. Flip-flop 34 is cleared and the output at terminal Q set to a logic zero condition by a clear signal at initialization applied to terminal 60 and conducted on lines 62 and 68 to the C R terminal.The clock signal is applied at terminal 36 in a conventional manner to lines 40 and 46 coupled to terminal CK. A synchronization signal sync is applied at terminal 38 to line 48

and line 52 to input K of flip-flop 34 and flip-flop 58. The synchronization signal is generated by the timing generator described above. The output Q of flip-flop 34 is applied on line y 70 to input 72 of XOR gate 74. XOR gate 74 is a conventional logic

5 element such as type 74LS86. ψ Output terminal 54 of AND gate 22 is coupled on line 56 to the J terminal of a second bistable multivibrator 58, also in the form of a JK flip-flop. The clock signal 36 is applied from node 42 to lead 76 and input terminal CK. The clear signal on line 62 10 is coupled from node 66 to line 78 and terminal CR at initialization. Output Q of flip-flop 58 is coupled on lead 80 to a second input 82 of XOR gate 74.

XOR gate 74 has an output coupled at node 84 on line 86 to one input 88 of a third AND gate 91. Node 84 is also coupled to

15 input 90 of an inverter 92. A second input 81 of AND gate 91 receives the sync signal applied to terminal 38 via line 48, node

96, and line- 94. The output 83 of AND gate 91 is coupled on line

97 to the J terminal of a third bistable multivibrator 100, which is preferably a type 74LS112. Multivibrator 100 is also of the JK

2 * 0 flip-flop type, and is triggered on the falling edge of the input clock pulse. The output of inverter 92 is applied on line 85 to input 87 of a fourth AND gate 93. The sync signal from terminal 38 is applied via line 48 and node 96 to a second input 89 of AND gate 93. The output 95 of AND gate 93 is coupled via line 98 to

25 terminal K of flip-flop 100. The clear signal on line 62 is applied via node 64 and line 99 to terminal CLR of flip-flop 100.

The output from flip-flop 100 is taken from the Q " terminal. The output is applied on line 102 to provide a decoded signal in NRZ format at terminal 104.

30 Having described the structure of the invention, the operation of the circuit will now be explained. Referring now to

■% Figure 2, with continued reference to Figure 1, there are shown the signal waveforms appearing at various points of the circuit of Figure 1. Thus, fiber-optic character data 200 is of the biphase

35 zero format. Each of the bit periods 201, 202, and 203 is

comprised of nine clock pulses. Bit period 203 is marked to show nine clock pulses 204 of equal duration. Period 201 denotes a binary one character, which is shown at a logic level zero. Period 202, which also depicts a binary one character, is denoted by a logic one. A transition 205 marks the end of one bit period and the beginning of the next bit period. Period 203 represents a binary zero character and is comprised of a first portion 208, at a logic zero level, a transition 207 to a logic one level, and a second portion 209. The fiber-optic character data is applied on terminal 10 to

AND gates 12 and 22. At the beginning of each valid character, a synchronization pulse SYNC 210 is generated. The SYNC signal is delayed by one clock interval from a START signal 212 which is applied to terminal 26. With reference to interval 203, the signal represented by the first portion 208 is combined in AND gate 12 with START pulse 212, and as shown at the waveform GATE 12, results in zero output level. SYNC pulse 210 is applied to reset flip-flop 34 and flip-flop 58 on the trailing edge of the next clock pulse. It may be seen by referring to waveform FF.34 that the output of gate 12 previously stored in flip-flop 34 was a logic high. Therefore, when reset by the SYNC pulse 210, flip-flop 34 is pulled to a logic low condition on the next clock cycle. Therefore, the output at terminal Q is a logic low. Also, since the resultant Q output from gate 12 is low, because the biphase signal 208 was low at the time of START pulse 212 when flip-flop 34 was reset by SYNC pulse 210, on the trailing edge of the next clock pulse there is no output pulse from gate 12; therefore, the Q output of flip-flop 34 stays low. Thus, the logic condition of the first portion 208 of the character represented by bit period 203 has been stored in flip-flop 34.

At the end of each character a STOP pulse 214 is generated and applied to input 24 of AND gate 22. When combined with the second portion 209 of the CHARACTER DATA 200 in gate 22, the result is the waveform shown by GATE 22. For this portion of the character, a logic high results.

The output of gate 22 is a one clock-width pulse which on its trailing edge and at the next clock pulse causes flip-flop 58

to go to a logic high condition. This is shown in waveform FF.58.

It may be seen that flip-flop 58 was at a logic high condition as a result of the STOP signal 214 applied during the previous bit

^ period 202, but on the next clock pulse and as a result of the

5 SYNC pulse 210 flip-flop 58 is reset. Since terminal J coupled to

9 AND gate 22 is at a logic zero level at this time, flip-flop 58 was pulled to a logic zero level. Thus, when flip-flop 58 is again pulsed by the clock signal and a logic high applied to terminal J from gate 22, the output of flip-flop 58 goes high occuring at the

10 downside transition of the next clock pulse. It may be seen that a logic low condition is now stored in flip-flop 34 and a logic high condition in flip-flop 58.

The logic low output Q of flip-flop 34 is applied on line 70 to input 72 of XOR gate 74, and combined with the logic high

15 output Q of flip-flop 58 applied on line 80 to input 82 of XOR 74.

The result is a pulse of one clock width shown at waveform X0R74.

The output 84 of XOR gate 74 is applied on line 86 to terminal 88 of AND gate 91 and combined with the sync pulse applied to terminal 81. Since both inputs occur simultaneously, the output 83

20 of gate 91 is a one clock-width pulse which is applied on line 97 to the J input of flip-flop 100 Simultaneously with the storage of the XOR signal in flip-flop 100, the SYNC pulse 210 is applied to flip-flops 34 and 58, ' so that on the same clock pulse that changes the state of flip-flop 100,flip-flops 34 and 58 are also

25 reset, so that they are prepared to accept the following characters in the bit stream. Output 84 is also applied to an inverter 92 and the inverted resultant applied to input 87 of AND gate 93. The sync signal at terminal 89 is combined with the output of inverter 92 in AND gate 93 and the resulting logic zero

30 is applied to the K input of flip-flop 100. The previous data that had been decoded was a stream of ones, so that the output Q of

^ flip-flop 100 was at a logic high, as shown in waveform FF.100.

However, when the logic high pulse from gate 91 is applied to

~ flip-flop 100, the next clock pulse applied will set flip-flop

35 100, causing the complementary output Q to go to a logic low. This logic low is representative of the NRZ zero character at interval

for at, a logic low means a binary zero and a logic high means a binary one. If interval 203 is followed by a successive zero character the NRZ output would remain at a logic low level.

Further, if the following character is a binary one, then' the NRZ output will return to a logic high. It may be seen that the NRZ output of waveform FF.100 when viewed in relationship to the encoded data 200 is delayed by one character.

While the invention has been described in its preferred embodiments it is to be understood that the words which have been used are words of description rather than limitation and that changes may be made within the purview of the appended claims without departing from the true scope and spirit of the invention in its broader aspects.