Self-calibrating frequency quadrupler circuit and method thereof
10224936 ยท 2019-03-05
Assignee
Inventors
Cpc classification
H03L7/141
ELECTRICITY
International classification
Abstract
An apparatus comprises: a main frequency quadrupler configured to receive a first clock and output a second clock of a quadruple frequency in accordance with a first control signal and a second control signal, wherein a timing difference between a first rising edge and a second rising edge of the second clock is controlled by the second control signal, and a timing difference between the first rising edge and a third rising edge of the second clock is controlled by the first control signal; an auxiliary frequency quadrupler configured to receive the first clock and output a third clock of the quadruple frequency with a timing offset controlled a third control signal; and a calibration circuit configured to generate and output the first control signal, the second control signal, and the third control signal in accordance with a timing difference between the second clock and the third clock.
Claims
1. An apparatus comprising: a main frequency quadrupler configured to receive a first clock and output a second clock in accordance with a first control signal and a second control signal, wherein a timing difference between a first rising edge and a second rising edge of the second clock is controlled by the second control signal, and a timing difference between the first rising edge and a third rising edge of the second clock is controlled by the first control signal; an auxiliary frequency quadrupler configured to receive the first clock and output a third clock of the quadruple frequency, wherein a static timing offset between the second clock and the third clock is controlled by a third control signal; and a calibration circuit, coupled to the auxiliary frequency quadrupler via the third clock signal, is configured to generate and output the first control signal, the second control signal, and the third control signal in accordance with a timing difference between the second clock and the third clock.
2. The apparatus of claim 1, wherein the main frequency quadrupler sets a first rising edge of the second clock based on the rising edge of the first clock with a fixed delay, sets the second rising edge of the second clock based on the first rising edge of the second clock with a delay controlled by the second control signal, sets the third rising edge of the second clock based on a falling edge of the first clock with a delay controlled by the first control signal, and sets a fourth rising edge of the second clock based on the third rising edge of the second clock with a delay controlled by the second control signal.
3. The apparatus of claim 1, wherein the auxiliary frequency quadrupler comprises a phase lock loop.
4. An apparatus comprising: a main frequency quadrupler configured to receive a first clock of a fundamental frequency and output a second clock of a quadruple frequency in accordance with a first control signal and a second control signal, wherein a first rising edge of the second clock is set in response to a rising edge of the first clock, a second rising edge of the second clock is set in response to the first rising edge of the second clock with a delay controlled by the second control signal, a third rising edge of the second clock is set in response to a falling edge of the first clock with a delay controlled by the first control signal, and a fourth rising edge of the second clock is set in response to the third rising edge of the second clock with a delay controlled by the second control signal; an auxiliary frequency quadrupler configured to receive the first clock and output a third clock of a quadruple frequency based on a phase lock loop, wherein a static timing offset between the third clock and the second clock is controlled by a third control signal; a calibration circuit, coupled to the auxiliary frequency quadrupler via the third clock signal, is configured to generate and output the first control signal, the second control signal, and the third control signal in accordance with a timing difference between the third clock and the second clock.
5. The apparatus of claim 4, wherein the calibration circuit adjusts the third control signal in accordance with a timing difference between the first rising edge of the second clock and a first rising edge of the third clock following the rising edge of the first clock.
6. The apparatus of claim 4, wherein the calibration circuit adjusts the second control signal in accordance with a timing difference between the second rising edge of the second clock and a second rising edge of the third clock.
7. The apparatus of claim 4, wherein the calibration circuit adjusts the first control signal in accordance with a timing difference between the third rising edge of the second clock and a third rising edge of the third clock.
8. The apparatus of claim 4, wherein the main frequency quadrupler comprises: a two-phase clock generator configured to receive the first clock and output a two-phase fourth clock in accordance with the first control signal, wherein a relative timing difference between a first phase and a second phase of the two-phase fourth clock is controlled by the first control signal; a two-phase frequency doubler configured to receive the two-phase fourth clock and output a fifth clock in accordance with the second control signal, wherein a pulse width of the fifth clock is controlled by the second control signal; and a single-phase frequency doubler configured to receive the fifth clock and output the second clock.
9. The apparatus of claim 4, wherein the auxiliary frequency quadrupler comprises a phase lock loop configured to receive the first clock and output a sixth clock, and a variable delay circuit configured to receive the sixth clock and output the third clock in accordance with the third control signal.
10. A method comprising: receiving a first clock; generating a first control signal, a second control signal, and a third control signal; establishing a first rising edge of a second clock of a quadruple frequency based on a rising edge of the first clock; establishing a second rising edge of the second clock based on the first rising edge of the second clock with a delay of an amount controlled by the second control signal; establishing a third rising edge of the second clock based on an inversion of a falling edge of the first clock with a delay of an amount controlled by the first control signal; establishing a fourth rising edge of the second clock based on the third rising edge of the second clock with a delay of an amount controlled by the second control signal; generating a third clock of the quadruple frequency using a phase lock loop, wherein a static timing offset between the third clock and the second clock is controlled by the third control signal; adjusting the third control signal in accordance with a timing difference between a first rising edge of the third clock and the first rising edge of the second clock; adjusting the second control signal in accordance with a timing difference between a second rising edge of the third clock and the second rising edge of the second clock; and adjusting the first control signal in accordance with a timing difference between a third rising edge of the third clock and the third rising edge of the second clock.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF THIS DISCLOSURE
(9) The present disclosure is directed to frequency quadrupler and method of frequency quadrupling. While the specification describes several example embodiments of the disclosure considered favorable modes of practicing the disclosure, it should be understood that the disclosure can be implemented in many ways and is not limited to the particular examples described below or to the particular manner in which any features of such examples are implemented. In other instances, well-known details are not shown or described to avoid obscuring aspects of the disclosure.
(10) Persons of ordinary skill in the art understand terms and basic concepts related to microelectronics that are used in this disclosure, such as CMOS (complementary metal oxide semiconductor), PMOS (P-channel metal oxide semiconductor) transistor, NMOS (N-channel metal oxide semiconductor) transistor, clock, phase, signal, frequency, period, data flip flop, inverter, and phase lock loop. Terms and basic concepts like these are well known and understood to those of ordinary skill in the art and thus will not be explained in detail here. Those of ordinary skill in the art will also recognize circuit symbols, such as symbols of PMOS transistor and NMOS transistor, and understand what nodes comprise the source, the gate, and the drain terminals thereof. Therefore, symbols like these are not defined or described herein.
(11) This disclosure is presented in a vernacular understood by persons skilled in the art. For instance, A is equal to B means a difference between A and B is smaller than an engineering tolerance; A aligns with B in timing means a timing difference between A and B is smaller than an engineering tolerance. That is, phrases like A is equal to B is in terms of a practical/engineering sense, as opposed a theoretical mathematical sense.
(12) Throughout this disclosure, a bus notation widely used in prior art is used. For instance, A[3:0] denotes a bus of width four and includes four constituent signals A[0], A[1], A[2], and A[3].
(13) A functional block diagram of a self-calibrating frequency quadrupler 200 in accordance with an embodiment of the present disclosure is depicted in
(14) The main frequency quadrupler 210 comprises: a TPCG (two-phase clock generator) 211 configured to receive S.sub.1 and output a two-phase, fourth clock S.sub.4 [1:0] in accordance with C.sub.1; a TPFD (two-phase frequency doubler) 212 configured to receive S.sub.4 [1:0] and output a fifth clock S.sub.5 in accordance with C.sub.2; and a SPFD (single-phase frequency doubler) 213 configured to receive S.sub.5 and output S.sub.2. For each cycle of S.sub.1, TPCG 211 generates one associated cycle of S.sub.4[0] and one associated cycle of S.sub.4[1]. For each rising edge of S.sub.1, TPCG 211 generates an associated rising edge of S.sub.4[0] after a delay of a first amount t.sub.d1. For each falling edge of S.sub.1, TPCG 211 generates an associated rising edge of S.sub.4 [1] after a delay of a second amount t.sub.d2. A difference between t.sub.d2 and t.sub.d1 is a property of TPCG 211 that is controlled by C.sub.1. For each cycle of S.sub.4[0] and the associated cycle of S.sub.4[1], TPFD 212 generates two cycles of S.sub.5, including a first and a second cycle, wherein the first cycle starts upon a rising edge adopted from a rising edge of said cycle of S.sub.4[0] and follows with a falling edge after a delay of a third amount t.sub.d3, while the second cycle starts upon a rising edge adopted from a rising edge of said cycle of S.sub.4 [1] and follows with a falling edge after a delay of the third amount t.sub.d3. Here, the third amount t.sub.d3 is a property of TPFD 212 that is controlled by C.sub.2. For each cycle of S.sub.5, SPFD 213 generates two cycles of S.sub.2, including a first and a second cycle, wherein the first cycle starts upon a rising edge adopted from a rising edge of said cycle of S.sub.5, while the second cycle starts upon a rising edge adopted from a falling edge of said cycle of S.sub.5.
(15) An illustrative timing diagram is depicted in
(16) A schematic diagram of a TPCG (two-phase clock generator) 400 suitable for embodying TPCG 211 of
(17) A schematic diagram of a TPFD 500 suitable for embodying TPFD 212 of
(18) In an embodiment, non-inverting buffer 571 comprises an even number of inverters configured in a cascade topology (see the non-inverting buffer 410 of
(19) An illustrative timing diagram of TPFD 500 is shown inside callbox 540. Initially S.sub.p is 0, and thus S.sub.5 is selected from S.sub.4[0], and rising edge 541 of S.sub.4[0] at t.sub.51 turns into rising edge 542 of S.sub.5, which traverses VDC 570 and turns into rising edge 543 of S.sub.d1 at t.sub.52 after a delay of t.sub.d3, triggering DFF 521 to toggle S.sub.p to 1. Once S.sub.p toggles to 1, S.sub.5 is selected from S.sub.4[1] and transitions into 0, resulting in falling edge 544. Then, S.sub.5 stays low until the arrival of rising edge 545 of S.sub.4 [1] (at t.sub.53), which turns into rising edge 546 of S.sub.5, which traverses VDC 570 and turns into rising edge 547 of S.sub.d1 (at t.sub.54) after a delay of t.sub.d3, triggering DFF 521 to toggle S.sub.p to 0. Once S.sub.p toggles to 0, S.sub.5 is selected from S.sub.4[0] and transitions into 0, resulting in falling edge 548. This completes a full cycle of frequency doubling, followed by a next full cycle starting upon a next rising edge 549 of S.sub.4[0] at t.sub.55.
(20) A schematic diagram of a SPFD (single-phase frequency doubler) 600 suitable for embodying SPFD 213 of
(21) Auxiliary frequency doubler 220 comprises a PLL 221 configured to receive S.sub.1 and output a sixth clock S.sub.6, and a VDC (variable delay circuit) 222 configured to receive the sixth clock S.sub.6 and output S.sub.3 in accordance with C.sub.3. PLL 221 can be embodied by instantiating PLL 150 of
(22) Calibration circuit 230 comprises a phase detector 231 configured to receive S.sub.2 and S.sub.3 and output a phase error signal E.sub.p [3:0], and a DSP (digital signal processing) unit 232 configured to receive E.sub.p[3:0] and output C.sub.1, C.sub.2, and C.sub.3. In response to each rising edge of S.sub.1, four rising edges of S.sub.2, including a first, a second, a third, and a fourth, are generated by the main frequency quadrupler 210. Meanwhile, four rising edges of S.sub.3, including a first, a second, a third, and a fourth, are generated by the auxiliary frequency quadrupler 220. Phase detector 231 is employed to detect a timing difference between said four rising edges of S.sub.2 and said four rising edges of S.sub.3. A schematic diagram of a phase detector 700 that can be used to embody phase detector 231 is shown in
(23) In an embodiment, DSP unit 232 collects many (say one million, by way of example but not limitation) samples of E.sub.p [1]. If it sees E.sub.p [1] has more samples of 1 (0) than 0 (1), it suggests a timing of the second rising edge of S.sub.2 is too late (early); in this case, DSP unit 232 will increment (decrement) a value of C.sub.2, thus decrement (increment) a value of t.sub.d3 to advance (delay) a timing of the second rising edge of S.sub.2. In a steady state where the second rising edge of S.sub.3 aligns with the second rising edge of S.sub.2 in an average sense, a mean timing difference between the first rising edge and the second rising edge of S.sub.2 will be T/4, since a mean timing difference between the first rising edge and the second rising edge of S.sub.3 is T/4 due to the phase locking function of PLL 221. As such, a timing of the second rising edge of S.sub.2 is calibrated. In addition, a timing of the fourth rising edge of S.sub.2 is also calibrated. In another embodiment, E.sub.p [3], instead of E.sub.p [1], is used to adjust C.sub.2. In yet another embodiment, a combination of both E.sub.p[1] and E.sub.p [3] is used to adjust C.sub.2.
(24) An advantage of self-calibration frequency quadrupler of
(25) As shown in a flow diagram 800 depicted in
(26) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the disclosure. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.