A METHOD OF BRINGING AN OSCILLATOR INTO PHASE WITH AN INCOMING SIGNAL AND AN APPARATUS FOR CARRYING OUT THE METHOD

Abstract: Method and an apparatus for bringing an oscillator (1) into phase with an incoming signal. In accordance with the invention there are means which on the one hand determine whether the phase difference between the oscillator output signal and the incoming signal is positive or negative and on the other hand in response thereto cause the oscillator (1) to emit either of two output signal frequencies, one of which is predeterminately higher while the other is predeterminately lower than the incoming signal frequency. The oscillator (1) is hereby brought into phase with the incoming signal when the former emits its two output signal frequencies alternatingly.

Description: A METHOD OF BRINGING AN OSCILLATOR INTO PHASE WITH AN INCOMING SIGNAL AND AN APPARATUS FOR CARRYING OUT THE METHOD TECHNICAL FIELD The present invention reLates to a method of bringing an oscillator into phase with an incoming signal, together with an apparatus for carrying out the method. BACKGROUND ART For bringing an oscillator into phase with an incoming signal it is known to use so-called phase-locked loops wh.ich use analog ' signal processing. However, such loops are not suitable for interaction with circuits operating digi t ally and implemented as integrated circuits. DISCLOSURE OF INVENTION The object of the present invention is therefore to provide a method for digitally bringing an oscillator into phase with an incoming sig- nal and also to provide an apparatus for carrying out the method, said apparatus being suitable for realization by means of integrated cir¬ cuits. The object is achieved by the method and apparatus in accordance with the invention having been given the characterizing features disclosed in the .claims. BRIEF DESCRIPTION OF DRAWINGS The invention is described more closely below with reference to the appended drawing, on which Figure 1 illustrates an embodiment of the apparatus in accordance with the invention for bringing an oscillator into phase with an incoming signal, Figure 2 illustrates the sampling of the incoming signal when the oscillator is brought into phase there¬ with, Figure 3 .illustrates the sampling of the incoming signal when the oscillator is out of phase therewith. Figure 4 illustrates the frequency of the oscillator signal as a function of time when the oscillator is in phase with the incoming signal, and Figure 5 . J85 - '~v ' illustrates the resulting jitter in the oscillator output signal. BEST MODE FOR CARRYING OUT THE INVENTION Figure 1 illustrates an embodiment of an apparatus in accordance with the invention for bringing an oscillator 1 into. phase with an incoming signal, and in the illustrated embodiment this signal is assumed to be a biphase-modulated data signal, of which three successive data bits having the same sign are shown in Figure 2. The biphase-modulated data signal is applied to the input 2 of a sampling circuit 3, which is controlled by the output signal of the oscillator 1 at the output 1a, and in the embodiment illustrated it is intended to sample the incoming, biphase-modulated data signal four times per bit period T. When the oscillator output signal is in phase with the incoming signal, the samples will be distributed in the manner shown in Figure 2, where the four samples within the illustrated bit periods are denoted respec- * tively A', B', C, D « ; A", B"; C", D" and A*", B ,u , C*", D*". In accor- dance with the invention, the samples are fed to a comparator 4 which is adapted to emit, in response to whether the sample polarity is positive or negative, sequential high or low level signals, i.e. bi¬ nary ones or zeroes. Accordingly, a series of binary ones and zeroes will occur at the output of the comparator 4, where a one signifies that the corresponding sample was positive, while a zero signifies that the corresponding sample was negative or vice versa. These ones and zerbes are then applied in order to a shift register 5 having three stages I, II and III in the illustrated embodiment. The shift register outputs are connected to a logic circuit 6 which, on the bases of the content of the shift register 5, is adapted to determine whether the phase difference between the output signal of the oscil¬ lator 1 and the incoming signal to the input 2 is positive or nega¬ tive, and in response thereto to emit a high or low level signal, i.e. a binary one or zero. In accordance with the invention the oscillator 1 is adapted to emit an output signal at its output 1a, which assumes one of two frequencies in response to the output signal from the logic circuit 6. The frequencies of the oscillator output signal are, in accordance with the invention, so selected that one frequency is predeterminately higher, while the second frequency is OM predeterminately lower than the frequency of the incoming signal at the input 2. The oscillator 1 is thus controlled binarily from the logic circuit 6 and is accordingly caused to emit either of its two output signal frequencies to the sampling circuit 3 at its output 1a. At its output 1 b the oscillator emits an output signal to the logic circuit 6, the frequency of this signal being half the frequency of the output signal emitted at the output 1a. In the embodiment illustrated in Figure 1, the logic circuit 6 includes a) two EXCLUSIVE-OR gates 7 and 8, each having two inputs and one output, b) an AND gate 9 having two inputs and one output and c) a flip-flop 10 having two inputs and one output. Both the inputs of the EXCLUSIVE-OR gate 7 are connected to the res¬ pective output from the shift register stages I and III, while the output is connected to .one input of the AND gate 9, the other input of which being connected to output 1b of the oscillator 1, and the output of which, being connected to the trigger input of the flip- flop 10, the output of which in turn being connected to the control input of the oscillator 1. Both the inputs of the EXCLUSIVE-OR gate 8 are connected to the res- pective output from the shift register stages I and II, while its output is connected to the data input of the flip-flop 10. •_ The EXCLUSIVE-OR gates 7 and 8 emit a binary one at the output only when a binary one appears at either input. It is these EXCLUSIVE-OR gates which, on the basis of the binary content of the stages of the shift register 5, determine whether the output signal of the oscillato 1 is in advance of lagging in phase in relation to the incoming sig¬ nal. In accordance with the invention, this phase comparison is arran¬ ged to have an effect only at every other sampling occasion. This is achieved by means of the AND gate 9, which at its one input receives the oscillator output signal from the output 1b, the frequency of this signal being half the frequency of the output signal emitted at the output 1a, as described above. In the embodiment illustrated, the phase comparison is arranged to take place on the basis of three samples, viz: a B sample, a D sample and an intermediate sample, i.e. an A or a C sample. Let it now be assumed that a biphase-modulated signal of the type illustrated in Figure 2 arrives at the input 2 and is sampled in the manner illustrated in Figure 3. On the basis of the samples B1, C1 and D1, for example, which thus give the binary bit sequence 1, 0, 0, the logic circuit 6 will decide that the oscillator output signal from the output 1a is lagging in phase in relation to the biphase-modulated signal. The bits 1, 0 and 0 thus appear in the respective shift re- gister stages I, II and III, and give rise to binary ones at the out¬ puts from the EXCLUSIVE-OR gates 7 and 8. Since a signal also appears at the oscillator output 1b, the AND gate 9 will emit a binary one to the trigger input of the flip-flop 10, said binary one transferring the incoming binary one from the EXCLUSIVE-OR gate 8 at the data input of the flip-flop 10 to the output thereof so as to cause the oscilla ¬ tor 1 to emit its higher frequency output signal for reducing the phase difference between the oscillator output signal and the incoming bi¬ phase-modulated signal. At the next successive sampling occasion the bit sequence correspon- ding to the samples C1, D1 and A2 will be in the shift register 5. Since no output signal appears at the oscillator output 1b at this instant, no output signal is obtained from the AND gate 9. * : _ At the next sequential sampling occasion, the bit sequence corre¬ sponding to the samples D1, A2 and B2 will be in the shift register 5. The shift register stage I consequently contains a binary zero, - but there are binary ones in the stages II and III. In this case also, binary ones are obtained at the outputs of the EXCLUSIVE-OR gates 7 and 8, and since there is a signal at the oscillator output 1b to the AND gate 9 a one is obtained from this gate as well, this one triggering the flip-flop 10 to apply the one coming from the EXCLUSIVE- OR gate 8 to the oscillator 1, causing it to emit the higher frequency output "signal in the continued process, since the oscillator 1 is still lagging in phase after the incoming biphase-modulated signal. The oscillator 1 will emit its higher frequency output signal as long as the samples A and C in Figure 3 have positive and negative polarity respectively, i.e. until the sampling instants are displaced such that either an A sample has negative polarity or a C sample positive pola- 5 rity. Assuming now by way of example that the sample A' in Figure 2 has negative polarity. In this case the sample B' is positive, while the preceding unillustrated D-sample is assumed negative. These sample result in that the shift register stages I and II will each contain a binary zero, while the stage III will contain a binary one. The EXCLU- 10 SIVE-OR gate 8 will accordingly emit a binary zero to the flip-flop 10 while the EXCLUSIVE-OR gate 7 will emit a binary one to the AND gate 9 this one, together with the binary one at the oscillator output 1b gives rise to a binary one at the AND gate output, which binary one in turn triggers the flip-flop to apply the zero from the EXCLUSIVE- ' 15 OR gate 8 to the oscillator 1, which is hereby caused to emit its lower frequency output signal as a sign that the oscillator is now in advance in phase in relation to the incoming biphase-modulated signal. The next time the AND gate 9 receives a binary one from the oscillator output 1b is when the samples B', C and C are in the shift register 20 stages I, II and III, respectively. In this case the polarity of the sample C is once again negative, which gives rise to the bit sequence 1, 0, 0 in the respective shift register stages I, II and III. This results in that the EXCLUSIVE-OR gates 7 and 8 emit binary ones as well as the AND gate 9, and consequently a binary one is applied to 5 the control input of the oscillator 1 for causing the oscillator to emit * its higher frequence output signal since the oscillator is now lagging in phase after the biphase-modulated input signal. This alter¬ nation between the two frequencies of the oscillator output signal is the sign that the oscillator is now in phase with the biphase- odu- 0 lated input signal. This will be seen from Figure 4 as a function of time. The oscillator frequency is assumed to alternate between the frequencies f1 and f2, the mean value of which in the illustrated em- bodiment is assumed to be equal to the frequency fi of the incoming biphase-modulated signal. Figure 4 illustrates the case described 5 above where it is assumed that the sample A' in Figure 2 was negative, as well as the sample C. - ZE X OMPI The situation illustrated in Figure 4 gives rise to a change Δ φ of the phase position of the sampling rate relative to the phase position of the incoming ' signal as a function of time according to Figure 5. The amplitude of this time function, i.e. Δ φ1 - Δ φ2, corresponds to the resulting high-frequency jitter generated by the oscillator 1. This jitter amplitude will naturally be dependent on the frequency difference between the oscillator output signal and the incoming signaL. By making this frequency difference small, an arbitrarily low jitter amplitude may be obtained, which is very desirable in certain applications. The thus raised requirement for frequence accuracy can be met, e.g. by making the oscillator 1 crystal-controlled. However, this does not signify any alteration of the basic inventive principle, which thus provides low generated jitter without extra filtering. If the two frequencies f1 and f2 of the oscillator output signal are assumed to differ by +200 ppm and -200 pp , respectively from the frequency fi of " the incoming biphase-modulated signal, the jitter amplitude will be 200 ppm. Since the control signal from the logic circuit 6 to the oscillator 1 furthermore only consists of a binary one or a binary zero, i.e. the sign of the phase error and not its magnitude, jitter in the received signal, e.g. in the form of inter- symbol interference, * ll-not affect the magnitude of the control signal to the oscillator 1. There is thus obtained an effective filtration of the jitter in the received signal. Apart from the ad¬ vantages from the jitter aspect a realization of the apparatus in accordance with the invention by means of integrated circuits is also enabled, since the control signal from the logic circuit 6 to the oscillator 1 is digital.

Claims: WHAT WE CLAIM IS : 1 A method of bringing an oscillator CD into phase with an in¬ coming signal by determining whether the phase difference between the output signal of the oscillator CD and the incoming signal is positi or negative and in response thereto causing the oscillator CD to change its output signal frequency in order to reduce the phase diffe rence, characterized by in response to whether the phase difference i positive or negative causing the oscillator CD to emit either of two output signal frequencies, one of which is higher, while the other is lower than the frequency of the incoming signal, the oscillator CD being brought into phase-with the incoming signal when these two out¬ put signal frequencies are emitted alternatingly. 2 An apparatus for bringing an oscillator CD-into phase with an incoming signal, comprising means C3, 4, 5, 6) for determining whether the phase difference between the output signal of the oscil¬ lator CD and the incoming signal is positive or negative and in response thereto causing the oscillator CD to change its output sig¬ nal frequency in order to reduce the phase difference, characterized in that the oscillator CD is adapted to emit in response to whether the phase difference is positive or negative either of two output signal frequencies, one of which is higher, while the other is lower than the frequency of the incoming signal, the oscillator CD being brough/t into phase with the incoming signal when these two output signal frequencies are emitted alternatingly.

Inventors: CARLQVIST BENGT ROLAND, CARLQVIST, BENGT, ROLAND
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1982
Main classification: H03L7
IPC codes: H03L7, H04L7