A cycle slip detector interfaces with a phase/frequency detector (PFD), such as might be used in a phase-locked loop circuit (PLL), and indicates when cycle slips occur in the PFD. Typically, the PFD generates output control signals as a function of the phase difference between first and second input signals, with the first input signal usually serving as a reference signal against which the PLL adjusts the second input signal. The PFD provides linear phase comparison between its input signals, provided their relative phase difference does not exceed .+-.2.pi. radians. If one of the two signals leads or lags the other by more than that amount, a cycle slip occurs, and the PFD responds nonlinearly. The cycle slip detector provides logic for detecting and indicating leading and lagging cycle slips as they occur in the PDF, and is typically implemented as a minimal arrangement of logic gates and flip-flops.
Methods, systems and components for use with or as a phase frequency detector. The phase frequency detector stretches its output pulse, allowing the detector to operate in a more linear region. As part of the invention, a new configuration for a D type flip flop is also disclosed. In one embodiment, the D type flip flop triggers at both the rising and the falling edges of the reference input, allowing a lower frequency input to be used while having the advantages of a higher frequency.
The phase-frequency detector may include a first flip-flop configured to generate a first signal, the first signal transitioning to a first logic level in response to a first edge of a first input signal and transitioning to a second logic level in response to a delayed reset signal and a second flip-flop configured to generate a second signal, the second signal transitioning to the first logic level in response to a second edge of a second input signal and transitioning to the second logic level in response to the delayed reset signal. The phase-frequency detector may further include a first delay unit configured to delay a reset signal to generate the delayed reset signal and a second delay unit configured to delay the reset signal to generate an output control signal for adjusting at least one of the first and second signals.
A PLL circuit has (i) a counter which divides a frequency of a VCO output whose frequency has been divided by a frequency divider and (ii) a memory which stores plural patterns of set cycles of the counter. The memory reads out one of the set cycles designated by a selection signal inputted through a serial bus (SB) from an outside of the PLL circuit. The set cycle, read out from the memory, which has a large amount of data, is inputted through a parallel bus (PB) into the counter, so that it hardly takes time to set a cycle for the counter. Further, even when the number of bits of the counter increases, the setting time is not lengthened.
The phase and frequency comparator for controlling, as a function of the frequency (F.sub.ref) and the phase of a reference signal (S.sub.ref), the frequency (F.sub.vco) and the phase of the output signal of a controlled-frequency oscillator comprises means (11, 12, 21, 22) for detecting in the reference signal (S.sub.ref) and in the signal from the oscillator events representative of the frequency and the phase of that signal, means (S1.sup.+, S1, 16, 17) for generating a first or second signal on the detection of an event, means (S2.sup.+, S2.sub.-, 24 to 27) for generating a third or fourth signal on the detection of an event, if the first or second signal, respectively, is generated, means for applying all of the signals (I.sub.o; V.sub.o) generated to the oscillator, and means (13, 23) for halting the generation of the first and second signals or of all of the signals if the first and second signals or the third and fourth signals, respectively, are generated simultaneously.
An apparatus of phase-frequency detector for adjusting wobble clock signal and wobble signal in the same phase, comprising: a first logic gate, receiving a first protection signal and a second protection signal and outputting a third protection signal according to a logic operation; a first flip-flop, coupled to the first logic gate, outputting the third protection signal as a first output signal when the wobble clock trigger; a second flip-flop, coupled to the first logic gate, outputting the third protection signal as a second output signal when the wobble signal trigger; a second logic gate, coupled to the first and the second flip-flop, outputting a fourth protection signal according to a logic operation; a third logic gate, coupled to the second logic gate, receiving the third and the fourth protection signal, and outputting a fifth protection signal according to a logic operation; and a control signal generator, receiving the wobble clock, the input signal, and the fifth protection signal and determining whether adjusting the phase of the wobble signal and the wobble clock according to the logic level of the fifth protection signal.