Disclosure of Invention
The invention provides an anti-jitter high-speed frequency discriminator circuit, which solves the problem that the frequency discriminator cannot carry out frequency locking because the input data Din contains larger jitter.
In order to solve the technical problem, the invention provides an anti-jitter high-speed frequency discriminator circuit which comprises four D triggers, a delay circuit and 2 AND gates;
q1, Q2, Q3 and Q4 are positive phase outputs of four D flip-flops 1, 2, 3 and 4, respectively, and Q3B and Q4B are inverted outputs of a third D flip-flop and a fourth D flip-flop; q3 and Q3B are connected to the two inputs of the first and gate, Q4 and Q4B are connected to the two inputs of the second and gate; the first AND gate outputs an UP signal, and the second AND gate outputs a DOWN signal; two input ends of the first D trigger are respectively connected with input data Din and an oscillation output Do, a first input end of the second D trigger is connected with the oscillation output Do, and a second input end of the second D trigger is connected with the input data Din through a delay module; first input ends of the third D flip-flop and the fourth D flip-flop are respectively connected to Q1; second input ends of the third D flip-flop and the fourth D flip-flop 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 at a high level, the charge pump provides current for the filter, the output voltage of the filter is increased, and the output frequency of the oscillation circuit is increased; when the frequency of the input data Din is lower than the frequency of the oscillation output Do, the DOWN signal is at a high level, 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 large jitter, the UP signal and the DOWN signal are simultaneously in a low level state.
Detailed Description
The technical solution 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 obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top/bottom", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" 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, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "disposed," "sleeved/connected," "connected," and the like, are used in a broad sense, and for example, "connected" may be a wall-mounted connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a direct connection, an indirect connection through an intermediate medium, and a communication between two elements, and those skilled in the art will understand the specific meaning of the terms in the present invention specifically.
Referring to fig. 2, the present embodiment provides an anti-jitter high-speed frequency discriminator circuit, which is composed of four D flip-flops, a delay circuit, and 2 and gates;
q1, Q2, Q3 and Q4 are positive phase outputs of four D flip-flops 1, 2, 3 and 4, respectively, and Q3B and Q4B are inverted outputs of a third D flip-flop and a fourth D flip-flop; q3 and Q3B are connected to the two inputs of the first and gate, Q4 and Q4B are connected to the two inputs of the second and gate; the first AND gate outputs an UP signal, and the second AND gate outputs a DOWN signal; two input ends of the first D trigger are respectively connected with input data Din and an oscillation output Do, a first input end of the second D trigger is connected with the oscillation output Do, and a second input end of the second D trigger is connected with the input data Din through a delay module; first input ends of the third D flip-flop and the fourth D flip-flop are respectively connected to Q1; second input ends of the third D flip-flop and the fourth D flip-flop 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 at a high level, the charge pump provides current for the filter, the output voltage of the filter is increased, and the output frequency of the oscillation circuit is increased; when the frequency of the input data Din is lower than the frequency of the oscillation output Do, the DOWN signal is at a high level, 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 above design, taking the frequency of the input data Din higher than the frequency of the oscillation output Do as an example, as shown in fig. 3, when both the rising edge and the falling edge of the input data Din contain large jitter, Q3 and Q4B generate opposite signals to keep both the UP signal and the DOWN signal at low level, so that charging and discharging are not performed, and erroneous determination caused by jitter is avoided. When the rising edge and the falling edge of the input data Din both have small jitter, Q3 and Q4B can perform more definite frequency discrimination, and the UP and DOWN signals operate normally. Fig. 4 shows simulation results of the inventive circuit.
The above description 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 can make insubstantial changes in the technical scope of the present invention within the technical scope of the present invention, and the actions infringe the protection scope of the present invention are included in the present invention.