WO1999009654A2 - Method for performing phase comparison, and phase comparator - Google Patents

Method for performing phase comparison, and phase comparator Download PDF

Info

Publication number
WO1999009654A2
WO1999009654A2 PCT/FI1998/000634 FI9800634W WO9909654A2 WO 1999009654 A2 WO1999009654 A2 WO 1999009654A2 FI 9800634 W FI9800634 W FI 9800634W WO 9909654 A2 WO9909654 A2 WO 9909654A2
Authority
WO
WIPO (PCT)
Prior art keywords
signal
state machine
state
handshaking
active
Prior art date
Application number
PCT/FI1998/000634
Other languages
French (fr)
Other versions
WO1999009654A3 (en
Inventor
Olli Piirainen
Original Assignee
Nokia Telecommunications Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nokia Telecommunications Oy filed Critical Nokia Telecommunications Oy
Priority to US09/269,978 priority Critical patent/US6532257B1/en
Priority to EP98939667A priority patent/EP0938779B1/en
Priority to DE69810748T priority patent/DE69810748T2/en
Priority to AU88095/98A priority patent/AU745305B2/en
Priority to JP51285299A priority patent/JP4166841B2/en
Priority to AT98939667T priority patent/ATE231308T1/en
Publication of WO1999009654A2 publication Critical patent/WO1999009654A2/en
Priority to NO991859A priority patent/NO991859D0/en
Publication of WO1999009654A3 publication Critical patent/WO1999009654A3/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/089Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03DDEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
    • H03D13/00Circuits for comparing the phase or frequency of two mutually-independent oscillations
    • H03D13/003Circuits for comparing the phase or frequency of two mutually-independent oscillations in which both oscillations are converted by logic means into pulses which are applied to filtering or integrating means
    • H03D13/004Circuits for comparing the phase or frequency of two mutually-independent oscillations in which both oscillations are converted by logic means into pulses which are applied to filtering or integrating means the logic means delivering pulses at more than one terminal, e.g. up and down pulses
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/089Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses
    • H03L7/0891Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses the up-down pulses controlling source and sink current generators, e.g. a charge pump

Definitions

  • the invention relates to a method for performing phase comparison, two binary signals being compared in the method by means of two asynchronous state machines, two output signals being generated by means of the state machines to control a phase.
  • the invention also relates to a phase comparator comprising two asynchronous state machines, which are arranged to generate two output signals to control a phase.
  • a digital phase comparator is needed in the operation of for instance a phase locked loop.
  • a phase locked loop is used in applications where a clock signal is synchronized with an external signal.
  • a typical application is a digital radio system receiver in which the receiver synchronizes with a received signal to detect the signal.
  • Patent EP 520 558 which will be included herein as a reference, discloses a phase comparison circuit solution comprising logical gates.
  • delay means which are also logical gates.
  • Transients which occur when both of the input signals change simultaneously, are most harmful to the reliable operation of asynchronous circuits. It is not, however, desirable to use delay means when transients are to be avoided because the use of delay means requires, for instance, particularly careful circuit layout design.
  • An object of the invention is thus to provide a method and an equipment implementing the method to allow the above mentioned problems to be solved and the use of delay means to be avoided.
  • a phase comparator of the invention is characterized in that the state machines are functionally similar, the first state machine having as input signals the first signal to be compared, the output signal of the second state machine and the handshaking signal of the second state machine; the second state machine having as input signals the second signal to be compared, the output signal of the first state machine and the handshaking signal of the first state machine; that the first state machine is arranged to generate its handshaking signal from an active edge of the first signal to be compared and the second state machine is arranged to generate its handshaking signal from an active edge of the second signal to be compared, the handshaking signals securing the logical operation of the phase comparator by detecting the active edge of each of the signals to be compared; and that, to activate the output signal detecting a phase difference in the first state machine, the first state machine is arranged to: check the state of the first signal to be compared, the state of the output signal of the second state machine and the state of the handshaking signal of the second state machine; and that, to
  • the method and the phase comparator provide various advantages.
  • the solution of the invention allows separate delay means to be disposed of and the solution is well suited for digital asic circuits.
  • the operation is secured by means of a handshaking mechanism.
  • the structure is symmetrical, providing thus similar timings for each of the input signals and each of the output signals.
  • Figure 1 is a block diagram illustrating a phase locked loop
  • Figure 2 is a block diagram illustrating a phase comparator
  • Figure 3 is a flow diagram illustrating a first state machine
  • Figure 4 is a flow diagram illustrating a second state machine
  • Figure 5 is a state diagram illustrating the first state machine
  • Figure 6 is a state diagram illustrating the second state machine
  • Figure 7 illustrates an example of an implementation of a state machine.
  • a solution of the invention is suited for use particularly in a phase locked loop (PLL), without being, however, restricted to it.
  • PLL phase locked loop
  • the solution of the invention is applicable to a PLL receiver of a digital radio system.
  • Figure 1 illustrates a phase locked loop comprising a reference frequency source 100, a first divider 102, a phase comparator 104, a charge pump 106, a loop filter 108, a buffer stage 1 0, a voltage controlled oscillator 112 and a second divider 114.
  • the first divider 102, the phase comparator 104, the charge pump 106 and the second divider 114 form a synthesizer circuit 116.
  • the second divider 114 is in feedback from the voltage controlled oscillator 112 to the phase comparator 104.
  • the reference signal source 100 which can be for instance a signal corresponding to a frequency of a signal received by a receiver, the signal proceeds to the divider 102 where the signal frequency is decreased by applying a suitable coefficient M.
  • a second signal B to be compared In addition to a first signal to be compared, i.e. a reference signal A, a second signal B to be compared, the signal B having a frequency corresponding to the frequency of an output signal, is also fed to the phase comparator and the frequency phases are compared with each other. Both the first signal A to be compared and the second signal B to be compared are binary.
  • the comparison produces two signals PA and PB, of which PA increases the voltage provided by the charge pump 106 and PB decreases the voltage provided by the charge pump 106.
  • a voltage signal transmitted from the charge pump 106 is filtered in the loop filter 108 which removes disturbances from the signal. After the filtering, the signal proceeds to the buffer grade 110 which amplifies the signal to suit the oscillator 112.
  • the voltage the buffer 110 feeds to the voltage controlled oscillator 112 depends on the voltage level of the charge pump 106, the voltage level, in turn, depending on the signal phases in the phase comparator 104.
  • the frequency provided by the voltage controlled oscillator 112 is a function of the reference frequency.
  • the phase comparator 104 comprises two functionally similar asynchronous state machines (ASM) 200 and 202.
  • the state machines 200 and 202 have the control signals PA and PB of the charge pump 106 as output signals.
  • the state machine 200 receives the reference signal A, the output signal PB of the state machine 202 and the handshaking signal RB of the state machine 202.
  • the state machine 202 receives the feedback signal B, the output signal of the state machine 200 and the handshaking signal RA of the state machine 200.
  • the handshaking signal RA is active when the state machine 200 has detected an active edge in the reference signal A.
  • the handshaking signal RB is active when an active edge is detected in the feedback signal B.
  • a rising edge can function as an active edge.
  • the inventive solution thus comprises two symmetric asynchronous state machines 200 and 202, symmetrically coupled together as shown in Figure 2.
  • the handshaking mechanism (the signals RA and RB) allows the operation of an adjacent state machine to be ensured, without delaying of the signals.
  • the state machine controls the activation of the reference signal A in blocks 300 and 302.
  • the process checks in a block 304 whether the handshaking signal RB of the second state machine 202 has been activated. If the handshaking signal RB has not been activated, the process continues to a block 306 where the signals PA and RA are activated.
  • the signal PA directs the charge pump 106 to increase the output voltage of the signal and the handshaking signal RA informs the second state machine 202 that an active edge of the signal A has been detected.
  • the process continues to a block 316 where only the handshaking signal RA is activated to indicate that an active edge has been detected. Both of the output signals PA and PB are thus not activated at the same time.
  • the handshaking signal RA remains active until it is detected that the output signal PB of the second state machine 202 is activated in a block 318 from where the process proceeds to wait for the state of the signal A to change.
  • the process continues to the block 308 where the handshaking signal RB of the second state machine 202 is tested.
  • the handshaking signal RB is non-active, the output signal PA and the handshaking signal RA of the first state machine are active.
  • FIG. 4 is a flow diagram illustrating the operation of the second state machine 202 in blocks 400 to 414, which correspond to the blocks 300 to 314 of the first state machine 200.
  • the operation of the second state machine 202 is similar to that of the first state machine 200, so it is not described in any further detail.
  • the state machine 200 can operate in place of the state machine 202 and vice versa.
  • Figure 5 is a state diagram illustrating the operation of the state machine 200 in slightly greater detail.
  • An arrow pointing upwards next to the signal symbol indicates the activation of the signal and an arrow pointing downwards indicates deactivation. Every active signal of the first state machine 200 is deactived in a state transition, unless the signal in question is re-activated at the state following the state transition.
  • Each state in the state diagram can be shown by three bits and the states are advantageously coded so as to differ from each other by only one bit.
  • the state machine 200 maintains its initial state 000 until the reference signal A is activated.
  • the state machine 200 moves to a state 001 from where transition direct to a state 011 or 101 takes place, depending on whether the handshaking signal RB of the second state machine 202 is active or not. If the handshaking signal RB is non-active, the process moves to the state 110, remaining there for as long as RB is non-active. At the same time, the handshaking signal RA and the output signal PA of the state machine 200 are kept active for as long as the process stays at the state 011. When the handshaking signal of the second state machine 202 is activated, the process continues to a state 111 and the output signal PA of the first state machine is deactivated. The handshaking signal RA is, however, still kept active.
  • the process moves from the state 111 to a state 1 0 when the handshaking signal PB of the second state machine 202 is deactivated.
  • the state 110 is also entered from the state 101 , whereto the process moves from the state 001 , if the handshaking signal RB of the second state machine 202 is active.
  • the state 101 is maintained until the output signal of the second state machine 202 is deactivated, after which the process moves to the state 110.
  • the process moves direct to the state 100 to wait, when necessary, for the reference signal of the first state machine 200 to deactivate.
  • Figure 6 illustrates a similar state diagram of the second state machine 202, so it is not described here in greater detail. States 600 to 612 of the second state machine 202 correspond to states 500 to 512 of the first state machine 200.
  • Figure 7 shows an example of the method of implementation of the state machines 200 and 202.
  • a person skilled in the art can implement the state machines
  • Figure 7 shows an example using inverters 700 to 704, AND gates 706 to 722, 736 and 738 and OR gates 724 to 728 and 740.
  • the inputs of a state machine comprise a reset input RESET, which is used to reset the machine to zero, and the signals RB/RA, A/B and PB/PA, depending on whether the machine in question is the first state machine 200 or the second state machine 202.
  • the outputs are the signals PA/PB and RA/RB.

Landscapes

  • Power Engineering (AREA)
  • Engineering & Computer Science (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Manipulation Of Pulses (AREA)
  • Pharmaceuticals Containing Other Organic And Inorganic Compounds (AREA)
  • Pyrane Compounds (AREA)
  • Information Transfer Systems (AREA)
  • Heterocyclic Carbon Compounds Containing A Hetero Ring Having Oxygen Or Sulfur (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Control Of Electric Motors In General (AREA)
  • Measuring Phase Differences (AREA)
  • Preparing Plates And Mask In Photomechanical Process (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The invention relates to a method for performing a phase comparison, and a phase comparator. In the solution, two binary signals (A and B) are compared by using two functionally similar asynchronous state machines (200 and 202), which generate to output signals (PA and PB). The output signals (PA and PB) are used for controlling a phase. To a first state machine (200) are fed: a first signal (A) to be compared, an output signal (PB) of a second state machine (202) and a handshaking signal (RB) of the second state machine (202). To the second state machine (202) are fed: a second signal (B) to be compared, an output signal (PA) of the first state machine (200) and a handshaking signal (RA) of the first state machine (200). The two state machines (200 and 202) activate their respective handshaking signals (RA and RB) after having detected that the signal (A and B respectively) to be compared has been activated. The handshaking signal (RA and RB) ensures the logical operation of the phase comparator. The activation of the output signals (PA and PB) detecting a phase difference in and controlling a phase of the two state machines (200 and 202) comprises the checking of the state of the signal (A and B) to be compared that is transmitted to each of the state machines (200 and 202), the state of the output signal (PA and PB) of an adjacent state machine (200 and 202) and the state of the handshaking signal (RA and RB) of the adjacent state machine (200 and 202).

Description

METHOD FOR PERFORMING PHASE COMPARISON, AND PHASE COMPARATOR
FIELD OF THE INVENTION
The invention relates to a method for performing phase comparison, two binary signals being compared in the method by means of two asynchronous state machines, two output signals being generated by means of the state machines to control a phase.
The invention also relates to a phase comparator comprising two asynchronous state machines, which are arranged to generate two output signals to control a phase.
BACKGOUND OF THE INVENTION
A digital phase comparator is needed in the operation of for instance a phase locked loop. A phase locked loop is used in applications where a clock signal is synchronized with an external signal. A typical application is a digital radio system receiver in which the receiver synchronizes with a received signal to detect the signal.
There are various prior art phase comparator solutions. The most common solution comprises logical circuits and feedback, which function either synchronically or asynchronically. Patent EP 520 558, which will be included herein as a reference, discloses a phase comparison circuit solution comprising logical gates. In order to avoid transients, the operation of the logical circuits of the phase comparator is secured by using delay means, which are also logical gates. Transients, which occur when both of the input signals change simultaneously, are most harmful to the reliable operation of asynchronous circuits. It is not, however, desirable to use delay means when transients are to be avoided because the use of delay means requires, for instance, particularly careful circuit layout design. SUMMARY OF THE INVENTION
An object of the invention is thus to provide a method and an equipment implementing the method to allow the above mentioned problems to be solved and the use of delay means to be avoided.
This is achieved with a method described in the preamble, characterized in that two asynchronous, functionally similar state machines are used in the method, whereby to a first state machine are fed: a first signal to be compared, an output signal of a second state machine and a handshaking signal of the second state machine, and to the second state machine are fed: a second signal to be compared, an output signal of the first state machine and a handshaking signal of the first state machine; that the first state machine activates its handshaking signal after having detected that the first signal to be compared is activated; that the second state machine activates its handshaking signal after having detected that the second signal to be compared is activated, the handshaking signal ensuring the logical operation of the method; and that, to activate the output signal detecting a phase difference in and controlling a phase of the first state machine, the following steps are taken: checking of the state of the first signal to be compared, the state of the output signal of the second state machine and the state of the handshaking signal of the second state machine; and that, to activate the output signal detecting a phase difference in and controlling a phase of the second state machine, the following steps are taken: checking of the state of the second signal to be compared, the state of the output signal of the first state machine and the state of the handshaking signal of the first state machine.
A phase comparator of the invention, in turn, is characterized in that the state machines are functionally similar, the first state machine having as input signals the first signal to be compared, the output signal of the second state machine and the handshaking signal of the second state machine; the second state machine having as input signals the second signal to be compared, the output signal of the first state machine and the handshaking signal of the first state machine; that the first state machine is arranged to generate its handshaking signal from an active edge of the first signal to be compared and the second state machine is arranged to generate its handshaking signal from an active edge of the second signal to be compared, the handshaking signals securing the logical operation of the phase comparator by detecting the active edge of each of the signals to be compared; and that, to activate the output signal detecting a phase difference in the first state machine, the first state machine is arranged to: check the state of the first signal to be compared, the state of the output signal of the second state machine and the state of the handshaking signal of the second state machine; and that, to activate an output signal detecting a phase difference in the second state machine, the second state machine is arranged to: check the state of the second signal to be compared, the state of the output signal of the first state machine and the state of the handshaking signal of the first state machine.
The method and the phase comparator provide various advantages. The solution of the invention allows separate delay means to be disposed of and the solution is well suited for digital asic circuits. The operation is secured by means of a handshaking mechanism. In addition, the structure is symmetrical, providing thus similar timings for each of the input signals and each of the output signals. BRIEF DESCRIPTION OF THE DRAWINGS The invention will now be described in greater detail in connection with preferred embodiments and with reference to the accompanying drawings, in which
Figure 1 is a block diagram illustrating a phase locked loop; Figure 2 is a block diagram illustrating a phase comparator; Figure 3 is a flow diagram illustrating a first state machine;
Figure 4 is a flow diagram illustrating a second state machine; Figure 5 is a state diagram illustrating the first state machine; Figure 6 is a state diagram illustrating the second state machine; and Figure 7 illustrates an example of an implementation of a state machine.
DETAILED DESCRIPTION OF THE INVENTION
A solution of the invention is suited for use particularly in a phase locked loop (PLL), without being, however, restricted to it. On a broader basis, the solution of the invention is applicable to a PLL receiver of a digital radio system.
Figure 1 illustrates a phase locked loop comprising a reference frequency source 100, a first divider 102, a phase comparator 104, a charge pump 106, a loop filter 108, a buffer stage 1 0, a voltage controlled oscillator 112 and a second divider 114. The first divider 102, the phase comparator 104, the charge pump 106 and the second divider 114 form a synthesizer circuit 116. The second divider 114 is in feedback from the voltage controlled oscillator 112 to the phase comparator 104. From the reference signal source 100, which can be for instance a signal corresponding to a frequency of a signal received by a receiver, the signal proceeds to the divider 102 where the signal frequency is decreased by applying a suitable coefficient M. In addition to a first signal to be compared, i.e. a reference signal A, a second signal B to be compared, the signal B having a frequency corresponding to the frequency of an output signal, is also fed to the phase comparator and the frequency phases are compared with each other. Both the first signal A to be compared and the second signal B to be compared are binary. The comparison produces two signals PA and PB, of which PA increases the voltage provided by the charge pump 106 and PB decreases the voltage provided by the charge pump 106. A voltage signal transmitted from the charge pump 106 is filtered in the loop filter 108 which removes disturbances from the signal. After the filtering, the signal proceeds to the buffer grade 110 which amplifies the signal to suit the oscillator 112. The greater the voltage signal used for controlling the oscillator 110 is, the higher is the frequency of the oscillator 110. The voltage the buffer 110 feeds to the voltage controlled oscillator 112 depends on the voltage level of the charge pump 106, the voltage level, in turn, depending on the signal phases in the phase comparator 104. Thus the frequency provided by the voltage controlled oscillator 112 is a function of the reference frequency.
Let us now study in greater detail the phase comparator 104 of the invention with reference to Figure 2. The phase comparator 104 comprises two functionally similar asynchronous state machines (ASM) 200 and 202. The state machines 200 and 202 have the control signals PA and PB of the charge pump 106 as output signals. The state machine 200 receives the reference signal A, the output signal PB of the state machine 202 and the handshaking signal RB of the state machine 202. The state machine 202, in turn, receives the feedback signal B, the output signal of the state machine 200 and the handshaking signal RA of the state machine 200. The handshaking signal RA is active when the state machine 200 has detected an active edge in the reference signal A. Similarly, the handshaking signal RB is active when an active edge is detected in the feedback signal B. For instance a rising edge can function as an active edge. The inventive solution thus comprises two symmetric asynchronous state machines 200 and 202, symmetrically coupled together as shown in Figure 2. The handshaking mechanism (the signals RA and RB) allows the operation of an adjacent state machine to be ensured, without delaying of the signals.
Let us now study in greater detail the operation of the phase comparator with reference to Figures 3 and 4. Let us first discuss the operation of the first state machine 200. The state machine controls the activation of the reference signal A in blocks 300 and 302. When the reference signal is activated in the block 302, the process checks in a block 304 whether the handshaking signal RB of the second state machine 202 has been activated. If the handshaking signal RB has not been activated, the process continues to a block 306 where the signals PA and RA are activated. The signal PA directs the charge pump 106 to increase the output voltage of the signal and the handshaking signal RA informs the second state machine 202 that an active edge of the signal A has been detected.
If, on the other hand, the handshaking signal RB is active, the process continues to a block 316 where only the handshaking signal RA is activated to indicate that an active edge has been detected. Both of the output signals PA and PB are thus not activated at the same time. The handshaking signal RA remains active until it is detected that the output signal PB of the second state machine 202 is activated in a block 318 from where the process proceeds to wait for the state of the signal A to change.
From the block 306 the process continues to the block 308 where the handshaking signal RB of the second state machine 202 is tested. As long as the handshaking signal RB is non-active, the output signal PA and the handshaking signal RA of the first state machine are active. The greater the frequency difference between the signals A and B, shown as a phase difference in the phase comparator 104, the longer the first state machine 200 remains in the blocks 306 and 308 and the longer the output signal PA can direct the charge pump 106 to increase the voltage and the frequency of the oscillator 112 towards a frequency corresponding to the reference frequency. When the state machine 200 detects in the block 308 that the handshaking signal RB of the second state machine 202 is activated, the state machine 200 moves to a block 310 where the handshaking signal RA is kept active for as long as the output signal of the second state machine 202 is active in the block 312. The output signal PA is, however, set non-active when the process continues to the block 310. When the output signal PB of the second state machine 202 is deactivated, the process remains in the block 314 to wait for the state of the reference signal A to also change. Figure 4 is a flow diagram illustrating the operation of the second state machine 202 in blocks 400 to 414, which correspond to the blocks 300 to 314 of the first state machine 200. The operation of the second state machine 202 is similar to that of the first state machine 200, so it is not described in any further detail. The state machine 200 can operate in place of the state machine 202 and vice versa.
Figure 5 is a state diagram illustrating the operation of the state machine 200 in slightly greater detail. An arrow pointing upwards next to the signal symbol indicates the activation of the signal and an arrow pointing downwards indicates deactivation. Every active signal of the first state machine 200 is deactived in a state transition, unless the signal in question is re-activated at the state following the state transition. Each state in the state diagram can be shown by three bits and the states are advantageously coded so as to differ from each other by only one bit. The state machine 200 maintains its initial state 000 until the reference signal A is activated. As the reference signal is activated, the state machine 200 moves to a state 001 from where transition direct to a state 011 or 101 takes place, depending on whether the handshaking signal RB of the second state machine 202 is active or not. If the handshaking signal RB is non-active, the process moves to the state 110, remaining there for as long as RB is non-active. At the same time, the handshaking signal RA and the output signal PA of the state machine 200 are kept active for as long as the process stays at the state 011. When the handshaking signal of the second state machine 202 is activated, the process continues to a state 111 and the output signal PA of the first state machine is deactivated. The handshaking signal RA is, however, still kept active. The process moves from the state 111 to a state 1 0 when the handshaking signal PB of the second state machine 202 is deactivated. The state 110 is also entered from the state 101 , whereto the process moves from the state 001 , if the handshaking signal RB of the second state machine 202 is active. The state 101 is maintained until the output signal of the second state machine 202 is deactivated, after which the process moves to the state 110. From the state 110 the process moves direct to the state 100 to wait, when necessary, for the reference signal of the first state machine 200 to deactivate. Figure 6 illustrates a similar state diagram of the second state machine 202, so it is not described here in greater detail. States 600 to 612 of the second state machine 202 correspond to states 500 to 512 of the first state machine 200.
Figure 7 shows an example of the method of implementation of the state machines 200 and 202. On the basis of the state diagrams shown in Figures 5 and 6, a person skilled in the art can implement the state machines
200 and 202 in various different ways. Figure 7 shows an example using inverters 700 to 704, AND gates 706 to 722, 736 and 738 and OR gates 724 to 728 and 740. The inputs of a state machine comprise a reset input RESET, which is used to reset the machine to zero, and the signals RB/RA, A/B and PB/PA, depending on whether the machine in question is the first state machine 200 or the second state machine 202. The outputs are the signals PA/PB and RA/RB.
Although the invention is described above with reference to an example illustrated in the accompanying drawings, it is obvious that the invention is not restricted thereto, but it can be modified in various ways within the inventive idea disclosed in the attached claims.

Claims

1. A method for performing phase comparison, two binary signals (A and B) being compared in the method by means of two asynchronous state machines (200 and 202), two output signals (PA and PB) being generated by means of the state machines (200 and 202) to control a phase, c h a r a c t e r i z e d in that two asynchronous, functionally similar state machines (200 and 202) are used in the method, whereby to a first state machine (200) are fed: a first signal (A) to be compared, an output signal (PB) of a second state machine (202) and a handshaking signal (RB) of the second state machine (202), and to the second state machine (202) are fed: a second signal (B) to be compared, an output signal (PA) of the first state machine (200) and a handshaking signal (RA) of the first state machine (200); that the first state machine (200) activates its handshaking signal (RA) after having detected that the first signal (A) to be compared is activated; that the second state machine (202) activates its handshaking signal (RB) after having detected that the second signal (B) to be compared is activated, the handshaking signal (RA and RB) ensuring the logical operation of the method; and that, to activate the output signal (PA) detecting a phase difference in and controlling a phase of the first state machine (200), the following steps are taken: checking of the state of the first signal (A) to be compared, the state of the output signal (PB) of the second state machine (202) and the state of the handshaking signal (RB) of the second state machine (202); and that, to activate the output signal (PB) detecting a phase difference in and controlling a phase of the second state machine (202), the following steps are taken: checking of the state of the second signal (B) to be compared, the state of the output signal (PA) of the first state machine (200) and the state of the handshaking signal (RA) of the first state machine (200).
2. A method according to claim ^ c h a r a c t e r i z e d in that the output signal (PA) and the handshaking signal (RA) of the first state machine
(200) are activated for the duration of at least one state if the first signal (A) to be compared is only detected to be at an active state, other signals received by the first state machine (200) remaining non-active; and the output signal (B) and the handshaking signal (RB) of the second state machine (202) are activated for the duration of at least one state if the second signal (B) to be compared is only detected to be at an active state, other signals received by the second state machine (202) remaining non-active.
3. A method according to claim 2, c h a r a c t e r i z e d in that the handshaking signal (RA) and the output signal (PA) of the first state machine (200) having been activated, the output signal (PA) of the first state machine (200) is set non-active, after the handshaking signal (RB) of the second state machine (202) has been activated; the handshaking signal (RA) and the output signal (PA) of the first state machine (200) having been activated and the handshaking signal (RB) of the second state machine (202) having been activated, the handshaking signal
(RA) of the first state machine (200) is kept active for as long as the handshaking signal (RB) of the second state machine (202) is active; and the handshaking signal (RB) and the output signal (PB) of the second state machine (202) having been activated, the output signal (PB) of the second state machine (202) is set non-active, after the handshaking signal (RA) of the first state machine (200) has been activated; the handshaking signal (RB) and the output signal (PB) of the second state machine (202) having been activated and the handshaking signal (RA) of the first state machine (200) having been activated, the handshaking signal (RB) of the second state machine (202) is kept active for as long as the handshaking signal (RA) of the first state machine (200) is active.
4. A method according to claim 2, c h a r a c t e r i z e d in that the output signal (PA) and the handshaking signal (RA) of the first state machine (200) are kept active for as long as the handshaking signal (RB) of the second state machine (202) is non-active, and the output signal (PB) and the handshaking signal (RB) of the second sate machine (202) are kept active for as long as the handshaking signal (RA) of the first state machine (200) is non-active.
5. A method according to claim ^ c h a r a c t e r i z e d in that, the first signal (A) to be compared having been activated, the handshaking signal
(RA) of the first state machine (200) is activated for the duration of at least one state if the handshaking signal (RB) of the second state machine (202) is also detected to be active, and the second signal (B) to be compared having been activated, the handshaking signal (RB) of the second state machine (202) is activated for the duration of at least one state if the handshaking signal (RA) of the first state machine (200) is also detected to be active.
6. A method according to claim 5, c h a r a c t e r i z e d in that the handshaking signal (RA) of the first state machine (200) is kept active for as long as the output signal (PB) of the second state machine (202) is active, and the handshaking signal (RB) of the second state machine (202) is kept active for as long as the output signal (PA) of the first state machine (200) is active.
7. A method according to claim 1 , c h a r a c t e r i z e d in that successive states of each of the state machines (200 and 202) differ from each other only by one bit.
8. A phase comparator (104) comprising two asynchronous state machines (200 and 202), which are arranged to generate two output signals
(PA and PB) to control a phase, c h a r a c t e r i z e d in that the state machines (200 and 202) are functionally similar, a first state machine (200) having as input signals a first signal (A) to be compared, an output signal (PB) of the second state machine (202) and a handshaking signal (RB) of the second state machine (202); a second state machine (202) having as input signals a second signal (B) to be compared, an output signal (PA) of the first state machine (200) and a handshaking signal (RA) of the first state machine (200); that the first state machine (200) is arranged to generate its handshaking signal (RA) from an active edge of the first signal (A) to be compared and the second state machine (202) is arranged to generate its handshaking signal (RB) from an active edge of the second signal (B) to be compared, the handshaking signals (RA and RB) securing the logical operation of the phase comparator (104) by detecting the active edge of each of the signals (A and B) to be compared; and that, to activate the output signal (PA) detecting a phase difference in the first state machine (200), the first state machine (200) is arranged to: check the state of the first signal (A) to be compared, the state of the output signal (PB) of the second state machine (202) and the state of the handshaking signal (RB) of the second state machine (202); and that, to activate the output signal (PB) detecting a phase difference in the second state machine (202), the second state machine (202) is arranged to: check the state of the second signal (B) to be compared, the state of the output signal (PB) of the first state machine (200) and the state of the handshaking signal (RA) of the first state machine (200).
9. A phase comparator (104) according to claim 8, c h a r a c t e r i z e d in that the first state machine (200) is arranged to activate its output signal (PA) for the duration of at least one state if the first signal (A) to be compared only is at an active state, other signals received by the first state machine (200) being non-active, and the second state machine (202) is arranged to activate its output signal (PB) for the duration of at least one state if the first signal (B) to be compared only is at an active state, other signals received by the second state machine (202) being non-active.
10. A phase comparator (104) according to claim 9, c h a r a c t e r i z e d in that, the handshaking signal (RA) and the output signal (PA) of the first state machine (200) having been activated and the handshaking signal (RB) of the second state machine (202) having been activated, the first state machine (200) is arranged to keep the handshaking signal (RA) active for as long as the handshaking signal (RB) of the second state machine (202) is active, and the handshaking signal (RB) and the output signal (PB) of the second state machine (202) having been activated and the handshaking signal
(RB) of the first state machine (202) having been activated, the second state machine (202) is arranged to keep the handshaking signal (RB) active for as long as the handshaking signal (RA) of the first state machine (200) is active.
11. A phase comparator (104) according to claim 9, c h a r a c t e r i z e d in that the first state machine (200) is arranged to keep the output signal (PA) and the handshaking signal (RA) active for as long as the handshaking signal (RB) of the second state machine (202) is non-active, and the second state machine (202) is arranged to keep the output signal (PB) and the handshaking signal (RB) active for as long as the handshaking signal (RA) of the first state machine (200) is non-active.
12 A phase comparator (104) according to claim 8, c h a r a c t e r i z e d in that, the first signal (A) to be compared having been activated, the first state machine (200) is arranged to activate the handshaking signal (RA) for the duration of at least one state if the handshaking signal (RB) of the second state machine (202) is also active, and the first signal (B) to be compared having been activated, the second state machine (202) is arranged to activate the handshaking signal (RB) for the duration of at least one state if the handshaking signal (RA) of the first state machine (200) is also active.
13. A phase comparator (104) according to claim 12, characterized in that the first state machine (200) is arranged to keep the handshaking signal (RA) active for as long as the output signal (PB) of the second state machine (202) is active, and the second state machine (202) is arranged to keep the handshaking signal (RB) active for as long as the output signal (PA) of the second state machine (200) is active.
14. A phase comparator (104) according to claim 8, characterized in that successive states of the two state machines (200 and 202) are arranged to differ from each other only by one bit.
PCT/FI1998/000634 1997-08-20 1998-08-18 Method for performing phase comparison, and phase comparator WO1999009654A2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
US09/269,978 US6532257B1 (en) 1997-08-20 1998-08-18 Method for performing phase comparison, and phase comparator
EP98939667A EP0938779B1 (en) 1997-08-20 1998-08-18 Method for performing phase comparison, and phase comparator
DE69810748T DE69810748T2 (en) 1997-08-20 1998-08-18 PHASE COMPARISON METHOD AND PHASE COMPARATOR
AU88095/98A AU745305B2 (en) 1997-08-20 1998-08-18 Method for performing phase comparison, and phase comparator
JP51285299A JP4166841B2 (en) 1997-08-20 1998-08-18 Method for performing phase comparison and phase comparator
AT98939667T ATE231308T1 (en) 1997-08-20 1998-08-18 METHOD FOR PHASE COMPARISON AND PHASE COMPARATOR
NO991859A NO991859D0 (en) 1997-08-20 1999-04-19 Procedure for performing phase comparison, as well as phase comparator

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FI973421 1997-08-20
FI973421A FI103538B (en) 1997-08-20 1997-08-20 Method for performing phase comparison and phase comparator

Publications (2)

Publication Number Publication Date
WO1999009654A2 true WO1999009654A2 (en) 1999-02-25
WO1999009654A3 WO1999009654A3 (en) 1999-06-03

Family

ID=8549392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI1998/000634 WO1999009654A2 (en) 1997-08-20 1998-08-18 Method for performing phase comparison, and phase comparator

Country Status (11)

Country Link
US (1) US6532257B1 (en)
EP (1) EP0938779B1 (en)
JP (1) JP4166841B2 (en)
CN (1) CN1169297C (en)
AT (1) ATE231308T1 (en)
AU (1) AU745305B2 (en)
DE (1) DE69810748T2 (en)
ES (1) ES2191956T3 (en)
FI (1) FI103538B (en)
NO (1) NO991859D0 (en)
WO (1) WO1999009654A2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6873183B1 (en) * 2003-05-12 2005-03-29 Xilinx, Inc. Method and circuit for glitchless clock control
US7129765B2 (en) 2004-04-30 2006-10-31 Xilinx, Inc. Differential clock tree in an integrated circuit
CN115800992B (en) * 2023-02-07 2023-06-02 浪潮电子信息产业股份有限公司 Splitting circuit, splitting method, splitting device, splitting equipment and splitting storage medium for handshake signals

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520558A1 (en) * 1991-06-27 1992-12-30 Koninklijke Philips Electronics N.V. Phase locked loop and digital phase comparator for use in a phase-locked loop
US5291529A (en) * 1991-12-13 1994-03-01 Digital Equipment International Limited Handshake synchronization system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3130156C2 (en) 1981-07-30 1986-11-27 Siemens AG, 1000 Berlin und 8000 München Digital frequency-phase comparator
US4814726A (en) 1987-08-17 1989-03-21 National Semiconductor Corporation Digital phase comparator/charge pump with zero deadband and minimum offset
US5744983A (en) * 1995-05-03 1998-04-28 Intel Corporation Phase detector with edge-sensitive enable and disable
US5583458A (en) * 1995-05-03 1996-12-10 Intel Corporation Phase detector with edge-sensitive enable and disable
AU729777B2 (en) 1995-12-15 2001-02-08 Ericsson Inc. Discrete phase locked loop
US5920207A (en) * 1997-11-05 1999-07-06 Hewlett Packard Company Asynchronous phase detector having a variable dead zone
US6239626B1 (en) * 2000-01-07 2001-05-29 Cisco Technology, Inc. Glitch-free clock selector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520558A1 (en) * 1991-06-27 1992-12-30 Koninklijke Philips Electronics N.V. Phase locked loop and digital phase comparator for use in a phase-locked loop
US5291529A (en) * 1991-12-13 1994-03-01 Digital Equipment International Limited Handshake synchronization system

Also Published As

Publication number Publication date
FI103538B1 (en) 1999-07-15
AU745305B2 (en) 2002-03-21
WO1999009654A3 (en) 1999-06-03
JP4166841B2 (en) 2008-10-15
US6532257B1 (en) 2003-03-11
EP0938779A2 (en) 1999-09-01
NO991859L (en) 1999-04-19
DE69810748D1 (en) 2003-02-20
DE69810748T2 (en) 2003-10-02
NO991859D0 (en) 1999-04-19
CN1237289A (en) 1999-12-01
FI103538B (en) 1999-07-15
FI973421A (en) 1999-02-21
JP2001505028A (en) 2001-04-10
EP0938779B1 (en) 2003-01-15
FI973421A0 (en) 1997-08-20
ES2191956T3 (en) 2003-09-16
ATE231308T1 (en) 2003-02-15
AU8809598A (en) 1999-03-08
CN1169297C (en) 2004-09-29

Similar Documents

Publication Publication Date Title
US6008680A (en) Continuously adjustable delay-locked loop
CA1215750A (en) Digital phase correlator
US7119591B1 (en) Delay-locked loop (DLL) integrated circuits having binary-weighted delay chain units with built-in phase comparators that support efficient phase locking
US6104228A (en) Phase aligner system and method
EP1684433A1 (en) Method and apparatus for multi-mode clock data recovery
US6738922B1 (en) Clock recovery unit which uses a detected frequency difference signal to help establish phase lock between a transmitted data signal and a recovered clock signal
KR20010091534A (en) Delay-locked loop circuit having master-slave structure
JP2000224029A (en) Delayed synchronous loop and control method for the same
EP1246368B1 (en) Semiconductor device
EP0942536A1 (en) A phase-locked loop circuit with dynamic backup
US6028462A (en) Tunable delay for very high speed
US7692462B2 (en) Delay-locked loop and a stabilizing method thereof
US4531102A (en) Digital phase lock loop system
KR19990066804A (en) Method and apparatus for cycling phases in a phase locked loop
KR100400225B1 (en) Noise-robust burst mode receiving apparatus and method for recovering clock signal and data thereof
EP0938779B1 (en) Method for performing phase comparison, and phase comparator
JP2000307560A (en) Circuit device for initialization without interruption of delay clock loop circuit by high speed locking
US6586977B2 (en) Four quadrant analog mixer-based delay-locked loop for clock and data recovery
JPH11261409A (en) Over sampling type clock recovery circuit
KR20050008678A (en) Pll for clock recovery with initialization sequence
US4408165A (en) Digital phase detector
JP2806675B2 (en) Digital PLL device with switching convergence mode
JPS6210950A (en) Digital radio communication system
JP3778043B2 (en) Signal switching device and signal switching method
JPH03235522A (en) Frequency synthesis system and frequency synthesizer

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 98801190.5

Country of ref document: CN

AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE GH GM HR HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

ENP Entry into the national phase

Ref document number: 1999 512852

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 09269978

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1998939667

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 88095/98

Country of ref document: AU

AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE GH GM HR HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

WWP Wipo information: published in national office

Ref document number: 1998939667

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: CA

WWG Wipo information: grant in national office

Ref document number: 88095/98

Country of ref document: AU

WWG Wipo information: grant in national office

Ref document number: 1998939667

Country of ref document: EP