Quadrature phase calibration circuit, method of operating a quadrature phase calibration circuit, and chip

By using two voltage circuits to dynamically adjust the input threshold and accurately locate the flip point in multiple calibration stages in the quadrature phase calibration circuit, the problem of insufficient calibration accuracy in the prior art is solved, and higher signal transmission stability and accuracy are achieved.

CN121173261BActive Publication Date: 2026-04-10SHANGHAI BIREN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing quadrature phase calibration techniques cannot meet the calibration accuracy requirements in high-speed transmission and large-scale data processing scenarios. Fixed thresholds cause amplitude fluctuation interference, the decision point of the comparator circuit deviates from the theoretical midpoint, the systematic phase measurement error is serious, and the uncertainty of the comparator circuit output and DC deviation affect the calibration accuracy.

Method used

Two voltage circuits are used to dynamically adjust the input threshold of the comparator circuit. Differential pair signals are used to improve the interference of the comparator circuit. Combined with multiple calibration stages to accurately locate the flip point, the state machine circuit is used to adjust the code word signal of the delay circuit to achieve accurate phase calibration.

Benefits of technology

The calibration accuracy of the quadrature phase calibration circuit is improved, the system's adaptability to external changes is enhanced, amplitude fluctuation interference is reduced, and the stability and accuracy of signal transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121173261B_ABST
    Figure CN121173261B_ABST
Patent Text Reader

Abstract

The application provides a quadrature phase calibration circuit, an operation method of the quadrature phase calibration circuit and a chip, and relates to the field of artificial intelligence chips. The quadrature phase calibration circuit comprises a delay circuit, a first voltage regulating circuit and a second voltage regulating circuit, a comparator circuit and a state machine circuit. A signal input end is connected with a first input end of the delay circuit, and the latter sends its output to the first and second voltage regulating circuits respectively. The calibration ends of the two voltage regulating circuits are fed back to the signal input end, and their outputs are fed into the comparator circuit together and form a pair of differential signals. The decision result output by the comparator circuit is sent into the state machine circuit for analysis, and the state machine circuit generates corresponding control signals which are fed back to the second input end of the delay circuit, thereby forming a complete closed-loop regulation system. The application aims to improve the problem that the existing quadrature phase calibration scheme cannot meet the calibration accuracy requirement.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of artificial intelligence chips, in particular to a quadrature phase calibration circuit, an operation method of the quadrature phase calibration circuit and a chip. BACKGROUND

[0002] With the rapid development of artificial intelligence, the total amount of data processing is increasing, and the requirement for data transmission rate is also increasing. In the process of high-speed transmission, high-precision phase calibration technology is needed to ensure high-quality signal transmission. Through quadrature phase calibration, the interference caused by amplitude fluctuation and noise can be effectively eliminated, ensuring the accuracy and stability of the signal in the transmission process, and thus improving the performance and accuracy of the entire system.

[0003] However, the current quadrature phase calibration technology cannot meet the application requirements in the high-speed transmission and large-scale data processing scenarios in terms of calibration accuracy. SUMMARY

[0004] The embodiments disclosed in the present application provide a quadrature phase calibration circuit, an operation method of the quadrature phase calibration circuit and a chip. The embodiments of the present application adopt the following technical solutions:

[0005] In a first aspect, a quadrature phase calibration circuit is provided, comprising: a delay circuit, a first voltage regulating circuit, a second voltage regulating circuit, a comparator circuit and a state machine circuit. The first input end of the delay circuit is electrically connected with the signal input end. The first output end of the delay circuit is electrically connected with the input end of the first voltage regulating circuit. The second output end of the delay circuit is electrically connected with the input end of the second voltage regulating circuit. The calibration end of the first voltage regulating circuit is electrically connected with the signal input end. The output end of the first voltage regulating circuit is electrically connected with the first input end of the comparator circuit. The calibration end of the second voltage regulating circuit is electrically connected with the signal input end. The output end of the second voltage regulating circuit is electrically connected with the second input end of the comparator circuit. The voltage signals output by the first voltage regulating circuit and the second voltage regulating circuit constitute a differential pair signal. The output end of the comparator circuit is electrically connected with the input end of the state machine circuit. The output end of the state machine circuit is electrically connected with the second input end of the delay circuit.

[0006] The quadrature phase calibration circuit provided by the present application dynamically adjusts the input threshold of the comparator circuit by using two voltage circuits. The two voltage circuits generate different voltage signals respectively. By adjusting the voltage signals input into the comparator circuit, the input threshold of the comparator circuit can be accurately controlled. In this way, not only the amplitude fluctuation interference caused by the fixed threshold is eliminated, but also the adaptability of the system to external changes is improved, and the calibration accuracy is improved. Moreover, by making the two voltage circuits output a set of differential pair signals, the interference of the comparator circuit caused by the signals of the two input ends of the comparator circuit approaching each other can be improved, thereby further improving the calibration accuracy of the quadrature phase calibration circuit.

[0007] In a possible implementation of the first aspect, the comparator circuit is configured to output a voltage comparison result based on the input differential pair signal, the state machine circuit is configured to adjust a code word signal output to the delay circuit based on the voltage comparison result, and the delay circuit is configured to receive a first clock signal input at a signal input terminal and output a second clock signal at a first output terminal and a second output terminal, a phase difference between the second clock signal and the first clock signal being determined based on the code word signal.

[0008] In a possible implementation of the first aspect, the first voltage regulation circuit includes an XNOR phase detector and a first integration circuit, the second voltage regulation circuit includes an XOR phase detector and a second integration circuit, an input terminal of the XNOR phase detector is electrically connected to an input terminal of the first voltage regulation circuit, an output terminal of the XNOR phase detector is electrically connected to an input terminal of the first integration circuit, a calibration terminal of the XNOR phase detector is electrically connected to a calibration terminal of the first voltage regulation circuit, an output terminal of the first integration circuit is electrically connected to an output terminal of the first voltage regulation circuit, an input terminal of the XOR phase detector is electrically connected to an input terminal of the second voltage regulation circuit, an output terminal of the XOR phase detector is electrically connected to an input terminal of the second integration circuit, a calibration terminal of the XOR phase detector is electrically connected to a calibration terminal of the second voltage regulation circuit, and an output terminal of the second integration circuit is electrically connected to an output terminal of the second voltage regulation circuit.

[0009] In a possible implementation of the first aspect, the XNOR phase detector is configured to convert the second clock signal into a first duty cycle signal, the first integration circuit is configured to convert the first duty cycle signal into a first voltage signal, the XOR phase detector is configured to convert the second clock signal into a second duty cycle signal, and the second integration circuit is configured to convert the second duty cycle signal into a second voltage signal, the first voltage signal and the second voltage signal forming the differential pair signal.

[0010] In a second aspect, an operation method of a quadrature phase calibration circuit is provided, the method including: in a first calibration stage, determining an initial code word based on a bisection method; in a second calibration stage, determining a first flipped code word and a second flipped code word based on the initial code word; in a third calibration stage, flipping first and second voltage signals input to a comparator circuit, and determining a third flipped code word and a fourth flipped code word based on the first flipped code word and the second flipped code word; determining a target code word based on an average of a sum of the first flipped code word, the second flipped code word, the third flipped code word, and the fourth flipped code word; and adjusting a code word signal provided by a state machine circuit to a delay circuit based on the target code word.

[0011] The operation method of the quadrature phase calibration circuit provided by the embodiments of the present application ensures accurate positioning of a flipping point in each calibration process by flipping input signals of a comparator circuit and re-executing multiple calibration operations, and improves the measurement accuracy of the comparator circuit.

[0012] In a possible implementation of the second aspect, in the second calibration stage, the first flip code and the second flip code are determined based on the initial code word, comprising: determining a first initial code word based on the initial code word, obtaining a first modified code word based on the first initial code word, the first initial code word and the first modified code word being sequentially and equally increased, determining the first flip code based on a voltage comparison result corresponding to the first modified code word and a voltage comparison result corresponding to the first initial code word, determining a second initial code word based on the initial code word, obtaining a second modified code word based on the second initial code word, the second initial code word and the second modified code word being sequentially and equally decreased, and determining the second flip code based on a voltage comparison result corresponding to the second modified code word and a voltage comparison result corresponding to the second initial code word.

[0013] In a possible implementation of the second aspect, the first flip code is determined based on a voltage comparison result corresponding to the first modified code word and a voltage comparison result corresponding to the first initial code word, comprising: determining whether the voltage comparison result corresponding to the first modified code word and the voltage comparison result corresponding to the first initial code word are the same, in the case that the voltage comparison result corresponding to the first modified code word and the voltage comparison result corresponding to the first initial code word are different, repeatedly performing the step of determining whether the voltage comparison result corresponding to the first modified code word and the voltage comparison result corresponding to the first initial code word are the same, and in the case that the number of times of determination is greater than or equal to a determination threshold, determining the first modified code word as the first flip code.

[0014] In a possible implementation of the second aspect, the second flip code is determined based on a voltage comparison result corresponding to the second modified code word and a voltage comparison result corresponding to the second initial code word, comprising: determining whether the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word are the same, in the case that the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word are different, repeatedly performing the step of determining whether the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word are the same, and in the case that the number of times of determination is greater than or equal to a determination threshold, determining the second modified code word as the second flip code.

[0015] In a possible implementation of the second aspect, determining the third flipped code word and the fourth flipped code word based on the first flipped code word and the second flipped code word comprises: determining a third initial code word based on a sum average result of the first flipped code word and the second flipped code word, determining a third modified code word based on a voltage comparison result corresponding to the third initial code word, the third initial code word and the third modified code word being sequentially equal in decrement or sequentially equal in increment, determining the third flipped code word based on the voltage comparison result corresponding to the third initial code word and a voltage comparison result corresponding to the third modified code word, determining a fourth initial code word based on a comparison result of the third flipped code word and the third initial code word, determining a fourth modified code word based on a voltage comparison result corresponding to the fourth initial code word, the fourth initial code word and the fourth modified code word being sequentially equal in decrement or sequentially equal in increment, and determining the fourth flipped code word based on the voltage comparison result corresponding to the fourth initial code word and the voltage comparison result corresponding to the fourth modified code word.

[0016] In a third aspect, a chip is provided, comprising the quadrature phase calibration circuit of any one of the first aspect or any one of the implementation forms thereof.

[0017] It can be understood that the technical effects of the third aspect refer to the technical effects of the first aspect and any one of the implementation forms thereof, which are not repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 FIG. 1 is a structural schematic diagram of a quadrature phase calibration circuit according to an embodiment of the present application;

[0019] Figure 2 FIG. 2 is another structural schematic diagram of a quadrature phase calibration circuit according to an embodiment of the present application;

[0020] Figure 3 FIG. 3 is a third structural schematic diagram of a quadrature phase calibration circuit according to an embodiment of the present application;

[0021] Figure 4 FIG. 4 is a flowchart of steps of an operation method of a quadrature phase calibration circuit according to an embodiment of the present application;

[0022] Figure 5 FIG. 5 is another flowchart of steps of an operation method of a quadrature phase calibration circuit according to an embodiment of the present application;

[0023] Figure 6 FIG. 6 is a third flowchart of steps of an operation method of a quadrature phase calibration circuit according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] With reference to the drawings, a clear and complete description of the technical solutions in the embodiments of the present application will be provided. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments provided in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0025] Unless otherwise required by context, the term "comprises" in the specification and claims is to be construed as an open, inclusive meaning, i.e. "comprises, but is not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiment", "exemplary embodiments" or "some examples" are intended to mean that the particular feature, structure, material, or characteristic being described in connection with the embodiment or example includes at least one embodiment or example of the present application. The illustrative representations of the above terms are not necessarily meant to refer to the same embodiment or example. In addition, a particular feature, structure, material, or characteristic can be included in any suitable way in any one or more embodiments or examples.

[0026] Hereinafter, the terms "first", "second" are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more.

[0027] In describing some embodiments, "electrically connected" and its derivatives can be used. For example, the term "electrically connected" can be used to describe some embodiments to indicate that two or more components have direct physical or electrical contact, in which case "electrically connected" can also be described as "electrically connected". In addition, the term "electrically connected" can also mean that two or more components have no direct contact with each other, but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the content herein.

[0028] "A, B, and C at least one of them" has the same meaning as "at least one of A, B, or C", which includes the following combinations of A, B, and C: only A, only B, only C, a combination of A and B, a combination of A and C, a combination of B and C, and a combination of A, B, and C.

[0029] “A and / or B” includes the following three combinations: A only, B only, and a combination of A and B. The use of “adapted to” or “configured to” herein means open and inclusive language that does not exclude additional devices or steps not explicitly described. Additionally, the use of “based on” means open and inclusive, as the process, step, calculation, or other action that is based on one or more conditions or values can in practice be based on additional conditions or values beyond those explicitly stated.

[0030] The use of “configured to” herein means open and inclusive language that does not exclude additional devices or steps not explicitly described.

[0031] In the current rapid development of artificial intelligence technology, the total amount of global data generation and processing is increasing exponentially, and the data transmission rate is also constantly breaking through the original upper limit. When the signal rate enters a higher transmission level, any slight timing deviation or phase mismatch can cause serious inter-symbol interference and bit error rate rise, directly affecting the effective throughput and reliability of the system. In high-speed communication systems, information is often carried on mutually orthogonal carriers, i.e., in-phase components and quadrature components. Ideally, these two signals should maintain a 90-degree phase difference to ensure that the original data can be demodulated without distortion at the receiving end.

[0032] However, in actual hardware systems, due to the inherent tolerance of analog components, channel characteristic drift caused by temperature changes, differences in PCB wiring length, and slight asymmetry of the clock distribution network, etc., signal distortion, jitter or distortion may occur, affecting the high-quality transmission of signals.

[0033] In related technologies, the above problems can be improved by using orthogonal phase calibration technology, which is a technology used to ensure that signals maintain ideal orthogonality during transmission and eliminate phase errors caused by hardware, environment or other factors. It is usually applied in high-speed communication systems, especially in scenarios where signals need to carry a large amount of information, such as high-data-rate wireless communication, optical fiber communication, etc. Specifically, the orthogonal phase calibration technology detects and adjusts the phase difference of the signal in real time to ensure that the two orthogonal signals (i.e., in-phase components and quadrature components) maintain an accurate 90-degree phase difference.

[0034] As an example, refer to Figure 1The orthogonal phase calibration circuit shown comprises a delay circuit, an XOR phase detector, an integration circuit, a comparator circuit and a state machine circuit. The first input terminal of the delay circuit is connected with the signal input terminal. The output terminal of the delay circuit is electrically connected with the input terminal of the XOR phase detector. The calibration terminal of the XOR phase detector is electrically connected with the signal input terminal. The output terminal of the XOR phase detector is connected with the input terminal of the integration circuit. The output terminal of the integration circuit is electrically connected with the first input terminal of the comparator circuit. The second input terminal of the comparator circuit is connected with the bias voltage input terminal. The output terminal of the comparator circuit is electrically connected with the input terminal of the state machine circuit. The output terminal of the state machine circuit is electrically connected with the second input terminal of the delay circuit.

[0035] In the above-mentioned orthogonal phase calibration circuit, a first clock signal (reference clock signal) can be input through the signal input terminal. One path of the first clock signal is directly input to an input terminal of the XOR phase detector as a calibration reference, and the other path enters the delay circuit. The delay circuit performs controllable delay processing on the first clock signal and outputs a second clock signal. In the ideal calibration state, by accurately controlling the delay amount, the first clock signal and the second clock signal can be accurately phase-shifted by 90°, i.e., form an orthogonal relationship. Then, the second clock signal is sent to the other input terminal of the XOR phase detector. The XOR phase detector receives the original first clock signal and the delayed second clock signal at the same time, and then outputs a duty cycle signal representing the phase relationship between the first clock signal and the second clock signal. When the phase difference deviates from the ideal 90°, the pulse width will change accordingly. The duty cycle signal output by the XOR phase detector is then sent to the integration circuit. The integration circuit converts the duty cycle signal into a smooth direct current voltage signal whose direct current level is proportional to the pulse width. Then the direct current voltage signal is sent to an input terminal of the comparator circuit and compared with a preset fixed bias voltage (usually corresponding to the expected integration voltage of the ideal 90° phase difference) connected to the other input terminal of the comparator circuit. The output of the comparator circuit is a digital decision signal, which represents whether the current phase difference is leading or lagging the target value. The digital decision signal is sent to the state machine circuit. Based on the comparison result of the comparator circuit, the state machine circuit makes logical judgments according to the preset algorithm (such as binary search or step adjustment) and generates the corresponding code word signal. The code word signal is fed back to the second input terminal of the delay circuit, so as to dynamically and accurately adjust the delay amount of the delay circuit and change the phase adjustment value of the second clock signal.

[0036] The above-mentioned quadrature phase calibration circuit converts the phase relationship between the clock signal inputted into the delay circuit and the clock signal outputted from the delay circuit into a duty cycle signal, then integrates the duty cycle signal representing the phase error to convert it into a corresponding DC voltage signal, and then compares the DC voltage signal with a preset threshold voltage to accurately determine whether the signal phase is in a leading or lagging state. Based on the comparison result, the state machine circuit adjusts the code word signal outputted therefrom, and feeds the code word signal back to the delay circuit to control the delay amount inside the delay circuit. Through the closed-loop feedback mechanism, the quadrature phase calibration circuit can dynamically compensate for the phase deviation, and finally adjust the phase difference between the two clock signals to an accurate quadrature relationship.

[0037] However, the above-mentioned quadrature phase calibration circuit has some deficiencies. First, the above-mentioned scheme relies on a fixed bias voltage as the threshold reference for the decision of the comparator circuit. In an ideal case, the threshold Vth should be set to half of the signal amplitude. However, in actual working conditions, the amplitude of the signal may fluctuate due to power supply noise, channel loss or temperature effect. At this time, if the threshold voltage remains fixed, it will cause the decision point of the comparator circuit to deviate from the theoretical midpoint, thereby introducing systematic phase measurement error, making the calibrated quadrature phase deviate from the expected 90 degrees. The non-ideal characteristics of the comparator circuit itself is another defect. First, when the voltage values at the two input terminals of the comparator circuit are very close, the output state may become uncertain due to internal noise and random disturbance, and even oscillate. During the convergence phase of the calibration process, the output voltage of the integrator will approach the fixed threshold, and it is in this critical state that the unreliability of the comparison result will seriously delay or even disrupt the judgment logic of the state machine. Second, the inherent input offset voltage of the comparator circuit will introduce a constant DC bias. For a single comparison, this small bias voltage is enough to falsely flip the decision result, so that the final accuracy of the entire high-precision closed-loop calibration system is limited by this lowest-performing analog component, causing degradation of the overall system performance.

[0038] To improve the above-mentioned problems, the present application provides a quadrature phase calibration circuit, by setting two voltage circuits, dynamically adjusting the dynamic threshold inputted into the comparator circuit, which can improve the interference of the amplitude fluctuation of the fixed threshold on the comparison result of the comparator circuit, thereby improving the calibration accuracy of the quadrature phase calibration circuit, and by outputting a set of differential pair signals from the two voltage circuits, which can improve the interference of the comparison result of the comparator circuit when the signals at the two input terminals of the comparator circuit are close, thereby further improving the calibration accuracy of the quadrature phase calibration circuit.

[0039] As an example, refer to Figure 2The shown quadrature phase calibration circuit includes a delay circuit, a first voltage regulating circuit, a second voltage regulating circuit, a comparator circuit and a state machine circuit, a first input terminal of the delay circuit is electrically connected with the signal input terminal, a first output terminal of the delay circuit is electrically connected with an input terminal of the first voltage regulating circuit, a second output terminal of the delay circuit is electrically connected with an input terminal of the second voltage regulating circuit, a calibration terminal of the first voltage regulating circuit is electrically connected with the signal input terminal, an output terminal of the first voltage regulating circuit is electrically connected with a first input terminal of the comparator circuit, a calibration terminal of the second voltage regulating circuit is electrically connected with the signal input terminal, an output terminal of the second voltage regulating circuit is electrically connected with a second input terminal of the comparator circuit, the voltage signals outputted by the first voltage regulating circuit and the second voltage regulating circuit constitute a differential pair signal, an output terminal of the comparator circuit is electrically connected with an input terminal of the state machine circuit, and an output terminal of the state machine circuit is electrically connected with a second input terminal of the delay circuit.

[0040] The working principle of the quadrature phase calibration circuit provided by the embodiment of the present application is described below. The reference clock signal can be inputted into the delay circuit from the signal input terminal. The delay circuit processes the clock signal based on the control code word received by the second input terminal, and outputs two clock signals with a phase relationship close to quadrature but not yet accurately calibrated. The two signals are outputted from the first output terminal and the second output terminal respectively, and are sent to the first voltage regulating circuit and the second voltage regulating circuit respectively.

[0041] The first voltage regulating circuit and the second voltage regulating circuit are phase-voltage conversion units, which can convert phase error information into voltage signals that can be accurately processed. Specifically, each voltage regulating circuit acts as a phase-voltage converter, synchronously receives the original reference clock and the to-be-calibrated clock processed by the delay circuit, and linearly maps the phase difference therebetween into a direct current voltage signal. The voltage signals outputted by the two symmetrical voltage regulating circuits constitute a pair of differential signals, which makes the subsequent comparator circuit not need to rely on a fixed threshold voltage susceptible to amplitude fluctuations. Such a differential architecture can have the ability to suppress common-mode interference and effectively alleviate the decision error introduced by the self-offset voltage of the comparator circuit.

[0042] After receiving the first voltage signal outputted by the first voltage regulating circuit and the second voltage signal outputted by the second voltage regulating circuit, the comparator circuit can output a digital signal representing the comparison result to the state machine circuit based on the relative size relationship between the first voltage signal and the second voltage signal.

[0043] As an example, when the first voltage signal is greater than the second voltage, the comparator can output a digital signal of 0, and when the first voltage signal is less than or equal to the second voltage, the comparator can output a digital signal of 1. Alternatively, when the first voltage signal is greater than the second voltage, the comparator can output a digital signal of 1, and when the first voltage signal is less than or equal to the second voltage, the comparator can output a digital signal of 0.

[0044] When the state machine circuit receives the digital signal, a code word signal representing the calibration phase adjustment result can be output to the delay circuit based on the digital signal. The delay circuit adjusts the phase difference between the first clock signal and the second clock signal based on the received code word signal, so as to achieve accurate clock synchronization or phase calibration. Specifically, the delay circuit dynamically adjusts the delay time based on the indication information in the code word signal, so as to control the phase difference between the two clock signals, thereby making the signal synchronization meet the phase requirement.

[0045] The orthogonal phase calibration circuit provided in the application dynamically adjusts the input threshold of the comparator circuit by using two voltage circuits. The two voltage circuits respectively generate different voltage signals, and by adjusting the amplitudes of these signals, the input threshold of the comparator circuit can be accurately controlled. In this way, not only the amplitude fluctuation interference caused by the fixed threshold is eliminated, but also the adaptability of the system to external changes is improved, and the judgment accuracy of the comparator circuit is improved.

[0046] The first voltage regulating circuit and the second voltage regulating circuit can have various implementation manners in circuit structure. In one possible implementation manner, referring to Figure 3 , the first voltage regulating circuit includes an XNOR phase detector and a first integration circuit, and the second voltage regulating circuit includes a NOR phase detector and a second integration circuit. The input end of the XNOR phase detector is electrically connected with the input end of the first voltage regulating circuit, the output end of the XNOR phase detector is electrically connected with the input end of the first integration circuit, the calibration end of the XNOR phase detector is electrically connected with the calibration end of the first voltage regulating circuit, the output end of the first integration circuit is electrically connected with the output end of the first voltage regulating circuit. The input end of the NOR phase detector is electrically connected with the input end of the second voltage regulating circuit, the output end of the NOR phase detector is electrically connected with the input end of the second integration circuit, the calibration end of the NOR phase detector is electrically connected with the calibration end of the second voltage regulating circuit, and the output end of the second integration circuit is electrically connected with the output end of the second voltage regulating circuit.

[0047] It should be noted that the first input end of the comparator circuit can be a positive input end, and the second input end can be a negative input end, that is, the XNOR phase detector is connected with the positive input end of the comparator circuit through the first integration circuit, and the NOR phase detector is connected with the negative input end of the comparator circuit through the second integration circuit. The first input end of the comparator circuit can be a negative input end, and the second input end can be a positive input end, that is, the XNOR phase detector is connected with the negative input end of the comparator circuit through the first integration circuit, and the NOR phase detector is connected with the positive input end of the comparator circuit through the second integration circuit. The specific connection relationship between the comparator circuit and the phase detector is not limited in the application.

[0048] In a feasible implementation, the XNOR phase discriminator is configured to convert the second clock signal into a first duty cycle signal, the first integration circuit is configured to convert the first duty cycle signal into a first voltage signal, the NOR phase discriminator is configured to convert the second clock signal into a second duty cycle signal, and the second integration circuit is configured to convert the second duty cycle signal into a second voltage signal.

[0049] In the embodiment, the XNOR phase discriminator is configured to convert the second clock signal into a first duty cycle signal. Specifically, the XNOR phase discriminator outputs a duty cycle signal related to the phase of the input clock signal by performing logical operation on the input clock signal. The function of the integration circuit is to integrate the duty cycle signal, thereby generating a first voltage signal related to the duty cycle. The first voltage signal reflects the average value of the duty cycle signal in a period of time, thereby providing a stable voltage reference for subsequent calibration. The XOR phase discriminator is configured to convert the second clock signal into a second duty cycle signal. The function of the NOR phase discriminator is similar to that of the XNOR phase discriminator, but the logical operation is different, which is used to generate a duty cycle signal related to the phase of the input signal. The second integration circuit is configured to convert the second duty cycle signal into a second voltage signal. Similar to the first integration circuit, the second integration circuit generates a second voltage signal by integrating the second duty cycle signal. The second voltage signal also reflects the average change of the duty cycle signal over time, thereby providing a further reference for signal processing in the calibration process. The first voltage signal and the second voltage signal constitute a differential signal pair. Therefore, when inputting into the comparator circuit, even if the first voltage signal and the second voltage signal are similar, it will not affect the accuracy of the judgment of the comparator circuit.

[0050] The above embodiment describes the structure and working principle of the quadrature phase calibration circuit provided by the present application. In order to further improve the calibration accuracy, based on the above quadrature phase calibration circuit, the embodiment of the present application provides an operation method of the quadrature phase calibration circuit. Referring to the step flow chart of the operation method of the quadrature phase calibration circuit shown in Figure 4 The operation method of the quadrature phase calibration circuit can include S401 to S404.

[0051] S401: In the first calibration stage, the initial code word is determined based on the bisection method.

[0052] After the initial clock signal is input to the signal input end of the quadrature phase calibration circuit, a calibration process can be started, which can be divided into three calibration stages. The first calibration stage can be a coarse calibration stage, in which the signal is calibrated roughly by dichotomy. Specifically, dichotomy rapidly narrows the possible phase error range by gradually halving the calibration interval. In this way, an initial code word (phase1_code0) can be quickly obtained, and the time of the entire calibration process is shortened. This fast coarse adjustment process ensures that the calibration system obtains sufficient phase calibration information in a short time, providing an initial value close to the ideal value for the subsequent fine adjustment stage.

[0053] As an example, when determining the initial code word, the most significant bit (MSB) of the code word is initialized to 1, and the remaining bits are 0. The reference code word can be "10000", and the bit index n = 5 is set. Then, the calibration cycle is entered: the delay circuit outputs the corresponding delay amount based on the current code word, and waits for the feedback signal output by the comparator. If the feedback signal is -1 (indicating phase lag), the current code bit code[n-1] = 1 is maintained; if the feedback signal is 0 (indicating phase advance), the bit is set to 0 (code[n-1] = 0). After completing the current bit decision, the bit index n is reduced by 1, and the system sequentially performs the same decision operation on the next high bit. Such iterative cycles determine the values of the bits from the highest bit to the lowest bit, until n = 0, all bits are calibrated, the first calibration stage is completed, and the initial code word (phase1_code0) is obtained.

[0054] S402: In the second calibration stage, based on the initial code word, a first flip code word and a second flip code word are determined.

[0055] After the initial code word is obtained through the first calibration stage, a fine calibration can be performed based on the initial code word as the code word adjustment basis for the second calibration stage. Specifically, by accurately capturing the flip critical point of the comparator output result, the time of signal flip can be monitored and identified in real time. Thus, the measurement error caused by the accuracy limitation of the comparator itself or noise interference is effectively reduced, and the calibration accuracy is significantly improved. The code word corresponding to the flip critical point can be the first flip code word (phase2_code0) and the second flip code word (phase2_code1).

[0056] S403: In the third calibration stage, the first voltage signal and the second voltage signal at the input end of the flip comparator circuit are input, and based on the first flip code word and the second flip code word, a third flip code word and a fourth flip code word are determined.

[0057] After the first flipping code word (phase2_code0) and the second flipping code word (phase2_code1) are determined through the second calibration stage, then the third flipping code word and the fourth flipping code word can be determined based on the first flipping code word (phase2_code0) and the second flipping code word (phase2_code1). Specifically, in the third calibration stage, first, the first voltage signal and the second voltage signal at the input end of the flipping comparator circuit are needed. For example, if the first voltage signal is input at the first input end of the comparator circuit and the second voltage signal is input at the second voltage end in the second calibration stage, then in the third calibration stage, the second voltage signal is needed to be input at the first input end of the comparator circuit and the first voltage signal is needed to be input at the second voltage end. Then, based on the first flipping code word (phase2_code0) and the second flipping code word (phase2_code1), the flipping critical point is re-determined through circulation and feedback, and the code word corresponding to the flipping critical point can be the third flipping code word (phase3_code0) and the fourth flipping code word (phase3_code1).

[0058] S404: Determine the target code word based on the sum and average result of the first flipping code word, the second flipping code word, the third flipping code word and the fourth flipping code word, and adjust the code word signal provided by the state machine circuit to the delay circuit based on the target code word.

[0059] After completing the three calibration stages and obtaining the first flipping code word (phase2_code0), the second flipping code word (phase2_code1), the third flipping code word (phase3_code0) and the fourth flipping code word (phase3_code1), then the target code word (tar_code) can be determined based on this. Specifically, the target code word (tar_code) can satisfy the relationship shown in formula (1).

[0060] tar_code=(phase2_code0+phase2_code1+phase3_code0+phase3_code1) / 4 (1).

[0061] After the target code word is determined, the state machine circuit can adjust the code word signal output to the delay circuit based on the target code word. The delay circuit controls the delay value of the clock signal based on the received adjusted code word signal, so as to accurately adjust the phase difference between the first clock signal and the second clock signal. Specifically, the delay circuit will dynamically adjust the delay time of its internal delay element based on the phase information represented by the target code word, so that the phase difference between the two clock signals is minimized or reaches the expected value.

[0062] In a feasible implementation, in the second calibration stage, the specific implementation steps of determining the first flipping code word and the second flipping code word based on the initial code word can include S501 to S504, as shown in the step flow chart of FIG. 5. Figure 5 Figure 5

[0063] S501: determining a first initial code word based on the initial code word, obtaining a first modified code word based on the first initial code word, and sequentially increasing the first initial code word and the first modified code word by equal increments;

[0064] S502: determining the first flipping code word based on the voltage comparison result corresponding to the first modified code word and the voltage comparison result corresponding to the first initial code word;

[0065] S503: determining a second initial code word based on the initial code word, obtaining a second modified code word based on the second initial code word, and sequentially decreasing the second initial code word and the second modified code word by equal increments;

[0066] S504: determining the second flipping code word based on the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word.

[0067] First, the determination process of the first flipping code word is described. After the initial code word (phase1_code0) is determined, an adjustment value can be added to the initial code word (phase1_code0) to obtain a first initial code word. As an example, the adjustment value can be 8, and the first initial code word can be (phase1_code0+8). Then, the code word signal output to the delay circuit is adjusted based on the first initial code word, and the comparison result fed back by the comparator is waited. Then, the first initial code word is finely adjusted based on the comparison result fed back by the comparator to obtain a first modified code word. As an example, if the voltage comparison result fed back by the comparator is 1, the first modified code word can be (phase1_code0+8+1), and if the comparison result fed back by the comparator is 0, the first modified code word can be (phase1_code0+8-1). Then, the voltage comparison result based on the first modified code word is obtained, and the first modified code word is updated based on the voltage comparison result based on the first modified code word. As an example, if the voltage comparison result fed back by the comparator is 1, the first modified code word is adjusted based on the first modified code word to obtain an updated first modified code word (phase1_code0+8+1+1) or (phase1_code0+8-1-1).

[0068] ​​Then, the first flipping code word is determined based on the voltage comparison results corresponding to the first modified code word and the second modified code word. In an example, the first flipping code word is determined based on the voltage comparison results corresponding to the first modified code word and the second modified code word, including: determining whether the voltage comparison result corresponding to the first modified code word is the same as the voltage comparison result corresponding to the second modified code word, and in the case that the voltage comparison result corresponding to the first modified code word is different from the voltage comparison result corresponding to the second modified code word, repeatedly performing the step of determining whether the voltage comparison result corresponding to the first modified code word is the same as the voltage comparison result corresponding to the second modified code word, and in the case that the number of times of determination is greater than or equal to a determination threshold, determining the second modified code word as the first flipping code word.

[0069] After obtaining the voltage comparison result of the first modified code word, it is compared with the voltage comparison result of the first starting code word. If they are the same, the process of updating the first modified code word is continued. If they are different, the repeated adoption operation needs to be performed. As an example, if the voltage comparison result corresponding to the first starting code word is 1, and if the voltage comparison result corresponding to the first modified code word is also 1, then the step of updating the first modified code word needs to be continued. However, if the voltage comparison result corresponding to the first starting code word is 1, and if the voltage comparison result corresponding to the first modified code word is 0, it indicates that a flipping point may occur at this time. If a flipping point occurs, further determination and confirmation are needed. Specifically, the voltage comparison result needs to be verified for multiple times in succession to determine the exact position of the flipping point. As an example, a threshold value of 8 is set, that is, the opposite voltage comparison result needs to occur for 8 times in succession to confirm that the current first modified code word has experienced flipping and determine it as the first flipping code word. The way of verifying for multiple times in succession helps to exclude accidental signal fluctuation or error and ensures that the determination of the flipping point is more accurate. After confirming the flipping point, the system can continue to perform the subsequent calibration operation based on the flipping code word, thereby further optimizing the phase calibration of the signal and ensuring that the final calibration result is more accurate and stable.

[0070] Then, the determination process of the second flipping code word is described. After determining the initial code word (phase1_code0), a second starting code word can be obtained by reducing an adjustment value from the initial code word (phase1_code0). As an example, the adjustment value can be 8, and the second starting code word can be (phase1_code0-8). The process of determining the second flipping code word based on the second starting code word is the same as the process of determining the first flipping code word based on the first starting code word, and thus will not be described again.

[0071] In an embodiment, the second flipping code word is determined based on the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word. The determination includes: determining whether the voltage comparison result corresponding to the second modified code word is the same as the voltage comparison result corresponding to the second initial code word; in the case that the voltage comparison result corresponding to the second modified code word is different from the voltage comparison result corresponding to the second initial code word, repeating the determination of whether the voltage comparison result corresponding to the second modified code word is the same as the voltage comparison result corresponding to the second initial code word; and in the case that the number of determinations is greater than or equal to a threshold, determining the second modified code word as the second flipping code word.

[0072] The determination of the second flipping code word based on the voltage comparison result corresponding to the second modified code word and the voltage comparison result corresponding to the second initial code word is the same as the determination of the second flipping code word based on the voltage comparison result corresponding to the first modified code word and the voltage comparison result corresponding to the first initial code word, and thus will not be described again.

[0073] In an embodiment, the third and fourth flipping code words are determined based on the first and second flipping code words. The determination includes: determining a third initial code word based on the sum and average of the first and second flipping code words; determining a third modified code word based on a voltage comparison result corresponding to the third initial code word, the third initial code word and the third modified code word being sequentially and equally decreased or sequentially and equally increased; determining a third flipping code word based on the voltage comparison result corresponding to the third initial code word and the voltage comparison result corresponding to the third modified code word; determining a fourth initial code word based on a comparison result of the third flipping code word and the third initial code word; determining a fourth modified code word based on a voltage comparison result corresponding to the fourth initial code word, the fourth initial code word and the fourth modified code word being sequentially and equally decreased or sequentially and equally increased; and determining a fourth flipping code word based on the voltage comparison result corresponding to the fourth initial code word and the voltage comparison result corresponding to the fourth modified code word. Figure 6 Figure 6 The determination of the third and fourth flipping code words based on the first and second flipping code words can include S601 to S606, as shown in the flow chart of FIG. 6.

[0074] S601: determining a third initial code word based on the sum and average of the first and second flipping code words;

[0075] S602: determining a third modified code word based on a voltage comparison result corresponding to the third initial code word, the third initial code word and the third modified code word being sequentially and equally decreased or sequentially and equally increased;

[0076] S603: determining a third flipping code word based on the voltage comparison result corresponding to the third initial code word and the voltage comparison result corresponding to the third modified code word;

[0077] S604: determining a fourth initial code word based on a comparison result of the third flipping code word and the third initial code word;

[0078] S605: determining a fourth modified code word based on a voltage comparison result corresponding to the fourth initial code word, the fourth initial code word and the fourth modified code word being sequentially and equally decreased or sequentially and equally increased;

[0079] S606: determining a fourth flipping code word based on the voltage comparison result corresponding to the fourth initial code word and the voltage comparison result corresponding to the fourth modified code word.

[0080] ​Firstly, the determination process of the third flipping code word is explained. After the first flipping code word (phase2_code0) and the second flipping code word (phase2_code1) are determined, the third initial code word (phase3_avg) can be determined according to the average result of the sum of the first flipping code word (phase2_code0) and the second flipping code word (phase2_code1), which satisfies the relationship shown in formula (2).

[0081] phase3_avg = ((phase2_code0 + phase2_code1) / 2) (2).

[0082] After the third initial code word (phase3_avg) is obtained, then the code word signal output to the delay circuit is adjusted based on the third initial code word (phase3_avg), and the voltage comparison result fed back by the comparator is waited, and the adjustment value of the third initial code word (phase3_avg) is adjusted according to the voltage comparison result fed back by the comparator, to obtain the third modified code word. As an example, if the voltage comparison result fed back by the comparator is 1, the third modified code word can be (phase3_avg-1), and if the voltage comparison result fed back by the comparator is 0, the third modified code word can be (phase3_avg+1). Then, according to whether the voltage comparison result corresponding to the third modified code word is the same as the voltage comparison result corresponding to the third initial code word, it is judged whether the flipping point is found. As an example, if the voltage comparison result corresponding to the third initial code word is 1, and the voltage comparison result corresponding to the third modified code word is also 1, then the step of updating the third modified code word needs to be continued to be executed, but if the voltage comparison result corresponding to the third initial code word is 1, and the voltage comparison result corresponding to the third modified code word is 0, it means that the flipping point may occur at this time. If the flipping point occurs, further judgment and confirmation need to be performed. Specifically, the voltage comparison result needs to be verified continuously for multiple times to determine the exact position of the flipping point. As an example, the threshold is set to 8, that is, the opposite voltage comparison result needs to occur for 8 times continuously to confirm that the current third modified code word has experienced flipping, and determine it as the third flipping code word.

[0083] After the third flip code word is obtained, a fourth starting code word can be determined according to a comparison result of the third flip code word (phase3_code0) and the third starting code word (phase3_avg). For example, if the third flip code word (phase3_code0) is greater than the third starting code word (phase3_avg), the fourth starting code word can be (phase3_code0+n), and if the third flip code word (phase3_code0) is less than or equal to the third starting code word (phase3_avg), the fourth starting code word can be (phase3_code0-n), where n is an adjustment value that can be adjusted according to actual application requirements.

[0084] After the fourth starting code word is obtained, the code word signal output to the delay circuit is adjusted based on the fourth starting code word, and the voltage comparison result fed back by the comparator is waited for, and the adjustment value of the fourth starting code word is adjusted according to the voltage comparison result fed back by the comparator to obtain a fourth modified code word. For example, if the voltage comparison result corresponding to the fourth starting code word is 1, and the voltage comparison result corresponding to the fourth modified code word is also 1, the step of updating the fourth modified code word needs to be continuously performed, but if the voltage comparison result corresponding to the fourth starting code word is 1 and the voltage comparison result corresponding to the fourth modified code word is 0, it means that a flip point may occur at this time. If a flip point occurs, further judgment and confirmation need to be performed. Specifically, the voltage comparison result needs to be verified continuously for multiple times to determine the exact position of the flip point. For example, a threshold value of 8 is set, that is, the opposite voltage comparison results need to occur continuously for 8 times to confirm that the current fourth modified code word has experienced a flip and determine it as a fourth flip code word.

[0085] The above embodiments describe the operation method of the quadrature phase calibration circuit. The operation method of the quadrature phase calibration circuit provided by the embodiments of the present application ensures accurate positioning of the flip point in each calibration process by reversing the input signal of the comparator circuit and re-executing multiple calibration operations, offsets the systematic error caused by the bias voltage through reverse calibration, and improves the measurement accuracy of the comparator circuit.

[0086] The embodiments of the present application also provide a chip including the quadrature phase calibration circuit in the above embodiments.

[0087] It should be noted that the division of the above modules is only a functional division adopted for ease of description, and in actual implementation, one module can be implemented by multiple modules, and the functions of multiple modules can be implemented by the same module. These modules can be located in the same device or in different devices.

[0088] The hardware module in the embodiments can be realized mechanically or electronically. For example, a hardware module can include a specially designed permanent circuit or logic device (such as a special-purpose processor, such as an FPGA or an ASIC) for completing a specific operation. For example, a specific operation can be completed in various types of chips (for example, artificial intelligence chips). The hardware module can also include a programmable logic device or circuit temporarily configured by software (such as a general-purpose processor or other programmable processor) for performing a specific operation. As for the specific implementation of the hardware module, whether it is mechanically implemented, or implemented by a special permanent circuit, or implemented by a temporarily configured circuit (such as configured by software), it can be determined based on cost and time considerations.

[0089] The technical features of the above embodiments can be combined in any manner. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not contradict, it should be considered as the scope of the present disclosure. The above embodiments only express several embodiments of the present application, and the description is more specific and detailed, but it should not be considered as limiting the scope of the patent of the present application. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

[0090] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features in the formula; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A quadrature phase calibration circuit, characterized in that, include: Delay circuit, first voltage regulation circuit, second voltage regulation circuit, comparator circuit, and state machine circuit; The first input terminal of the delay circuit is electrically connected to the signal input terminal, the first output terminal of the delay circuit is electrically connected to the input terminal of the first voltage regulation circuit, and the second output terminal of the delay circuit is electrically connected to the input terminal of the second voltage regulation circuit. The calibration terminal of the first voltage regulating circuit is electrically connected to the signal input terminal, and the output terminal of the first voltage regulating circuit is electrically connected to the first input terminal of the comparator circuit. The calibration terminal of the second voltage regulating circuit is electrically connected to the signal input terminal, and the output terminal of the second voltage regulating circuit is electrically connected to the second input terminal of the comparator circuit. The output terminal of the comparator circuit is electrically connected to the input terminal of the state machine circuit; The output terminal of the state machine circuit is electrically connected to the second input terminal of the delay circuit; The comparator circuit is used to output a voltage comparison result based on the input differential pair signal; The state machine circuit is used to adjust the codeword signal output to the delay circuit based on the voltage comparison result; The delay circuit is used to receive a first clock signal input from the signal input terminal, and output a second clock signal through the first output terminal and the second output terminal. The phase difference between the second clock signal and the first clock signal is determined based on the codeword signal. The first voltage regulating circuit is used to generate a first DC voltage signal based on the first clock signal and the second clock signal, and the second voltage regulating circuit is used to generate a second DC voltage signal based on the first clock signal and the second clock signal. The first DC voltage signal and the second DC voltage signal constitute a differential pair signal.

2. The quadrature phase calibration circuit according to claim 1, characterized in that, The first voltage regulating circuit includes a NOR phase detector and a first integrating circuit, and the second voltage regulating circuit includes an XOR phase detector and a second integrating circuit. The input terminal of the XNOR phase detector is electrically connected to the input terminal of the first voltage regulating circuit, the output terminal of the XNOR phase detector is electrically connected to the input terminal of the first integrating circuit, the calibration terminal of the XNOR phase detector is electrically connected to the calibration terminal of the first voltage regulating circuit, and the output terminal of the first integrating circuit is electrically connected to the output terminal of the first voltage regulating circuit. The input terminal of the XOR phase detector is electrically connected to the input terminal of the second voltage regulating circuit, the output terminal of the XOR phase detector is electrically connected to the input terminal of the second integrator circuit, the calibration terminal of the XOR phase detector is electrically connected to the calibration terminal of the second voltage regulating circuit, and the output terminal of the second integrator circuit is electrically connected to the output terminal of the second voltage regulating circuit.

3. The quadrature phase calibration circuit according to claim 2, characterized in that, The XOR phase detector is used to convert the second clock signal into a first duty cycle signal, and the first integrating circuit is used to convert the first duty cycle signal into a first voltage signal. The XOR phase detector is used to convert the second clock signal into a second duty cycle signal, and the second integrator is used to convert the second duty cycle signal into a second voltage signal. The first voltage signal and the second voltage signal constitute a differential pair signal.

4. An operation method for an orthogonal phase calibration circuit, characterized in that, The method, applied to the quadrature phase calibration circuit according to any one of claims 1-3, comprises: In the first calibration phase, the initial codeword is determined based on the binary search method; In the second calibration phase, based on the initial codeword, a first flip codeword and a second flip codeword are determined; In the third calibration stage, the first voltage signal and the second voltage signal at the input of the comparator circuit are flipped, and the third flip codeword and the fourth flip codeword are determined based on the first flip codeword and the second flip codeword. Based on the summation and average of the first, second, third, and fourth flipped codewords, a target codeword is determined, and the codeword signal provided by the state machine circuit to the delay circuit is adjusted based on the target codeword.

5. The operation method of the quadrature phase calibration circuit according to claim 4, characterized in that, In the second calibration phase, based on the initial codeword, determining the first flip codeword and the second flip codeword includes: Based on the initial codeword, a first starting codeword is determined, and a first corrected codeword is obtained based on the first starting codeword. The first starting codeword and the first corrected codeword are increased by equal amounts in sequence. Based on the voltage comparison result corresponding to the first corrected codeword and the voltage comparison result corresponding to the first start codeword, the first flip codeword is determined; Based on the initial codeword, a second starting codeword is determined, and a second corrected codeword is obtained based on the second starting codeword. The second starting codeword and the second corrected codeword are decreased by an equal amount in sequence. The second flip codeword is determined based on the voltage comparison result corresponding to the second corrected codeword and the voltage comparison result corresponding to the second start codeword.

6. The operation method of the orthogonal phase calibration circuit according to claim 5, characterized in that, Determining the first flip codeword based on the voltage comparison result corresponding to the first corrected codeword and the voltage comparison result corresponding to the first start codeword includes: Determine whether the voltage comparison result corresponding to the first corrected codeword is the same as the voltage comparison result corresponding to the first start codeword; If the voltage comparison result corresponding to the first correction codeword is different from the voltage comparison result corresponding to the first start codeword, the step of determining whether the voltage comparison result corresponding to the first correction codeword is the same as the voltage comparison result corresponding to the first start codeword is repeated. If the number of judgments is greater than or equal to the judgment threshold, the first corrected codeword is determined as the first flipped codeword.

7. The operation method of the orthogonal phase calibration circuit according to claim 5, characterized in that, The step of determining the second flip codeword based on the voltage comparison result corresponding to the second corrected codeword and the voltage comparison result corresponding to the second start codeword includes: Determine whether the voltage comparison result corresponding to the second correction codeword is the same as the voltage comparison result corresponding to the second start codeword; If the voltage comparison result corresponding to the second correction codeword is different from the voltage comparison result corresponding to the second start codeword, the step of determining whether the voltage comparison result corresponding to the second correction codeword is the same as the voltage comparison result corresponding to the second start codeword is repeated. If the number of judgments is greater than or equal to the judgment threshold, the second corrected codeword is determined as the second flipped codeword.

8. The operation method of the quadrature phase calibration circuit according to claim 4, characterized in that, The determination of the third and fourth flip codes based on the first and second flip codes includes: Based on the sum and average of the first and second flipped codewords, a third starting codeword is determined; Based on the voltage comparison result corresponding to the third start codeword, the third correction codeword is determined, and the third start codeword and the third correction codeword are sequentially decreased or sequentially increased by equal amount. The third flip codeword is determined based on the voltage comparison result corresponding to the third start codeword and the voltage comparison result corresponding to the third correction codeword; Based on the comparison result between the third flip codeword and the third starting codeword, the fourth starting codeword is determined; Based on the voltage comparison result corresponding to the fourth start codeword, the fourth correction codeword is determined, and the fourth start codeword and the fourth correction codeword are sequentially decreased or sequentially increased by equal amount. The fourth flip codeword is determined based on the voltage comparison result corresponding to the fourth start codeword and the voltage comparison result corresponding to the fourth correction codeword.

9. A chip, characterized in that, Includes the quadrature phase calibration circuit as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Calibration circuit, memory and calibration method

    CN114420187A

  • Digitally calibrated high speed clock distribution

    US20110221486A1