Disclosure of Invention
The invention aims to solve the main technical problem of providing an anti-jitter high-speed frequency discriminator circuit, which solves the problem that the input data Din contains a larger jitter frequency discriminator detection error and cannot be subjected to frequency locking.
In order to solve the technical problems, the invention provides an anti-jitter high-speed discriminator circuit, which consists of four D triggers, a delay circuit and 2 AND gates;
q1, Q2, Q3, Q4 are the normal phase outputs of the four D flip-flops 1, 2, 3, 4, respectively, and Q3B, Q B is the inverted output of the third D flip-flop and the fourth D flip-flop; q3 and Q3B are connected to two inputs of the first AND gate, and Q4B are connected to two inputs of the second AND gate; the first AND gate outputs an UP signal, and the second AND gate outputs a DOWN signal; the first input end of the second D trigger is connected with the oscillation output Do, and the second input end of the second D trigger is connected with the input data Din through a delay module; the first input ends of the third D trigger and the fourth D trigger are respectively connected to Q1; the second input ends of the third D trigger and the fourth D trigger are respectively connected to Q2;
when the frequency of the input data Din is higher than the frequency of the oscillation output Do, the UP signal is in a high level, the charge pump supplies current to the filter, the output voltage of the filter is increased, and the output frequency of the oscillation circuit is improved; when the frequency of the input data Din is lower than the frequency of the oscillation output Do, the DOWN signal is high, the filter supplies current to the charge pump, the output voltage of the filter is reduced, and the output frequency of the oscillation circuit is reduced.
In a preferred embodiment: the UP signal and the DOWN signal are not always in opposite states.
In a preferred embodiment: when the input data Din contains a large jitter, the UP signal and the DOWN signal are simultaneously in a low state.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments, and that all other embodiments obtained by persons of ordinary skill in the art without making creative efforts based on the embodiments in the present invention are within the protection scope of the present invention.
In the description of the present invention, it should be noted that the positional or positional relationship indicated by the terms such as "upper", "lower", "inner", "outer", "top/bottom", etc. are based on the positional or positional relationship shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," configured to, "" engaged with, "" connected to, "and the like are to be construed broadly, and may be, for example," connected to, "wall-mounted," connected to, removably connected to, or integrally connected to, mechanically connected to, electrically connected to, directly connected to, or indirectly connected to, through an intermediary, and may be in communication with each other between two elements, as will be apparent to those of ordinary skill in the art, in view of the detailed description of the terms herein.
Referring to fig. 2, the present embodiment provides an anti-jitter high-speed discriminator circuit, which is composed of four D flip-flops, a delay circuit, 2 and gates;
q1, Q2, Q3, Q4 are the normal phase outputs of the four D flip-flops 1, 2, 3, 4, respectively, and Q3B, Q B is the inverted output of the third D flip-flop and the fourth D flip-flop; q3 and Q3B are connected to two inputs of the first AND gate, and Q4B are connected to two inputs of the second AND gate; the first AND gate outputs an UP signal, and the second AND gate outputs a DOWN signal; the first input end of the second D trigger is connected with the oscillation output Do, and the second input end of the second D trigger is connected with the input data Din through a delay module; the first input ends of the third D trigger and the fourth D trigger are respectively connected to Q1; the second input ends of the third D trigger and the fourth D trigger are respectively connected to Q2;
when the frequency of the input data Din is higher than the frequency of the oscillation output Do, the UP signal is in a high level, the charge pump supplies current to the filter, the output voltage of the filter is increased, and the output frequency of the oscillation circuit is improved; when the frequency of the input data Din is lower than the frequency of the oscillation output Do, the DOWN signal is high, the filter supplies current to the charge pump, the output voltage of the filter is reduced, and the output frequency of the oscillation circuit is reduced.
After the design, taking the case that the frequency of the input data Din is higher than the frequency of the oscillation output Do as shown in fig. 3, when the rising edge and the falling edge of the input data Din both contain large jitter, the Q3 and the Q4B generate opposite signals to enable the UP and the DOWN signals to keep low level, and charge and discharge are not performed, so that erroneous judgment caused by jitter is avoided. When the rising edge and the falling edge of the input data Din have smaller jitter, Q3 and Q4B can perform relatively clear frequency discrimination, and UP and DOWN signals normally work. Fig. 4 is a simulation result of the inventive circuit.
The foregoing is only a preferred embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any person skilled in the art will be able to make insubstantial modifications of the present invention within the scope of the present invention disclosed herein by this concept, which falls within the actions of invading the protection scope of the present invention.