Current comparator with variable input current
By adding an input current compensation part and a multi-stage TRIMMING bit correction circuit in the current comparator, the problem that traditional current comparators require multiple current comparators and complex control logic is solved, and the expansion of the input current range and system simplification is achieved.
Patent Information
- Application Number
- CN202411351072.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-09-26
AI Technical Summary
Traditional current comparators require multiple different current comparators and complex control logic to adapt to the amplitude of the input current, resulting in increased system complexity and area.
A current comparator with variable input current is designed, and the input current range is expanded by adding an input current compensation part and a multi-stage TRIMMING bit correction circuit.
It effectively solves the problem that traditional current comparators require multiple current comparators and complex control logic, realizes the expansion of the input current range, and simplifies the system design.
Smart Images

Figure CN119401989A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communications, and in particular to a current comparator with variable input current. Background Art
[0002] In high-speed and high-precision current-steering digital-to-analog converters, current comparators are required for current steering calibration. In the zero-drift calibration of the current source gain model, the input current to be calibrated needs to have a large change, usually four times. The commonly used current comparator is modified from a strong ARM voltage comparator.
[0003] like Figure 1 As shown, since the SR stage requires a better operating point and needs to limit the amplitude of the input current, relying on traditional current comparators requires multiple different current comparators and complex control logic. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a current comparator with variable input current. By adding an input current compensation part and designing a multi-stage TRIMMING position correction circuit, the defects of the traditional current comparator requiring multiple different current comparators and complex control logic are solved, thereby realizing the expansion of the input current range.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] A current comparator with variable input current, comprising: an input current compensation part, a current mirror part and an improved SR stage part connected in sequence; the input current compensation part comprises: a first PMOS tube, a second PMOS tube and a third PMOS tube; the improved SR stage part comprises: a plurality of TRIMMING position correction circuits;
[0007] The gate of the first PMOS tube, the drain of the first PMOS tube, the source of the second PMOS tube and the source of the third PMOS tube are connected in pairs; the gate of the second PMOS tube and the gate of the third PMOS tube are both connected to an external low-level end; the source of the first PMOS tube is connected to an external high voltage end; the substrate of the second PMOS tube is connected to the substrate of the third PMOS tube; the drain of the second PMOS tube is connected to the first current input end of the current mirror part; the drain of the third PMOS tube is connected to the second current input end of the current mirror part; all the TRIMMING position correction circuits are connected in parallel;
[0008] The first PMOS tube is used for; the second PMOS tube is used for; the third PMOS tube is used for; the current mirror part is used for; the improved SR stage part is used for; the TRIMMING position correction circuit is used for.
[0009] The present invention discloses the following technical effects:
[0010] The present invention provides a current comparator with variable input current, which solves the defect that a traditional current comparator needs a plurality of different current comparators and complex control logic by adding an input current compensation part and designing a multi-stage TRIMMING position correction circuit, and realizes the expansion of the input current range. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0012] Figure 1 A commonly used current comparator circuit diagram provided by an embodiment of the present invention;
[0013] Figure 2 A circuit diagram of a current comparator with variable input current provided by an embodiment of the present invention;
[0014] Figure 3 A detailed circuit diagram of a current comparator provided by an embodiment of the present invention;
[0015] Figure 4 A circuit effect diagram provided by an embodiment of the present invention;
[0016] Description of reference numerals:
[0017] M1-first PMOS tube, M2-second PMOS tube, M3-third PMOS tube. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0019] The purpose of the present invention is to provide a current comparator with variable input current, which solves the defects of traditional current comparators requiring multiple different current comparators and complex control logic by adding an input current compensation part and designing a multi-level TRIMMING position correction circuit, thereby realizing the expansion of the input current range.
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] Figure 2 A current comparator circuit diagram with variable input current provided by an embodiment of the present invention, such as Figure 2 As shown, the present invention provides a current comparator with variable input current, comprising: an input current compensation part, a current mirror part and an improved SR stage part connected in sequence; the input current compensation part comprises: a first PMOS tube M1, a second PMOS tube M2 and a third PMOS tube M3; the improved SR stage part comprises: a plurality of TRIMMING position correction circuits;
[0022] The gate of the first PMOS tube M1, the drain of the first PMOS tube M1, the source of the second PMOS tube M2 and the source of the third PMOS tube M3 are connected in pairs; the gate of the second PMOS tube M2 and the gate of the third PMOS tube M3 are both connected to the external low-level end; the source of the first PMOS tube M1 is connected to the external high voltage end; the substrate of the second PMOS tube M2 and the substrate of the third PMOS tube M3 are connected; the drain of the second PMOS tube M2 is connected to the first current input end of the current mirror part; the drain of the third PMOS tube M3 is connected to the second current input end of the current mirror part; all the TRIMMING position correction circuits are connected in parallel;
[0023] The first PMOS tube M1 is used to provide a current path from the power supply to the input stage; the second PMOS tube M2 is used to isolate the positive input voltage from the common mode voltage; the third PMOS tube M3 is used to isolate the negative input voltage from the common mode voltage; the current mirror part is used to mirror the first-stage current to the SR stage; the improved SR stage part is used to compare the mirrored SR stage current and output the comparison result; the TRIMMING position correction circuit is used to control the influence of the power supply voltage change on the working point.
[0024] refer to Figure 3In the figure, M4 to M11 are all NMOS tubes; I_cal, I_mir_c, I_dio_c, I_ref, I_mir_r, I_dio_r, I_chg_c, I_chg_r are all currents of their respective lines; clk is the clock signal; cmp_out is the comparator output; enn is the enable input voltage; vdd is a high level; cmp_speed <2> cmp_speed <0> The added TRIMMING bit is used to deal with the impact of the change in power supply voltage Vdd; v2_c, v2_r, vdd, vb2, and v1 are all voltages of the circuits. The traditional comparator does not include the input current compensation part (M1, M2, M3). Its working principle is that the first stage is a diode-connected NMOS (M6, M7), which is used to convert the input current into voltage. M8 and M9 are current mirrors, which mirror the current flowing through M6 and M7 to the SR stage. M4, M5, M10, and M11 are common gate stages to ensure the accuracy of the current mirror and ensure:
[0025] I_cal=I_mir_c=I_dio_c
[0026] I_ref=I_mir_r=I_dio_r
[0027] The SR stage gives the comparison result by comparing the two input current sizes (I_mir_c and I_mir_r). This has strict requirements on the range of input current. If the current is too large, the SR stage common-mode voltage is too low and cannot be reset, and the second comparison result cannot be output normally. If the current is too small, the SR stage common-mode voltage is too high and no comparison result is generated.
[0028] Furthermore, this embodiment adds an input current compensation circuit (M1, M2, M3) to ensure that the comparator can work properly. Since the working state of the SR stage is related to the common mode current, for the convenience of analysis, it is assumed that:
[0029] I_cal=I_ref
[0030] but:
[0031] I_chg_c=I_chg_r
[0032] I_dio_c=I_cal+I_chg_c=I_ref+I_chg_r=I_dio_r
[0033] I_mir_c=I_dio_c=I_dio_r=I_mir_r
[0034] Therefore, only the single-side circuit is analyzed during analysis. The compensation circuit consists of a PMOS (M1) connected in the form of a diode and two PMOS (M2, M3) with their gates grounded. M1 works in the saturation region, and M2 and M3 work in the linear region (low impedance). These two tubes will be ignored in subsequent analysis.
[0035] The impedance of M2 and M3 is expressed as R on , which is not discussed in the subsequent analysis due to its low impedance:
[0036]
[0037] Therefore, without considering the input current, the current in the first stage is determined by the diode-connected PMOS and NMOS:
[0038]
[0039] I_dio_c=I_chg_c+I_cal
[0040]
[0041] Among them, μ p and μ n is the carrier mobility; C ox is the channel charge density; V THP and V THN is the gate voltage of the MOS tube; W and L are the width and length of the MOS tube.
[0042] refer to Figure 4 By adjusting the size of the MOS tube, the comparator can still work normally even without current input. Without considering the impedance RON of M2 and M3, v2_c = v1,
[0043]
[0044] I_dio_c=I_chg_c+I_cal
[0045] When I_cal increases by ΔI in When v1 increases, I_chg_c decreases by ΔI chg , then the current flowing through M6 becomes
[0046] I_dio_c=I_chg_c+I_cal+ΔI in -ΔI chg
[0047] Furthermore, in order to offset the influence of power supply voltage fluctuation on the working state of SR stage, a TIMMING stage is added to realize the normal operation of the comparator under different power supply voltages. By compensating the input stage and increasing the trimming position of SR stage, the input current range of the current comparator is expanded while ensuring a small area increase and no additional digital control.
[0048] The beneficial effects of the present invention are as follows:
[0049] The present invention solves the defects of the traditional current comparator requiring multiple different current comparators and complex control logic by adding an input current compensation part and designing a multi-level TRIMMING position correction circuit, thereby realizing the expansion of the input current range.
[0050] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0051] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A current comparator with variable input current, characterized in that: include: An input current compensation part, a current mirror part and an improved SR stage part connected in sequence; The input current compensation part includes: a first PMOS tube, a second PMOS tube and a third PMOS tube; the improved SR stage part includes: a plurality of TRIMMING position correction circuits; The gate of the first PMOS tube, the drain of the first PMOS tube, the source of the second PMOS tube and the source of the third PMOS tube are connected in pairs; the gate of the second PMOS tube and the gate of the third PMOS tube are both connected to an external low-level end; the source of the first PMOS tube is connected to an external high voltage end; the substrate of the second PMOS tube is connected to the substrate of the third PMOS tube; the drain of the second PMOS tube is connected to the first current input end of the current mirror part; the drain of the third PMOS tube is connected to the second current input end of the current mirror part; all the TRIMMING position correction circuits are connected in parallel; The first PMOS tube is used to provide a current path from the power supply to the input stage; the second PMOS tube is used to isolate the positive input voltage from the common mode voltage; the third PMOS tube is used to isolate the negative input voltage from the common mode voltage; the current mirror part is used to mirror the first-stage current to the SR stage; the improved SR stage part is used to compare the mirrored SR stage current and output the comparison result; the TRIMMING position correction circuit is used to control the influence of power supply voltage changes on the operating point.
Citation Information
Patent Citations
Third-order temperature compensation CMOS band-gap reference voltage source
CN107300942A
High-speed low-kickback-noise dynamic comparer and circuit
CN107888171A
CMOS voltage reference circuit with ultra-low power consumption
CN111796625A
High-precision BANDGAP design method
CN113721696A
Method for implementation of a low noise, high accuracy current mirror for audio applications
US20060119496A1