Field of the Invention
My present invention relates to a system for decoding, at a receiving station, an incoming pulse train in the shape of a biphase-coded carrier wave whose cycles represent respective bits of a binary message transmitted in base band.
Background of the Invention
A particular carrier wave of the differentially biphase-coded type, conforming to one of the well-known split-phase codes, is characterized in that its phase is reversed at the beginning of every cycle in which the transmitted message signal has the logical value "1" whereas the phase remains unchanged when that logical value is "0". With a slightly different split-phase code, described in commonly owned U.S. patent application Ser. No. 970,147 filed Dec. 18, 1978 by Ezio Cottatellucci, now U.S. Pat. No. 4,232,387 such a 180.degree. phase shift occurs only upon a change of the basic signal from "0" to "1" or vice versa.
The decoding of such a biphase-coded carrier wave can be performed, for example, by algebraically combining the squared or clipped wave with a replica thereof shifted by half a cycle to produce a ternary wave and sampling the latter midway in every other half-cycle of the original wave. The sampling operation can be timed with the aid of correlation pulses or spikes derived by differentiation from the incoming carrier wave, these spikes occurring invariably in the middle of each cycle while also appearing at irregular intervals--depending upon the logical values of the message bits--at the beginning of a new cycle. The correct sampling times can be determined from the recurrent pattern of the spikes.
As pointed out in another commonly owned U.S. patent application, Ser. No. 061,480 filed July 27, 1979 by Riccardo Caldarella et al, now U.S. Pat. No. 4,281,292, an alternate decoding technique yields correct results with sampling in either the first or the second half of a carrier-wave cycle, except for the fact that distortion experienced by the wave during transmission may make sampling in one half-cycle less error-prone in the presence of phase jitter and therefore more desirable than in the other half-cycle. Thus, it is generally necessary to distinguish between "right" and "wrong" half-cycles for sampling purposes, i.e. to select one of two possible trains of sampling pulses which can be derived from the incoming carrier wave by differentiation.
The solutions to these problems described in the above-identified commonly owned applications, whose disclosures are hereby incorporated by reference into the present application, call for the use of phase detectors designed to shift the sampling pulses by half their recurrence period upon detecting their alignment with the "wrong" half-cycles.
Object of the Invention
The object of my present invention is to provide alternate means, generally applicable to a variety of differentially biphase-coded carrier waves, for establishing proper or preferred sampling times.
Summary of the Invention
In accordance with my present invention, circuitry for producing a sequence of timing pulses to control a decoder in a receiver for biphase-coded carrier waves comprises differentiation means connected to the decoder input for deriving a spike from an incoming carrier wave upon each phase reversal thereof, timing means controlled by the differentiation means for producing a local square wave of the same frequency as the carrier wave but in substantial quadrature therewith, gating means with inputs respectively connected to the differentiation means and the timing means for blocking the transmission of spikes during a fraction of each cycle equal to substantially half a cycle, and phase-detection means with input connections to the gating means and to the timing means for emitting an error pulse in response to a discontinuity in the succession of spikes passed by the gating means, all as broadly disclosed in application Ser. No. 061,480. Whereas, however, that disclosure employs three cascaded data-type flip-flops as the phase-detecting means, I provide instead a single flip-flop of the set/reset type which is settable by the complement of the local square wave and resettable by the unblocked spikes traversing the gating means so as to remain in its reset state during one quarter of each cycle of that square wave as long as these unblocked spikes recur periodically. An output of the flip-flop is connected to a coincidence (AND or NOR) gate also receiving, from a pair of output leads of the timing means, the local square wave and a replica thereof, relatively offset by 90.degree., whose period of overlap normally coincides with the reset period of the flip-flop so as to cause this gate to conduct only in the event of noncoincidence of the two periods. An output circuit of the coincidence gate extends to the timing means for triggering same in that event to reverse the phase of the square wave.
Brief Description of the Drawing
The above and other features of my invention will now be described in detail with reference to the accompanying drawing in which:
FIG. 1 is a block diagram of a receiver for biphase-coded carrier waves which includes sampling-controlling circuitry according to my invention;
FIG. 2 is a more detailed diagram of a phase detector forming part of that circuitry;
FIG. 3 shows an eye diagram of an incoming carrier wave to be decoded; and
FIG. 4 is a set of graphs relating to the operation of the receiver shown in FIGS. 1 and 2.
Specific Description
The receiving station SR shown in FIG. 1 comprises a transformer TL with a primary winding connected across a transmission line L. A differentially biphase-coded carrier wave arriving over this line from a remote station is fed via a low-pass filter PB and an equalizer EQ to a squarer SQ which clips the incoming wave to convert it into a train b of rectangular pulses. The clipped carrier wave b is delivered to a decoder CC, designed to recover a binary base-band message a therefrom, and in parallel therewith to a differentiator DR which derives a series of spikes c from wave b and forms part of a sampling-pulse generator GIC. The latter further includes an AND gate P with an input connected to differentiator DR and with output connections to a phase detector RF and, in parallel therewith, to a synchronizing input of a local oscillator PLL provided with a phase-locking loop; the oscillator, operating at n times the carrier-wave frequency (n being an integer preferably equal to a power of 2), works into a frequency divider DV of step-down ratio 1:n whose output circuit contains a delay line CR. Oscillator PLL, frequency divider DV and delay line CR together constitute a timing unit UT whose output is a square wave d or e fed on the one hand to a control input of decoder CC and on the other hand to the second input of AND gate P. The output signal u of divider DV is also fed back to phase detector RF, as a square wave h or i, via an inverter IR.sub.1.
Message signal a, carrier wave b, spikes c and square waves d, e have been illustrated in the first five graphs of FIG. 4. In that Figure I have indicated the pulse period T.sub.2 of the message signal and the duration T.sub.1 =T.sub.2 /2 of a half-cycle of wave b. From graph b it will be noted that the carrier wave reverses its phase at the beginning of any cycle in which signal a is high, i.e. has the logical value "1;" this phase reversal keeps the clipped wave b at the voltage level last attained, the two levels being here considered positive and negative though one of them could be zero. Thus, in effect, the length of a pulse of wave b immediately preceding a cycle constituting a bit "1" is doubled whereby a subharmonic of frequency F.sub.2 =1/2T.sub.2 is effectively superimposed upon the fundamental wave frequency F.sub.1 =1/2T.sub.1 =1/T.sub.2. This has been schematically illustrated in FIG. 3 which represents an eye diagram of the incoming wave as viewed on an oscilloscope connected to the receiver input upstream of squarer SQ. It will be noted that larger eyes E.sub.2 of length T.sub.2, representing the subharmonic F.sub.2, encompass pairs of smaller eyes E.sub.1 ', E.sub.1 " whose length more or less equals T.sub.1, representing the fundamental F.sub.1.
The eyes E.sub.1 ', E.sub.1 " shown in FIG. 3 are often found to be of unequal lengths owing to distortion along line L, which tends to attenuate higher frequencies more than lower ones, such distortion being usually compensated only imperfectly by the equalizer EQ of opposite attenuation characteristic, especially when the latter is of the nonadaptive type. The relative eye size, therefore, may differ according to whether the wave is monitored upstream or downstream of the equalizer. If the decoder is so designed that correct samples could be obtained at the center of either half-cycle of frequency F.sub.1, and if the eye of a particular half-cycle (e.g. the first one as in the illustrated example) is invariably larger than that of the other half-cycle on account of distortion phenomena, a system according to my invention can also be used for insuring that sampling always takes place in the half-cycle with the larger eye in order to reduce the error rate.
In the following description it will be assumed that, for one of the reasons discussed above, the decoder CC of FIG. 1 is to sample the suitably pretreated carrier wave b at instants t.sub.0, substantially midway of the first half of each cycle of length T.sub.2, rather than at correspondingly positioned instants t.sub.x in the second half.
Graph f, FIG. 4, shows a succession of spikes corresponding to those of graph c that occur at the midpoint of each cycle, these spikes being therefore separated from one another by an invariable interval T.sub.2. The spikes f coincide with the positive half-cycles of square wave d and are therefore passed by AND gate P whenever that square wave is applied to the other input thereof. On start-up, however, the phase is indeterminate so that the wave u (bottom graph of FIG. 4) issuing from divider DV, after being delayed by T.sub.2 /4 in line CR, may correspond either to wave d or to its complement e. In the latter case the gate P will pass the spikes of graph m, FIG. 4, in lieu of those of graph f to phase detector RF and to the synchronizing input of oscillator PLL to which the output wave of delay line CR is fed back via its phase-locking loop; that wave also goes to phase detector RF which, in the presence of wave e, emits an error signal s to divider DV.
In FIG. 2 I have shown details of the phase detector RF embodying the present improvement. This detector has input leads 11, 12 and 13, also shown in FIG. 1, respectively carrying the square wave d or e, the spikes f or m and the inverted square wave h or i. Lead 11 extends by way of an inverter IR.sub.2 to a setting input of a flip-flop FF having a resetting input connected to lead 12. The set output of flip-flop FF works into an AND gate P.sub.1 having two other inputs respectively connected to leads 11 and 13. This AND gate supplies an output signal k or q to an integrator IN with an output lead 14 which is connected, together with a branch lead 11' from the output of inverter IR.sub.2, to another AND gate P.sub.2 generating the error signal s.
The two mutually complementary square waves h and i, illustrated in corresponding graphs of FIG. 4, are delayed by a quarter-cycle with reference to square waves d and e mitted by the delay circuit CR of FIG. 1. Thus, no matter which of these square waves is present on lead 11, positive pulses on leads 11 and 13 will overlap for substantially 90.degree. (i.e. for a period T.sub.1 /2) during each cycle T.sub.2 of that square wave. Gate P.sub.1 does not conduct as long as that period of overlap does not coincide with a positive pulse on the set output of flip-flop FF, carrying pulses g or p also illustrated in homonymous graphs of FIG. 4. When the signal present on lead 11 is the square wave d, flip-flop FF is set by the positive half-cycle of its complement d=e and is reset by a spike f at the instant when quadrature wave h on lead 13 goes positive. Under these circumstances, signal g on the set output of flip-flop FF goes to zero during the period of overlap of the two square waves whereby AND gate P.sub.1 is cut off and emits a zero-level signal k to integrator IN. The output lead 14 of that integrator, therefore, remains de-energized and blocks the emission of an error pulse s by gate P.sub.2.
If, on the other hand, the signal on lead 11 is the wave e, the corresponding spikes m on lead 12 occur only intermittently so that flip-flop FF is not invariably reset after having been set by the inverted wave e=d. The output signal p of the flip-flop will therefore persist in some cycles for a full period T.sub.2, causing the AND gate P.sub.1 to conduct during the overlap of waves e and i. This results in the emission of coincidence pulses q which are accumulated by integrator IN until their sum reaches a certain threshold to energize the output lead 14 with a signal r unblocking the gate P.sub.2. When this occurs, the next positive pulse of wave e on lead 11' passes the gate P.sub.2 and gives rise to an error pulse s which shifts the output wave u of frequency divider DV by 180.degree.. As a result of this shift, waves e and i on the leads 11 and 13 are replaced by their complements d and h while the periodically recurrent spikes f appear on lead 12 in lieu of the intermittent spikes m.
Integrator IN may be similar to the threshold circuit of the aforementioned Cottatellucci U.S. Pat. No. 4,232,387, including a resistance/capacitance network in cascade with a Zener diode whose breakdown produces the unblocking signal r. By varying the time constant of this R/C network, I can adjust the response time of the phase detector RF while taking into account its sensitivity to noise, allowing for a certain amount of phase jitter of the incoming carrier wave b and for the resulting phase shifts between the output wave u of divider DV and the spikes derived from that carrier by differentiator DR. A feedback connection 15 from the output of gate P.sub.2 insures a prompt discharge of the capacitance of integrator IN after the emission of an error signal s, as likewise taught in the Cottatellucci patent.
The error signal s may be fed, as described in the commonly owned Caldarella et al patent, to a flip-flop constituting the final stage of divider CV for switching same out of turn.