A method and system for calibrating current mismatch of a charge pump

By using a loop filter and a capacitor comparator in the charge pump for current mismatch calibration, and using a calibration algorithm to adjust the current, the complex problem of charge pump current mismatch calibration in the existing technology is solved, and performance and layout efficiency are improved.

CN115940939BActive Publication Date: 2024-10-01GUANGZHOU RUNXIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310035618.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-10
Publication Date
2024-10-01
Estimated Expiration
2043-01-10

AI Technical Summary

Technical Problem

The current mismatch calibration mechanism of the existing charge pump is complex, requires a complex determination mechanism, and has poor fault tolerance, resulting in a waste of layout area and performance impact.

Method used

By presetting the initial phase, using a loop filter and a capacitor comparator to compare the input and output currents, and using a calibration algorithm to adjust the current by dichotomy, current mismatch calibration is achieved.

Benefits of technology

It simplifies the current mismatch calibration process, reduces component resource consumption, and improves charge pump performance and layout utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115940939B_ABST
    Figure CN115940939B_ABST
Patent Text Reader

Abstract

The present invention discloses a current mismatch calibration method and system for a charge pump, wherein an initial phase is preset, at which the loop filter and capacitor of the charge pump are at an initial potential; a comparison phase is performed, the charge pump charges the loop filter and the capacitor, and a comparator is used to compare the potential of the loop filter and the potential of the capacitor; a response feedback is performed, when the comparator output is 1, the input current is greater than the output current; when the comparator output is 0, the output current is greater than the input current; an algorithm is calibrated, and the input current and the output current are adjusted using a calibration algorithm through the output result of the comparator, and the calibration is completed. The present invention can realize current mismatch calibration through a relatively simple method, and with the algorithm calibration, it can greatly reduce the resource consumption of using a relatively complex device for calibration, and improve the performance of the charge pump.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital-analog hybrid integrated circuits, and in particular to a current mismatch calibration method and system for a charge pump. Background Art

[0002] In existing integrated circuit designs, many architectures require charge pumps. Charge pumps are widely used in phase-locked loops. For phase-locked loops with charge pump structures, the current mismatch of the charge pump directly determines the reference clock spurious index. The greater the current mismatch of the charge pump, the greater the mismatch and the greater the reference clock spurious. Excessive reference clock spurious will deteriorate clock jitter, spurs and other performance, thereby affecting the performance of the upper system. In actual design, in order to reduce current mismatch, it is often necessary to use extremely large device sizes to reduce mismatch, which will not only greatly waste layout area, but also occupy voltage margin. If current matching can be achieved through calibration, the layout area will be greatly reduced, and the performance of the module can also be improved. However, the existing charge pump current calibration mechanism is complex and requires PFD-assisted calibration, which requires a complex judgment mechanism and has poor fault tolerance. Summary of the invention

[0003] The purpose of the present invention is to at least solve one of the technical problems of the complicated current mismatch calibration mechanism of a charge pump in the prior art. To this end, the present invention provides a current mismatch calibration method and system for a charge pump.

[0004] The present invention provides a technical solution 1: a current mismatch calibration method for a charge pump,

[0005] Preset the initial phase, at which the loop filter and capacitor of the charge pump are at the initial potential;

[0006] Comparing the phases, the charge pump charges the loop filter and the capacitor, and the comparator is used to compare the potential of the loop filter with the potential of the capacitor;

[0007] In response to feedback, when the comparator output is 1, the input current is greater than the output current; when the comparator output is 0, the output current is greater than the input current;

[0008] Algorithm calibration, through the output result of the comparator, use the calibration algorithm to adjust the input current and output current, and the calibration is completed.

[0009] Furthermore, the charge pump is connected to the loop filter, the loop filter is connected to the positive electrode of the comparator, and the capacitor is connected to the negative electrode of the comparator.

[0010] Furthermore, the charge pump is provided with an input current tuning control bit and an output current tuning control bit, and the input current tuning control bit and the output current tuning control bit are connected to the calibration algorithm.

[0011] Further, the calibration algorithm includes a dichotomy method, which includes setting the current value of the input current tuning control bit or the output current tuning control bit.

[0012] Furthermore, the input current tuning control bit or the output current tuning control bit is used to control the input current or the output current to increase or decrease according to the output value of the comparator.

[0013] Technical solution 2 provided by the present invention: a current mismatch calibration system for a charge pump, applying the above-mentioned calibration method, including a charge pump, a comparator, a loop filter, a capacitor, a switch S1 and a switch S2, the charge pump is connected to the comparator, the loop filter is connected to the positive electrode of the comparator through the switch S1, the capacitor is connected to the switch S2, the switch S2 is respectively connected to the positive and negative electrodes of the comparator, the comparator is used to connect to an external device, and the external device is used to perform a calibration algorithm.

[0014] Furthermore, the charge pump is used to preset the initial phase, and the charge pump is used to charge the loop filter and the capacitor.

[0015] Furthermore, the comparator is used to output an electrical signal of zero or one to an external device.

[0016] Furthermore, the external device is used to receive the electrical signal of the comparator, and the external device controls the output current or the input current to increase or decrease through the electrical signal.

[0017] The beneficial effects of the present invention are:

[0018] The present invention discloses a current mismatch calibration method and system for a charge pump, wherein an initial phase is preset, at which the loop filter and capacitor of the charge pump are at an initial potential; a comparison phase is performed, the charge pump charges the loop filter and the capacitor, and a comparator is used to compare the potential of the loop filter and the potential of the capacitor; a response feedback is performed, when the comparator output is 1, the input current is greater than the output current; when the comparator output is 0, the output current is greater than the input current; an algorithm is calibrated, and the input current and the output current are adjusted using a calibration algorithm through the output result of the comparator, and the calibration is completed. The present invention can realize current mismatch calibration through a relatively simple method, and with the algorithm calibration, it can greatly reduce the resource consumption of using a relatively complex device for calibration, and improve the performance of the charge pump. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1is a schematic diagram of a charge pump current mismatch calibration method of the present invention;

[0021] Figure 2 It is a flow chart of the charge pump current mismatch calibration method of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described through implementation methods with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] Due to the op amp clamping, theoretically, the input current is equal to the output current. However, due to device mismatch, the input current I UP and output current I DN Deviations will occur. The present invention collects and compares mismatch information by using a loop filter LF and a capacitor Cmis, converts it into a digital signal by a comparator Comp, and uses a calibration algorithm to perform decision feedback, thereby calibrating the input current and the output current.

[0024] Reference Figure 1 Embodiment 1 of the present invention discloses a current mismatch calibration method for a charge pump.

[0025] The initial phase is preset, at which point the loop filter LF of the charge pump and the capacitor C mis is the initial potential, which is equal to the initial preset potential at the beginning of calibration. At this time, switches S1 and S2 are closed at the same time, waiting for t0 time to establish;

[0026] Entering the comparison phase, S1 continues to remain closed, S2 is disconnected, the charge pump charges the loop filter and the capacitor, and the comparator is used to compare the potential of the loop filter and the potential of the capacitor to obtain the charge pump input current I UP and output current I DN The mismatch information of the comparator Comp is due to the capacitor C mis Maintaining the initial voltage, the positive loop filter LF will experience voltage increase or decrease due to the mismatch between the charge pump current input current and output current, and wait for t1 time to establish;

[0027] In response to feedback, the comparator Comp determines the direction of the current mismatch. When the comparator Comp output is 1, the input current I UP Greater than the output current I DN , need to increase I DN; When the comparator Comp output is 0, the output current I DN Greater than the input current I UP , need to increase I UP ;

[0028] Algorithm calibration, through the output result of the comparator, use the calibration algorithm CP CAL to adjust the input current or output current, and the calibration is completed.

[0029] Furthermore, the charge pump is connected to the loop filter, the loop filter is connected to the positive electrode of the comparator, and the capacitor is connected to the negative electrode of the comparator.

[0030] Further, refer to Figure 2 , the charge pump is set with an input current tuning control bit I TUNE_P <a:0>and the output current tuning control bit I TUNE_N <b:0>, input current tuning control bit I TUNE_P <a:0>Adjustable input current I UP The larger the value, the larger the I UP. <a:0>To control the bit position, its value is determined by the adjustment range and adjustment accuracy; the output current tuning control position I TUNE_N <b:0>Adjustable output current I DN The larger the value, the greater the I DN The bigger, <b:0>To control the bit position, its value is determined by the adjustment range and adjustment accuracy; input current tuning control position I TUNE_P <a:0>and the output current tuning control bit I TUNE_N <b:0>Interface with calibration algorithm.

[0031] Furthermore, the calibration algorithm CP CAL includes a dichotomy method, referring to Figure 2 , set the input current tuning control position I TUNE_P Or output current tuning control bit I TUNE_N The preset value is 100…0. The number of digits here is determined by a / b. If the comparator output remains unchanged, the current digit maintains output 1 and the next digit is preset to output 1. If the comparator output changes, the current position outputs 0 and the next digit is preset to output 1. This cycle continues until the last digit, and the calibration is completed. For example: When the comparator output is 1, the input current I UP Greater than the output current I DN , the output current I needs to be increased DN , output current tuning control bit I TUNE_N Start to increase the output current I according to the preset value DN , until the output current tuning control position I TUNE_N After the calibration is completed, the input current tuning control bit I TUNE_P / Output current tuning control bit I TUNE_N The final calibration value is used as the input current I when the charge pump is working normally UP and output current I DN Configuration.

[0032] Technical solution 2 provided by the present invention: a current mismatch calibration system for a charge pump, applying the above calibration method, comprising a charge pump CP, a comparator Comp, a loop filter LF, a capacitor C mis , switch S1 and switch S2, the charge pump is connected to the comparator, the loop filter is connected to the positive electrode of the comparator through the switch S1, the capacitor is connected to the switch S2, the switch S2 is connected to the positive and negative electrodes of the comparator respectively, the comparator is used to connect to an external device, and the external device is used to perform a calibration algorithm.

[0033] The loop filter LF can be equivalent to a capacitor in most cases. When used in a non-phase-locked loop structure, an additional capacitor can be used instead.

[0034] Furthermore, the charge pump is used to preset an initial phase, and the charge pump is used to charge the loop filter and the capacitor.

[0035] Furthermore, the comparator is used to output an electrical signal of zero or one to an external device.

[0036] Furthermore, the external device is used to receive the electrical signal of the comparator. Specifically, the external device may be a computer, and a calibration algorithm is performed in the computer to control the output current or input current to increase or decrease through the electrical signal.

[0037] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0038] In the description of the present invention, unless otherwise clearly defined, words such as "setting" should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.

[0039] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0040] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for calibrating current mismatch of a charge pump, characterized in that : Preset the initial phase, at which the loop filter and capacitor of the charge pump are at the initial potential; Comparing the phases, the charge pump charges the loop filter and the capacitor, and the comparator is used to compare the potential of the loop filter with the potential of the capacitor; In response to feedback, when the comparator output is 1, the input current is greater than the output current; when the comparator output is 0, the output current is greater than the input current; Algorithm calibration, through the output result of the comparator, use the calibration algorithm to adjust the input current and output current, and the calibration is completed; The calibration algorithm includes a dichotomy method, the dichotomy method includes setting an output current value of an input current tuning control bit or an output current tuning control bit, including the steps; Preset the input current tuning control bit or the output current tuning control bit to 100…0; If the comparator output remains unchanged, the current position maintains output 1, and the next position is preset to output 1. If the comparator output changes, the current position outputs 0, and the next position is preset to output 1. This cycle continues until the last position, and the calibration is completed. The charge pump is connected to a loop filter, the loop filter is connected to a positive electrode of a comparator, and the capacitor is connected to a negative electrode of the comparator.

2. A method for calibrating current mismatch of a charge pump according to claim 1, characterized in that The charge pump is provided with an input current tuning control bit and an output current tuning control bit, and the input current tuning control bit and the output current tuning control bit are connected to the calibration algorithm.

3. A method for calibrating current mismatch of a charge pump according to claim 2, characterized in that The input current tuning control bit or the output current tuning control bit is used to control the input current or the output current to increase or decrease according to the output value of the comparator.

4. A current mismatch calibration system for a charge pump, applying the calibration method according to any one of claims 1 to 3, characterized in that: include: A charge pump, a comparator, a loop filter, a capacitor, a switch S1 and a switch S2, wherein the charge pump is connected to the comparator, the loop filter is connected to the positive electrode of the comparator through the switch S1, the capacitor is connected to the switch S2, the switch S2 is respectively connected to the positive electrode and the negative electrode of the comparator, the comparator is used to connect an external device, and the external device is used to perform a calibration algorithm.

5. The current mismatch calibration system for a charge pump according to claim 4, characterized in that: The charge pump is used for presetting an initial phase, and the charge pump is used for charging a loop filter and a capacitor.

6. The current mismatch calibration system for a charge pump according to claim 4, characterized in that: The comparator is used to output an electrical signal of zero or one to the external device.

7. The current mismatch calibration system for a charge pump according to claim 4, characterized in that: The external device is used to receive the electrical signal of the comparator, and the external device controls the output current or the input current to increase or decrease through the electrical signal.