Frequency locked loop, electronic device and frequency generation method
The frequency-locked loop addresses the challenges of analog/digital hybrid phase-locked loops by employing a digitally controlled oscillator and control circuit to adjust frequency control words, achieving high precision, fast response, and low power consumption for efficient integration into electronic chips.
Patent Information
- Application Number
- JP2020529429
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-01-02
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2039-01-02
AI Technical Summary
Existing phase-locked loops in electronic chips, particularly analog/digital hybrid phase-locked loops, face challenges such as large circuit size, high cost, long development time, and difficulty in transplantation due to the inclusion of analog circuits, which complicates miniaturization and integration.
A frequency-locked loop system that determines the magnitude relationship between input and feedback frequencies to generate control signals, using digitally controlled oscillators and a control circuit to adjust frequency control words based on sub-control signals, enabling a fully digital circuit design with high accuracy, fast response, and low power consumption.
The solution provides a frequency-locked loop with high precision, fast response, low power consumption, and small size, facilitating easy integration into various chips, and supports programmable frequency generation with high accuracy and flexibility.
Smart Images

Figure 0007562411000014 
Figure 0007562411000015 
Figure 0007562411000016
Abstract
Description
[Technical field]
[0001] SUMMARY OF THE DISCLOSURE Embodiments of the present disclosure relate to a frequency locked loop, an electronic device, and a method for generating a frequency. [Background technology]
[0002] With the rapid development of industry and the rapid popularity of the network of things, smart devices need to have the characteristics of low power consumption. In smart devices, the integrated circuit smart chip can control and process all electronic information. Inside the integrated circuit smart chip, a clock signal is used to drive and coordinate the operation of each electronic device. A reliable clock processing unit is essential for the operation of the integrated circuit smart chip.
[0003] At present, the phase-locked loop is the most widely used clock processing unit in electronic chips. According to the design type, the phase-locked loop may be divided into analog phase-locked loop, digital phase-locked loop, and analog / digital hybrid phase-locked loop. The analog phase-locked loop has the characteristics of high accuracy and fast response, but the circuit volume of the analog phase-locked loop is large, the cost is high, the research and development period is long, and it is not easy to transplant. Because it is difficult to make the voltage-controlled oscillator digital, the phase-locked loop must include an analog circuit, and based on this, the analog / digital hybrid phase-locked loop is currently the most widely used. In the analog / digital hybrid phase-locked loop, the voltage-controlled oscillator adopts the form of an analog circuit, while other components such as the phase discriminator, loop filter, and divider adopt the form of a digital circuit, which is conducive to the control and miniaturization of the circuit. Summary of the Invention [Means for solving the problem]
[0004] At least one embodiment of the present disclosure includes a control circuit configured to determine the magnitude relationship between an input frequency and a feedback frequency, obtain a control signal including a first sub-control signal and a second sub-control signal, and determine a frequency control word based on the control signal, the control circuit being configured to generate the first sub-control signal when the input frequency is greater than the feedback frequency, and to generate the second sub-control signal different from the first sub-control signal when the input frequency is less than the feedback frequency; a digitally controlled oscillator circuit configured to generate and output an output signal having a target frequency based on the frequency control word; The present invention provides a frequency locked loop including:
[0005] For example, in at least one embodiment of the present disclosure, the frequency locked loop may include a control circuit that: a frequency discriminator configured to determine the magnitude relationship between the input frequency and the feedback frequency to obtain the control signal, the frequency discriminator being configured to generate and output the first sub-control signal when the input frequency is greater than the feedback frequency, and to generate and output the second sub-control signal when the input frequency is less than the feedback frequency; a signal generation subcircuit configured to generate the frequency control word based on the control signal and output the frequency control word to the digitally controlled oscillator circuit under control of a clock signal; The clock signal is the output signal or a feedback signal having the feedback frequency.
[0006] For example, in a frequency locked loop provided in at least one embodiment of the present disclosure, the signal generating subcircuit is configured to subtract a first adjustment parameter from a frequency control word to be adjusted based on the first sub-control signal to generate the frequency control word; or The signal generation subcircuit is configured to add a second adjustment parameter to the adjusted frequency control word based on the second sub-control signal to generate the frequency control word.
[0007] For example, in a frequency locked loop provided in at least one embodiment of the present disclosure, the signal generating subcircuit may include: a calculation module configured to subtract the first adjustment parameter from the frequency control word to be adjusted based on the first sub-control signal to generate the frequency control word, or configured to add the second adjustment parameter to the frequency control word to be adjusted based on the second sub-control signal to generate the frequency control word; The frequency control word to be adjusted and a storage module configured to store the frequency control word.
[0008] For example, in at least one embodiment of the present disclosure, in a frequency locked loop, the frequency discriminator includes a first circuit, a second circuit, and a third frequency division circuit; one feedback period of the feedback signal includes a first edge, a second edge, and a third edge, the second edge being located between the first edge and the third edge; the third frequency divider circuit is configured to receive an input signal having the input frequency and divide the input signal to obtain a first intermediate signal having a first intermediate frequency; the first circuit is configured to determine and output a first logic value of the first edge, a second logic value of the second edge, and a third logic value of the third edge; The second circuit is configured to generate and output the first sub-control signal or the second sub-control signal based on the first logical value, the second logical value, and the third logical value.
[0009] For example, in the frequency locked loop provided in at least one embodiment of the present disclosure, a third frequency division factor of the third frequency division circuit is 2, the first circuit includes a first D flip-flop, a second D flip-flop, a third D flip-flop, a fourth D flip-flop and a first NOT gate, the second circuit includes a first XOR gate, a second XOR gate, a second NOT gate, a third NOT gate, a first AND gate and a second AND gate; a data input of the first D flip-flop configured to receive the first intermediate signal, a clock input of the first D flip-flop configured to receive the feedback signal, an output of the first D flip-flop connected to a data input of the second D flip-flop and a first data input of the first XOR gate, and an output of the first D flip-flop configured to output the first logic value; a clock input of the second D flip-flop configured to receive the feedback signal, an output of the second D flip-flop connected to a first data input of the second XOR gate, and an output of the second D flip-flop configured to output the third logic value; the first NOT gate is configured to receive the feedback signal and phase-invert the feedback signal to obtain an intermediate feedback signal; a data input of the third D flip-flop configured to receive the first intermediate signal, a clock input of the third D flip-flop configured to receive the intermediate feedback signal, and an output of the third D flip-flop connected to a data input of the fourth D flip-flop; a clock input of the fourth D flip-flop is configured to receive the feedback signal, an output of the fourth D flip-flop is connected to a second data input of the first XOR gate and a second data input of the second XOR gate, and an output of the fourth D flip-flop is configured to output the second logic value; an output terminal of the first XOR gate is connected to an input terminal of the second NOT gate and a first data input terminal of the first AND gate; an output terminal of the second XOR gate is connected to an input terminal of the third NOT gate and a second data input terminal of the first AND gate; an output terminal of the second NOT gate is connected to a first data input terminal of the second AND gate, and an output terminal of the third NOT gate is connected to a second data input terminal of the second AND gate; The output of the first AND gate is configured to output the first sub-control signal, and the output of the second AND gate is configured to output the second sub-control signal.
[0010] For example, in at least one embodiment of the present disclosure, a frequency locked loop is provided, wherein the frequency control word is a positive integer.
[0011] For example, in the frequency locked loop provided in at least one embodiment of the present disclosure, the first adjustment parameter and the second adjustment parameter are both equal to one.
[0012] For example, at least one embodiment of the present disclosure provides a frequency locked loop, further comprising a first frequency division circuit, the first frequency division circuit configured to generate the feedback frequency based on the target frequency, and input the feedback signal having the feedback frequency to the control circuit; The feedback frequency is expressed as: f b =f dco / N f b represents the feedback frequency, and f dco represents the target frequency, and N represents a first frequency division factor of the first frequency division circuit, where N is a positive integer.
[0013] For example, in a frequency locked loop provided in at least one embodiment of the present disclosure, the relationship between the input frequency and the frequency control word can be expressed as follows:
number
number
[0014] For example, at least one embodiment of the present disclosure provides a frequency locked loop, further comprising a first frequency divider circuit and a second frequency divider circuit; the first frequency division circuit is configured to generate the feedback frequency based on the target frequency and input the feedback signal having the feedback frequency to the control circuit; the second frequency division circuit is configured to divide the input frequency to generate a second intermediate frequency and input a second intermediate signal having the second intermediate frequency to the control circuit; The feedback frequency is expressed as: f b =f dco / P f b represents the feedback frequency, and f dco represents the target frequency, P represents a first frequency division factor of the first frequency division circuit, P is a positive integer, The second intermediate frequency is expressed as follows: f im2 =f i / D f im2 represents the second intermediate frequency, and fi represents the input frequency, D represents a second frequency division factor of the second frequency division circuit, D is a positive integer, and P is greater than or equal to D.
[0015] For example, in a frequency locked loop provided in at least one embodiment of the present disclosure, the relationship between the input frequency and the frequency control word can be expressed as follows:
number
number
[0016] For example, in a frequency locked loop provided in at least one embodiment of the present disclosure, the digitally controlled oscillator circuit comprises: a reference time unit generating subcircuit configured to generate and output a reference time unit; a frequency adjustment subcircuit configured to generate and output the output signal having the target frequency based on the frequency control word and the reference time unit.
[0017] At least one embodiment of the present disclosure comprises: a frequency source configured to provide an input signal having an input frequency; The present invention provides an electronic device including any one of the frequency locked loops described above.
[0018] At least one embodiment of the present disclosure is any of the above frequency lock loop frequency generation methods, comprising: A step of judging the magnitude relationship between an input frequency and a feedback frequency to obtain a control signal including a first sub-control signal and a second sub-control signal, and determining a frequency control word based on the control signal, wherein if the input frequency is greater than the feedback frequency, the first sub-control signal is generated, and if the input frequency is less than the feedback frequency, the second sub-control signal different from the first sub-control signal is generated; generating and outputting an output signal having a target frequency based on the frequency control word.
[0019] For example, in the frequency generation method provided in at least one embodiment of the present disclosure, the step of determining a frequency control word based on the control signal includes: generating a frequency control word by subtracting a first adjustment parameter from a frequency control word to be adjusted based on the first sub-control signal; or The method includes a step of adding a second adjustment parameter to a frequency control word to be adjusted based on the second sub-control signal to generate the frequency control word. [Brief description of the drawings]
[0020] In order to more clearly describe the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments are briefly described below. It is apparent that the drawings in the following description only relate to some embodiments of the present disclosure and are not intended to limit the present disclosure. [Figure 1] FIG. 1 is a schematic block diagram of a frequency locked loop provided in one embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of a frequency-locked loop provided in one embodiment of the present disclosure. [Diagram 3] FIG. 3 is a schematic circuit diagram of a frequency discriminator provided in one embodiment of the present disclosure. [Figure 4A] FIG. 4A is a timing diagram of when a frequency discriminator provided in one embodiment of the present disclosure generates a first sub-control signal. [Figure 4B] FIG. 4B is another timing diagram when the frequency discriminator provided in one embodiment of the present disclosure generates the first sub-control signal. [Figure 4C] FIG. 4C is a timing diagram when the frequency discriminator provided in one embodiment of the present disclosure generates the second sub-control signal. [Figure 4D] FIG. 4D is another timing diagram when the frequency discriminator provided in one embodiment of the present disclosure generates the second sub-control signal. [Diagram 5] FIG. 5 is a schematic diagram of a signal generation sub-circuit provided in one embodiment of the present disclosure. [Figure 6] FIG. 6 is a schematic diagram of another frequency locked loop provided in an embodiment of the present disclosure. [Figure 7A] FIG. 7A illustrates a schematic block diagram of a reference time unit generation sub-circuit provided in one embodiment of the present disclosure. [Figure 7B] FIG. 7B illustrates a schematic block diagram of a reference time unit generation sub-circuit provided in one embodiment of the present disclosure. [Figure 8] FIG. 8 is a schematic diagram of K reference output signals with uniform phase spacing provided in one embodiment of the present disclosure. [Figure 9] FIG. 9 illustrates a schematic block diagram of a frequency adjustment sub-circuit provided in one embodiment of the present disclosure. [Figure 10] FIG. 10 shows a schematic diagram of the operating principle of the frequency adjustment sub-circuit provided in one embodiment of the present disclosure. [Figure 11A] FIG. 11A is a schematic diagram of a frequency adjustment sub-circuit provided in one embodiment of the present disclosure. [Figure 11B] FIG. 11B is a schematic diagram of another frequency adjustment sub-circuit provided in one embodiment of the present disclosure. [Figure 12] FIG. 12 is a schematic diagram of the frequency tracking characteristics of a frequency locked loop provided in one embodiment of the present disclosure. [Figure 13] FIG. 13 is a schematic circuit diagram of another frequency locked loop provided in an embodiment of the present disclosure. [Figure 14] FIG. 14 is a test diagram of the frequency ratio of the frequency locked loop provided in one embodiment of the present disclosure. [Figure 15] FIG. 15 is a schematic block diagram of an electronic device provided in one embodiment of the present disclosure. [Figure 16] FIG. 16 illustrates a frequency generation method provided in one embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings of the embodiments of the present disclosure. It is clear that the described embodiments are not all the embodiments, but are only some of the embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of protection of the present disclosure.
[0022] Unless otherwise defined, technical or scientific terms used in this disclosure should have their ordinary meaning as understood by a person of ordinary skill in the field to which this disclosure belongs. The terms "first", "second" and similar terms used in this disclosure do not denote any order, quantity or importance, but are merely used to distinguish different components. Similar terms such as "comprise" and "include" mean that the element or thing appearing before the term includes the elements or things listed after the term and their equivalents, but do not exclude other elements or things. Similar terms such as "connect" and "connect to each other" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Terms such as "upper", "lower", "left", and "right" are merely used to indicate relative positional relationships, and if the absolute position of the described object is changed, the relative positional relationships may change accordingly.
[0023] To provide a clear and concise description of the embodiments of the present disclosure below, the present disclosure omits detailed descriptions of known features and components.
[0024] A clock signal is an important control signal. A clock signal may be generated directly by a frequency source or indirectly by a phase-locked loop (PLL). Digital phase-locked loops are currently the focus of research and development in the phase-locked loop field. The oscillator in a fully digital phase-locked loop (ADPLL) is called a digital oscillator, and the frequency of the digital oscillator is controlled by a variable that adopts a digital value. ADPLL reduces the complexity of analog design and applies it to digital processing. However, the digital oscillator in such an ADPLL includes a large amount of analog circuitry and is not a fully digital circuit.
[0025] At least one embodiment of the present disclosure provides a frequency locked loop, an electronic device, and a frequency generation method. The frequency locked loop uses the magnitude of an input frequency and a feedback frequency to control the frequency control word, and generates a target frequency based on a time-average frequency direct period (TAF-DPS) synthesizer, and has characteristics such as high accuracy, fast response speed, low power consumption, small volume, and programmability. The input frequency does not need to correspond to the target frequency, and can be any value, and the frequency locked loop is a fully digital circuit and can be easily integrated into various chips. The frequency locked loop can be used in fields such as microelectronics, sensing, control, measurement, and driving.
[0026] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings, but the present disclosure is not limited to these specific embodiments.
[0027] FIG. 1 is a schematic block diagram of a frequency-locked loop provided in an embodiment of the present disclosure, and FIG. 2 is a schematic diagram of the configuration of a frequency-locked loop provided in an embodiment of the present disclosure.
[0028] For example, as shown in FIG. 1, the frequency locked loop 10 may include a control circuit 11 and a digitally controlled oscillator circuit 12. The control circuit 11 is configured to determine the magnitude relationship between the input frequency and the feedback frequency, obtain a control signal, and determine a frequency control word based on the control signal. For example, the control signal may include a first sub-control signal and a second sub-control signal. When the input frequency is greater than the feedback frequency, the control circuit 11 is configured to generate the first sub-control signal, and when the input frequency is less than the feedback frequency, the control circuit 11 is configured to generate a second sub-control signal different from the first sub-control signal. The digitally controlled oscillator circuit 12 is configured to generate and output an output signal having a target frequency based on the frequency control word.
[0029] For example, the input frequency may be any value. The input signal having the input frequency may be generated by a frequency source (for example, the frequency source may include a self-oscillating source and a synthesized frequency source). For example, the input frequency may represent the frequency of the signal that the frequency source actually generates and outputs. The target frequency represents the frequency of the signal that the user wants to obtain. For example, the target frequency represents the frequency that the signal output from the frequency locked loop 10 can reach. For example, the ratio of the target frequency to the input frequency may be any value.
[0030] For example, as shown in FIG. 2, the control circuit 11 includes a frequency discriminator 111 and a signal generation subcircuit 112 .
[0031] For example, as shown in FIG. 2, the frequency discriminator 111 discriminates the input frequency f i and the feedback frequency f b For example, the frequency discriminator 111 is configured to determine the magnitude relationship between the input frequency f i is the feedback frequency f b If the input frequency f is greater than the first sub-control signal Cf, the frequency discriminator 100 is configured to generate and output the first sub-control signal Cf. i is the feedback frequency f bIf it is smaller, it is configured to generate and output the second sub-control signal Cs.
[0032] For example, in one example, the first sub-control signal Cf is effective when it is at a first level, but is ineffective when it is at a second level. Similarly, the second sub-control signal Cs is effective when it is at a first level, but is ineffective when it is at a second level. It should be noted that in the present disclosure, the first level may represent a high level and the second level may represent a low level, but is not limited thereto. The first level may represent a low level, and the second level may represent a high level accordingly. The setting of the first level and the second level may be determined according to a specific actual situation, and the embodiment of the present disclosure does not limit this. The embodiment of the present disclosure is described as an example in which the first level represents a high level and the second level represents a low level, but the following embodiments are similar to this, and the description will be omitted.
[0033] For example, the input frequency f i is the feedback frequency f b If the input frequency f is greater than the first level, the frequency discriminator 111 is configured to generate and output a first sub-control signal Cf at a first level and a second sub-control signal Cs at a second level. i is the feedback frequency f b If the input frequency f is smaller than the first level, the frequency discriminator 111 is configured to generate and output the second sub-control signal Cs at the first level and the first sub-control signal Cf at the second level. i is the feedback frequency f b , the frequency discriminator 111 is configured to generate and output the first sub-control signal Cf at the second level and the second sub-control signal Cs at the second level. i is the feedback frequency f b If the input frequency f is greater than 1, the first sub-control signal Cf is valid and the second sub-control signal Cs is invalid. i is the feedback frequency f bIf the input frequency f is smaller than the first sub-control signal Cs, the second sub-control signal Cf is valid and the first sub-control signal Cf is invalid. i is the feedback frequency f b When the input frequency f i is the feedback frequency f b If the input frequency f is greater than the first level, the frequency discriminator 111 may generate and output only the first sub-control signal Cf at the first level. i is the feedback frequency f b If the input frequency f is smaller than the first level, the frequency discriminator 111 may generate and output only the second sub-control signal Cs at the first level. i is the feedback frequency f b If it is equal to, then the frequency discriminator 111 will not output a signal.
[0034] Figure 3 is a schematic circuit diagram of a frequency discriminator provided in one embodiment of the present disclosure, Figure 4A is a timing diagram when a frequency discriminator provided in one embodiment of the present disclosure generates a first sub-control signal, Figure 4B is another timing diagram when a frequency discriminator provided in one embodiment of the present disclosure generates a first sub-control signal, Figure 4C is a timing diagram when a frequency discriminator provided in one embodiment of the present disclosure generates a second sub-control signal, and Figure 4D is another timing diagram when a frequency discriminator provided in one embodiment of the present disclosure generates a second sub-control signal.
[0035] For example, as shown in FIG. 3, the frequency discriminator 111 may include a first circuit 1110, a second circuit 1111, and a third frequency division circuit 1112.
[0036] For example, as shown in Figures 4A-4D, the feedback frequency f b A feedback signal S having b One feedback period T bmay include a first edge EG1, a second edge EG2, and a third edge EG3, and the second edge EG2 may be located between the first edge EG1 and the third edge EG3. In the example shown in Figures 4A and 4B, the first edge EG1 and the third edge EG3 are both rising edges, that is, the feedback signal S b The second edge EG2 is a falling edge, i.e., the feedback signal S b is an edge at which the first edge EG1 and the third edge EG3 go from a high level to a low level. However, the present disclosure is not limited thereto. The first edge EG1 and the third edge EG3 may both be falling edges, and accordingly, the second edge EG2 may be a rising edge.
[0037] For example, in this disclosure, the response time of the frequency discriminator 111 is b One feedback period T b and the response speed is fast.
[0038] What I want to explain is that in Figures 4A-4D, S i is the input frequency f i represents an input signal having im1 is the first intermediate frequency f im1 represents the first intermediate signal having b is the feedback frequency f b . . . , where .times. ...
[0039] For example, as shown in FIG. 3, a third frequency divider circuit 1112 divides an input frequency f i An input signal S having i and divides it to produce the first intermediate frequency f im1 A first intermediate signal S having im1 For example, the third frequency division factor of the third frequency division circuit 1112 is two.
[0040] 3, a first circuit 1110 is configured to determine and output a first logic value L01 of a first edge EG1, a second logic value L02 of a second edge EG2, and a third logic value L03 of a third edge EG3. A second circuit 1111 is configured to generate and output a first sub-control signal or a second sub-control signal based on the first logic value L01, the second logic value L02, and the third logic value L03.
[0041] For example, the first circuit 1110 may include a first input end, a second input end, a first clock end, a second clock end, a first output end, a second output end, and a third output end. The first input end and the second input end of the first circuit 1110 receive the first intermediate signal S im1 and a first clock end and a second clock end of the first circuit 1110 are configured to receive a feedback signal S b a first output terminal of the first circuit 1110 configured to receive a first logic value L01 of the first edge EG1, a second output terminal of the first circuit 1110 configured to output a second logic value L02 of the second edge EG2, and a third output terminal of the first circuit 1110 configured to output a third logic value L03 of the third edge EG3.
[0042] For example, the second circuit 1111 may include a first input end, a second input end, a third input end, a fourth input end, a first output end, and a second output end, where the first output end of the first circuit 1110 is electrically connected to the first input end of the second circuit 1111, the second output end of the first circuit 1110 is electrically connected to the second input end and the third input end of the second circuit 1111, the third output end of the first circuit 1110 is electrically connected to the fourth input end of the second circuit 1111, the first output end of the second circuit 1111 is configured to output a first sub-control signal, and the second output end of the second circuit 1111 is configured to output a second sub-control signal.
[0043] 3, the first circuit 1110 may include a first D flip-flop D1, a second D flip-flop D2, a third D flip-flop D3, a fourth D flip-flop D4, and a first NOT gate NR1. The second circuit 1111 includes a first XOR gate XR1, a second XOR gate XR2, a second NOT gate NR2, a third NOT gate NR3, a first AND gate AR1, and a second AND gate AR2.
[0044] For example, each of the D flip-flops has a data input terminal D, a clock input terminal C, a preset terminal SET, a reset terminal CLR, an output terminal Q, and an output terminal
number
[0045] For example, the first input terminal of the second circuit 1111 is the first data input terminal of the first XOR gate XR1, the second input terminal of the second circuit 1111 is the second data input terminal of the first XOR gate XR1, the third input terminal of the second circuit 1111 is the second data input terminal of the second XOR gate XR1, the fourth input terminal of the second circuit 1111 is the first data input terminal of the second XOR gate XR1, the first output terminal of the second circuit 1111 is the output terminal of the first AND gate AR1, and the second output terminal of the second circuit 1111 is the output terminal of the second AND gate AR2.
[0046] For example, as shown in FIG. 3, the data input D of the first D flip-flop D1 is electrically connected to the output of the third frequency division circuit 1112, and the first intermediate signal S im1 and a clock input C of the first D flip-flop D1 is configured to receive a feedback signal S b The output terminal Q of the first D flip-flop D1 is connected to the data input terminal D of the second D flip-flop D2 and the first data input terminal of the first XOR gate XR1, and the output terminal Q of the first D flip-flop D1 is configured to output a first logic value L01. The clock input terminal C of the second D flip-flop D2 receives the feedback signal S b an output terminal Q of the second D flip-flop D2 is connected to the first data input terminal of the second XOR gate XR2, and an output terminal Q of the second D flip-flop D2 is configured to output a third logic value L03.
[0047] For example, as shown in FIG. 3, a first NOT gate NR1 outputs a feedback signal S b and receives a feedback signal S b to obtain an intermediate feedback signal. For example, an input terminal of the first NOT gate NR1 is configured to receive the feedback signal, and an output terminal of the first NOT gate NR1 is configured to output the intermediate feedback signal.
[0048] For example, as shown in FIG. 3, the data input D of the third D flip-flop D3 is electrically connected to the output of the third frequency division circuit 1112, and the first intermediate signal S im1 The clock input C of the third D flip-flop D3 is electrically connected to the output of the first NOT gate NR1 and is configured to receive an intermediate feedback signal, and the output Q of the third D flip-flop D3 is connected to the data input D of the fourth D flip-flop D4. The clock input C of the fourth D flip-flop D4 is electrically connected to the output of the first NOT gate NR1 and is configured to receive an intermediate feedback signal, and the output Q of the third D flip-flop D3 is connected to the data input D of the fourth D flip-flop D4. b an output terminal Q of the fourth D flip-flop D4 is connected to the second data input terminal of the first XOR gate XR1 and the second data input terminal of the second XOR gate XR2, and an output terminal Q of the fourth D flip-flop D4 is configured to output a second logic value L02.
[0049] For example, as shown in FIG. 3, the output terminal of the first XOR gate XR1 is connected to the input terminal of the second NOT gate NR2 and the first data input terminal of the first AND gate AR1, the output terminal of the second XOR gate XR2 is connected to the input terminal of the third NOT gate NR3 and the second data input terminal of the first AND gate AR1, the output terminal of the second NOT gate NR2 is connected to the first data input terminal of the second AND gate AR2, the output terminal of the third NOT gate NR3 is connected to the second data input terminal of the second AND gate AR2, the output terminal of the first AND gate AR1 is configured to output the first sub-control signal Cf, and the output terminal of the second AND gate AR2 is configured to output the second sub-control signal Cs.
[0050] For example, as shown in Figure 4A, the input frequency f i is the feedback frequency f b If it is greater than , at some point, the feedback signal S b A first intermediate signal S corresponding to a first edge EG1 of im1 When the level of the feedback signal S is low, the first logic value L01 of the first edge EG1 is 0, and the feedback signal S b The first intermediate signal S corresponding to the second edge EG2 ofim1 When the level of the feedback signal S is high, the second logic value L02 of the second edge EG2 is 1, and the feedback signal S b The first intermediate signal S corresponding to the third edge EG3 of im1 is low, the third logic value L03 of the third edge EG3 is 0. In the example shown in Fig. 4A, at that time, the first XOR gate XR1 receives the first logic value L01 (i.e., 0) and the second logic value L02 (i.e., 1) and outputs a logic value 1 based on the first logic value L01 and the second logic value L02, and the second XOR gate XR2 receives the second logic value L02 (i.e., 1) and the third logic value (i.e., 0) and outputs a logic value 1 based on the second logic value L02 and the third logic value L03. At this time, the first data input terminal and the second data input terminal of the first AND gate AR1 both receive a logical value of 1, causing the first AND gate AR1 to output a first sub-control signal Cf of a high level, and the first data input terminal and the second data input terminal of the second AND gate AR2 both receive a logical value of 0, causing the second AND gate AR2 to output a second sub-control signal Cs of a low level.
[0051] For example, as shown in Figure 4B, the input frequency f i is the feedback frequency f b If it is greater than , at some point, the feedback signal S b A first intermediate signal S corresponding to a first edge EG1 of im1 When the level of the feedback signal S is high, the first logic value L01 of the first edge EG1 is 1, and the feedback signal S b The first intermediate signal S corresponding to the second edge EG2 of im1 When the level of the feedback signal S is low, the second logic value L02 of the second edge EG2 is 0, and the feedback signal S b The first intermediate signal S corresponding to the third edge EG3 of im1is at a high level, the third logic value L03 of the third edge EG3 is 1. In the example shown in Fig. 4B, at that time, the first XOR gate XR1 receives the first logic value L01 (i.e., 1) and the second logic value L02 (i.e., 0) and outputs a logic value 1 based on the first logic value L01 and the second logic value L02, and the second XOR gate XR2 receives the second logic value L02 (i.e., 0) and the third logic value L03 (i.e., 1) and outputs a logic value 1 based on the second logic value L02 and the third logic value L03. At this time, the first data input terminal and the second data input terminal of the first AND gate AR1 both receive a logical value of 1, causing the first AND gate AR1 to output a first sub-control signal Cf of a high level, and the first data input terminal and the second data input terminal of the second AND gate AR2 both receive a logical value of 0, causing the second AND gate AR2 to output a second sub-control signal Cs of a low level.
[0052] What I want to explain is the input frequency f i is the feedback frequency f b 4A and 4B, under the control of the first logic value L01, the second logic value L02, and the third logic value L03, one of the first XOR gate XR1 and the second XOR gate XR2 outputs a logic value 1, and the other outputs a logic value 0. In these cases, the first AND gate AR1 outputs a low-level first sub-control signal Cf, and the second AND gate AR2 outputs a low-level second sub-control signal Cs.
[0053] For example, as shown in Figure 4C, the input frequency f i is the feedback frequency f b If it is smaller than , at some point, the feedback signal S b A first intermediate signal S corresponding to a first edge EG1 of im1 When the level of the feedback signal S is high, the first logic value L01 of the first edge EG1 is 1, and the feedback signal S b The first intermediate signal S corresponding to the second edge EG2 of im1 When the level of the feedback signal S is high, the second logic value L02 of the second edge EG2 is 1, and the feedback signal S bThe first intermediate signal S corresponding to the third edge EG3 of im1 is at a high level, the third logic value L03 of the third edge EG3 is 1. In the example shown in Fig. 4C, at that time, the first XOR gate XR1 receives the first logic value L01 (i.e., 1) and the second logic value L02 (i.e., 1) and outputs a logic value 0 based on the first logic value L01 and the second logic value L02, and the second XOR gate XR2 receives the second logic value L02 (i.e., 1) and the third logic value L03 (i.e., 1) and outputs a logic value 0 based on the second logic value L02 and the third logic value L03. At this time, the first data input terminal and the second data input terminal of the first AND gate AR1 both receive a logical value of 0, thereby causing the first AND gate AR1 to output a first sub-control signal Cf of a low level, and the first data input terminal and the second data input terminal of the second AND gate AR2 both receive a logical value of 1, thereby causing the second AND gate AR2 to output a second sub-control signal Cs of a high level.
[0054] For example, as shown in Figure 4D, the input frequency f i is the feedback frequency f b If it is smaller than , at some point, the feedback signal S b A first intermediate signal S corresponding to a first edge EG1 of im1 When the level of the feedback signal S is low, the first logic value L01 of the first edge EG1 is 0, and the feedback signal S b The first intermediate signal S corresponding to the second edge EG2 of im1 When the level of the feedback signal S is low, the second logic value L02 of the second edge EG2 is 0, and the feedback signal S b The first intermediate signal S corresponding to the third edge EG3 of im1is low, the third logic value L03 of the third edge EG3 is 0. In the example shown in Fig. 4D, at that time, the first XOR gate XR1 receives the first logic value L01 (i.e., 0) and the second logic value L02 (i.e., 0) and outputs a logic value 0 based on the first logic value L01 and the second logic value L02, and the second XOR gate XR2 receives the second logic value L02 (i.e., 0) and the third logic value L03 (i.e., 0) and outputs a logic value 0 based on the second logic value L02 and the third logic value L03. At this time, the first data input terminal and the second data input terminal of the first AND gate AR1 both receive a logical value of 0, thereby causing the first AND gate AR1 to output a first sub-control signal Cf of a low level, and the first data input terminal and the second data input terminal of the second AND gate AR2 both receive a logical value of 1, thereby causing the second AND gate AR2 to output a second sub-control signal Cs of a high level.
[0055] What I want to explain is the input frequency f i is the feedback frequency f b If it is smaller, other than the times shown in Figures 4C and 4D, under the control of the first logic value L01, the second logic value L02, and the third logic value L03, one of the first XOR gate XR1 and the second XOR gate XR2 outputs a logic value 1 and the other outputs a logic value 0, and in these cases, the first AND gate AR1 outputs a low-level first sub-control signal Cf and the second AND gate AR2 outputs a low-level second sub-control signal Cs.
[0056] 2, the signal generation subcircuit 112 is configured to generate a frequency control word F based on a control signal and output the frequency control word F under control of a clock signal Clk to the digitally controlled oscillator circuit 12. For example, the clock signal may be an output signal or a feedback signal having a feedback frequency.
[0057] For example, the frequency control word F may be a positive integer, thereby increasing the accuracy of the target frequency of the output, although the present disclosure is not limited thereto and the frequency control word F may be a positive real number, i.e., the frequency control word may include a fractional part and an integer part.
[0058] For example, the signal generation subcircuit 112 is configured to subtract a first adjustment parameter from the frequency control word to be adjusted based on a first sub-control signal Cf to generate a frequency control word F, or the signal generation subcircuit 112 is configured to add a second adjustment parameter to the frequency control word to be adjusted based on a second sub-control signal Cs to generate a frequency control word F.
[0059] For example, before adjusting the frequency control word (for example, before the frequency lock loop is used), the frequency control word to be adjusted may be set randomly, or may be set according to actual needs. In the subsequent adjustment process, the frequency control word to be adjusted is the frequency control word obtained by the previous adjustment next to the frequency control word to be adjusted, that is, for example, in the first adjustment process, the signal generating subcircuit 112 adjusts the frequency control word to be first adjusted based on the control signal, for example, obtains a first frequency control word, and the first frequency control word is output to the digitally controlled oscillator circuit 12, and at the same time, the first frequency control word is stored in the signal generating subcircuit 112, and may be the frequency control word to be adjusted in the second adjustment process, for example. In the second adjustment process, the signal generating subcircuit 112 adjusts the first frequency control word based on the control signal, for example, obtains a second frequency control word, and the second frequency control word is output to the digitally controlled oscillator circuit 12, and at the same time, the second frequency control word is stored in the signal generating subcircuit 112, and may be the frequency control word to be adjusted in the third adjustment process, by analogy therewith.
[0060] FIG. 5 is a schematic diagram of a signal generation sub-circuit provided in one embodiment of the present disclosure.
[0061] 5, in some embodiments, the signal generation subcircuit 112 may include a calculation module 1120 and a storage module 1121. The calculation module 1120 is configured to subtract a first adjustment parameter from a frequency control word to be adjusted based on a first sub-control signal Cf to generate a frequency control word F, or the calculation module 1120 is configured to add a second adjustment parameter to a frequency control word to be adjusted based on a second sub-control signal Cs to generate a frequency control word F. The storage module 1121 is configured to store the frequency control word to be adjusted and the frequency control word F.
[0062] For example, in some embodiments, the first and second adjustment parameters may have the same sign, the first and second adjustment parameters may be the same, and the first and second adjustment parameters may both be 1. However, the present disclosure is not limited thereto. For example, the first and second adjustment parameters may both be 2. Also, for example, the first and second adjustment parameters may be different, the first adjustment parameter may be 1, and the second adjustment parameter may be 2. In some other embodiments, the signs of the first and second adjustment parameters may be reversed, for example, the first adjustment parameter may be -1, and the second adjustment parameter may be 1, in which case the signal generation subcircuit 112 may include an adder and a storage module. The adder is configured to add a first adjustment parameter to the frequency control word to be adjusted based on the first sub-control signal Cf to generate a frequency control word F, or the adder is configured to add a second adjustment parameter to the frequency control word to be adjusted based on the second sub-control signal Cs to generate a frequency control word F. The storage module is configured to store the frequency control word to be adjusted and the frequency control word F.
[0063] For example, the signal generation subcircuit 112 may further include an output module (not shown) used to obtain a frequency control word F, for example from the storage module 1121, under the control of the clock signal Clk, and output the frequency control word F to the digitally controlled oscillator circuit 12.
[0064] For example, the storage module 1121 may be various kinds of storage media. The calculation module 1120 and the output module may be realized using hardware circuits. The calculation module 1120 may be composed of elements such as transistors, resistors, capacitors, and amplifiers. The output module may be composed of elements such as flip-flops. Of course, the functions of the calculation module 1120 and the output module may be realized by software. For example, computer instructions and data may be stored in the storage module 1121, and the processor may execute the computer instructions and data stored in the storage module 1121 to realize the functions of the calculation module 1120 and the output module.
[0065] FIG. 6 is a schematic diagram of another frequency locked loop provided in an embodiment of the present disclosure.
[0066] For example, as shown in FIG. 6, the digitally controlled oscillator circuit 12 may include a reference time unit generating subcircuit 120 and a frequency adjusting subcircuit 121. The reference time unit generating subcircuit 120 is configured to generate and output a reference time unit. The frequency adjusting subcircuit 121 adjusts the target frequency f based on the frequency control word and the reference time unit. dco and configured to generate and output an output signal having
[0067] 7A shows a schematic block diagram of a reference time unit generating sub-circuit provided in an embodiment of the present disclosure. FIG. 7B shows a schematic block diagram of a reference time unit generating sub-circuit provided in an embodiment of the present disclosure. FIG. 8 shows a schematic diagram of K reference output signals having uniform phase intervals provided in an embodiment of the present disclosure.
[0068] For example, the reference time unit generating sub-circuit 120 is configured to generate and output K reference output signals and a reference time unit Δ having uniform phase intervals. As shown in FIG. 7A, the reference time unit generating sub-circuit 120 may include a voltage controlled oscillator (VCO) 1201, a phase-locked loop circuit 1202, and K output terminals 1203. The voltage controlled oscillator 1201 is configured to oscillate at a specified oscillation frequency. The phase-locked loop circuit 1202 is configured to lock the output frequency of the voltage controlled oscillator 1201 to a reference output frequency. The K output terminals 1203 are configured to output K reference output signals having uniform phase intervals, where K is a positive integer greater than 1. For example, K=16, 32, 128, or other values.
[0069] For example, the reference time unit may be represented as △ and the reference output frequency may be f d As shown in FIG. 8, the reference time unit Δ is a time span between any two adjacent output signals output from the K output terminals 1203. The reference time unit Δ is usually generated by a multi-stage voltage-controlled oscillator 1201. The frequency f vco is a known reference output frequency f d may be locked to f d =f vco .
[0070] For example, the reference time unit Δ may be calculated using the following formula: △=T d / K=1 / (K f d ) However, T d represents the period of the signal generated by the multi-stage voltage controlled oscillator 1201. Δ If represents the frequency of the reference time unit, then f Δ =1 / △=K f d It becomes.
[0071] 7B, the phase-locked loop circuit 1202 includes a phase detector (PFD), a loop filter (LPF), and a frequency divider (FN). For example, in an embodiment of the present disclosure, a reference signal having a reference frequency may be first input to a phase detector, then enters a loop filter, and then enters a voltage-controlled oscillator, and finally the voltage-controlled oscillator generates a specified oscillation frequency f vco A signal having a frequency of f is divided by a frequency divider to produce a divided frequency f vco / N0 is obtained, and the division frequency f vco / N0 may be fed back to a phase detector, and the phase detector may determine the reference frequency of the reference signal and the divided frequency f vco / N0. The reference frequency is the division frequency f vco When the frequency and phase of the phase-locked loop circuit 1202 are equal to those of the phase-locked loop circuit 1202 / N0, the error between the two is zero, and at this time, the phase-locked loop circuit 1202 is in a locked state.
[0072] For example, the loop filter may be a low-pass filter. The frequency division coefficient of the frequency divider is N0, where N0 is a real number and N0 is equal to or greater than 1.
[0073] It should be noted that the circuit configuration shown in FIG. 7B is only one exemplary implementation of the reference time unit generating sub-circuit 120. The specific configuration of the reference time unit generating sub-circuit 120 is not limited thereto and may be constructed with other circuit configurations, where the present disclosure is not limited thereto. For example, K and Δ may be preset and fixed according to actual needs.
[0074] Fig. 9 shows a schematic block diagram of a frequency adjustment sub-circuit provided in an embodiment of the present disclosure, and Fig. 10 shows a schematic diagram of the operation principle of the frequency adjustment sub-circuit provided in an embodiment of the present disclosure.
[0075] 9, the frequency adjustment subcircuit 121 includes a first input module 1211, a second input module 1212, and an output module 1213. The first input module 1211 is configured to receive K reference output signals having uniform phase intervals and a reference time unit output from the reference time unit generation subcircuit 120. The second input module 1212 is configured to receive a frequency control word F from the control circuit 11. The output module 1213 is configured to generate and output an output signal having a target frequency that matches the frequency control word and the reference time unit.
[0076] For example, the frequency adjustment subcircuit 121 may include a time-average-frequency direct period synthesis (TAF-DPS) device. The time-average-frequency direct period synthesis (TAF-DPS) technology is an emerging frequency synthesis technology that can generate a pulse signal of any frequency based on a new concept of time-average frequency. That is, the TAF-DPS synthesizer allows fine adjustment with a small granularity of frequency. Also, since each single pulse is directly composed, the output frequency of the TAF-DPS synthesizer can be changed instantaneously, i.e., there is a rapidity of frequency switching. It has been experimentally proven that the frequency granularity of the TAF-DPS synthesizer can reach several ppb (parts per billion). More importantly, the frequency switching speed of the TAF-DPS is quantizable. That is, the response time from the time of receiving an update of the frequency control word to the time of frequency switching may be calculated based on the clock period. These characteristics make the TAF-DPS an ideal circuit module as a digitally controlled oscillator (DCO). The TAF-DPS synthesizer may be one specific embodiment of the frequency adjustment subcircuit 121 in the embodiments of the present disclosure.
[0077] Thus, advantages of the frequency locked loop provided in the embodiments of the present disclosure include, but are not limited to, the following:
[0078] (1) Low cost and real flexibility. The frequency-locked loop based on TAF-DPS is fully digitally designed and baked into a programmable logic device (e.g., FPGA) by HDL coding, and the parameters of the frequency-locked loop can be easily reconfigured at any time. Therefore, there is no need to use a special dedicated circuit, and the function of the frequency-locked loop can be realized by using a general FPGA or other programmable device. Of course, the function of the frequency-locked loop can also be realized by adopting an ASIC.
[0079] (2) High accuracy. The frequency / period of the pulse signal output by the TAF-DPS can be accurately controlled, and the frequency resolution can reach one part per billion, which can effectively improve the accuracy of time synchronization.
[0080] (3) The frequency-locked loop based on TAF-DPS de-differentiates the architectures of the fractional frequency-locked loop and the integer frequency-locked loop, and the configurations of the main frequency discriminators, oscillators, etc. in the fractional frequency-locked loop and the integer frequency-locked loop are the same.
[0081] (4) The jitter of the clock signal output from the frequency-locked loop based on the TAF-DPS is related only to the TAF-DPS and is unrelated to other devices in the entire frequency-locked loop. Since the entire frequency-locked loop is transmitted by a digital signal, when the TAF-DPS receives a frequency control word, it outputs a corresponding frequency. Therefore, the quality of the output signal is related only to the TAF-DPS, which is more convenient for the consistency analysis of the clock signal.
[0082] For example, the TAF-DPS synthesizer may be implemented using dedicated integrated circuits (e.g., ASICs) or programmable logic devices (e.g., FPGAs). Alternatively, the TAF-DPS synthesizer may be implemented using traditional analog circuit devices. This disclosure is not limited in this respect.
[0083] It is to be noted that in this disclosure, both ppm and ppb may be used to represent frequency deviation, and ppm and ppb represent the value of the frequency deviation allowed at one particular center frequency. For example, X ppm indicates that the maximum frequency error is X parts per million of the center frequency, and similarly, X ppb indicates that the maximum frequency error is X parts per billion of the center frequency. The frequency is in Hertz (Hz).
[0084] The operation principle of the TAF-DPS synthesizer based frequency adjustment subcircuit 121 will now be described with reference to FIG.
[0085] 10, a frequency adjustment subcircuit 121 based on a TAF-DPS synthesizer 510 has two inputs: a reference time unit 520 and a frequency control word 530. Denote frequency control word 530 as F, where F=I+r, where I is an integer greater than 1 and r is a fraction.
[0086] For example, the TAF-DPS synthesizer 510 has one output CLK 550, which is a synthesized time-averaged frequency clock signal. In the embodiment of the present disclosure, the CLK 550 is an output signal having a target frequency. Based on the reference time unit 520, the TAF-DPS synthesizer 510 may generate two types of periods: a first period T A = I Δ and the second period T B = (I+1)·Δ. The output CLK 550 is a clock pulse train 540 having a first period T A 541 and the second period T B 542. The fraction r is the second period T B Since r is used to control the occurrence probability of the first period T A For example, in this disclosure, r is 0. This allows the TAF-DPS synthesizer 510 to generate only one type of period, e.g., the first period T A It is.
[0087] For example, as shown in FIG. 10, the period T TAF-DPS may be expressed as follows: T dco =(1-r) T A +r T B =T A +r·(T B -T A )=T A +r·Δ=I·Δ+r·Δ=(I+r)·Δ=I·Δ Thus, if the frequency control word 530 is F=I, the following equation may be obtained: T dco =F Δ (1) As can be seen from the above formula (1), the period T dco is linearly proportional to the frequency control word 530. When the frequency control word 530 is changed, the period T dco also changes in the same way.
[0088] For example, based on the above formula (1), the target frequency f dco may be expressed as follows: f dco =1 / T dco =1 / (F Δ)=f Δ / F where △ represents the standard time unit and f Δ represents the frequency of the reference time unit.
[0089] 11A and 11B are schematic diagrams of a frequency adjustment sub-circuit provided in one embodiment of the present disclosure, and another frequency adjustment sub-circuit provided in one embodiment of the present disclosure.
[0090] The circuit configuration of the TAF-DPS synthesizer will be described below with reference to FIGS. 11A and 11B.
[0091] 11A, in one embodiment, the first input module 1211 includes a K→1 multiplexer 711. The K→1 multiplexer 711 has a plurality of inputs for receiving K reference output signals having uniform phase spacing, a control input, and an output.
[0092] For example, the output module 1213 includes a trigger circuit 730. The trigger circuit 730 is used to generate a pulse train. In the present disclosure, when r is 0, the pulse train has a first period T A The trigger circuit 730 includes a D flip-flop 7301, an inverter 7302, and an output terminal 7303. The D flip-flop 7301 includes a data input terminal, a clock input terminal for receiving the output from the output terminal of the K→1 multiplexer 711, and an output terminal for outputting the first clock signal CLK1. The inverter 7302 includes an inverter input terminal for receiving the first clock signal CLK1 and an inverter output terminal for outputting the second clock signal CLK2. The output terminal 7303 of the trigger circuit 730 is configured with a target frequency f dco An output signal S having out The first clock signal CLK1 is output as a first clock signal CLK2.
[0093] For example, the first clock signal CLK1 includes a pulse train. The second clock signal CLK2 is connected to the data input terminal of a D flip-flop 7301.
[0094] For example, the second input module 1212 includes a logic control circuit 740. The logic control circuit 740 includes an input terminal for receiving the frequency control word F output by the control circuit 11, a clock input terminal for receiving the first clock signal CLK1, and an output terminal connected to the control input terminal of the K→1 multiplexer of the first input module 1211.
[0095] 11B, in another embodiment, the first input module 1211 includes a first K→1 multiplexer 721, a second K→1 multiplexer 723, and a 2→1 multiplexer 725. The first K→1 multiplexer 721 and the second K→1 multiplexer 723 each include a plurality of inputs for receiving K signals having uniform phase intervals, a control input, and an output. The 2→1 multiplexer 725 includes a control input, an output, a first input for receiving the output of the first K→1 multiplexer 721, and a second input for receiving the output of the second K→1 multiplexer 723.
[0096] For example, as shown in FIG. 11B, the output module 1213 includes a trigger circuit. The trigger circuit is used to generate a pulse train. The trigger circuit includes a D flip-flop 761, an inverter 763, and an output terminal 762. The D flip-flop 761 includes a data input terminal, a clock input terminal for receiving the output from the output terminal of the 2→1 multiplexer 725, and an output terminal for outputting the first clock signal CLK1. The inverter 763 includes an input terminal for receiving the first clock signal CLK1, and an output terminal for outputting the second clock signal CLK2. The output terminal 762 of the trigger circuit is connected to a target frequency f dco An output signal S having out The first clock signal CLK1 is output as a first clock signal CLK2.
[0097] For example, the first clock signal CLK 1 is connected to the control input of the 2→1 multiplexer 725 , and the second clock signal CLK 2 is connected to the data input of the D flip-flop 761 .
[0098] 11B, the second input module 1212 includes a first logic control circuit 70 and a second logic control circuit 74. The first logic control circuit 70 includes a first adder 701, a first register 703, and a second register 705. The second logic control circuit 74 includes a second adder 741, a third register 743, and a fourth register 745.
[0099] The first adder 701 adds the frequency control word (F) and the most significant bits (e.g., 5 bits) stored in the first register 703, and then stores the addition result in the first register 703 at the rising edge of the second clock signal CLK2. Alternatively, the first adder 701 adds the frequency control word (F) and all information stored in the first register 703, and then stores the addition result in the first register 703 at the rising edge of the second clock signal CLK2. At the next rising edge of the second clock signal CLK2, the most significant bit stored in the first register 703 is stored in the second register 705 and is used as a selection signal of the first K→1 multiplexer 721 to select one signal from the K polyphase input signals as a first output signal of the first K→1 multiplexer 721.
[0100] The second adder 741 adds the frequency control word (F) and the most significant bit stored in the first register 703, and at the rising edge of the second clock signal CLK2, stores the addition result in the third register 743. At the next rising edge of the first clock signal CLK1, the information stored in the third register 743 is stored in the fourth register 745 and is used as a selection signal of the second K→1 multiplexer 723 to select one signal from the K polyphase input signals as a second output signal of the second K→1 multiplexer 723.
[0101] The 2→1 multiplexer 725 is used to select one of the first output signal from the first K→1 multiplexer 721 and the second output signal from the second K→1 multiplexer 723 as the output signal of the 2→1 multiplexer 725 at the rising edge of the first clock signal CLK1, and to use it as the input clock signal of the D flip-flop 761.
[0102] For example, the output signal S output by the TAF-DPS synthesizer shown in FIG. 11A and FIG. 11B out Period (T dco) may be calculated and obtained by the above formula (1). For example, the frequency control word is set in the form of F=I+r, where I is an integer in the range of [2, 2K], and r is 0.
[0103] For the operating principle of the TAF-DPS, please refer to the following documents: L. XIU, “Nanometer Frequency Synthesis beyond the Phase-Locked Loop”, Piscataway, NJ 08854, USA, John Wiley IEEE-press, 2012; and L. XIU, “From Frequency to Time-Average-Frequency: a Paradigm Shift in the Design of Electronic System”, Piscataway, NJ 08854, USA, John Wiley IEEE-press, 2015. The entire contents of these documents are incorporated herein by reference.
[0104] 2 and 6, in some embodiments, the frequency locked loop 10 further includes a first frequency divider circuit 13. The first frequency divider circuit 13 divides the target frequency f dco Based on the feedback frequency f b and generates a feedback frequency f b to the control circuit 11.
[0105] For example, the frequency division factor of the first frequency division circuit 13 may be N. Thus, the feedback frequency f b may be represented as follows: f b =f dco / N However, f b represents the feedback frequency, and f dco represents the target frequency, N represents the frequency division coefficient of the first frequency division circuit 13, and N is a positive integer.
[0106] For example, in some cases, the input frequency f i There is a feedback frequency f b In this case, the input frequency f i The relationship between and the frequency control word F may be expressed as follows:
number
[0107] For example, based on the above relation (2), the frequency control word F may be expressed as follows: F=f Δ / (f i N) As can be seen, the frequency control word F is the frequency of the reference time unit f Δ 6, the reference time unit generating sub-circuit 120 is further configured to output the reference time unit Δ to the signal generating sub-circuit 112.
[0108] For example, in another example, the input frequency f i is the feedback frequency f b The frequency-locked loop provided in the embodiment of the present disclosure may configure any input frequency into two frequencies according to the concept of average time frequency. In this case, the input frequency f i The relationship between and the frequency control word F may be expressed as follows:
number
[0109] 12 is a schematic diagram of the frequency tracking characteristic of a frequency locked loop provided in one embodiment of the present disclosure. As shown in FIG. 12, when an input frequency f i is a fixed value (e.g., 20 MHz), and the target frequency f dco The input frequency f oscillates between a first frequency value and a second frequency value (e.g., the first frequency value and the second frequency value are both constant values), and the frequency-locked loop 10 locks the output target frequency. At this time, a first average target frequency of the output signal output from the frequency-locked loop 10 may be obtained based on the first frequency value and the second frequency value. i When the input frequency f i The frequency-locked loop 10 responds quickly and after a short time, it is locked again. At this time, the target frequency f dco oscillates between a third frequency value and a fourth frequency value (e.g., the third frequency value and the fourth frequency value are both constant values). At this time, a second average target frequency of the output signal output from the frequency locked loop 10 may be obtained based on the third frequency value and the fourth frequency value. As can be seen from FIG. 12, the target frequency output from the frequency locked loop 10 in the locked state oscillates back and forth between the two frequencies to achieve the average frequency. For example, the accuracy of the frequency locked loop 10 provided in the embodiment of the present disclosure can reach up to 0.0125 ppb as an actual test result.
[0110] FIG. 13 is a schematic circuit diagram of another frequency locked loop provided in an embodiment of the present disclosure.
[0111] For example, fractional frequency locked loops are currently a design challenge in the locking ring area, but the number of decimal places can be high in the frequency locked loops provided in the embodiments of the present disclosure. For example, in some other embodiments, as shown in FIG. 13, the frequency locked loop 10 further includes a first frequency division circuit 13 and a second frequency division circuit 14. For example, the first frequency division circuit 13 is configured to generate a feedback frequency based on the target frequency and input a feedback signal having the feedback frequency to the control circuit. The second frequency division circuit 14 is configured to divide the input frequency to generate a second intermediate frequency and input a second intermediate signal having the second intermediate frequency to the control circuit 11.
[0112] For example, the feedback frequency f b may appear as follows: f b =f dco / P However, f dco represents a target frequency, P represents a first frequency division coefficient of the first frequency division circuit 13, and P is a positive integer. It is to be noted that the configuration, parameters (e.g., the first frequency division coefficient P) and the like of the first frequency division circuit 13 in the embodiment shown in FIG. 13 may be the same as or different from the configuration, parameters (e.g., the first frequency division coefficient N) of the first frequency division circuit 13 in the embodiment shown in FIG. 2. For example, N may be equal to P or may not be equal to P. In the present disclosure, there is no specific limitation.
[0113] For example, the second intermediate frequency f im2 is shown below. f im2 =f i / D However, f i represents the input frequency, D represents the second frequency division coefficient of the second frequency division circuit 14, D is a positive integer, and P is greater than or equal to D.
[0114] For example, the frequency-locked loop provided in the embodiment shown in Fig. 2 can realize integer frequency multiplication, and the frequency-locked loop provided in the embodiment shown in Fig. 13 can realize frequency multiplication or frequency division of an arbitrary value. In some examples, since the accuracy of the output target frequency is only in the ppb range, the frequency-locked loop adopts 0.0078125 (1 / 128) as the decimal resolution.
[0115] It should be noted that, except for dividing the input frequency by the second frequency dividing circuit 14, the configurations and functions of the other circuits in the frequency locked loop provided in the embodiment shown in FIG. 13 are the same as the configurations and functions of the respective circuits in the frequency locked loop shown in FIG. 2, and therefore the description thereof will be omitted here.
[0116] For example, in some cases, the input frequency f i is a feedback frequency f b and the input frequency f i The relationship between the frequency control word and the CLK is shown below.
number
[0117] For example, in some other cases, the input frequency f i is the feedback frequency f b The frequency-locked loop provided in the embodiment of the present disclosure may configure any input frequency into two frequencies according to the concept of average time frequency. In this case, the input frequency f i The relationship between the frequency control word and the CLK is as follows:
number
[0118] Figure 14 is a test diagram of the frequency ratio of the frequency lock loop provided in an embodiment of the present disclosure. As shown in Figure 14, the abscissa represents the sampling time, and the unit of the sampling time is nanoseconds (ns), and the ordinate represents the frequency ratio between the target frequency and the input frequency. From Figure 14, it can be seen that the frequency ratio between the target frequency and the input frequency has a high accuracy within the range of 1.83 ppb. From this, it can be seen that the high accuracy can be maintained even when the decimal resolution of the frequency lock loop provided in the embodiment of the present disclosure becomes 0.0078125.
[0119] At least one embodiment of the present disclosure further provides an electronic device. Figure 15 is a schematic block diagram of an electronic device provided in one embodiment of the present disclosure.
[0120] For example, as shown in FIG. 15, an electronic device 1 provided in an embodiment of the present disclosure may include a frequency source 20 and a frequency locked loop 10 as described in any of the above embodiments.
[0121] For example, frequency source 20 is configured to provide an input signal having an input frequency and transmit the input signal to frequency locked loop 10 .
[0122] For example, frequency source 20 may include free-oscillating sources and synthesized frequency sources. Self-oscillating sources include crystal oscillators, cavity oscillators, voltage controlled oscillators, etc. Synthetic frequency sources include direct analog frequency sources, direct digital frequency sources, indirect analog frequency sources, and indirect digital frequency sources.
[0123] It should be noted that for detailed description of the frequency locked loop, reference may be made to the relevant description in the above embodiment of the frequency locked loop, and the description will be omitted here.
[0124] At least one embodiment of the present disclosure further provides a frequency generation method. Figure 16 is a schematic flow diagram of a frequency generation method provided in one embodiment of the present disclosure. The frequency generation method provided in the embodiment of the present disclosure may be realized based on the frequency lock loop described in any embodiment of the present disclosure.
[0125] For example, as shown in FIG. 16 , a frequency generation method provided in an embodiment of the present disclosure may include a step (S11) of determining the magnitude relationship between an input frequency and a feedback frequency, obtaining a control signal, and determining a frequency control word based on the control signal, and a step (S12) of generating and outputting an output signal having a target frequency based on the frequency control word.
[0126] For example, in step S11, the control signal includes a first sub-control signal and a second sub-control signal. The step of determining which frequency is greater than the feedback frequency and obtaining the control signal may include generating the first sub-control signal when the input frequency is greater than the feedback frequency, and generating a second sub-control signal different from the first sub-control signal when the input frequency is less than the feedback frequency.
[0127] The frequency generation method provided in the embodiment of the present disclosure uses the magnitude of the input frequency and the feedback frequency to control the generation of a frequency control word, and generates a target frequency according to the frequency control word, and the input frequency does not need to correspond to the target frequency and can be any value. The frequency generation method has the characteristics of high accuracy, fast response speed, low power consumption, small volume, programmability, etc.
[0128] For example, in step S11, the operation of determining a frequency control word based on a control signal may include generating a frequency control word by subtracting a first adjustment parameter from the frequency control word to be adjusted based on a first sub-control signal, or generating a frequency control word by adding a second adjustment parameter to the frequency control word to be adjusted based on a second sub-control signal.
[0129] For example, the first adjustment parameter and the second adjustment parameter are the same, and both are, for example, 1.
[0130] For example, in step S12, an output signal having a target frequency may be generated by a TAF-DPS synthesizer.
[0131] It is to be noted that the description of the frequency generation method may refer to the description of the frequency locked loop above, for example, step S11 may be realized by a control circuit in a frequency locked loop described in any embodiment of the present disclosure, and step S12 may be realized by a digitally controlled oscillator circuit in the frequency locked loop in any embodiment of the present disclosure, where similar operations or steps will be omitted.
[0132] A few points need to be explained:
[0133] (1) The drawings of the embodiments of the present disclosure relate only to configurations of some of the embodiments of the present disclosure, and other configurations may refer to the general design.
[0134] (2) Where no conflict exists, the embodiments and features of the embodiments of the present disclosure may be combined with each other to obtain new embodiments.
[0135] Although what has been described above are only specific embodiments of the present disclosure, the scope of protection of the present disclosure is not limited thereto, and the scope of protection of the present disclosure should be in accordance with the scope of protection of the claims described herein. [Explanation of symbols]
[0136] 10 Frequency Lock Loop 11 Control circuit 12 Digitally Controlled Oscillator Circuit 13 First frequency division circuit 14 Second frequency division circuit
Claims
1. A control circuit configured to determine a magnitude relationship between an input frequency and a feedback frequency, obtain a control signal including a first sub-control signal and a second sub-control signal, and determine a frequency control word based on the control signal, the control circuit configured to generate the first sub-control signal when the input frequency is greater than the feedback frequency, and to generate the second sub-control signal different from the first sub-control signal when the input frequency is less than the feedback frequency; a digitally controlled oscillator circuit configured to generate and output an output signal having a target frequency based on the frequency control word; Including, the control circuit comprises a signal generation subcircuit configured to generate the frequency control word based on the control signal; the signal generation subcircuit is configured to subtract a first adjustment parameter from a frequency control word to be adjusted based on the first sub-control signal to generate the frequency control word; or the signal generation subcircuit is configured to generate the frequency control word by adding a second adjustment parameter to the frequency control word to be adjusted based on the second sub-control signal; The digitally controlled oscillator circuit includes: a reference time unit generating subcircuit configured to generate and output a reference time unit; a frequency adjustment subcircuit configured to generate and output the output signal having the target frequency based on the frequency control word and the reference time unit; the control circuit includes a frequency discriminator; The frequency discriminator is configured to determine the magnitude relationship between the input frequency and the feedback frequency to obtain the control signal, and is configured to generate and output the first sub-control signal when the input frequency is greater than the feedback frequency, and is configured to generate and output the second sub-control signal when the input frequency is less than the feedback frequency; the signal generation subcircuit is configured to output the frequency control word to the digitally controlled oscillator circuit under control of a clock signal; the clock signal is the output signal or a feedback signal having the feedback frequency; the frequency discriminator includes a first circuit, a second circuit, and a third frequency division circuit; the feedback signal is a digital signal, one feedback period of the feedback signal includes a first edge, a second edge, and a third edge, and the second edge is located between the first edge and the third edge; the third frequency division circuit is configured to receive an input signal having the input frequency and divide the input signal to obtain a first intermediate signal having a first intermediate frequency; the first circuit is configured to determine and output a first logic value of the first edge, a second logic value of the second edge, and a third logic value of the third edge; A frequency-locked loop configured such that the second circuit generates and outputs the first sub-control signal or the second sub-control signal based on the first logical value, the second logical value, and the third logical value.
2. The signal generation subcircuit comprises: a calculation module configured to subtract the first adjustment parameter from the frequency control word to be adjusted based on the first sub-control signal to generate the frequency control word, or configured to add the second adjustment parameter to the frequency control word to be adjusted based on the second sub-control signal to generate the frequency control word; a storage module configured to store the frequency control word to be adjusted and the frequency control word; 2. The frequency locked loop of claim 1, comprising:
3. a third frequency division factor of the third frequency division circuit is 2; the first circuit includes a first D flip-flop, a second D flip-flop, a third D flip-flop, a fourth D flip-flop and a first NOT gate, and the second circuit includes a first XOR gate, a second XOR gate, a second NOT gate, a third NOT gate, a first AND gate and a second AND gate; a data input of the first D flip-flop configured to receive the first intermediate signal, a clock input of the first D flip-flop configured to receive the feedback signal, an output of the first D flip-flop connected to a data input of the second D flip-flop and a first data input of the first XOR gate, and an output of the first D flip-flop configured to output the first logic value; a clock input of the second D flip-flop configured to receive the feedback signal, an output of the second D flip-flop connected to a first data input of the second XOR gate, and an output of the second D flip-flop configured to output the third logic value; the first NOT gate is configured to receive the feedback signal and phase-invert the feedback signal to obtain an intermediate feedback signal; a data input of the third D flip-flop configured to receive the first intermediate signal, a clock input of the third D flip-flop configured to receive the intermediate feedback signal, and an output of the third D flip-flop connected to a data input of the fourth D flip-flop; a clock input of the fourth D flip-flop configured to receive the feedback signal, an output of the fourth D flip-flop connected to a second data input of the first XOR gate and a second data input of the second XOR gate, and an output of the fourth D flip-flop configured to output the second logic value; an output terminal of the first XOR gate is connected to an input terminal of the second NOT gate and a first data input terminal of the first AND gate; an output terminal of the second XOR gate is connected to an input terminal of the third NOT gate and a second data input terminal of the first AND gate; an output terminal of the second NOT gate is connected to a first data input terminal of the second AND gate, and an output terminal of the third NOT gate is connected to a second data input terminal of the second AND gate; 2. The frequency locked loop of claim 1, wherein an output of the first AND gate is configured to output the first sub-control signal and an output of the second AND gate is configured to output the second sub-control signal.
4. A frequency locked loop as claimed in any preceding claim, wherein the frequency control word is a positive integer.
5. 5. The frequency locked loop of claim 4, wherein the first adjustment parameter and the second adjustment parameter are both equal to one.
6. a first frequency division circuit; the first frequency division circuit is configured to generate the feedback frequency based on the target frequency and input the feedback signal having the feedback frequency to the control circuit; The feedback frequency is expressed as: f b = f dco / N f b represents the feedback frequency, and f dco A frequency locked loop as claimed in any preceding claim, wherein x represents the target frequency and N represents a first frequency division factor of the first frequency division circuit, N being a positive integer.
7. The relationship between the input frequency and the frequency control word is expressed as follows: [0010] f i denotes the input frequency, Δ represents the frequency of the reference time unit and F represents the frequency control word; or The relationship between the input frequency and the frequency control word is expressed as follows: [0025] f i denotes the input frequency, 1 and 2 Both of these represent the feedback frequency, p and q are coefficients, and p is f 1 represents the weight of f 2 represents the weight of Δ 7. A frequency locked loop as claimed in claim 6, wherein: F represents the frequency of the reference time unit and F represents the frequency control word.
8. further comprising a first frequency divider circuit and a second frequency divider circuit; the first frequency division circuit is configured to generate the feedback frequency based on the target frequency and input the feedback signal having the feedback frequency to the control circuit; the second frequency division circuit is configured to divide the input frequency to generate a second intermediate frequency and input a second intermediate signal having the second intermediate frequency to the control circuit; The feedback frequency is expressed as: f b = f dco / P f b represents the feedback frequency, and f dco represents the target frequency, P represents a first frequency division factor of the first frequency division circuit, P being a positive integer; The second intermediate frequency is expressed as follows: f im2 = f i / D f im2 represents the second intermediate frequency, f i 6. The frequency locked loop of claim 1, wherein: represents the input frequency; D represents a second frequency division factor of the second frequency division circuit; D is a positive integer; and P is greater than or equal to D.
9. The relationship between the input frequency and the frequency control word is expressed as follows: [0030] f Δ represents the frequency of the reference time unit and F represents the frequency control word; or The relationship between the input frequency and the frequency control word is expressed as follows: [0045] f 1 and 2 Both of these represent the feedback frequency, p and q are coefficients, and p is f 1 represents the weight of f 2 represents the weight of Δ 9. The frequency locked loop of claim 8, wherein: F represents the frequency of the reference time unit and F represents the frequency control word.
10. a frequency source configured to provide an input signal having an input frequency; A frequency locked loop according to any one of claims 1 to 9; Electronic equipment, including
11. A method for generating a frequency by a frequency locked loop according to any one of claims 1 to 9, comprising the steps of: A step of judging the magnitude relationship between an input frequency and a feedback frequency to obtain a control signal including a first sub-control signal and a second sub-control signal, and determining a frequency control word based on the control signal, wherein if the input frequency is greater than the feedback frequency, the first sub-control signal is generated, and if the input frequency is less than the feedback frequency, the second sub-control signal different from the first sub-control signal is generated; generating and outputting an output signal having a target frequency based on the frequency control word; A method for generating a frequency comprising:
12. determining a frequency control word based on the control signal, generating the frequency control word by subtracting the first adjustment parameter from the frequency control word to be adjusted based on the first sub-control signal; or generating the frequency control word by adding the second adjustment parameter to the frequency control word to be adjusted based on the second sub-control signal; 12. The method of claim 11, comprising:
Citation Information
Patent Citations
Phase locked loop provided with digital control frequency multiple oscillator
JP2001177407A
All-digital phase-locked loop
US20050206458A1
