A self-calibrating frequency divider
Through the design of the self-calibration frequency divider, a combination of multiple frequency division units and calibration modules is used to achieve wide frequency division and 50% duty cycle within the 1GHz range, solving the problem of the narrow frequency division range and non-standard frequency division of existing frequency dividers. The 50% duty cycle problem demonstrates the advantages of high performance and simple circuits.
Patent Information
- Application Number
- CN202010144875.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-03-04
AI Technical Summary
Existing frequency dividers have shortcomings in frequency division range and speed, and it is difficult to meet the requirements of wide frequency division range, high speed and 50% duty cycle at the same time.
A self-calibration frequency divider is designed, including a frequency division module, a first calibration module, a second calibration module and a third calibration module. Through the combination of multiple frequency division units and control logic units, a judgment unit and a selection output unit are used. The signal output unit realizes frequency self-calibration, can achieve a continuous integer frequency division ratio of 1 to 1023 within the 1GHz range, and ensures a 50% duty cycle of the output signal.
A wide frequency division range and a 50% duty cycle within the 1GHz frequency range are achieved. The circuit is simple and easy to use, has superior performance, and overcomes the problems of a narrow frequency division range and non-50% duty cycle in the existing technology.
Smart Images

Figure CN113364449B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communications, and in particular to a frequency divider. Background Art
[0002] Frequency dividers are widely used in frequency synthesizers, clock generators and other circuits, and they play an indispensable role in the field of wireless communication technology. However, common frequency dividers currently have shortcomings such as narrow frequency division range, slow speed, and non-50% duty cycle. Many new architectures have been proposed to overcome the above shortcomings, but it is difficult to meet the above requirements of wide frequency division range, high speed, and 50% duty cycle without significantly increasing the complexity of the circuit. Summary of the invention
[0003] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a self-calibrating frequency divider for solving the problems of the prior art frequency divider having a narrow frequency division range and a non-50% duty cycle.
[0004] To achieve the above-mentioned object and other related objects, the present invention provides a self-calibration frequency divider, comprising: a frequency division module, a first calibration module, a second calibration module and a third calibration module;
[0005] The frequency division module includes a plurality of one-to-one corresponding frequency division units and a control logic unit;
[0006] The first calibration module includes a judgment unit, a selection output unit and a signal output unit;
[0007] The input signal is connected to the frequency division module, and the frequency division module is connected to the first calibration module and the second calibration module respectively;
[0008] The calibration signal output ends of the first calibration module and the second calibration module are both connected to the third calibration module, and the output end of the third calibration module serves as the output end of the frequency divider.
[0009] In one embodiment of the present invention, the frequency division unit includes four AND gates, two positive phase D flip-flops, two negative phase D flip-flops and an OR gate;
[0010] The clock signal end of the positive phase D flip-flop G5, the clock signal end of the positive phase D flip-flop G6, the clock signal end of the negative phase D flip-flop G7, and the clock signal end of the negative phase D flip-flop G8 are connected to serve as the first pin of the frequency division unit;
[0011] After one input end of the AND gate G1 is connected to the inverting output end of the inverting D flip-flop G8, it serves as the seventh pin of the frequency division unit, the other input end of the AND gate G1 is connected to the inverting output end of the inverting D flip-flop G7, and the output end of the AND gate G1 is connected to the trigger signal end of the positive phase D flip-flop G5;
[0012] The in-phase output terminal of the positive phase D flip-flop G5 is connected to the trigger signal terminal of the negative phase D flip-flop G8 and an input terminal of the OR gate G9;
[0013] The non-inverting output terminal of the inverting D flip-flop G8 is connected to an input terminal of the AND gate G3;
[0014] Another input terminal of the AND gate G3 serves as the fifth pin of the frequency division unit, and the output terminal of the AND gate G3 is connected to the trigger signal terminal of the positive phase D flip-flop G6;
[0015] The in-phase output terminal of the positive phase D flip-flop G6, one input terminal of the AND gate G2, or the other input terminal of the gate G9 are connected to serve as the third pin of the frequency division unit;
[0016] The other input end of the AND gate G2 is used as the fourth pin of the frequency division unit; the output end of the AND gate G2 is connected to the trigger signal end of the inverting D flip-flop G7;
[0017] The output terminal of the OR gate G9 is connected to an input terminal of the AND gate G4;
[0018] The other input end of the AND gate G4 serves as the second pin of the frequency division unit, and the output end of the AND gate G4 serves as the sixth pin of the frequency division unit.
[0019] In one embodiment of the present invention, the control logic unit includes a NOT gate G10, an OR gate G11 and an OR gate G12;
[0020] An input end of the OR gate G11 serves as the first pin of the control logic unit, an input end of the NOT gate G10 serves as the third pin of the control logic unit, an input end of the OR gate G12 serves as the second pin of the control logic unit, an output end of the NOT gate G10 is simultaneously connected to the other input ends of the OR gate G11 and the OR gate G12, an output end of the OR gate G11 serves as the fifth pin of the control logic unit, and an output end of the OR gate G12 serves as the fourth pin of the control logic unit.
[0021] In one embodiment of the present invention, the frequency division module includes nine frequency division units and nine corresponding control logic units;
[0022] The first pin of the first frequency dividing unit is connected to the input signal; the first pins of the remaining frequency dividing units are all connected to the seventh pin of the previous frequency dividing unit;
[0023] The second pin of each frequency division unit is connected to the output end of the selection output unit;
[0024] The third pin of each frequency division unit is connected to the first pin of the corresponding control logic unit;
[0025] The fourth pin of each frequency dividing unit is connected to the second pin of the corresponding control logic unit and the output end of the second calibration module;
[0026] The fifth pin of each frequency division unit is connected to the fifth pin of the next control logic unit;
[0027] The sixth pin of each frequency dividing unit is connected to the input end of the signal output unit;
[0028] The third pin of the ninth control logic unit is connected to the output end of the second calibration module, and the third pins of the remaining control logic units are all connected to the fourth pins of the adjacent control logic units;
[0029] The fifth pin of the first control logic unit outputs a signal to the input end of the second calibration module.
[0030] In one embodiment of the present invention, the determination unit includes seven subunits A, one subunit B and one subunit C;
[0031] Subunit A includes two AND gates, two OR gates and one NOT gate;
[0032] The two input terminals of the AND gate G15 are used as the first pin and the second pin of the subunit A respectively, and the output terminal is connected to an input terminal of the AND gate G18 and is used as the third pin of the subunit A;
[0033] The two input terminals of the OR gate G16 serve as the fourth pin and the fifth pin of the subunit A respectively, and the output terminal is connected to the input terminal of the NOT gate G17 to serve as the sixth pin of the subunit A;
[0034] The output terminal of the NOT gate G17 is connected to the other input terminal of the AND gate G18;
[0035] The output terminal of the AND gate G18 is connected to an input terminal of the OR gate G19, the other input terminal of the OR gate G19 serves as the seventh pin of the subunit A, and the output terminal of the OR gate G19 serves as the eighth pin of the subunit A;
[0036] Subunit B includes an AND gate G20, a NOT gate G21, an AND gate G22 and an OR gate G23;
[0037] The two input terminals of the AND gate G20 are respectively used as the first pin and the second pin of the sub-unit B, and the output terminal is connected to an input terminal of the AND gate G22 and is used as the third pin of the sub-unit B;
[0038] The input end of the NOT gate G21 serves as the fourth pin of the subunit B, and the output end is connected to the other input end of the AND gate G22;
[0039] The output terminal of the AND gate G22 is connected to an input terminal of the OR gate G23, the other input terminal of the OR gate G23 serves as the fifth pin of the subunit B, and the output terminal of the OR gate G23 serves as the sixth pin of the subunit B;
[0040] Subunit C includes an AND gate G24 and a NOT gate G25;
[0041] The two input terminals of the AND gate G24 are respectively used as the first pin and the second pin of the sub-unit C, and the output terminal is connected to the input terminal of the NOT gate G25, and the output terminal of the NOT gate G25 is used as the third pin of the sub-unit C;
[0042] The first pin and the second pin of the first subunit A are respectively connected to S0 and S1 of the ten-bit digital logic signal;
[0043] The first pins of the remaining subunits A, B and C are connected to S2-S9 of the ten-bit digital logic signal in sequence, the first pins of the remaining subunits A are also connected to the fourth pin of the previous subunit A, the first pin of the subunit B is also connected to the fourth pin of the seventh subunit A, and the first pin of the subunit C is also connected to the fifth pin of the seventh subunit A and the fourth pin of the subunit B;
[0044] The second pins of the remaining subunits A are all connected to the third pin of the previous subunit A, the second pin of subunit B is connected to the third pin of the seventh subunit A, and the second pin of subunit C is connected to the third pin of subunit B;
[0045] In the sub-unit A, the fifth pins of the remaining sub-units A except the seventh sub-unit A are all connected to the sixth pin of the next sub-unit A;
[0046] The seventh pin of the seventh subunit A is connected to the sixth pin of the subunit B, and the seventh pins of the remaining subunits A are all connected to the eighth pin of the previous subunit A;
[0047] The eighth pin of the first subunit A is connected to the input end of the third calibration module.
[0048] In one embodiment of the present invention, the selection output unit includes seven sub-units D, one sub-unit E and one sub-unit F;
[0049] The subunit D includes an OR gate G30, a NOT gate G31 and an AND gate G32;
[0050] The two input terminals of the OR gate G30 serve as the first pin and the second pin of the sub-unit D, and the output terminal of the OR gate G30 and the input terminal of the NOT gate G31 are connected to serve as the third pin of the sub-unit D;
[0051] The output end of the NOT gate G31 is connected to an input end of the AND gate G32, the other input end of the AND gate G32 serves as the fourth pin of the sub-unit D, and the output end of the AND gate G32 serves as the fifth pin of the sub-unit D;
[0052] The subunit E includes a NOT gate G33 and an AND gate G34;
[0053] The input end of the NOT gate G33 serves as the first pin of the sub-unit E, the output end is connected to an input end of the AND gate G34, the other input end of the AND gate G34 serves as the second pin of the sub-unit E, and the output end of the AND gate G34 serves as the third pin of the sub-unit E;
[0054] The subunit F includes a NOT gate G35;
[0055] The input end of the NOT gate G35 serves as the first pin of the subunit F, and the output end serves as the second pin of the subunit F;
[0056] The fourth pin of each subunit D, the second pin of the subunit E and the first pin of the subunit F are respectively connected to S1-S9 of the ten-bit digital logic signal;
[0057] The second pin of the seventh subunit D is connected to the second pin of the subunit E, and the second pins of the remaining subunits D are all connected to the fourth pin of the next subunit D;
[0058] The first pin of the seventh subunit D is connected to the first pin of the subunit E and the first pin of the subunit F, and the first pins of the remaining subunits D are all connected to the third pin of the next subunit D;
[0059] The fifth pin of each sub-unit D, the third pin of the sub-unit E and the second pin of the sub-unit F sequentially output control signals to the second pin of each of the frequency dividing units.
[0060] In one embodiment of the present invention, the signal output unit includes eight OR gates;
[0061] Two input ends of the first OR gate are connected to the sixth pins of the first frequency dividing unit and the second frequency dividing unit respectively;
[0062] One input end of the remaining OR gates is connected to the sixth pins of the third frequency dividing unit to the ninth frequency dividing unit in sequence, and the other input end is connected to the output end of the previous OR gate;
[0063] The output terminal of the eighth OR gate is connected to the input terminal of the third calibration module as the calibration signal output terminal of the signal output unit.
[0064] In one embodiment of the present invention, the second calibration module includes a D flip-flop G40, an AND gate G41 and nine adders;
[0065] The adder includes an XOR gate G43 and an AND gate G42; one input end of the XOR gate G43 is connected to one input end of the AND gate G42 to serve as the first pin of the adder; the other input end of the XOR gate G43 is connected to the other input end of the AND gate G42 to serve as the second pin of the adder; the output end of the AND gate G42 serves as the third pin of the adder; the output end of the XOR gate G43 serves as the fourth pin of the adder;
[0066] The clock signal terminal of the D flip-flop G40 is connected to the fifth pin of the first control logic unit, the trigger signal terminal of the D flip-flop G40 is connected to the inverting output terminal, the in-phase output terminal of the D flip-flop G40 is connected to an input terminal of the AND gate G41, and then serves as the calibration signal output terminal of the second calibration module, and is connected to the input terminal of the third calibration module; the other input terminal of the AND gate G41 is connected to S0 in the ten-bit digital logic signal, and the output terminal of the AND gate G41 is connected to the first pin of the first adder; the first pins of the remaining adders are all connected to the third pin of the previous adder;
[0067] The second pin of each adder is connected to S1-S9 of the ten-bit digital logic signal in sequence;
[0068] The fourth pin of each adder is connected to the fourth pin of each frequency dividing unit in sequence, and the fourth pin of the ninth adder is connected to the third pin of the ninth control logic unit.
[0069] In one embodiment of the present invention, the third calibration module includes a data selector U1, a data selector U2, a D flip-flop Q50, a D flip-flop Q51, a NOT gate Q52 and an OR gate Q53;
[0070] The two signal input terminals of the data selector U1 are respectively connected to the calibration signal output terminals of the first calibration module and the second calibration module;
[0071] The selection control terminal of the data selector U1 is connected to the eighth pin of the first subunit A, and the output terminal of the data selector U1 is connected to the trigger signal terminals of the D flip-flop Q50 and the D flip-flop Q51;
[0072] The clock signal terminal of the D flip-flop Q50 and the input terminal of the NOT gate Q52 are both connected to the input signal; the output terminal of the NOT gate Q52 is connected to the clock signal terminal of the D flip-flop Q51;
[0073] The in-phase output terminals of the D flip-flop Q50 and the D flip-flop Q51 are connected to the two input terminals of the OR gate Q53 respectively;
[0074] One input terminal of the data selector U2 is connected to the in-phase output terminal of the D flip-flop G40, and the other input terminal is connected to the output terminal of the OR gate Q53. The selection control terminal of the data selector U2 is connected to S0 in the ten-bit digital logic signal, and the output terminal of the data selector U2 serves as the output terminal of the frequency divider.
[0075] As described above, a self-calibration frequency divider of the present invention can realize a continuous integer frequency division ratio of 1 to 1023 within a frequency range of 1 GHz by calibrating twice and using different calibration methods for different frequency division ratios. The output signal has a duty cycle of 50% regardless of whether it is an even frequency division or an odd frequency division, and all circuits use standard digital logic, which is simple and easy to use and has excellent performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 It is shown as the overall structural block diagram of the present invention.
[0077] Figure 2 Shown is a wiring diagram of the frequency division unit of the present invention.
[0078] Figure 3 Shown is a wiring diagram of the control logic unit of the present invention.
[0079] Figure 4 Shown is a wiring diagram of the frequency division module of the present invention.
[0080] Figure 5 Shown is a wiring diagram of the judgment unit of the present invention.
[0081] Figure 6 Shown is a wiring diagram for selecting an output unit of the present invention.
[0082] Figure 7 Shown is a wiring diagram of the signal output unit of the present invention.
[0083] Figure 8 Shown is a wiring diagram of the adder of the present invention.
[0084] Fig. 9 Shown is a wiring diagram of the second calibration module of the present invention.
[0085] Fig.10 Shown is a wiring diagram of the third calibration module of the present invention.
[0086] Component number description
[0087] 1. Frequency division module; 2. First calibration module; 3. Second calibration module; 4. Third calibration module;
[0088] 11. Control logic unit; 12. Frequency division unit; 21. Judgment unit; 22. Selection output unit;
[0089] 23. Signal output unit; 31. Adder;
[0090] 211, subunit A; 212, subunit B; 213, subunit C;
[0091] 221. Subunit D; 222. Subunit E; 223. Subunit F. DETAILED DESCRIPTION
[0092] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0093] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0094] See also Figure 1 , the present invention provides a frequency division module 1, a first calibration module 2, a second calibration module 3 and a third calibration module 4;
[0095] The frequency division module 1 includes a plurality of groups of frequency division units 12 and control logic units 11 corresponding to each other;
[0096] The first calibration module 2 includes a determination unit 21 , a selection output unit 22 and a signal output unit 23 .
[0097] The frequency divider first divides the input signal by 1 to 1023 according to the value of the 10-bit division ratio control signal S<9:0>. The division ratio S corresponds to the decimal value of S<9:0> one by one, that is, when S<9:0> changes from 0000000001 to 1111111111, the division ratio S changes from 1 to 1023, and the value of S<9:0> cannot be 0000000000, that is, there is no division ratio of 0.
[0098] See also Figure 4 The frequency division module 1 includes nine frequency division units 12 and nine corresponding control logic units 11.
[0099] See also Figure 2The frequency division unit 12 is composed of a standard digital logic unit, including 4 AND gates, two positive phase D flip-flops, two negative phase D flip-flops and an OR gate; in this embodiment, in is a signal input port, out is a signal output port, eout is a calibration output port, min, p and e are logic control ports, and mout is a logic control output port. Under different control logic combinations, the frequency division unit 12 can achieve different frequency division ratios. When min is a low level, whether p is a high level or a low level, the frequency division unit 12 achieves a 2-frequency division function. When min is a high level, when p is a high level, a 3-frequency division function is achieved, and when p is a low level, a 2-frequency division function is achieved.
[0100] See also Figure 3 The control logic unit 11 includes a NOT gate and two OR gates, which are used to expand the frequency division ratio of the frequency divider, wherein A, B, and C are logic input ports, and D and E are logic output ports. If there is no control logic unit 11, the frequency divider of the nine frequency division units 12 cascaded can only achieve 2 0 To 2 10 -1 integer continuous division ratio, the division ratio can be expanded to 2 by adding nine identical control logic units 11 9 To 2 10 Integer consecutive division ratios of -1.
[0101] It should be noted that the duty cycle of the output signal after frequency division is different under different frequency division ratios and different input signal frequencies. The pulse width of the specific output signal is fixed to 2 times the input signal period, but due to the different frequency division ratios, the period of the output signal is different. At the same time, the pulse width of the output signal is constant, so the duty cycle is different. For example, when the input signal frequency is 1GHz, the signal period is 1ns, and the frequency division ratio S is 50, the output signal frequency is 20MHz, the signal period is 50ns, and the pulse width is 2ns, then the duty cycle is 4%. Therefore, it is necessary to add a calibration module to achieve the 50% duty cycle requirement of the output signal. The calibration process is divided into two steps. The first step is to use the duty cycle calibration circuit 12 to calibrate the duty cycle of the output signal of the even-numbered frequency division ratio to: k / 2k (2k is the value of the even-numbered frequency division ratio); the output signal of the odd-numbered frequency division ratio is calibrated to k / 2k+1 (2k+1 is the value of the odd-numbered frequency division ratio except S=1). Therefore, after calibration, the duty cycle of the output signal of the even-numbered frequency division ratio is 50%, and when the odd-numbered frequency division ratio is larger, the duty cycle is closer to 50%. The worst case is S=3, k=1, and the worst duty cycle of the output signal at this time is about 33.33%.
[0102] The first calibration module 2 is used to calibrate S=2 x -1 (x=2,3,4…10) frequency division ratio output signal duty cycle;
[0103] The second calibration module 3 is used to calibrate the duty cycle of the output signal of other S-frequency division ratios.
[0104] See also Figure 5 The judging unit 21 includes seven subunits A211, one subunit B212 and one subunit C213, which are used to judge whether S=2 x -1 (x = 2, 3, 4 ... 10) frequency division ratio; when S = 2 x -1 (x=2,3,4…10), the output signal xout of the judgment unit 21 is high level, and the calibration output of the divider selects the result of the first calibration module 2; otherwise, xout is low level, and the calibration output of the divider selects the result of the second calibration module 3.
[0105] See also Figure 6 and Figure 7 The selection output unit 22 includes seven subunits D 221, one subunit E 222 and one subunit F 223; the signal output unit 23 includes eight OR gates; after the determination is completed, the selection output unit 22 outputs the control signal e<8:0> according to the value of the frequency division ratio S to each corresponding control logic unit 11 in the frequency division module 1, controls the output signal of eout<8:0>, and then outputs clk_out2 as the output of the first calibration module 2 through the signal output unit 23.
[0106] For example, when S=0000111111, the determination circuit outputs a high level, selects the result of the first calibration module 2, and selects eout in the control logic unit 11. <4> output, and the rest of eout has no signal output, so clk_out2 in the signal output unit 23 will output eout <4> As the output of the first calibration module 2.
[0107] See also Fig. 9 The second calibration module 3 includes a D flip-flop G40, an AND gate G41 and nine adders 31; see Figure 8 , the adder 31 includes an XOR gate G43 and an AND gate G42;
[0108] The second calibration module 3 first passes the output signal out_pre of the frequency division module through a 2-frequency division circuit composed of a D flip-flop, and outputs clk_out1 as the output of the second calibration module 3; then, through the logic operation of the adder 31, the frequency division ratio of S<9:0> is converted into a control signal m<9:0> and returned to the frequency division core circuit to control the frequency division ratio to achieve duty cycle calibration.
[0109] After the output signal passes through the first calibration module 2 and the second calibration module 3, the output signal of the even-numbered frequency division ratio already has a duty cycle of 50% and no further calibration is required; while the duty cycle of the output signal at the odd-numbered frequency division ratio is still not 50%, but the duty cycle has the characteristic of k / 2k+1, where 2k+1 is the value of the odd-numbered frequency division ratio except S=1; therefore, for the case of an odd-numbered frequency division ratio, the output signal needs to pass through the third calibration module 4 to achieve a duty cycle of 50%.
[0110] See also Fig.10 , the output result clk_out2 of the first calibration module 2 and the output result clk_out1 of the second calibration module 3 are converted into the value of S=2 x -1 (x = 2,3,4...10) is selected for output through the data selector U1. When xout is high, clk_out2 is selected for output, otherwise clk_out1 is selected for output. The output signal of the data selector U1 is synchronously sampled with the input signal in and the inverted signal of the input signal in respectively. The two signals after synchronous sampling are output after passing through the OR logic. At this time, the signal output by the odd-numbered frequency division has a duty cycle of about 50%, and the output clk_out1 of the even-numbered frequency division itself has a duty cycle of 50%, so no calibration is required, and it is directly selected for output through the data selector U2. So far, in the case of a continuous integer frequency division ratio of 1 to 1023, the output signal has a duty cycle of 50% regardless of the even or odd frequency division.
[0111] In summary, the self-calibration frequency divider of the present invention can realize a continuous integer frequency division ratio of 1 to 1023 within a frequency range of 1 GHz by calibrating twice and using different calibration methods for different frequency division ratios, and the output signal after both even and odd frequency division has a duty cycle of 50%, and all circuits use standard digital logic, which is simple and easy to use and has excellent performance. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0112] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A self-calibrating frequency divider, characterized in that include: A frequency division module, a first calibration module, a second calibration module and a third calibration module; The frequency division module includes a plurality of one-to-one corresponding frequency division units and a control logic unit; The first calibration module includes a judgment unit, a selection output unit and a signal output unit; The input signal is connected to the frequency division module, and the frequency division module is connected to the first calibration module and the second calibration module respectively; The calibration signal output ends of the first calibration module and the second calibration module are both connected to the third calibration module, and the output end of the third calibration module serves as the output end of the frequency divider, wherein the second calibration module divides the output signal out_pre of the frequency divider module and outputs clk_out1 as the output of the second calibration module; The frequency division unit includes four AND gates, two positive-phase D flip-flops, two negative-phase D flip-flops and an OR gate; The clock signal terminal of the positive phase D flip-flop G5, the clock signal terminal of the positive phase D flip-flop G6, the clock signal terminal of the negative phase D flip-flop G7, and the clock signal terminal of the negative phase D flip-flop G8 are connected to serve as the first pin of the frequency dividing unit; One input terminal of the AND gate G1 is connected to the inverting output terminal of the inverting D flip-flop G8, and serves as the seventh pin of the frequency dividing unit. The other input terminal of the AND gate G1 is connected to the inverting output terminal of the inverting D flip-flop G7, and the output terminal of the AND gate G1 is connected to the trigger signal terminal of the positive phase D flip-flop G5. The non-inverting output terminal of the positive-phase D flip-flop G5 is connected to the trigger signal terminal of the negative-phase D flip-flop G8 and one input terminal of the OR gate G9; The non-inverting output terminal of the inverting D flip-flop G8 is connected to one input terminal of the AND gate G3; The other input terminal of the AND gate G3 serves as the fifth pin of the frequency dividing unit, and the output terminal of the AND gate G3 is connected to the trigger signal terminal of the positive phase D flip-flop G6; The non-inverting output terminal of the positive-phase D flip-flop G6, one input terminal of the AND gate G2, and the other input terminal of the OR gate G9 are connected to serve as the third pin of the frequency dividing unit; The other input terminal of the AND gate G2 serves as the fourth pin of the frequency dividing unit; the output terminal of the AND gate G2 is connected to the trigger signal terminal of the inverting D flip-flop G7; The output terminal of the OR gate G9 is connected to an input terminal of the AND gate G4; The other input end of the AND gate G4 serves as the second pin of the frequency dividing unit, and the output end of the AND gate G4 serves as the sixth pin of the frequency dividing unit; The third calibration module includes a data selector U1, a data selector U2, a D flip-flop Q50, a D flip-flop Q51, a NOT gate Q52, and an OR gate Q53; the two signal input terminals of the data selector U1 are respectively connected to the calibration signal output terminals of the first calibration module and the second calibration module; The selection control terminal of the data selector U1 is connected to the output terminal of the judgment unit, and the output terminal of the data selector U1 is connected to the trigger signal terminal of the D flip-flop Q50 and the D flip-flop Q51; The clock signal terminal of the D flip-flop Q50 and the input terminal of the NOT gate Q52 are both connected to the input signal; the output terminal of the NOT gate Q52 is connected to the clock signal terminal of the D flip-flop Q51; The non-inverting output terminals of the D flip-flop Q50 and the D flip-flop Q51 are connected to the two input terminals of the OR gate Q53 respectively; One input terminal of the data selector U2 is connected to the output terminal of the second calibration module, and the other input terminal is connected to the output terminal of the OR gate Q53. The selection control terminal of the data selector U2 is connected to S0 in the ten-bit digital logic signal, and the output terminal of the data selector U2 serves as the output terminal of the frequency divider.
2. The self-calibrating frequency divider according to claim 1, wherein: The control logic unit includes a NOT gate G10, an OR gate G11 and an OR gate G12; One input end of the OR gate G11 serves as the first pin of the control logic unit, the input end of the NOT gate G10 serves as the third pin of the control logic unit, one input end of the OR gate G12 serves as the second pin of the control logic unit, the output end of the NOT gate G10 is connected to the other input end of the OR gate G11 and the OR gate G12 at the same time, the output end of the OR gate G11 serves as the fifth pin of the control logic unit, and the output end of the OR gate G12 serves as the fourth pin of the control logic unit.
3. The self-calibrating frequency divider according to claim 2, wherein: The frequency division module includes nine frequency division units and nine corresponding control logic units; The first pin of the first frequency dividing unit is connected to the input signal; the first pins of the remaining frequency dividing units are all connected to the seventh pin of the previous frequency dividing unit; The second pin of each frequency dividing unit is connected to the output end of the selection output unit; The third pin of each frequency dividing unit is connected to the first pin of the corresponding control logic unit; The fourth pin of each frequency dividing unit is connected to the second pin of the corresponding control logic unit, and is connected to the control signals M0 to M8 of the corresponding second calibration module; The fifth pin of each frequency dividing unit is connected to the fifth pin of the subsequent control logic unit; The sixth pin of each frequency dividing unit is connected to the input end of the signal output unit; The third pin of the ninth control logic unit is connected to the control signal M9 of the second calibration module, and the third pins of the remaining control logic units are all connected to the fourth pins of adjacent control logic units; The fifth pin of the first control logic unit outputs a signal to the input end of the second calibration module.
4. The self-calibrating frequency divider according to claim 1, wherein: The judgment unit includes seven subunits A, one subunit B and one subunit C; Subunit A includes two AND gates, two OR gates and one NOT gate; The two input terminals of the AND gate G15 serve as the first pin and the second pin of the sub-unit A respectively, and the output terminal is connected to an input terminal of the AND gate G18 and serves as the third pin of the sub-unit A; The two input terminals of the OR gate G16 serve as the fourth and fifth pins of the sub-unit A respectively, and the output terminal is connected to the input terminal of the NOT gate G17 and serves as the sixth pin of the sub-unit A; The output terminal of the NOT gate G17 is connected to the other input terminal of the AND gate G18; The output terminal of the AND gate G18 is connected to one input terminal of the OR gate G19, the other input terminal of the OR gate G19 serves as the seventh pin of the sub-unit A, and the output terminal of the OR gate G19 serves as the eighth pin of the sub-unit A; Subunit B includes an AND gate G20, a NOT gate G21, an AND gate G22, and an OR gate G23; The two input terminals of the AND gate G20 serve as the first pin and the second pin of the sub-unit B respectively, and the output terminal is connected to an input terminal of the AND gate G22 and serves as the third pin of the sub-unit B; The input end of the NOT gate G21 serves as the fourth pin of the subunit B, and the output end is connected to the other input end of the AND gate G22; The output terminal of the AND gate G22 is connected to one input terminal of the OR gate G23, the other input terminal of the OR gate G23 serves as the fifth pin of the sub-unit B, and the output terminal of the OR gate G23 serves as the sixth pin of the sub-unit B; Subunit C includes an AND gate G24 and a NOT gate G25; The two input terminals of the AND gate G24 serve as the first pin and the second pin of the sub-unit C respectively, and the output terminal is connected to the input terminal of the NOT gate G25, and the output terminal of the NOT gate G25 serves as the third pin of the sub-unit C; The first pin and the second pin of the first subunit A are respectively connected to S0 and S1 of the ten-bit digital logic signal; The first pins of the remaining subunits A, B, and C are connected sequentially to S2-S9 of the ten-bit digital logic signal. The first pins of the remaining subunits A are also connected to the fourth pin of the previous subunit A. The first pin of the subunit B is also connected to the fourth pin of the seventh subunit A. The first pin of the subunit C is also connected to the fifth pin of the seventh subunit A and the fourth pin of the subunit B. The second pins of the remaining subunits A are all connected to the third pin of the previous subunit A, the second pin of subunit B is connected to the third pin of the seventh subunit A, and the second pin of subunit C is connected to the third pin of subunit B; In the sub-unit A, the fifth pins of the remaining sub-units A except the seventh sub-unit A are all connected to the sixth pin of the next sub-unit A; The seventh pin of the seventh subunit A is connected to the sixth pin of the subunit B, and the seventh pins of the remaining subunits A are all connected to the eighth pin of the next subunit A; The eighth pin of the first subunit A is connected to the input end of the third calibration module.
5. The self-calibrating frequency divider according to claim 3, wherein: The selection output unit includes seven subunits D, one subunit E and one subunit F; The subunit D includes an OR gate G30, a NOT gate G31 and an AND gate G32; The two input terminals of the OR gate G30 serve as the first and second pins of the sub-unit D, and the output terminal of the OR gate G30 is connected to the input terminal of the NOT gate G31 to serve as the third pin of the sub-unit D; The output terminal of the NOT gate G31 is connected to one input terminal of the AND gate G32, the other input terminal of the AND gate G32 serves as the fourth pin of the sub-unit D, and the output terminal of the AND gate G32 serves as the fifth pin of the sub-unit D; The subunit E includes a NOT gate G33 and an AND gate G34; The input end of the NOT gate G33 serves as the first pin of the sub-unit E, the output end is connected to one input end of the AND gate G34, the other input end of the AND gate G34 serves as the second pin of the sub-unit E, and the output end of the AND gate G34 serves as the third pin of the sub-unit E; The subunit F includes a NOT gate G35; The input end of the NOT gate G35 serves as the first pin of the sub-unit F, and the output end serves as the second pin of the sub-unit F; The fourth pin of each subunit D, the second pin of the subunit E and the first pin of the subunit F are respectively connected to S1-S9 of the ten-bit digital logic signal; The second pin of the seventh subunit D is connected to the second pin of the subunit E, and the second pins of the remaining subunits D are all connected to the fourth pin of the next subunit D; The first pin of the seventh subunit D is connected to the first pin of the subunit E and the first pin of the subunit F, and the first pins of the remaining subunits D are all connected to the third pin of the next subunit D; The fifth pin of each sub-unit D, the third pin of the sub-unit E, and the second pin of the sub-unit F sequentially output control signals to the second pin of each of the frequency dividing units.
6. The self-calibrating frequency divider according to claim 3, wherein: The signal output unit includes eight OR gates; The two input terminals of the first OR gate are connected to the sixth pins of the first frequency dividing unit and the second frequency dividing unit respectively; One input end of the remaining OR gates is connected to the sixth pins of the third frequency dividing unit to the ninth frequency dividing unit in sequence, and the other input end is connected to the output end of the previous OR gate; The output end of the eighth OR gate serves as the calibration signal output end of the signal output unit and is connected to the input end of the third calibration module.
7. The self-calibrating frequency divider according to claim 3, wherein: The second calibration module includes a D flip-flop G40, an AND gate G41 and nine adders; The adder includes an XOR gate G43 and an AND gate G42; one input end of the XOR gate G43 is connected to one input end of the AND gate G42 to serve as the first pin of the adder; the other input end of the XOR gate G43 is connected to the other input end of the AND gate G42 to serve as the second pin of the adder; the output end of the AND gate G42 serves as the third pin of the adder; and the output end of the XOR gate G43 serves as the fourth pin of the adder. The clock signal terminal of the D flip-flop G40 is connected to the fifth pin of the first control logic unit, the trigger signal terminal of the D flip-flop G40 is connected to the inverting output terminal, the non-inverting output terminal of the D flip-flop G40 is connected to one input terminal of the AND gate G41, and then serves as the calibration signal output terminal of the second calibration module, and is connected to the input terminal of the third calibration module; the other input terminal of the AND gate G41 is connected to S0 in the ten-bit digital logic signal, and the output terminal of the AND gate G41 is connected to the first pin of the first adder; The first pins of the remaining adders are all connected to the third pin of the previous adder; The second pin of each adder is connected to S1-S9 of the ten-bit digital logic signal in sequence; The fourth pin of each adder is connected to the fourth pin of each frequency dividing unit in sequence, and the third pin of the ninth adder is connected to the third pin of the ninth control logic unit.
