WO2024093297A1 - Phase-locked loop and signal delay processing method - Google Patents

Phase-locked loop and signal delay processing method Download PDF

Info

Publication number
WO2024093297A1
WO2024093297A1 PCT/CN2023/103485 CN2023103485W WO2024093297A1 WO 2024093297 A1 WO2024093297 A1 WO 2024093297A1 CN 2023103485 W CN2023103485 W CN 2023103485W WO 2024093297 A1 WO2024093297 A1 WO 2024093297A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
control codeword
input control
phase
clock signal
Prior art date
Application number
PCT/CN2023/103485
Other languages
French (fr)
Chinese (zh)
Inventor
陶婷婷
毛懿鸿
田洪亮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024093297A1 publication Critical patent/WO2024093297A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/081Details of the phase-locked loop provided with an additional controlled phase shifter
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/089Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses

Definitions

  • the present application relates to the field of wireless communication technology, and in particular to a phase-locked loop and a signal delay processing method.
  • phase locked loop In wireless communication systems, frequency synthesizers based on phase locked loop (PLL) structures are widely used to provide local oscillator signals.
  • sampling clocks In data transmission systems, sampling clocks are generally provided based on phase locked loop structures. The quality of the clock signal output by the phase locked loop structure directly affects the quality of the communication signal or the quality of data transmission.
  • phase multipliers are usually used to increase the frequency of the reference clock, thereby improving the phase noise performance of the phase-locked loop output.
  • fractional frequency division technology is generally used to adjust the instantaneous frequency division value of the frequency multiplier through a sigma-delta modulator (sigma delta modulation, SDM) to obtain fractional frequency division.
  • SDM Sigma delta modulation
  • a digital to time converter (DTC) circuit is generally added, and the delay of the DTC circuit is controlled by adjusting the input control codeword of the DTC.
  • DTC digital to time converter
  • the delay coverage of the DTC circuit in the prior art is relatively large, and the device noise and power consumption of the DTC circuit will increase with the increase of the delay, and different delays will lead to different power ripples, so that the overall circuit has a strong power memory effect, which affects the quality of the phase-locked loop output signal.
  • the present application provides a phase-locked loop and a signal delay processing method to eliminate the power memory effect of a digital clock converter circuit and reduce the sensitivity of the digital clock converter circuit to power noise.
  • the present application provides a phase-locked loop, which at least includes: a digital clock converter circuit and a negative feedback circuit; wherein the digital clock converter circuit includes: a first delay circuit and a second delay circuit; the delay accuracy of the first delay circuit and the second delay circuit is the same; the first delay circuit is used to receive a reference clock signal and a first input control codeword input by an external device; based on the first input control codeword, the reference clock signal is subjected to signal delay processing; the second delay circuit is used to receive a feedback clock signal and the first input control codeword fed back by the negative feedback circuit based on the phase-locked loop; based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, the feedback clock signal is subjected to signal delay processing; wherein the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  • the present application can obtain a first input control codeword based on the phase of a reference clock signal and a phase of a feedback clock signal by using a feedback divider in a negative feedback circuit while ensuring that the delay accuracy of the two delay circuits is the same, so that the two coupled delay circuits respectively perform signal delay processing on the reference clock signal and the feedback clock signal, thereby eliminating the power supply memory effect of the digital clock converter circuit and reducing the sensitivity of the digital clock converter circuit to power supply noise.
  • the first delay circuit includes at least one first delay unit; each first delay unit is connected in series; the signal delay processing of the reference clock signal based on the first input control codeword is specifically used to: determine the number of the first delay units based on the first input control codeword; and perform signal delay processing on the reference clock signal using the determined number of first delay units.
  • the total number of the first delay units is determined based on the maximum control codeword of the digital clock converter.
  • the number of the first delay units can be accurately determined, thereby accurately performing signal adjustment on the reference clock signal.
  • the second delay circuit includes at least one second delay unit; each second delay unit is connected in series; the feedback clock signal is input based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter.
  • the method is specifically used to: determine the number of the second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and perform signal delay processing on the feedback clock signal using the determined number of second delay units.
  • the total number of the second delay units is determined based on the maximum control codeword of the digital clock converter.
  • the number of the second delay units can be accurately determined, thereby accurately performing signal adjustment on the feedback clock signal.
  • the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor; the first end of the first driving unit is connected to the first end of the first resistor, the second end of the first resistor is connected to the first end of the second driving unit and the first end of the first adjustable capacitor, the second end of the first adjustable capacitor is grounded, the second end of the first driving unit is the input end of the first delay circuit, and the second end of the second driving unit is the output end of the first delay circuit; the signal delay processing of the reference clock signal based on the first input control codeword is specifically used to: determine the first capacitance value of the first adjustable capacitor based on the first input control codeword; use the first driving unit, the first resistor, the first capacitance value and the second driving unit to perform signal delay processing on the reference clock signal.
  • the capacitance value adjustment range of the first adjustable capacitor is determined based on the maximum control codeword of the digital clock converter.
  • the capacitance value of the first adjustable capacitor can be accurately determined, thereby accurately adjusting the reference clock signal.
  • the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor and a second adjustable capacitor; the first end of the third driving unit is connected to the first end of the second resistor, the second end of the second resistor is connected to the first end of the fourth driving unit and the first end of the second adjustable capacitor, the second end of the second adjustable capacitor is grounded, the second end of the third driving unit is the input end of the second delay circuit, and the second end of the fourth driving unit is the output end of the second delay circuit; the signal delay processing of the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter is specifically used to: determine the second capacitance value of the second adjustable capacitor based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; use the third driving unit, the second resistor, the second capacitance value and the fourth driving unit to perform signal delay processing on the feedback clock signal.
  • the capacitance value adjustment range of the second adjustable capacitor is determined
  • the capacitance value of the second adjustable capacitor can be accurately determined, thereby accurately adjusting the feedback clock signal.
  • the first input control codeword is any value between zero and the maximum control codeword of the digital clock converter.
  • the two coupled delay circuits can be accurately utilized to perform signal delay processing on the reference clock signal and the feedback clock signal respectively.
  • the maximum control codeword is A
  • the offset control codeword is A/2
  • the second input control codeword is any value in (-A/2, A/2)
  • A is a positive integer
  • the first delay circuit is also used to perform signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword
  • the second delay circuit is also used to perform signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
  • the present application sets the same offset control codeword for two mutually coupled delay circuits and ensures that the input control codewords of the two mutually coupled delay circuits are opposite numbers to each other, thereby obtaining different implementation methods in which the two delay circuits respectively perform signal delay adjustment on a reference clock signal and a feedback clock signal.
  • the present application provides a chip, comprising a phase-locked loop as in the first aspect and any design thereof; the digital clock converter circuit and the negative feedback circuit in the phase-locked loop are integrated on the same chip.
  • the present application provides an electronic device, comprising: a circuit board and a chip as described in the second aspect and any design thereof, wherein the chip is arranged on the circuit board.
  • the present application provides a signal delay processing method, which is applied to a phase-locked loop as in the first aspect and any design thereof, the method comprising: after a first delay circuit receives a reference clock signal and a first input control codeword input by an external device, based on the first input control codeword, performing signal delay processing on the reference clock signal; after a second delay circuit receives a feedback clock signal fed back by a negative feedback circuit of the phase-locked loop based on the phase-locked loop and the first input control codeword, based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, performing signal delay processing on the feedback clock signal; wherein, the delay accuracy of the first delay circuit and the second delay circuit is the same, and the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  • the first delay circuit includes at least one first delay unit; the first delay circuit is based on the first An input control codeword is used to perform signal delay processing on the reference clock signal, including: the first delay circuit determines the number of the first delay units based on the first input control codeword; and uses the determined number of first delay units to perform signal delay processing on the reference clock signal.
  • the total number of the first delay units is determined based on a maximum control codeword of the digital clock converter.
  • the second delay circuit includes at least one second delay unit; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including: the second delay circuit determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and uses the determined number of second delay units to perform signal delay processing on the feedback clock signal.
  • the total number of the second delay units is determined based on a maximum control codeword of the digital clock converter.
  • the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor; the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including: the first delay circuit determines the first capacitance value of the first adjustable capacitor based on the first input control codeword; and uses the first driving unit, the first resistor, the first capacitance value and the second driving unit to perform signal delay processing on the reference clock signal.
  • a capacitance adjustment range of the first adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
  • the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor and a second adjustable capacitor; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including: the second delay circuit determines the second capacitance value of the second adjustable capacitor based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and uses the third driving unit, the second resistor, the second capacitance value and the fourth driving unit to perform signal delay processing on the feedback clock signal.
  • a capacitance adjustment range of the second adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
  • the maximum control codeword is A
  • the offset control codeword is A/2
  • the second input control codeword is any value in (-A/2, A/2)
  • A is a positive integer
  • the method also includes: the first delay circuit performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
  • the present application provides a computer-readable storage medium, which stores computer instructions.
  • the digital clock converter circuit can execute any method designed in the above fourth aspect.
  • the present application provides a computer program product, which includes computer instructions.
  • the computer instructions are executed by a digital clock converter circuit, the digital clock converter circuit can execute any method designed in the fourth aspect above.
  • FIG1 is a schematic diagram of the structure of a fully digital phase-locked loop system provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a reference clock signal Fref_in, a feedback clock signal Fdiv_in, and delayed signals Fref_out and Fdiv_out provided in an embodiment of the present application;
  • FIG4a is a schematic diagram showing the corresponding relationship between the operating current and the first input control codeword of the digital clock converter circuit provided in an embodiment of the present application;
  • FIG4b is a schematic diagram showing the corresponding relationship between the operating current and the input control codeword of the digital clock converter circuit in the prior art
  • FIG5 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of the corresponding relationship between the operating current and the second input control codeword of the digital clock converter circuit provided in an embodiment of the present application;
  • FIG7 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application.
  • FIG8 is a flow chart of a signal delay processing method provided in an embodiment of the present application.
  • phase-locked loop structures In wireless communication systems, frequency synthesizers based on phase-locked loop structures are widely used to provide local oscillator signals. In data transmission systems, sampling clocks are generally provided based on phase-locked loop structures. The quality of the clock signal output by the phase-locked loop structure directly affects the quality of the communication signal or the quality of data transmission.
  • phase-locked loops In all-digital phase-locked loops and analog phase-locked loops, frequency multipliers are usually used to increase the frequency of the reference clock, thereby improving the phase noise performance of the phase-locked loop output.
  • fractional frequency division technology is generally used to adjust the instantaneous frequency division value of the frequency multiplier through a sigma-delta modulator to obtain fractional frequency division.
  • SDM the application of SDM will generate large quantization noise and also cause fractional spurious problems in the output signal.
  • a digital time converter circuit is generally added to control the delay of the DTC circuit by adjusting the input control codeword of the DTC.
  • the delay coverage of the DTC circuit in the prior art is relatively large, and the device noise and power consumption of the DTC circuit will increase with the increase of the delay, and different delays will cause different power ripples, so that the overall circuit has a strong power memory effect, which affects the quality of the phase-locked loop output signal.
  • the present application provides a phase-locked loop and a signal delay processing method.
  • the present application will be further described in detail below in conjunction with the accompanying drawings.
  • the phase-locked loop provided by the present application at least includes: a digital clock converter circuit and a negative feedback circuit, wherein the digital clock converter circuit may include: a first delay circuit and a second delay circuit, and the delay accuracy of the first delay circuit and the second delay circuit is the same.
  • the digital clock converter circuit may include a two-way coupled delay chain circuit.
  • the fully digital phase-locked loop system includes: a digital clock converter circuit 101, a clock digital converter (time to digital converter, TDC) 102, a digital loop filter (digital loop filter, DLPF) 103, a digitally controlled oscillator (digitally controlled oscillator, DCO) 104, a feedback divider (feedback divider, NDIV) 105 and SDM 106.
  • the feedback divider 105 and SDM 106 can be used as a negative feedback circuit of the fully digital phase-locked loop system.
  • the two coupled delay circuits i.e., the first delay circuit and the second delay circuit described above
  • the two coupled delay circuits are used to perform signal delay processing on the reference clock signal Fref_in and the feedback clock signal Fdiv_in, respectively.
  • the delayed signals corresponding to the reference clock signal Fref_in and the feedback clock signal Fdiv_in are input to the clock digital converter 102, thereby eliminating the power supply memory effect of the digital clock converter circuit 101 in the fully digital phase-locked loop, and reducing the sensitivity of the digital clock converter circuit 101 to power supply noise.
  • the phase-locked loop in the present application can also be used in different application scenarios such as analog phase-locked loops.
  • Fig. 2 shows a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application.
  • the digital clock converter circuit includes: a first delay circuit 201 and a second delay circuit 202.
  • the delay accuracy of the first delay circuit 201 and the second delay circuit 202 is the same.
  • the first delay circuit 201 After receiving the reference clock signal (ie, Fref_in in FIG. 2 ) and the first input control codeword (ie, Din in FIG. 2 ) inputted from the external device, the first delay circuit 201 performs signal delay processing on the reference clock signal based on the first input control codeword.
  • the second delay circuit 202 After receiving the feedback clock signal (i.e., Fdiv_in in FIG. 2 ) from the negative feedback circuit based on the phase-locked loop feedback and the first input control codeword, the second delay circuit 202 performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter.
  • the feedback clock signal i.e., Fdiv_in in FIG. 2
  • the first input control codeword is any value from zero to the maximum control codeword of the digital clock converter, and the first input control codeword is determined by the feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  • the phase of the reference clock signal can be made infinitely close to the phase of the feedback clock signal according to the quantization noise elimination algorithm, thereby obtaining the first input control codeword. This is only an example of an implementation method for determining the first input control codeword, and the present application does not limit the specific determination method of the first input control codeword.
  • the first delay circuit 201 receives the reference clock signal Fref_in and the first input control codeword Din, it uses Din to perform signal delay processing on Fref_in to obtain the output signal of the first delay circuit 201.
  • the second delay circuit 202 After receiving the feedback clock signals Fdiv_in and Din, the second delay circuit 202 performs signal delay processing on Fdiv_in using the difference between Dm and Din to obtain the output signal Fdiv_out of the second delay circuit 202, that is, Fdiv_out is the signal after the Fdiv_in signal is delayed.
  • the first delay circuit 201 may include at least one first delay unit, each of which is connected in series.
  • the second delay circuit 202 may include at least one second delay unit, each of which is connected in series.
  • the first delay circuit 201 includes a first delay unit 201-1, a first delay unit 201-2, ..., and a first delay unit 201-n.
  • the first delay unit 201-1, the first delay unit 201-2, ..., and the first delay unit 201-n are connected in series.
  • the second delay circuit 202 includes a second delay unit 202-1, a second delay unit 202-2, ..., and a second delay unit 202-n, where n is a positive integer.
  • the second delay unit 202-1, the second delay unit 202-2, ..., and the second delay unit 202-n are connected in series.
  • the total number of the first delay units and the total number of the second delay units are both determined based on the maximum control codeword of the digital clock converter.
  • the maximum control codeword of the digital clock converter is Dm
  • the total number of the first delay units and the total number of the second delay units are both Dm.
  • the delay accuracy of the first delay circuit 201 is related to the delay accuracy of each first delay unit in the first delay circuit 201
  • the delay accuracy of the second delay circuit 202 is related to the delay accuracy of each second delay unit in the second delay circuit 202.
  • the delay accuracy of the first delay unit 201-1, the first delay unit 201-2, ..., the first delay unit 201-n, the second delay unit 202-1, the second delay unit 202-2, ..., the second delay unit 202-n is T0
  • the delay accuracy of the first delay circuit 201 and the delay accuracy of the second delay circuit 202 are both T0.
  • the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different Din. It can be seen from the following formula 1 that when Din is 0, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is -Dm*T0. When Din is Dm, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is Dm*T0. That is, when Din is in the range of (0, Dm), the signal delay adjustment range that can be achieved by the digital clock converter circuit is (-Dm*T0, Dm*T0).
  • Tref represents the signal delay of the first delay circuit 201
  • Tdiv represents the signal delay of the second delay circuit 202.
  • the first delay circuit 201 determines the number of first delay units based on the first input control codeword, and then uses the determined number of first delay units to perform signal delay processing on the reference clock signal.
  • the second delay circuit 202 determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, and then uses the determined number of second delay units to perform signal delay processing on the feedback clock signal.
  • the first delay circuit 201 may include 8 first delay units and the second delay circuit 202 may include 8 second delay units.
  • Din it can be seen that the number of first delay units in the first delay circuit 201 that are in a normal working state is 2.
  • the reference clock signal Fref_in is subjected to signal delay processing by the two first delay units in a working state to obtain the delayed signal Fref_out.
  • Din is 2, Dm is 8, and the difference between Din and Dm, it can be seen that the number of second delay units in a normal working state in the second delay circuit 202 is 6.
  • FIG3 shows a schematic diagram of the reference clock signal Fref_in, the feedback clock signal Fdiv_in, and the delayed signals Fref_out and Fdiv_out.
  • the maximum control codeword of the digital clock converter is Dm
  • the total number of the first delay unit working in the first delay circuit 201 and the second delay unit working in the second delay circuit 202 is constant to Dm. If the operating current of each first delay unit and each second delay unit is i0, then the operating current of the digital clock converter circuit is Dm*i0, and remains constant. In this way, the influence on the power supply during the operation of the digital clock converter circuit can be kept consistent, and the power supply memory effect can be effectively eliminated.
  • Figure 4a shows a schematic diagram of the corresponding relationship between the operating current of the digital clock converter circuit provided by an embodiment of the present application and the first input control codeword
  • Figure 4b shows a schematic diagram of the corresponding relationship between the operating current of the digital clock converter circuit and the input control codeword in the prior art. It can be concluded from Figures 4a and 4b that, compared with the operating current of the digital clock converter circuit in the prior art that varies within the range of (0, 2Dm*i0), the present application eliminates the power supply memory effect problem by maintaining a constant current Dm*i0.
  • the power supply noise in the digital clock converter circuit is in common mode, so the digital clock converter circuit is insensitive to the power supply noise.
  • the gain of each first delay unit and each second delay unit to the power supply noise is A
  • the low-frequency noise of the power supply is ⁇ 2
  • the noise difference between the first delay circuit 201 and the second delay circuit 202 is as shown in the following formula 2. That is, the maximum output noise of the digital clock converter circuit is The maximum output noise of the digital clock converter circuit is Dm*A* ⁇ 2 .
  • the present application can also reduce the output noise of the digital clock converter circuit.
  • a feedback divider in a negative feedback circuit can be used to obtain a first input control codeword based on the phase of a reference clock signal and the phase of a feedback clock signal, so that the two coupled delay circuits perform signal delay processing on the reference clock signal and the feedback clock signal respectively, thereby eliminating the power supply memory effect of the digital clock converter circuit and reducing the sensitivity of the digital clock converter circuit to power supply noise.
  • another implementation method of two mutually coupled delay circuits for signal delay adjustment of the reference clock signal and the feedback clock signal is further introduced: assuming that the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2), the first delay circuit 201 performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword; the second delay circuit 202 performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
  • A is a positive integer.
  • the first delay circuit 201 includes a first delay unit 201-1, a first delay unit 201-2, a first delay unit 201-3, and a first delay unit 201-4
  • the second delay circuit 202 includes a second delay unit 202-1, a second delay unit 202-2, a second delay unit 202-3, and a second delay unit 202-4.
  • the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different D'in. It can be seen from the following formula 3 that when D'in is -A/2, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is -A*T0. When D'in is A/2, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is A*T0. That is, when D'in is within the range of (-A/2, A/2), the signal delay adjustment range that can be achieved by the digital clock converter circuit is (-A*T0, A*T0).
  • T'ref represents the signal delay of the first delay circuit 201
  • T'div represents the signal delay of the second delay circuit 202.
  • FIG6 shows a schematic diagram of the corresponding relationship between the working current and the second input control codeword of the digital clock converter circuit provided in an embodiment of the present application.
  • the power supply noise in the digital clock converter circuit shown in FIG5 is in common mode, and therefore the circuit is insensitive to the power supply noise.
  • the above solution may also be implemented through other internal structural connection modes of the first delay circuit 201 and the second delay circuit 202 .
  • the first delay circuit 201 may include a first driving unit 203, a second driving unit 204, a first resistor 205, and a first adjustable capacitor 206.
  • the second delay circuit 202 includes a third driving unit 207, a fourth driving unit 208, a second resistor 209, and a second adjustable capacitor 2020.
  • the capacitance adjustment range of the first adjustable capacitor 206 and the capacitance adjustment range of the second adjustable capacitor 2020 are both determined based on the maximum control codeword of the digital clock converter.
  • the first end of the first driving unit 203 is connected to the first end of the first resistor 205, the second end of the first resistor 205 is connected to the first end of the second driving unit 204 and the first end of the first adjustable capacitor 206, the second end of the first adjustable capacitor 206 is grounded, the second end of the first driving unit 203 is the input end of the first delay circuit 201, and the second end of the second driving unit 204 is the output end of the first delay circuit 201.
  • the first end of the third driving unit 207 is connected to the first end of the second resistor 209, the second end of the second resistor 209 is connected to the first end of the fourth driving unit 208 and the first end of the second adjustable capacitor 2020, the second end of the second adjustable capacitor 2020 is grounded, the second end of the third driving unit 207 is the input end of the second delay circuit 202, and the second end of the fourth driving unit 208 is the output end of the second delay circuit 202.
  • the reference clock signal is subjected to signal delay processing using the first driving unit 203, the second driving unit 204, the first resistor 205, and the first capacitance value of the first adjustable capacitor 206.
  • the feedback clock signal is subjected to signal delay processing using the third driving unit 207, the fourth driving unit 208, the second resistor 209, and the second capacitance value of the second adjustable capacitor 2020.
  • the schematic diagram of signal delay processing can refer to FIG. 3, which will not be described in detail.
  • the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different Din.
  • the specific implementation method can refer to the description corresponding to the above formula 1, which will not be repeated here.
  • the capacitance adjustment range of the first adjustable capacitor 206 and the capacitance adjustment range of the second adjustable capacitor 2020 can both be (C1, C2), and C2 is greater than C1.
  • the first delay circuit 201 and the second delay circuit 202 in the digital clock converter circuit simultaneously perform the signal delay processing process, the first capacitance value of the first adjustable capacitor 206 in the first delay circuit 201 and the second capacitance value of the second adjustable capacitor 2020 in the second delay circuit 202 remain constant.
  • the operating currents of the first drive unit 203, the second drive unit 204, the first resistor 205, the third drive unit 207, the fourth drive unit 208, and the second resistor 209 are all i0, then the operating current of the digital clock converter circuit is Dm*i0, and remains constant. In this way, the influence on the power supply during the operation of the digital clock converter circuit can be kept consistent, and the power supply memory effect can be effectively eliminated.
  • the power supply noise in the digital clock converter circuit shown in FIG. 7 is in common mode, and therefore the digital clock converter circuit is insensitive to the power supply noise.
  • the embodiment of the present application further provides a signal delay processing method, which is applied to the phase-locked loop.
  • the method can be performed by the digital clock converter circuit 101 in Figure 1.
  • the method provided by the present application includes the following steps:
  • a first delay circuit After receiving a reference clock signal and a first input control codeword inputted from an external device, a first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword;
  • the second delay circuit After receiving the feedback clock signal fed back by the negative feedback circuit of the phase-locked loop based on the phase-locked loop and the first input control codeword, the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter;
  • the delay accuracy of the first delay circuit and the second delay circuit is the same, and the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  • the first delay circuit includes at least one first delay unit
  • step S801 the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including:
  • the first delay circuit determines the number of first delay units based on the first input control codeword
  • a signal delay process is performed on the reference clock signal by using a determined number of first delay units.
  • the total number of first delay units is determined based on a maximum control codeword of the digital clock converter.
  • the second delay circuit includes at least one second delay unit
  • step S802 the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including:
  • the second delay circuit determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter;
  • the feedback clock signal is subjected to signal delay processing by utilizing a determined number of second delay units.
  • the total number of the second delay units is determined based on a maximum control codeword of the digital clock converter.
  • the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor;
  • step S801 the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including:
  • the first delay circuit determines a first capacitance value of the first adjustable capacitor based on the first input control codeword
  • the reference clock signal is subjected to signal delay processing by utilizing the first driving unit, the first resistor, the first capacitance and the second driving unit.
  • the capacitance adjustment range of the first adjustable capacitor is determined based on a maximum control code word of the digital clock converter.
  • the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor, and a second adjustable capacitor;
  • step S802 the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including:
  • the second delay circuit determines a second capacitance value of the second adjustable capacitor based on a difference between the first input control codeword and a maximum control codeword of the digital clock converter;
  • the third driving unit, the second resistor, the second capacitor and the fourth driving unit are used to perform signal delay processing on the feedback clock signal.
  • the capacitance adjustment range of the second adjustable capacitor is determined based on a maximum control code word of the digital clock converter.
  • the method further includes:
  • the first delay circuit performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword;
  • the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
  • a chip comprising a phase-locked loop in any possible design described above; a digital clock converter circuit and a negative feedback circuit in the phase-locked loop are integrated on the same chip.
  • an electronic device comprising: a circuit board and a chip in any of the possible designs described above, wherein the chip is disposed on the circuit board.
  • An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions.
  • the computer instructions are executed by the digital clock converter circuit, the signal delay processing method shown in FIG. 8 can be executed.
  • the embodiment of the present application also provides a computer program product, including computer instructions.
  • the computer instructions are executed by the digital clock converter circuit, the signal delay processing method shown in Figure 8 can be executed.
  • various aspects of the signal delay processing method provided in the present application can also be implemented in the form of a program product, which includes program code.
  • program code When the program code is run on a computer device or a circuit product, the program code is used to enable the computer device to execute the steps in the signal delay processing method described above in this specification.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

Landscapes

  • Pulse Circuits (AREA)

Abstract

The present application provides a phase-locked loop and a signal delay processing method. After receiving a reference clock signal inputted by an external device and a first input control codeword, a first delay circuit performs signal delay processing on the reference clock signal on the basis of the first input control codeword; after receiving a feedback clock signal fed back by a negative feedback circuit on the basis of the phase-locked loop, and the first input control codeword, a second delay circuit performs signal delay processing on the feedback clock signal on the basis of a difference value between the first input control codeword and a maximum control codeword of a digital-to-time converter. By ensuring that the two delay circuits have the same delay precision, and determining the first input control codeword by using a feedback frequency divider in the negative feedback circuit on the basis of the phase of the reference clock signal and the phase of the feedback clock signal, the two delay circuits respectively perform signal delay processing, thereby eliminating a power supply memory effect of a digital-to-time converter circuit and reducing the sensitivity of the digital-to-time converter circuit to power supply noise.

Description

一种锁相环及信号延迟处理方法A phase-locked loop and a signal delay processing method
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2022年11月04日提交中国专利局、申请号为202211379473.8、申请名称为“一种锁相环及信号延迟处理方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the Chinese Patent Office on November 4, 2022, with application number 202211379473.8 and application name “A Phase-Locked Loop and Signal Delay Processing Method”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及无线通信技术领域,尤其涉及一种锁相环及信号延迟处理方法。The present application relates to the field of wireless communication technology, and in particular to a phase-locked loop and a signal delay processing method.
背景技术Background technique
在无线通信系统中,广泛的采用基于锁相环(phase locked loop,PLL)结构的频率综合器提供本振信号。在数据传输系统中,一般也采用基于锁相环结构提供采样时钟。基于锁相环结构输出的时钟信号的质量,直接影响通信信号的质量或者影响数据的传输质量。In wireless communication systems, frequency synthesizers based on phase locked loop (PLL) structures are widely used to provide local oscillator signals. In data transmission systems, sampling clocks are generally provided based on phase locked loop structures. The quality of the clock signal output by the phase locked loop structure directly affects the quality of the communication signal or the quality of data transmission.
在全数字锁相环(all digital phase pocked poop,ADPLL)和模拟锁相环(analog phase pocked poop,APLL)中,通常采用倍频器提升参考时钟的频率,从而提升锁相环输出相位噪声性能。为了得到更精准的输出频率,一般采用小数分频技术,通过sigma-delta调制器(sigma delta modulation,SDM)调整倍频器的瞬时分频值,从而得到小数分频。但是,SDM的应用会产生较大的量化噪声,也会导致输出信号存在小数杂散(fractional spur)问题。In all digital phase pocked poop (ADPLL) and analog phase pocked poop (APLL), frequency multipliers are usually used to increase the frequency of the reference clock, thereby improving the phase noise performance of the phase-locked loop output. In order to obtain a more accurate output frequency, fractional frequency division technology is generally used to adjust the instantaneous frequency division value of the frequency multiplier through a sigma-delta modulator (sigma delta modulation, SDM) to obtain fractional frequency division. However, the application of SDM will generate large quantization noise and also cause fractional spur problems in the output signal.
为了解决SDM产生的上述问题,一般是增加数字时间转换器(digital to time converter,DTC)电路,通过调整DTC的输入控制码字控制DTC电路的延迟。然而,现有技术中DTC电路的延迟覆盖范围较大,DTC电路的器件噪声和功耗均会随着延迟增大而增大,并且不同延迟会导致不同的电源波纹,使得整体电路具有较强的电源记忆效应,影响锁相环输出信号的质量。In order to solve the above problems caused by SDM, a digital to time converter (DTC) circuit is generally added, and the delay of the DTC circuit is controlled by adjusting the input control codeword of the DTC. However, the delay coverage of the DTC circuit in the prior art is relatively large, and the device noise and power consumption of the DTC circuit will increase with the increase of the delay, and different delays will lead to different power ripples, so that the overall circuit has a strong power memory effect, which affects the quality of the phase-locked loop output signal.
发明内容Summary of the invention
有鉴于此,本申请提供一种锁相环及信号延迟处理方法,以便于消除数字时钟转换器电路的电源记忆效应,以及降低数字时钟转换器电路对电源噪声的敏感性。In view of this, the present application provides a phase-locked loop and a signal delay processing method to eliminate the power memory effect of a digital clock converter circuit and reduce the sensitivity of the digital clock converter circuit to power noise.
第一方面,本申请提供一种锁相环,所述锁相环至少包括:数字时钟转换器电路和负反馈电路;其中,所述数字时钟转换器电路包括:第一延迟电路和第二延迟电路;所述第一延迟电路和所述第二延迟电路的延迟精度相同;所述第一延迟电路,用于接收外部设备输入的参考时钟信号和第一输入控制码字;基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理;所述第二延迟电路,用于接收所述负反馈电路基于所述锁相环反馈的反馈时钟信号和所述第一输入控制码字;基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理;其中,所述第一输入控制码字是所述负反馈电路中的反馈分频器基于所述参考时钟信号的相位、所述反馈时钟信号的相位确定的。In a first aspect, the present application provides a phase-locked loop, which at least includes: a digital clock converter circuit and a negative feedback circuit; wherein the digital clock converter circuit includes: a first delay circuit and a second delay circuit; the delay accuracy of the first delay circuit and the second delay circuit is the same; the first delay circuit is used to receive a reference clock signal and a first input control codeword input by an external device; based on the first input control codeword, the reference clock signal is subjected to signal delay processing; the second delay circuit is used to receive a feedback clock signal and the first input control codeword fed back by the negative feedback circuit based on the phase-locked loop; based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, the feedback clock signal is subjected to signal delay processing; wherein the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
相对于现有技术来说,本申请在保证两路延迟电路的延迟精度相同情况下,利用负反馈电路中的反馈分频器基于参考时钟信号的相位和反馈时钟信号的相位可以得到第一输入控制码字,使得两路耦合的延迟电路分别对参考时钟信号和反馈时钟信号进行信号延迟处理,进而实现消除数字时钟转换器电路的电源记忆效应,以及降低数字时钟转换器电路对电源噪声的敏感性问题。Compared with the prior art, the present application can obtain a first input control codeword based on the phase of a reference clock signal and a phase of a feedback clock signal by using a feedback divider in a negative feedback circuit while ensuring that the delay accuracy of the two delay circuits is the same, so that the two coupled delay circuits respectively perform signal delay processing on the reference clock signal and the feedback clock signal, thereby eliminating the power supply memory effect of the digital clock converter circuit and reducing the sensitivity of the digital clock converter circuit to power supply noise.
一种可能的设计中,所述第一延迟电路包括至少一个第一延迟单元;每个第一延迟单元之间串联连接;所述基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理,具体用于:基于所述第一输入控制码字,确定所述第一延迟单元的数量;利用确定数量的第一延迟单元,对所述参考时钟信号进行信号延迟处理。其中,所述第一延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, the first delay circuit includes at least one first delay unit; each first delay unit is connected in series; the signal delay processing of the reference clock signal based on the first input control codeword is specifically used to: determine the number of the first delay units based on the first input control codeword; and perform signal delay processing on the reference clock signal using the determined number of first delay units. The total number of the first delay units is determined based on the maximum control codeword of the digital clock converter.
通过对第一输入控制码字的大小进行设置,可以准确确定第一延迟单元的数量,进而准确对参考时钟信号进行信号调节。By setting the size of the first input control codeword, the number of the first delay units can be accurately determined, thereby accurately performing signal adjustment on the reference clock signal.
一种可能的设计中,所述第二延迟电路包括至少一个第二延迟单元;每个第二延迟单元之间串联连接;所述基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信 号进行信号延迟处理,具体用于:基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二延迟单元的数量;利用确定数量的第二延迟单元,对所述反馈时钟信号进行信号延迟处理。其中,所述第二延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, the second delay circuit includes at least one second delay unit; each second delay unit is connected in series; the feedback clock signal is input based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter. The method is specifically used to: determine the number of the second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and perform signal delay processing on the feedback clock signal using the determined number of second delay units. The total number of the second delay units is determined based on the maximum control codeword of the digital clock converter.
通过对第一输入控制码字的大小进行设置,可以准确确定第二延迟单元的数量,进而准确对反馈时钟信号进行信号调节。By setting the size of the first input control codeword, the number of the second delay units can be accurately determined, thereby accurately performing signal adjustment on the feedback clock signal.
一种可能的设计中,所述第一延迟电路包括第一驱动单元、第二驱动单元、第一电阻和第一可调电容;所述第一驱动单元的第一端与所述第一电阻的第一端连接,所述第一电阻的第二端与所述第二驱动单元的第一端、所述第一可调电容的第一端连接,所述第一可调电容的第二端接地,所述第一驱动单元的第二端为所述第一延迟电路的输入端,所述第二驱动单元的第二端为所述第一延迟电路的输出端;所述基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理,具体用于:基于所述第一输入控制码字,确定所述第一可调电容的第一电容值;利用所述第一驱动单元、所述第一电阻、所述第一电容值和所述第二驱动单元,对所述参考时钟信号进行信号延迟处理。其中,所述第一可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。In a possible design, the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor; the first end of the first driving unit is connected to the first end of the first resistor, the second end of the first resistor is connected to the first end of the second driving unit and the first end of the first adjustable capacitor, the second end of the first adjustable capacitor is grounded, the second end of the first driving unit is the input end of the first delay circuit, and the second end of the second driving unit is the output end of the first delay circuit; the signal delay processing of the reference clock signal based on the first input control codeword is specifically used to: determine the first capacitance value of the first adjustable capacitor based on the first input control codeword; use the first driving unit, the first resistor, the first capacitance value and the second driving unit to perform signal delay processing on the reference clock signal. Wherein, the capacitance value adjustment range of the first adjustable capacitor is determined based on the maximum control codeword of the digital clock converter.
通过对第一输入控制码字的大小进行设置,可以准确确定第一可调电容的电容值,进而准确对参考时钟信号进行信号调节。By setting the size of the first input control codeword, the capacitance value of the first adjustable capacitor can be accurately determined, thereby accurately adjusting the reference clock signal.
一种可能的设计中,所述第二延迟电路包括第三驱动单元、第四驱动单元、第二电阻和第二可调电容;所述第三驱动单元的第一端与所述第二电阻的第一端连接,所述第二电阻的第二端与所述第四驱动单元的第一端、所述第二可调电容的第一端连接,所述第二可调电容的第二端接地,所述第三驱动单元的第二端为所述第二延迟电路的输入端,所述第四驱动单元的第二端为所述第二延迟电路的输出端;所述基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理,具体用于:基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二可调电容的第二电容值;利用所述第三驱动单元、所述第二电阻、所述第二电容值和所述第四驱动单元,对所述反馈时钟信号进行信号延迟处理。其中,所述第二可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。In a possible design, the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor and a second adjustable capacitor; the first end of the third driving unit is connected to the first end of the second resistor, the second end of the second resistor is connected to the first end of the fourth driving unit and the first end of the second adjustable capacitor, the second end of the second adjustable capacitor is grounded, the second end of the third driving unit is the input end of the second delay circuit, and the second end of the fourth driving unit is the output end of the second delay circuit; the signal delay processing of the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter is specifically used to: determine the second capacitance value of the second adjustable capacitor based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; use the third driving unit, the second resistor, the second capacitance value and the fourth driving unit to perform signal delay processing on the feedback clock signal. Wherein, the capacitance value adjustment range of the second adjustable capacitor is determined based on the maximum control codeword of the digital clock converter.
通过对第一输入控制码字的大小进行设置,可以准确确定第二可调电容的电容值,进而准确对反馈时钟信号进行信号调节。By setting the size of the first input control codeword, the capacitance value of the second adjustable capacitor can be accurately determined, thereby accurately adjusting the feedback clock signal.
一种可能的设计中,所述第一输入控制码字为零到所述数字时钟转换器的最大控制码字中的任意值。In one possible design, the first input control codeword is any value between zero and the maximum control codeword of the digital clock converter.
通过设置第一输入控制码字的大小,进而可以准确利用两路耦合的延迟电路分别对参考时钟信号和反馈时钟信号进行信号延迟处理。By setting the size of the first input control codeword, the two coupled delay circuits can be accurately utilized to perform signal delay processing on the reference clock signal and the feedback clock signal respectively.
一种可能的设计中,所述最大控制码字为A,偏移控制码字为A/2,所述第二输入控制码字为(-A/2,A/2)中的任意值时;A为正整数;所述第一延迟电路,还用于基于所述第二输入控制码字和所述偏移控制码字的加和结果,对所述参考时钟信号进行信号延迟处理;所述第二延迟电路,还用于基于所述第二输入控制码字和所述偏移控制码字的差值,对所述反馈时钟信号进行信号延迟处理。In one possible design, the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2); A is a positive integer; the first delay circuit is also used to perform signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword; the second delay circuit is also used to perform signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
本申请通过对两个相互耦合的延迟电路设置相同的偏移控制码字,且保证两个相互耦合的延迟电路的输入控制码字互为相反数,得到两路延迟电路分别对参考时钟信号和反馈时钟信号进行信号延迟调节的不同实现方式。The present application sets the same offset control codeword for two mutually coupled delay circuits and ensures that the input control codewords of the two mutually coupled delay circuits are opposite numbers to each other, thereby obtaining different implementation methods in which the two delay circuits respectively perform signal delay adjustment on a reference clock signal and a feedback clock signal.
第二方面,本申请提供一种芯片,包括如第一方面及其任一设计的锁相环;所述锁相环中的所述数字时钟转换器电路和所述负反馈电路均集成在同一芯片。In a second aspect, the present application provides a chip, comprising a phase-locked loop as in the first aspect and any design thereof; the digital clock converter circuit and the negative feedback circuit in the phase-locked loop are integrated on the same chip.
第三方面,本申请提供一种电子设备,包括:电路板和如第二方面及其任一设计的所述的芯片,所述芯片设置于所述电路板上。In a third aspect, the present application provides an electronic device, comprising: a circuit board and a chip as described in the second aspect and any design thereof, wherein the chip is arranged on the circuit board.
第四方面,本申请提供一种信号延迟处理方法,应用于如第一方面及其任一设计的锁相环,所述方法包括:第一延迟电路接收外部设备输入的参考时钟信号和第一输入控制码字后,基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理;第二延迟电路接收所述锁相环的负反馈电路基于所述锁相环反馈的反馈时钟信号和所述第一输入控制码字后,基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理;其中,所述第一延迟电路和所述第二延迟电路的延迟精度相同,所述第一输入控制码字是所述负反馈电路中的反馈分频器基于所述参考时钟信号的相位、所述反馈时钟信号的相位确定的。In a fourth aspect, the present application provides a signal delay processing method, which is applied to a phase-locked loop as in the first aspect and any design thereof, the method comprising: after a first delay circuit receives a reference clock signal and a first input control codeword input by an external device, based on the first input control codeword, performing signal delay processing on the reference clock signal; after a second delay circuit receives a feedback clock signal fed back by a negative feedback circuit of the phase-locked loop based on the phase-locked loop and the first input control codeword, based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, performing signal delay processing on the feedback clock signal; wherein, the delay accuracy of the first delay circuit and the second delay circuit is the same, and the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
一种可能的设计中,所述第一延迟电路包括至少一个第一延迟单元;所述第一延迟电路基于所述第 一输入控制码字,对所述参考时钟信号进行信号延迟处理,包括:所述第一延迟电路基于所述第一输入控制码字,确定所述第一延迟单元的数量;利用确定数量的第一延迟单元,对所述参考时钟信号进行信号延迟处理。In one possible design, the first delay circuit includes at least one first delay unit; the first delay circuit is based on the first An input control codeword is used to perform signal delay processing on the reference clock signal, including: the first delay circuit determines the number of the first delay units based on the first input control codeword; and uses the determined number of first delay units to perform signal delay processing on the reference clock signal.
一种可能的设计中,所述第一延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, the total number of the first delay units is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,所述第二延迟电路包括至少一个第二延迟单元;所述第二延迟电路基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理,包括:所述第二延迟电路基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二延迟单元的数量;利用确定数量的第二延迟单元,对所述反馈时钟信号进行信号延迟处理。In one possible design, the second delay circuit includes at least one second delay unit; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including: the second delay circuit determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and uses the determined number of second delay units to perform signal delay processing on the feedback clock signal.
一种可能的设计中,所述第二延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, the total number of the second delay units is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,所述第一延迟电路包括第一驱动单元、第二驱动单元、第一电阻和第一可调电容;所述第一延迟电路基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理,包括:所述第一延迟电路基于所述第一输入控制码字,确定所述第一可调电容的第一电容值;利用所述第一驱动单元、所述第一电阻、所述第一电容值和所述第二驱动单元,对所述参考时钟信号进行信号延迟处理。In one possible design, the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor; the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including: the first delay circuit determines the first capacitance value of the first adjustable capacitor based on the first input control codeword; and uses the first driving unit, the first resistor, the first capacitance value and the second driving unit to perform signal delay processing on the reference clock signal.
一种可能的设计中,所述第一可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, a capacitance adjustment range of the first adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,所述第二延迟电路包括第三驱动单元、第四驱动单元、第二电阻和第二可调电容;所述第二延迟电路基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理,包括:所述第二延迟电路基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二可调电容的第二电容值;利用所述第三驱动单元、所述第二电阻、所述第二电容值和所述第四驱动单元,对所述反馈时钟信号进行信号延迟处理。In one possible design, the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor and a second adjustable capacitor; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including: the second delay circuit determines the second capacitance value of the second adjustable capacitor based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter; and uses the third driving unit, the second resistor, the second capacitance value and the fourth driving unit to perform signal delay processing on the feedback clock signal.
一种可能的设计中,所述第二可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。In one possible design, a capacitance adjustment range of the second adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,所述最大控制码字为A,偏移控制码字为A/2,所述第二输入控制码字为(-A/2,A/2)中的任意值时;A为正整数;所述方法还包括:所述第一延迟电路基于所述第二输入控制码字和所述偏移控制码字的加和结果,对所述参考时钟信号进行信号延迟处理;所述第二延迟电路基于所述第二输入控制码字和所述偏移控制码字的差值,对所述反馈时钟信号进行信号延迟处理。In one possible design, the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2); A is a positive integer; the method also includes: the first delay circuit performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword; the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
第五方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,当所述计算机指令被数字时钟转换器电路执行时,可以使得所述数字时钟转换器电路执行上述第四方面中任一设计的方法。In a fifth aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a digital clock converter circuit, the digital clock converter circuit can execute any method designed in the above fourth aspect.
第六方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机指令,当所述计算机指令被数字时钟转换器电路执行时,可以使得所述数字时钟转换器电路执行上述第四方面中任一设计的方法。In a sixth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed by a digital clock converter circuit, the digital clock converter circuit can execute any method designed in the fourth aspect above.
上述第二方面至第六方面中任一方面中的任一可能设计可以达到的技术效果,请参照上述第一方面中的任一可能设计可以达到的技术效果描述,这里不再重复赘述。For the technical effects that can be achieved by any possible design in any of the second to sixth aspects mentioned above, please refer to the description of the technical effects that can be achieved by any possible design in the first aspect mentioned above, and no further details will be given here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的全数字锁相环系统的结构示意图;FIG1 is a schematic diagram of the structure of a fully digital phase-locked loop system provided in an embodiment of the present application;
图2为本申请实施例提供的数字时钟转换器电路的结构示意图;FIG2 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application;
图3为本申请实施例提供的参考时钟信号Fref_in、反馈时钟信号Fdiv_in以及延迟处理后的信号Fref_out、Fdiv_out示意图;3 is a schematic diagram of a reference clock signal Fref_in, a feedback clock signal Fdiv_in, and delayed signals Fref_out and Fdiv_out provided in an embodiment of the present application;
图4a为本申请实施例提供的数字时钟转换器电路的工作电流与第一输入控制码字的对应关系示意图;FIG4a is a schematic diagram showing the corresponding relationship between the operating current and the first input control codeword of the digital clock converter circuit provided in an embodiment of the present application;
图4b为现有技术中数字时钟转换器电路的工作电流与输入控制码字的对应关系示意图;FIG4b is a schematic diagram showing the corresponding relationship between the operating current and the input control codeword of the digital clock converter circuit in the prior art;
图5为本申请实施例提供的数字时钟转换器电路的结构示意图;FIG5 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application;
图6为本申请实施例提供的数字时钟转换器电路的工作电流与第二输入控制码字的对应关系示意图;6 is a schematic diagram of the corresponding relationship between the operating current and the second input control codeword of the digital clock converter circuit provided in an embodiment of the present application;
图7为本申请实施例提供的数字时钟转换器电路的结构示意图;FIG7 is a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application;
图8为本申请实施例提供的一种信号延迟处理方法的流程示意图。 FIG8 is a flow chart of a signal delay processing method provided in an embodiment of the present application.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本申请的技术方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应所述理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
在无线通信系统中,广泛的采用基于锁相环结构的频率综合器提供本振信号。在数据传输系统中,一般也采用基于锁相环结构提供采样时钟。基于锁相环结构输出的时钟信号的质量,直接影响通信信号的质量或者影响数据的传输质量。In wireless communication systems, frequency synthesizers based on phase-locked loop structures are widely used to provide local oscillator signals. In data transmission systems, sampling clocks are generally provided based on phase-locked loop structures. The quality of the clock signal output by the phase-locked loop structure directly affects the quality of the communication signal or the quality of data transmission.
在全数字锁相环和模拟锁相环中,通常采用倍频器提升参考时钟的频率,从而提升锁相环输出相位噪声性能。为了得到更精准的输出频率,一般采用小数分频技术,通过sigma-delta调制器调整倍频器的瞬时分频值,从而得到小数分频。但是,SDM的应用会产生较大的量化噪声,也会导致输出信号存在小数杂散问题。In all-digital phase-locked loops and analog phase-locked loops, frequency multipliers are usually used to increase the frequency of the reference clock, thereby improving the phase noise performance of the phase-locked loop output. In order to obtain a more accurate output frequency, fractional frequency division technology is generally used to adjust the instantaneous frequency division value of the frequency multiplier through a sigma-delta modulator to obtain fractional frequency division. However, the application of SDM will generate large quantization noise and also cause fractional spurious problems in the output signal.
为了解决SDM产生的上述问题,一般是增加数字时间转换器电路,通过调整DTC的输入控制码字控制DTC电路的延迟。然而,现有技术中DTC电路的延迟覆盖范围较大,DTC电路的器件噪声和功耗均会随着延迟增大而增大,并且不同延迟会导致不同的电源波纹,使得整体电路具有较强的电源记忆效应,影响锁相环输出信号的质量。In order to solve the above problems caused by SDM, a digital time converter circuit is generally added to control the delay of the DTC circuit by adjusting the input control codeword of the DTC. However, the delay coverage of the DTC circuit in the prior art is relatively large, and the device noise and power consumption of the DTC circuit will increase with the increase of the delay, and different delays will cause different power ripples, so that the overall circuit has a strong power memory effect, which affects the quality of the phase-locked loop output signal.
有鉴于此,本申请提供一种锁相环及信号延迟处理方法。为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。In view of this, the present application provides a phase-locked loop and a signal delay processing method. In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请提供的锁相环至少包括:数字时钟转换器电路和负反馈电路,其中,数字时钟转换器电路可以包括:第一延迟电路和第二延迟电路,且第一延迟电路和第二延迟电路的延迟精度相同。例如,数字时钟转换器电路可以包括两路耦合的延迟链电路。The phase-locked loop provided by the present application at least includes: a digital clock converter circuit and a negative feedback circuit, wherein the digital clock converter circuit may include: a first delay circuit and a second delay circuit, and the delay accuracy of the first delay circuit and the second delay circuit is the same. For example, the digital clock converter circuit may include a two-way coupled delay chain circuit.
以全数字锁相环为例进行说明,如图1所示,全数字锁相环系统包括:数字时钟转换器电路101、时钟数字转换器(time to digital converter,TDC)102、数字环路滤波器(digital loop filter,DLPF)103、数位控制振荡器(digitally controlled oscillator,DCO)104、反馈分频器(feedback divider,NDIV)105和SDM106。这里,反馈分频器105和SDM106可以作为全数字锁相环系统的负反馈电路。Taking a fully digital phase-locked loop as an example, as shown in FIG1 , the fully digital phase-locked loop system includes: a digital clock converter circuit 101, a clock digital converter (time to digital converter, TDC) 102, a digital loop filter (digital loop filter, DLPF) 103, a digitally controlled oscillator (digitally controlled oscillator, DCO) 104, a feedback divider (feedback divider, NDIV) 105 and SDM 106. Here, the feedback divider 105 and SDM 106 can be used as a negative feedback circuit of the fully digital phase-locked loop system.
利用数字时钟转换器电路101中的两路耦合延迟电路(即上面描述的第一延迟电路和第二延迟电路)分别对参考时钟信号Fref_in和反馈时钟信号Fdiv_in进行信号延迟处理。将参考时钟信号Fref_in和反馈时钟信号Fdiv_in各自对应的延迟处理后的信号输入给时钟数字转换器102,进而实现在全数字锁相环中,消除数字时钟转换器电路101的电源记忆效应,以及降低数字时钟转换器电路101对电源噪声的敏感性问题。应知,本申请中的锁相环还可以应用在模拟锁相环等不同应用场景中。The two coupled delay circuits (i.e., the first delay circuit and the second delay circuit described above) in the digital clock converter circuit 101 are used to perform signal delay processing on the reference clock signal Fref_in and the feedback clock signal Fdiv_in, respectively. The delayed signals corresponding to the reference clock signal Fref_in and the feedback clock signal Fdiv_in are input to the clock digital converter 102, thereby eliminating the power supply memory effect of the digital clock converter circuit 101 in the fully digital phase-locked loop, and reducing the sensitivity of the digital clock converter circuit 101 to power supply noise. It should be known that the phase-locked loop in the present application can also be used in different application scenarios such as analog phase-locked loops.
示例性的,图2示出了本申请实施例提供的一种数字时钟转换器电路的结构示意图。如图2所示,数字时钟转换器电路包括:第一延迟电路201和第二延迟电路202。其中第一延迟电路201和第二延迟电路202的延迟精度相同。For example, Fig. 2 shows a schematic diagram of the structure of a digital clock converter circuit provided in an embodiment of the present application. As shown in Fig. 2, the digital clock converter circuit includes: a first delay circuit 201 and a second delay circuit 202. The delay accuracy of the first delay circuit 201 and the second delay circuit 202 is the same.
第一延迟电路201在接收到外部设备输入的参考时钟信号(即图2中的Fref_in)和第一输入控制码字(即图2中的Din)后,基于第一输入控制码字,对参考时钟信号进行信号延迟处理。After receiving the reference clock signal (ie, Fref_in in FIG. 2 ) and the first input control codeword (ie, Din in FIG. 2 ) inputted from the external device, the first delay circuit 201 performs signal delay processing on the reference clock signal based on the first input control codeword.
第二延迟电路202在接收到负反馈电路基于锁相环反馈的反馈时钟信号(即图2中的Fdiv_in)和第一输入控制码字后,基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,对反馈时钟信号进行信号延迟处理。After receiving the feedback clock signal (i.e., Fdiv_in in FIG. 2 ) from the negative feedback circuit based on the phase-locked loop feedback and the first input control codeword, the second delay circuit 202 performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter.
这里,第一输入控制码字为零到数字时钟转换器的最大控制码字中的任意值,且第一输入控制码字是负反馈电路中的反馈分频器基于参考时钟信号的相位、反馈时钟信号的相位确定的。可选的,在负反馈电路的反馈分频器中,可以根据量化噪声消除算法使得参考时钟信号的相位与反馈时钟信号的相位无限接近,进而得到第一输入控制码字。在此仅是举例说明确定第一输入控制码字的一种实施方式,本申请并不限定第一输入控制码字的具体确定方式。Here, the first input control codeword is any value from zero to the maximum control codeword of the digital clock converter, and the first input control codeword is determined by the feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal. Optionally, in the feedback divider of the negative feedback circuit, the phase of the reference clock signal can be made infinitely close to the phase of the feedback clock signal according to the quantization noise elimination algorithm, thereby obtaining the first input control codeword. This is only an example of an implementation method for determining the first input control codeword, and the present application does not limit the specific determination method of the first input control codeword.
例如,假设数字时钟转换器的最大控制码字为Dm,第一延迟电路201接收到参考时钟信号Fref_in和第一输入控制码字Din后,利用Din对Fref_in进行信号延迟处理,得到第一延迟电路201的输出信 号Fref_out,也即Fref_out为Fref_in信号延迟后的信号。第二延迟电路202接收到反馈时钟信号Fdiv_in和Din后,利用Dm和Din的差值对Fdiv_in进行信号延迟处理,得到第二延迟电路202的输出信号Fdiv_out,也即Fdiv_out为Fdiv_in信号延迟后的信号。For example, assuming that the maximum control codeword of the digital clock converter is Dm, after the first delay circuit 201 receives the reference clock signal Fref_in and the first input control codeword Din, it uses Din to perform signal delay processing on Fref_in to obtain the output signal of the first delay circuit 201. After receiving the feedback clock signals Fdiv_in and Din, the second delay circuit 202 performs signal delay processing on Fdiv_in using the difference between Dm and Din to obtain the output signal Fdiv_out of the second delay circuit 202, that is, Fdiv_out is the signal after the Fdiv_in signal is delayed.
在一种实施方式中,第一延迟电路201可以包括至少一个第一延迟单元,每个第一延迟单元之间串联连接。第二延迟电路202包括至少一个第二延迟单元,每个第二延迟单元之间串联连接。In one implementation, the first delay circuit 201 may include at least one first delay unit, each of which is connected in series. The second delay circuit 202 may include at least one second delay unit, each of which is connected in series.
例1,如图2中示出的第一延迟电路201包括第一延迟单元201-1、第一延迟单元201-2、…、第一延迟单元201-n。第一延迟单元201-1、第一延迟单元201-2、…、第一延迟单元201-n串联连接。第二延迟电路202包括第二延迟单元202-1、第二延迟单元202-2、…、第二延迟单元202-n,n为正整数。第二延迟单元202-1、第二延迟单元202-2、…、第二延迟单元202-n串联连接。Example 1: As shown in FIG. 2, the first delay circuit 201 includes a first delay unit 201-1, a first delay unit 201-2, ..., and a first delay unit 201-n. The first delay unit 201-1, the first delay unit 201-2, ..., and the first delay unit 201-n are connected in series. The second delay circuit 202 includes a second delay unit 202-1, a second delay unit 202-2, ..., and a second delay unit 202-n, where n is a positive integer. The second delay unit 202-1, the second delay unit 202-2, ..., and the second delay unit 202-n are connected in series.
其中,第一延迟单元的总数量和第二延迟单元的总数量均是基于数字时钟转换器的最大控制码字确定的。当数字时钟转换器的最大控制码字为Dm时,第一延迟单元的总数量和第二延迟单元的总数量均是Dm个。The total number of the first delay units and the total number of the second delay units are both determined based on the maximum control codeword of the digital clock converter. When the maximum control codeword of the digital clock converter is Dm, the total number of the first delay units and the total number of the second delay units are both Dm.
应注意,第一延迟电路201的延迟精度与第一延迟电路201中的每个第一延迟单元的延迟精度相关,同理,第二延迟电路202的延迟精度与第二延迟电路202中的每个第二延迟单元的延迟精度相关。例如,假设第一延迟单元201-1、第一延迟单元201-2、…、第一延迟单元201-n、第二延迟单元202-1、第二延迟单元202-2、…、第二延迟单元202-n的延迟精度均为T0,那么第一延迟电路201的延迟精度和第二延迟电路202的延迟精度均为T0。It should be noted that the delay accuracy of the first delay circuit 201 is related to the delay accuracy of each first delay unit in the first delay circuit 201, and similarly, the delay accuracy of the second delay circuit 202 is related to the delay accuracy of each second delay unit in the second delay circuit 202. For example, assuming that the delay accuracy of the first delay unit 201-1, the first delay unit 201-2, ..., the first delay unit 201-n, the second delay unit 202-1, the second delay unit 202-2, ..., the second delay unit 202-n is T0, then the delay accuracy of the first delay circuit 201 and the delay accuracy of the second delay circuit 202 are both T0.
当第一输入控制码字Din为零到数字时钟转换器的最大控制码字Dm中的任意值时,通过输入不同的Din得到数字时钟转换器电路可以实现的信号延迟调节范围。通过以下公式一可知,当Din为0时,第一延迟电路201和第二延迟电路202的信号延迟差值为-Dm*T0。当Din为Dm时,第一延迟电路201和第二延迟电路202的信号延迟差值为Dm*T0。也即Din在(0,Dm)范围内的情况下,数字时钟转换器电路可以实现的信号延迟调节范围为(-Dm*T0,Dm*T0)。这里,Tref表示第一延迟电路201的信号延迟,Tdiv表示第二延迟电路202的信号延迟。
Tref-Tdiv=T0*Din-T0*(Dm-Din)=2T0*Din-T0*Dm    公式一
When the first input control codeword Din is any value between zero and the maximum control codeword Dm of the digital clock converter, the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different Din. It can be seen from the following formula 1 that when Din is 0, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is -Dm*T0. When Din is Dm, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is Dm*T0. That is, when Din is in the range of (0, Dm), the signal delay adjustment range that can be achieved by the digital clock converter circuit is (-Dm*T0, Dm*T0). Here, Tref represents the signal delay of the first delay circuit 201, and Tdiv represents the signal delay of the second delay circuit 202.
Tref-Tdiv=T0*Din-T0*(Dm-Din)=2T0*Din-T0*Dm Formula 1
可选的,如图2所示,在上述例1的场景中,第一延迟电路201基于第一输入控制码字,确定第一延迟单元的数量后,利用确定数量的第一延迟单元,对参考时钟信号进行信号延迟处理。第二延迟电路202基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,确定第二延迟单元的数量后,利用确定数量的第二延迟单元,对反馈时钟信号进行信号延迟处理。Optionally, as shown in FIG2 , in the scenario of Example 1 above, the first delay circuit 201 determines the number of first delay units based on the first input control codeword, and then uses the determined number of first delay units to perform signal delay processing on the reference clock signal. The second delay circuit 202 determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, and then uses the determined number of second delay units to perform signal delay processing on the feedback clock signal.
例如,假设第一输入控制码字Din为2,数字时钟转换器的最大控制码字Dm为8,那么第一延迟电路201可以包括8个第一延迟单元,第二延迟电路202可以包括8个第二延迟单元。由Din为2可知,第一延迟电路201中处于正常工作状态的第一延迟单元的数量为2个。在第一延迟电路201中,通过处于工作状态的2个第一延迟单元对参考时钟信号Fref_in进行信号延迟处理,得到延迟处理后的信号Fref_out。由Din为2、Dm为8、Din和Dm的差值可知,第二延迟电路202中处于正常工作状态的第二延迟单元的数量为6个。在第二延迟电路202中,通过处于工作状态的6个第二延迟单元对反馈时钟信号Fdiv_in进行信号延迟处理,得到延迟处理后的信号Fdiv_out。图3示出了参考时钟信号Fref_in、反馈时钟信号Fdiv_in以及延迟处理后的信号Fref_out、Fdiv_out的示意图。For example, assuming that the first input control codeword Din is 2 and the maximum control codeword Dm of the digital clock converter is 8, the first delay circuit 201 may include 8 first delay units and the second delay circuit 202 may include 8 second delay units. As Din is 2, it can be seen that the number of first delay units in the first delay circuit 201 that are in a normal working state is 2. In the first delay circuit 201, the reference clock signal Fref_in is subjected to signal delay processing by the two first delay units in a working state to obtain the delayed signal Fref_out. As Din is 2, Dm is 8, and the difference between Din and Dm, it can be seen that the number of second delay units in a normal working state in the second delay circuit 202 is 6. In the second delay circuit 202, the feedback clock signal Fdiv_in is subjected to signal delay processing by the six second delay units in a working state to obtain the delayed signal Fdiv_out. FIG3 shows a schematic diagram of the reference clock signal Fref_in, the feedback clock signal Fdiv_in, and the delayed signals Fref_out and Fdiv_out.
由上面描述可知,假设数字时钟转换器的最大控制码字为Dm,数字时钟转换器电路中的第一延迟电路201和第二延迟电路202同时进行信号延迟处理过程时,第一延迟电路201中工作的第一延迟单元和第二延迟电路202中工作的第二延迟单元总数量恒定为Dm个。若每个第一延迟单元和每个第二延迟单元的工作电流均为i0,那么数字时钟转换器电路的工作电流为Dm*i0,且保持恒定不变。这样可以使得数字时钟转换器电路工作过程中,对电源的影响保持一致,有效消除电源记忆效应。图4a示出了本申请实施例提供的数字时钟转换器电路的工作电流与第一输入控制码字的对应关系示意图,图4b示出了现有技术中数字时钟转换器电路的工作电流与输入控制码字的对应关系示意图。通过图4a和图4b可以得出,相比于现有技术中数字时钟转换器电路的工作电流在(0,2Dm*i0)范围内变化来说,本申请通过保持恒定电流Dm*i0,实现消除电源记忆效应问题。As can be seen from the above description, assuming that the maximum control codeword of the digital clock converter is Dm, when the first delay circuit 201 and the second delay circuit 202 in the digital clock converter circuit simultaneously perform the signal delay processing process, the total number of the first delay unit working in the first delay circuit 201 and the second delay unit working in the second delay circuit 202 is constant to Dm. If the operating current of each first delay unit and each second delay unit is i0, then the operating current of the digital clock converter circuit is Dm*i0, and remains constant. In this way, the influence on the power supply during the operation of the digital clock converter circuit can be kept consistent, and the power supply memory effect can be effectively eliminated. Figure 4a shows a schematic diagram of the corresponding relationship between the operating current of the digital clock converter circuit provided by an embodiment of the present application and the first input control codeword, and Figure 4b shows a schematic diagram of the corresponding relationship between the operating current of the digital clock converter circuit and the input control codeword in the prior art. It can be concluded from Figures 4a and 4b that, compared with the operating current of the digital clock converter circuit in the prior art that varies within the range of (0, 2Dm*i0), the present application eliminates the power supply memory effect problem by maintaining a constant current Dm*i0.
另外,数字时钟转换器电路中的电源噪声为共模形式,因此数字时钟转换器电路对电源噪声不敏感。假设每个第一延迟单元和每个第二延迟单元对电源噪声的增益均为A,电源的低频噪声为σ2,那么第一延迟电路201和第二延迟电路202的噪声差如以下公式二所示。也即数字时钟转换器电路的最大输出噪 声为Dm*A*σ2,相比于现有技术中数字时钟转换器电路的最大输出噪声为2Dm*A*σ2来说,本申请还可以降低数字时钟转换器电路的输出噪声。
(Dm-Din)*A*σ2-Din*A*σ2=(Dm-2Din)*A*σ2    公式二
In addition, the power supply noise in the digital clock converter circuit is in common mode, so the digital clock converter circuit is insensitive to the power supply noise. Assuming that the gain of each first delay unit and each second delay unit to the power supply noise is A, and the low-frequency noise of the power supply is σ 2 , then the noise difference between the first delay circuit 201 and the second delay circuit 202 is as shown in the following formula 2. That is, the maximum output noise of the digital clock converter circuit is The maximum output noise of the digital clock converter circuit is Dm*A*σ 2 . Compared with the maximum output noise of the digital clock converter circuit in the prior art being 2Dm*A*σ 2 , the present application can also reduce the output noise of the digital clock converter circuit.
(Dm-Din)*A*σ 2 -Din*A*σ 2 =(Dm-2Din)*A*σ 2 Formula 2
本申请在保证两路延迟电路的延迟精度相同情况下,利用负反馈电路中的反馈分频器基于参考时钟信号的相位和反馈时钟信号的相位可以得到第一输入控制码字,使得两路耦合的延迟电路分别对参考时钟信号和反馈时钟信号进行信号延迟处理,进而实现消除数字时钟转换器电路的电源记忆效应,以及降低数字时钟转换器电路对电源噪声的敏感性问题。In the present application, while ensuring that the delay accuracy of the two delay circuits is the same, a feedback divider in a negative feedback circuit can be used to obtain a first input control codeword based on the phase of a reference clock signal and the phase of a feedback clock signal, so that the two coupled delay circuits perform signal delay processing on the reference clock signal and the feedback clock signal respectively, thereby eliminating the power supply memory effect of the digital clock converter circuit and reducing the sensitivity of the digital clock converter circuit to power supply noise.
可选的,在上述例1的场景中,继续介绍两路相互耦合的延迟电路分别对参考时钟信号和反馈时钟信号进行信号延迟调节的另一种实现方式:假设最大控制码字为A,偏移控制码字为A/2,第二输入控制码字为(-A/2,A/2)中的任意值,则第一延迟电路201基于第二输入控制码字和偏移控制码字的加和结果,对参考时钟信号进行信号延迟处理;第二延迟电路202基于第二输入控制码字和偏移控制码字的差值,对反馈时钟信号进行信号延迟处理。这里,A为正整数。Optionally, in the scenario of Example 1 above, another implementation method of two mutually coupled delay circuits for signal delay adjustment of the reference clock signal and the feedback clock signal is further introduced: assuming that the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2), the first delay circuit 201 performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword; the second delay circuit 202 performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword. Here, A is a positive integer.
示例性的,如图5所示,假设第一延迟电路201包括第一延迟单元201-1、第一延迟单元201-2、第一延迟单元201-3、第一延迟单元201-4,第二延迟电路202包括第二延迟单元202-1、第二延迟单元202-2、第二延迟单元202-3、第二延迟单元202-4。Exemplarily, as shown in FIG5 , it is assumed that the first delay circuit 201 includes a first delay unit 201-1, a first delay unit 201-2, a first delay unit 201-3, and a first delay unit 201-4, and the second delay circuit 202 includes a second delay unit 202-1, a second delay unit 202-2, a second delay unit 202-3, and a second delay unit 202-4.
当最大控制码字为A,偏移控制码字为A/2,第二输入控制码字D’in为(-A/2,A/2)中的任意值时,通过输入不同的D’in得到数字时钟转换器电路可以实现的信号延迟调节范围。通过以下公式三可知,当D’in为-A/2时,第一延迟电路201和第二延迟电路202的信号延迟差值为-A*T0。当D’in为A/2时,第一延迟电路201和第二延迟电路202的信号延迟差值为A*T0。也即D’in在(-A/2,A/2)范围内的情况下,数字时钟转换器电路可以实现的信号延迟调节范围为(-A*T0,A*T0)。这里,T’ref表示第一延迟电路201的信号延迟,T’div表示第二延迟电路202的信号延迟。
T’ref-T’div=T0*(D’in+A/2)-T0*(A/2-D’in)=2T0*D’in    公式三
When the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword D'in is any value in (-A/2, A/2), the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different D'in. It can be seen from the following formula 3 that when D'in is -A/2, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is -A*T0. When D'in is A/2, the signal delay difference between the first delay circuit 201 and the second delay circuit 202 is A*T0. That is, when D'in is within the range of (-A/2, A/2), the signal delay adjustment range that can be achieved by the digital clock converter circuit is (-A*T0, A*T0). Here, T'ref represents the signal delay of the first delay circuit 201, and T'div represents the signal delay of the second delay circuit 202.
T'ref-T'div=T0*(D'in+A/2)-T0*(A/2-D'in)=2T0*D'in Formula 3
根据上述描述可知,第一延迟电路201中第一延迟单元201-1、第一延迟单元201-2处于工作状态情况下,第二延迟电路202中第二延迟单元202-1、第二延迟单元202-2处于工作状态。也即第一延迟电路201中工作的第一延迟单元和第二延迟电路202中工作的第二延迟单元总数量恒定为4个,同样可以保持恒定电流A*i0,实现消除电源记忆效应问题。图6示出了本申请实施例提供的数字时钟转换器电路的工作电流与第二输入控制码字的对应关系示意图。According to the above description, when the first delay unit 201-1 and the first delay unit 201-2 in the first delay circuit 201 are in working state, the second delay unit 202-1 and the second delay unit 202-2 in the second delay circuit 202 are in working state. That is, the total number of the first delay unit working in the first delay circuit 201 and the second delay unit working in the second delay circuit 202 is constant to 4, and the constant current A*i0 can also be maintained to eliminate the power supply memory effect problem. FIG6 shows a schematic diagram of the corresponding relationship between the working current and the second input control codeword of the digital clock converter circuit provided in an embodiment of the present application.
同样的,图5示出的数字时钟转换器电路中的电源噪声为共模形式,因此对电源噪声不敏感。Likewise, the power supply noise in the digital clock converter circuit shown in FIG5 is in common mode, and therefore the circuit is insensitive to the power supply noise.
在本申请另一实施例中,还可以通过第一延迟电路201和第二延迟电路202的其他内部结构连接方式实现上述方案。In another embodiment of the present application, the above solution may also be implemented through other internal structural connection modes of the first delay circuit 201 and the second delay circuit 202 .
在一种可能的实施方式中,如图7所示,第一延迟电路201可以包括第一驱动单元203、第二驱动单元204、第一电阻205和第一可调电容206。第二延迟电路202包括第三驱动单元207、第四驱动单元208、第二电阻209和第二可调电容2020。其中,第一可调电容206的电容值调节范围和第二可调电容2020的电容值调节范围均是基于数字时钟转换器的最大控制码字确定的。In a possible implementation, as shown in FIG7 , the first delay circuit 201 may include a first driving unit 203, a second driving unit 204, a first resistor 205, and a first adjustable capacitor 206. The second delay circuit 202 includes a third driving unit 207, a fourth driving unit 208, a second resistor 209, and a second adjustable capacitor 2020. The capacitance adjustment range of the first adjustable capacitor 206 and the capacitance adjustment range of the second adjustable capacitor 2020 are both determined based on the maximum control codeword of the digital clock converter.
第一驱动单元203的第一端与第一电阻205的第一端连接,第一电阻205的第二端与第二驱动单元204的第一端、第一可调电容206的第一端连接,第一可调电容206的第二端接地,第一驱动单元203的第二端为第一延迟电路201的输入端,第二驱动单元204的第二端为第一延迟电路201的输出端。第三驱动单元207的第一端与第二电阻209的第一端连接,第二电阻209的第二端与第四驱动单元208的第一端、第二可调电容2020的第一端连接,第二可调电容2020的第二端接地,第三驱动单元207的第二端为第二延迟电路202的输入端,第四驱动单元208的第二端为第二延迟电路202的输出端。The first end of the first driving unit 203 is connected to the first end of the first resistor 205, the second end of the first resistor 205 is connected to the first end of the second driving unit 204 and the first end of the first adjustable capacitor 206, the second end of the first adjustable capacitor 206 is grounded, the second end of the first driving unit 203 is the input end of the first delay circuit 201, and the second end of the second driving unit 204 is the output end of the first delay circuit 201. The first end of the third driving unit 207 is connected to the first end of the second resistor 209, the second end of the second resistor 209 is connected to the first end of the fourth driving unit 208 and the first end of the second adjustable capacitor 2020, the second end of the second adjustable capacitor 2020 is grounded, the second end of the third driving unit 207 is the input end of the second delay circuit 202, and the second end of the fourth driving unit 208 is the output end of the second delay circuit 202.
基于第一输入控制码字,确定第一可调电容206的第一电容值后,利用第一驱动单元203、第二驱动单元204、第一电阻205和第一可调电容206的第一电容值,对参考时钟信号进行信号延迟处理。基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,确定第二可调电容2020的第二电容值后,利用第三驱动单元207、第四驱动单元208、第二电阻209和第二可调电容2020的第二电容值,对反馈时钟信号进行信号延迟处理。这里信号延迟处理示意图可参考图3,在此不再赘述。After determining the first capacitance value of the first adjustable capacitor 206 based on the first input control codeword, the reference clock signal is subjected to signal delay processing using the first driving unit 203, the second driving unit 204, the first resistor 205, and the first capacitance value of the first adjustable capacitor 206. After determining the second capacitance value of the second adjustable capacitor 2020 based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, the feedback clock signal is subjected to signal delay processing using the third driving unit 207, the fourth driving unit 208, the second resistor 209, and the second capacitance value of the second adjustable capacitor 2020. Here, the schematic diagram of signal delay processing can refer to FIG. 3, which will not be described in detail.
当第一输入控制码字Din为零到数字时钟转换器的最大控制码字Dm中的任意值时,通过输入不同的Din得到数字时钟转换器电路可以实现的信号延迟调节范围。具体实现方式可参考上述公式一对应的描述,在此不再赘述。 When the first input control codeword Din is any value between zero and the maximum control codeword Dm of the digital clock converter, the signal delay adjustment range that can be achieved by the digital clock converter circuit is obtained by inputting different Din. The specific implementation method can refer to the description corresponding to the above formula 1, which will not be repeated here.
假设数字时钟转换器的最大控制码字为Dm,那么第一可调电容206的电容值调节范围和第二可调电容2020的电容值调节范围均可以是(C1,C2),C2大于C1。数字时钟转换器电路中的第一延迟电路201和第二延迟电路202同时进行信号延迟处理过程时,第一延迟电路201中第一可调电容206的第一电容值和第二延迟电路202中第二可调电容2020的第二电容值保持恒定不变。若第一驱动单元203、第二驱动单元204、第一电阻205、第三驱动单元207、第四驱动单元208、第二电阻209的工作电流均为i0,那么数字时钟转换器电路的工作电流为Dm*i0,且保持恒定不变。这样可以使得数字时钟转换器电路工作过程中,对电源的影响保持一致,有效消除电源记忆效应。Assuming that the maximum control codeword of the digital clock converter is Dm, then the capacitance adjustment range of the first adjustable capacitor 206 and the capacitance adjustment range of the second adjustable capacitor 2020 can both be (C1, C2), and C2 is greater than C1. When the first delay circuit 201 and the second delay circuit 202 in the digital clock converter circuit simultaneously perform the signal delay processing process, the first capacitance value of the first adjustable capacitor 206 in the first delay circuit 201 and the second capacitance value of the second adjustable capacitor 2020 in the second delay circuit 202 remain constant. If the operating currents of the first drive unit 203, the second drive unit 204, the first resistor 205, the third drive unit 207, the fourth drive unit 208, and the second resistor 209 are all i0, then the operating current of the digital clock converter circuit is Dm*i0, and remains constant. In this way, the influence on the power supply during the operation of the digital clock converter circuit can be kept consistent, and the power supply memory effect can be effectively eliminated.
同样的,图7示出的数字时钟转换器电路中的电源噪声为共模形式,因此对电源噪声不敏感。Likewise, the power supply noise in the digital clock converter circuit shown in FIG. 7 is in common mode, and therefore the digital clock converter circuit is insensitive to the power supply noise.
基于上述锁相环实施例,本申请实施例还提供一种信号延迟处理方法,应用于锁相环中,该方法可以由图1中的数字时钟转换器电路101执行。如图8所示,本申请提供的方法包括如下步骤:Based on the above phase-locked loop embodiment, the embodiment of the present application further provides a signal delay processing method, which is applied to the phase-locked loop. The method can be performed by the digital clock converter circuit 101 in Figure 1. As shown in Figure 8, the method provided by the present application includes the following steps:
S801:第一延迟电路接收外部设备输入的参考时钟信号和第一输入控制码字后,基于第一输入控制码字,对参考时钟信号进行信号延迟处理;S801: After receiving a reference clock signal and a first input control codeword inputted from an external device, a first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword;
S802:第二延迟电路接收锁相环的负反馈电路基于锁相环反馈的反馈时钟信号和第一输入控制码字后,基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,对反馈时钟信号进行信号延迟处理;S802: After receiving the feedback clock signal fed back by the negative feedback circuit of the phase-locked loop based on the phase-locked loop and the first input control codeword, the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter;
其中,第一延迟电路和第二延迟电路的延迟精度相同,第一输入控制码字是负反馈电路中的反馈分频器基于参考时钟信号的相位、反馈时钟信号的相位确定的。The delay accuracy of the first delay circuit and the second delay circuit is the same, and the first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
一种可能的设计中,第一延迟电路包括至少一个第一延迟单元;In one possible design, the first delay circuit includes at least one first delay unit;
步骤S801中第一延迟电路基于第一输入控制码字,对参考时钟信号进行信号延迟处理,包括:In step S801, the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including:
第一延迟电路基于第一输入控制码字,确定第一延迟单元的数量;The first delay circuit determines the number of first delay units based on the first input control codeword;
利用确定数量的第一延迟单元,对参考时钟信号进行信号延迟处理。A signal delay process is performed on the reference clock signal by using a determined number of first delay units.
一种可能的设计中,第一延迟单元的总数量是基于数字时钟转换器的最大控制码字确定的。In one possible design, the total number of first delay units is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,第二延迟电路包括至少一个第二延迟单元;In one possible design, the second delay circuit includes at least one second delay unit;
步骤S802中第二延迟电路基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,对反馈时钟信号进行信号延迟处理,包括:In step S802, the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including:
第二延迟电路基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,确定第二延迟单元的数量;The second delay circuit determines the number of second delay units based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter;
利用确定数量的第二延迟单元,对反馈时钟信号进行信号延迟处理。The feedback clock signal is subjected to signal delay processing by utilizing a determined number of second delay units.
一种可能的设计中,第二延迟单元的总数量是基于数字时钟转换器的最大控制码字确定的。In one possible design, the total number of the second delay units is determined based on a maximum control codeword of the digital clock converter.
一种可能的设计中,第一延迟电路包括第一驱动单元、第二驱动单元、第一电阻和第一可调电容;In one possible design, the first delay circuit includes a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor;
步骤S801中第一延迟电路基于第一输入控制码字,对参考时钟信号进行信号延迟处理,包括:In step S801, the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword, including:
第一延迟电路基于第一输入控制码字,确定第一可调电容的第一电容值;The first delay circuit determines a first capacitance value of the first adjustable capacitor based on the first input control codeword;
利用第一驱动单元、第一电阻、第一电容值和第二驱动单元,对参考时钟信号进行信号延迟处理。The reference clock signal is subjected to signal delay processing by utilizing the first driving unit, the first resistor, the first capacitance and the second driving unit.
一种可能的设计中,第一可调电容的电容值调节范围是基于数字时钟转换器的最大控制码字确定的。In a possible design, the capacitance adjustment range of the first adjustable capacitor is determined based on a maximum control code word of the digital clock converter.
一种可能的设计中,第二延迟电路包括第三驱动单元、第四驱动单元、第二电阻和第二可调电容;In one possible design, the second delay circuit includes a third driving unit, a fourth driving unit, a second resistor, and a second adjustable capacitor;
步骤S802中第二延迟电路基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,对反馈时钟信号进行信号延迟处理,包括:In step S802, the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, including:
第二延迟电路基于第一输入控制码字与数字时钟转换器的最大控制码字的差值,确定第二可调电容的第二电容值;The second delay circuit determines a second capacitance value of the second adjustable capacitor based on a difference between the first input control codeword and a maximum control codeword of the digital clock converter;
利用第三驱动单元、第二电阻、第二电容值和第四驱动单元,对反馈时钟信号进行信号延迟处理。The third driving unit, the second resistor, the second capacitor and the fourth driving unit are used to perform signal delay processing on the feedback clock signal.
一种可能的设计中,第二可调电容的电容值调节范围是基于数字时钟转换器的最大控制码字确定的。In a possible design, the capacitance adjustment range of the second adjustable capacitor is determined based on a maximum control code word of the digital clock converter.
一种可能的设计中,最大控制码字为A,偏移控制码字为A/2,第二输入控制码字为(-A/2,A/2)中的任意值时;A为正整数;方法还包括:In a possible design, when the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2); A is a positive integer; the method further includes:
第一延迟电路基于第二输入控制码字和偏移控制码字的加和结果,对参考时钟信号进行信号延迟处理;The first delay circuit performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword;
第二延迟电路基于第二输入控制码字和偏移控制码字的差值,对反馈时钟信号进行信号延迟处理。The second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
本申请的一实施例中,提供了一种芯片,包括上述任一可能设计中的锁相环;锁相环中的数字时钟转换器电路和负反馈电路均集成在同一芯片。 In one embodiment of the present application, a chip is provided, comprising a phase-locked loop in any possible design described above; a digital clock converter circuit and a negative feedback circuit in the phase-locked loop are integrated on the same chip.
本申请的一实施例中,还提供了一种电子设备,包括:电路板和上述任一可能设计中的芯片,芯片设置于电路板上。In one embodiment of the present application, an electronic device is further provided, comprising: a circuit board and a chip in any of the possible designs described above, wherein the chip is disposed on the circuit board.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机指令,当计算机指令被数字时钟转换器电路执行时,可以使得图8所示的信号延迟处理方法被执行。An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by the digital clock converter circuit, the signal delay processing method shown in FIG. 8 can be executed.
本申请实施例还提供一种计算机程序产品,包括计算机指令,当计算机指令被数字时钟转换器电路执行时,可以使得图8所示的信号延迟处理方法被执行。The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by the digital clock converter circuit, the signal delay processing method shown in Figure 8 can be executed.
也就是说,本申请提供的信号延迟处理方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序代码在计算机设备上或电路产品上运行时,程序代码用于使计算机设备执行本说明书上述描述的信号延迟处理方法中的步骤。That is to say, various aspects of the signal delay processing method provided in the present application can also be implemented in the form of a program product, which includes program code. When the program code is run on a computer device or a circuit product, the program code is used to enable the computer device to execute the steps in the signal delay processing method described above in this specification.
此外,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and/or one step may be decomposed into multiple steps.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (15)

  1. 一种锁相环,其特征在于,所述锁相环至少包括:数字时钟转换器电路和负反馈电路;其中,所述数字时钟转换器电路包括:第一延迟电路和第二延迟电路;所述第一延迟电路和所述第二延迟电路的延迟精度相同;A phase-locked loop, characterized in that the phase-locked loop at least comprises: a digital clock converter circuit and a negative feedback circuit; wherein the digital clock converter circuit comprises: a first delay circuit and a second delay circuit; the delay accuracy of the first delay circuit and the second delay circuit are the same;
    所述第一延迟电路,用于接收外部设备输入的参考时钟信号和第一输入控制码字;基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理;The first delay circuit is used to receive a reference clock signal and a first input control codeword inputted from an external device; and perform signal delay processing on the reference clock signal based on the first input control codeword;
    所述第二延迟电路,用于接收所述负反馈电路基于所述锁相环反馈的反馈时钟信号和所述第一输入控制码字;基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理;The second delay circuit is used to receive the feedback clock signal fed back by the negative feedback circuit based on the phase-locked loop and the first input control codeword; based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter, perform signal delay processing on the feedback clock signal;
    其中,所述第一输入控制码字是所述负反馈电路中的反馈分频器基于所述参考时钟信号的相位、所述反馈时钟信号的相位确定的。The first input control codeword is determined by a feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  2. 如权利要求1所述的锁相环,其特征在于,所述第一延迟电路包括至少一个第一延迟单元;每个第一延迟单元之间串联连接;The phase-locked loop according to claim 1, characterized in that the first delay circuit comprises at least one first delay unit; each of the first delay units is connected in series;
    所述基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理,具体用于:The performing signal delay processing on the reference clock signal based on the first input control codeword is specifically used for:
    基于所述第一输入控制码字,确定所述第一延迟单元的数量;Determining the number of the first delay units based on the first input control codeword;
    利用确定数量的第一延迟单元,对所述参考时钟信号进行信号延迟处理。The reference clock signal is subjected to signal delay processing by using a determined number of first delay units.
  3. 如权利要求2所述的锁相环,其特征在于,所述第一延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。The phase-locked loop of claim 2, wherein the total number of the first delay units is determined based on a maximum control codeword of the digital clock converter.
  4. 如权利要求1-3任一所述的锁相环,其特征在于,所述第二延迟电路包括至少一个第二延迟单元;每个第二延迟单元之间串联连接;The phase-locked loop according to any one of claims 1 to 3, characterized in that the second delay circuit comprises at least one second delay unit; each second delay unit is connected in series;
    所述基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理,具体用于:The signal delay processing of the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter is specifically used for:
    基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二延迟单元的数量;determining the number of the second delay units based on a difference between the first input control codeword and a maximum control codeword of the digital clock converter;
    利用确定数量的第二延迟单元,对所述反馈时钟信号进行信号延迟处理。The feedback clock signal is subjected to signal delay processing by using a determined number of second delay units.
  5. 如权利要求4所述的锁相环,其特征在于,所述第二延迟单元的总数量是基于所述数字时钟转换器的最大控制码字确定的。The phase-locked loop of claim 4, wherein the total number of the second delay units is determined based on a maximum control codeword of the digital clock converter.
  6. 如权利要求1所述的锁相环,其特征在于,所述第一延迟电路包括第一驱动单元、第二驱动单元、第一电阻和第一可调电容;The phase-locked loop according to claim 1, wherein the first delay circuit comprises a first driving unit, a second driving unit, a first resistor and a first adjustable capacitor;
    所述第一驱动单元的第一端与所述第一电阻的第一端连接,所述第一电阻的第二端与所述第二驱动单元的第一端、所述第一可调电容的第一端连接,所述第一可调电容的第二端接地,所述第一驱动单元的第二端为所述第一延迟电路的输入端,所述第二驱动单元的第二端为所述第一延迟电路的输出端;A first end of the first driving unit is connected to a first end of the first resistor, a second end of the first resistor is connected to a first end of the second driving unit and a first end of the first adjustable capacitor, a second end of the first adjustable capacitor is grounded, a second end of the first driving unit is an input end of the first delay circuit, and a second end of the second driving unit is an output end of the first delay circuit;
    所述基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理,具体用于:The performing signal delay processing on the reference clock signal based on the first input control codeword is specifically used for:
    基于所述第一输入控制码字,确定所述第一可调电容的第一电容值;Determining a first capacitance value of the first adjustable capacitor based on the first input control codeword;
    利用所述第一驱动单元、所述第一电阻、所述第一电容值和所述第二驱动单元,对所述参考时钟信号进行信号延迟处理。The reference clock signal is subjected to signal delay processing by utilizing the first driving unit, the first resistor, the first capacitance and the second driving unit.
  7. 如权利要求6所述的锁相环,其特征在于,所述第一可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。The phase-locked loop according to claim 6, wherein the capacitance adjustment range of the first adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
  8. 如权利要求1、6和7任一所述的锁相环,其特征在于,所述第二延迟电路包括第三驱动单元、第四驱动单元、第二电阻和第二可调电容; The phase-locked loop according to any one of claims 1, 6 and 7, characterized in that the second delay circuit comprises a third driving unit, a fourth driving unit, a second resistor and a second adjustable capacitor;
    所述第三驱动单元的第一端与所述第二电阻的第一端连接,所述第二电阻的第二端与所述第四驱动单元的第一端、所述第二可调电容的第一端连接,所述第二可调电容的第二端接地,所述第三驱动单元的第二端为所述第二延迟电路的输入端,所述第四驱动单元的第二端为所述第二延迟电路的输出端;The first end of the third driving unit is connected to the first end of the second resistor, the second end of the second resistor is connected to the first end of the fourth driving unit and the first end of the second adjustable capacitor, the second end of the second adjustable capacitor is grounded, the second end of the third driving unit is the input end of the second delay circuit, and the second end of the fourth driving unit is the output end of the second delay circuit;
    所述基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理,具体用于:The signal delay processing of the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter is specifically used for:
    基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,确定所述第二可调电容的第二电容值;Determining a second capacitance value of the second adjustable capacitor based on a difference between the first input control codeword and a maximum control codeword of the digital clock converter;
    利用所述第三驱动单元、所述第二电阻、所述第二电容值和所述第四驱动单元,对所述反馈时钟信号进行信号延迟处理。The third driving unit, the second resistor, the second capacitance and the fourth driving unit are used to perform signal delay processing on the feedback clock signal.
  9. 如权利要求8所述的锁相环,其特征在于,所述第二可调电容的电容值调节范围是基于所述数字时钟转换器的最大控制码字确定的。The phase-locked loop according to claim 8, wherein the capacitance adjustment range of the second adjustable capacitor is determined based on a maximum control codeword of the digital clock converter.
  10. 如权利要求1-9任一所述的锁相环,其特征在于,所述第一输入控制码字为零到所述数字时钟转换器的最大控制码字中的任意值。The phase-locked loop according to any one of claims 1 to 9, characterized in that the first input control codeword is any value between zero and the maximum control codeword of the digital clock converter.
  11. 如权利要求1-10任一所述的锁相环,其特征在于,所述最大控制码字为A,偏移控制码字为A/2,所述第二输入控制码字为(-A/2,A/2)中的任意值时;A为正整数;The phase-locked loop according to any one of claims 1 to 10, characterized in that when the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2); A is a positive integer;
    所述第一延迟电路,还用于基于所述第二输入控制码字和所述偏移控制码字的加和结果,对所述参考时钟信号进行信号延迟处理;The first delay circuit is further used to perform signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword;
    所述第二延迟电路,还用于基于所述第二输入控制码字和所述偏移控制码字的差值,对所述反馈时钟信号进行信号延迟处理。The second delay circuit is further used to perform signal delay processing on the feedback clock signal based on the difference between the second input control codeword and the offset control codeword.
  12. 一种芯片,其特征在于,包括:如权利要求1-11任一所述的锁相环;所述锁相环中的所述数字时钟转换器电路和所述负反馈电路均集成在同一芯片。A chip, characterized in that it comprises: a phase-locked loop as described in any one of claims 1 to 11; the digital clock converter circuit and the negative feedback circuit in the phase-locked loop are integrated on the same chip.
  13. 一种电子设备,其特征在于,包括:电路板和如权利要求12所述的芯片,所述芯片设置于所述电路板上。An electronic device, comprising: a circuit board and the chip according to claim 12, wherein the chip is arranged on the circuit board.
  14. 一种信号延迟处理方法,其特征在于,应用于如权利要求1-11任一所述的锁相环,所述方法包括:A signal delay processing method, characterized in that it is applied to a phase-locked loop as claimed in any one of claims 1 to 11, and the method comprises:
    第一延迟电路接收外部设备输入的参考时钟信号和第一输入控制码字后,基于所述第一输入控制码字,对所述参考时钟信号进行信号延迟处理;After receiving the reference clock signal and the first input control codeword inputted by the external device, the first delay circuit performs signal delay processing on the reference clock signal based on the first input control codeword;
    第二延迟电路接收所述锁相环的负反馈电路基于所述锁相环反馈的反馈时钟信号和所述第一输入控制码字后,基于所述第一输入控制码字与所述数字时钟转换器的最大控制码字的差值,对所述反馈时钟信号进行信号延迟处理;After receiving the feedback clock signal fed back by the negative feedback circuit of the phase-locked loop based on the phase-locked loop and the first input control codeword, the second delay circuit performs signal delay processing on the feedback clock signal based on the difference between the first input control codeword and the maximum control codeword of the digital clock converter;
    其中,所述第一延迟电路和所述第二延迟电路的延迟精度相同,所述第一输入控制码字是所述负反馈电路中的反馈分频器基于所述参考时钟信号的相位、所述反馈时钟信号的相位确定的。The delay accuracy of the first delay circuit and the second delay circuit is the same, and the first input control codeword is determined by the feedback divider in the negative feedback circuit based on the phase of the reference clock signal and the phase of the feedback clock signal.
  15. 如权利要求14所述的方法,其特征在于,所述最大控制码字为A,偏移控制码字为A/2,所述第二输入控制码字为(-A/2,A/2)中的任意值时;A为正整数;所述方法还包括:The method according to claim 14, characterized in that when the maximum control codeword is A, the offset control codeword is A/2, and the second input control codeword is any value in (-A/2, A/2); A is a positive integer; the method further comprises:
    所述第一延迟电路基于所述第二输入控制码字和所述偏移控制码字的加和结果,对所述参考时钟信号进行信号延迟处理;The first delay circuit performs signal delay processing on the reference clock signal based on the sum of the second input control codeword and the offset control codeword;
    所述第二延迟电路基于所述第二输入控制码字和所述偏移控制码字的差值,对所述反馈时钟信号进行信号延迟处理。 The second delay circuit performs signal delay processing on the feedback clock signal based on a difference between the second input control codeword and the offset control codeword.
PCT/CN2023/103485 2022-11-04 2023-06-28 Phase-locked loop and signal delay processing method WO2024093297A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211379473.8 2022-11-04
CN202211379473.8A CN117997336A (en) 2022-11-04 2022-11-04 Phase-locked loop and signal delay processing method

Publications (1)

Publication Number Publication Date
WO2024093297A1 true WO2024093297A1 (en) 2024-05-10

Family

ID=90898007

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/103485 WO2024093297A1 (en) 2022-11-04 2023-06-28 Phase-locked loop and signal delay processing method

Country Status (2)

Country Link
CN (1) CN117997336A (en)
WO (1) WO2024093297A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160373120A1 (en) * 2015-06-22 2016-12-22 Silicon Laboratories Inc. Calibration of digital-to-time converter
CN110224697A (en) * 2019-06-18 2019-09-10 苏州兆凯电子有限公司 A kind of phase lock loop locks method, circuit and transceiver communication system
CN110350912A (en) * 2018-04-06 2019-10-18 三星电子株式会社 Clock signal generators, phase-locked loop circuit and operating method and wireless telecom equipment
US11387833B1 (en) * 2021-09-03 2022-07-12 Qualcomm Incorporated Differential digital-to-time converter for even-order INL cancellation and supply noise/disturbance rejection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160373120A1 (en) * 2015-06-22 2016-12-22 Silicon Laboratories Inc. Calibration of digital-to-time converter
CN110350912A (en) * 2018-04-06 2019-10-18 三星电子株式会社 Clock signal generators, phase-locked loop circuit and operating method and wireless telecom equipment
CN110224697A (en) * 2019-06-18 2019-09-10 苏州兆凯电子有限公司 A kind of phase lock loop locks method, circuit and transceiver communication system
US11387833B1 (en) * 2021-09-03 2022-07-12 Qualcomm Incorporated Differential digital-to-time converter for even-order INL cancellation and supply noise/disturbance rejection

Also Published As

Publication number Publication date
CN117997336A (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US10831159B2 (en) Apparatus for time-to-digital converters and associated methods
KR101515737B1 (en) Two point modulation digital phase locked loop
US10763869B2 (en) Apparatus for digital frequency synthesizers and associated methods
US11817868B2 (en) Apparatus for digital frequency synthesizer with sigma-delta modulator and associated methods
US10911037B2 (en) Systems and methods for phase synchronization of local oscillator paths in oscillator-operated circuits
US8433024B2 (en) Spread spectrum clock generator and method for adjusting spread amount
JP4620931B2 (en) Noise shaping and digital frequency synthesis
US20120013407A1 (en) Method and system for compensation of frequency pulling in an all digital phase lock loop
TW201041313A (en) Digital phase-locked loop circuit including a phase delay quantizer and method of use
CN101572543A (en) Method and device for stabilizing clock
US6943598B2 (en) Reduced-size integrated phase-locked loop
US7176821B1 (en) Reduced area digital sigma-delta modulator
JPH02198224A (en) Frequency deviding circuit device
US7071787B2 (en) Method and apparatus for the reduction of phase noise
WO2024093297A1 (en) Phase-locked loop and signal delay processing method
US11424748B1 (en) Modified PID loop filter to suppress high frequency noise in digital phase locked loop
US10944409B2 (en) Phase-locked loop and method for the same
KR102435183B1 (en) Frequency Locked Loops, Electronic Devices, and Frequency Generation Methods
US10236889B1 (en) Multi-GHz fully synthesizable CMOS fractional divider
JP2006515724A (en) Frequency lock loop with improved stability
JP2006186576A (en) Phase-locked loop type frequency synthesizer
JP2005033581A (en) Phase synchronization loop type frequency synthesizer of fractional-n method
JP2005303996A (en) Frequency modulating device
TW202223585A (en) System-on-chip device, spread spectrum clock generator and discrete-time loop filtering method thereof
Akhmetov et al. Functional simulation of frequency synthesizer with Simulink software