Trimming circuit, trimming method, and integrated circuit chip
By combining a reference source generation unit, a current mirror unit, and a voltage clamping unit, along with a temperature compensation method for the current adjustment unit, the problem of the inability to eliminate the current temperature coefficient in existing technologies is solved, achieving zero-temperature characteristics and high-precision output of the reference current.
Patent Information
- Application Number
- PCT/CN2025/089514
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-26
- Filing Date
- 2025-04-17
- Publication Date
- 2025-10-30
AI Technical Summary
In existing technologies, the adjustment method of generating current by introducing zero-temperature voltage cannot completely eliminate the temperature coefficient of the current, resulting in unstable output current.
The system employs a combination structure of a reference source generation unit, a current mirror unit, a voltage clamping unit, and a current adjustment unit. The current mirror unit controls the current matching, the voltage clamping unit clamps the feedback voltage, and the current adjustment unit compensates for temperature characteristics, thereby achieving the generation of zero-temperature current.
It achieves zero-temperature characteristics of the reference current, avoiding the mutual influence between temperature characteristic adjustment and absolute current value adjustment, and improving the stability and accuracy of the current.
Smart Images

Figure CN2025089514_30102025_PF_FP_ABST
Abstract
Description
Repair circuits, repair methods and integrated circuit chips
[0001] This application claims priority to Chinese Patent Application No. 202410516850.0, filed on April 26, 2024, entitled "Tuning Circuit, Tuning Method and Integrated Circuit Chip", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of integrated circuit technology, and in particular to a tuning circuit, tuning method, and integrated circuit chip. Background Technology
[0003] Bandgap reference voltages provide stable voltages or currents that do not change with temperature. They are indispensable modules in analog systems such as digital-to-analog converters, analog-to-digital converters, and linear regulators. Their accuracy and stability directly affect the accuracy of the entire system. The principle is to add a voltage with a negative temperature coefficient and a voltage with a positive temperature coefficient with appropriate weights to obtain a zero temperature coefficient voltage.
[0004] In the process of conceiving and implementing this application, the inventors discovered at least the following problems: In some solutions, a zero-temperature voltage is introduced to generate current through an operational amplifier, and the absolute value of the output current can be adjusted by adjusting the resistor connected to the negative input of the operational amplifier. However, since the resistor usually has a certain temperature coefficient, the output current also has a certain temperature coefficient, and it is impossible to obtain a completely zero-temperature current.
[0005] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0006] This application provides a tuning circuit, tuning method, and integrated circuit chip to solve the problem that some solutions cannot completely achieve zero-temperature current.
[0007] In a first aspect, this application provides a trimming circuit, including a reference source generation unit, a current mirror unit, a current trimming unit, and a voltage clamping unit;
[0008] The first input terminal of the voltage clamping unit is used to input the positive power supply voltage, the second input terminal of the voltage clamping unit is used to input the zero temperature voltage, the third input terminal of the voltage clamping unit is used to input the feedback voltage, the first output terminal and the second output terminal of the voltage clamping unit are connected to the current mirror unit, the first output terminal of the voltage clamping unit is used to output the first current, and the second output terminal of the voltage clamping unit is used to output the second current.
[0009] The first input terminal of the current adjustment unit is connected to the first power supply, the second input terminal of the current adjustment unit is used to input the positive power supply voltage, the first output terminal and the second output terminal of the current adjustment unit are connected to the current mirror unit, the first output terminal of the current adjustment unit is used to output the third current, and the second output terminal of the current adjustment unit is used to output the fourth current.
[0010] The first input terminal of the current mirror unit is used to input a positive power supply voltage, the second input terminal of the current mirror unit is used to input a negative power supply voltage, the third input terminal of the current mirror unit is used to input a fifth current, the fourth input terminal of the current mirror unit is used to input a sixth current, and the output terminal of the current mirror unit is connected to the reference source generation unit. The fifth current is the sum of the first current and the third current, and the sixth current is the sum of the second current and the fourth current.
[0011] The reference source generation unit is used to generate a stable reference current, the voltage clamping unit is used to clamp the feedback voltage of the reference source generation unit, the current adjustment unit is used to compensate for temperature characteristics, and the current mirror unit is used to control the matching of the fifth and sixth currents.
[0012] In one embodiment, the trimming circuit further includes a trimming ratio control unit, the second terminal of the current trimming unit is connected to the trimming ratio control unit, and the trimming ratio control unit is used to input a first voltage or a second voltage to the current trimming unit.
[0013] There is a pressure difference with a positive or negative temperature coefficient between the first voltage and the second voltage.
[0014] In one embodiment, the current adjustment unit includes a first switching transistor, a second switching group, and a third switching unit;
[0015] The first terminal of the first switching transistor is connected to the first power supply, the control terminal of the first switching transistor is used to input the positive power supply voltage, and the second terminal of the first switching transistor is connected to the first terminal of the second switching group and the third switching unit.
[0016] The second terminal of the second switch group is connected to the fourth input terminal of the current mirror unit, and the control terminal of the second switch group is connected to the trimming ratio control unit.
[0017] The second terminal of the third switching unit is connected to the third input terminal of the current mirror unit, and the control terminal of the third switching unit is connected to the adjustment ratio control unit.
[0018] In one embodiment, the second switch group includes 2 n -1 MOSFET, the third switching unit includes n groups of switching transistors, and the i-th group of switching transistors includes 2 i-1 There are n MOSFETs, where 1 ≤ i ≤ n, and n is a positive integer;
[0019] The drains of all MOSFETs in the second switching group are connected to the fourth input terminal of the current mirror unit, and the control terminals of all MOSFETs in the second switching group are connected to one end and connected to the trimming proportional control unit.
[0020] The drains of all the switching transistors in the third switching unit are connected to the third input terminal of the current mirror unit, and the control terminals of all the switching transistors in the third switching unit are connected to the adjustment proportional control unit.
[0021] In one embodiment, the trimming ratio control unit includes a trimming register;
[0022] The trimming register stores trimming instructions, which are used to control the output current of the current trimming unit to be one of the following: negative temperature current, zero temperature current, and positive temperature current.
[0023] In one embodiment, the adjustment command is used to control the voltage combination of the control terminals of the MOSFETs in the second switch group and the third switch unit.
[0024] In one embodiment, the current mirror unit includes a fourth switch, a fifth switch, a sixth switch, a seventh switch, an eighth switch, and a ninth switch.
[0025] The drain of the fourth switch is connected to the second output terminal of the voltage clamping unit and the second output terminal of the current trimming unit. The source of the fourth switch is grounded. The control terminal of the fourth switch is connected to the control terminal of the fifth switch.
[0026] The drain of the fifth switching transistor is connected to the first output terminal of the voltage clamping unit and the first output terminal of the current trimming unit, and the source of the fifth switching transistor is grounded.
[0027] The source of the sixth switch is connected to the first power supply, the control terminal of the sixth switch is used to input the positive power supply voltage, and the drain of the sixth switch is connected to the drain of the eighth switch.
[0028] The source of the seventh switch is connected to the first power supply, the control terminal of the seventh switch is used to input the positive power supply voltage, and the drain of the seventh switch is connected to the drain of the ninth switch.
[0029] The control terminal of the eighth switch is used to input the negative power supply voltage, and the source of the eighth switch is connected to the drain of the fourth switch.
[0030] The control terminal of the ninth switch is used to input the negative power supply voltage. The source of the ninth switch is connected to the drain of the fifth switch, and the drain of the ninth switch is connected to the reference source generation unit.
[0031] The drain of the eighth switch is connected to the control terminal of the fourth switch.
[0032] In one embodiment, the fourth, fifth, sixth, seventh, eighth, and ninth switches have the same width-to-length ratio.
[0033] In one embodiment, the voltage clamping unit includes a tenth switch, an eleventh switch, and a twelfth switch;
[0034] The source of the tenth switch is connected to the first power supply, the control terminal of the tenth switch is used to input the positive power supply voltage, and the drain of the tenth switch is connected to the source of the first switch and the source of the sixth switch.
[0035] The control terminal of the twelfth switch is used to input the zero-temperature voltage, and the drain of the twelfth switch is connected to the drain of the fourth switch.
[0036] The control terminal of the eleventh switch is connected to the reference source generation unit and is used to input the feedback voltage of the reference source generation unit. The drain of the eleventh switch is connected to the drain of the fifth switch.
[0037] In one embodiment, the reference source generation unit includes a thirteenth switch, a fourteenth switch, a fifteenth switch, and a first resistor;
[0038] The source of the thirteenth switch is connected to the first power supply, the control terminal of the thirteenth switch is connected to the control terminal of the fourteenth switch, the control terminal of the thirteenth switch is connected to the drain of the thirteenth switch, and the drain of the thirteenth switch is connected to the drain of the fifteenth switch.
[0039] The source of the fifteenth switch is connected to the first end of the first resistor, and the control terminal of the fifteenth switch is connected to the drain of the ninth switch.
[0040] The first end of the first resistor is connected to the voltage clamping unit to provide feedback voltage to the voltage clamping unit, and the second end of the first resistor is grounded.
[0041] The source of the fourteenth switch is connected to the first power supply, and the drain of the fourteenth switch is used to output zero-temperature current.
[0042] In one embodiment, the first resistor is an adjustable resistor.
[0043] In one embodiment, the ratio of the width-to-length ratio of the first switching transistor to the width-to-length ratio of the tenth switching transistor is a first ratio value, which is used to adjust the source current of the second switching group and the third switching unit to control the adjustment accuracy.
[0044] In one embodiment, the trimming ratio control unit is used to control the trimming accuracy by adjusting the voltage difference between the first voltage and the second voltage.
[0045] Secondly, this application provides an integrated circuit chip including any of the tuning circuits described above.
[0046] Thirdly, this application provides an adjustment method based on any of the above-mentioned adjustment circuits, the adjustment method comprising:
[0047] The current-temperature characteristics are adjusted based on the feedback voltage of the reference source generation unit.
[0048] After the current-temperature characteristics are adjusted, the absolute value of the current is adjusted.
[0049] In one embodiment, the current-temperature characteristics are adjusted based on the feedback voltage of the reference source generation unit, specifically including:
[0050] If the feedback voltage is a negative temperature voltage, the control current adjustment unit outputs a positive temperature current, making the reference current output by the reference source generating unit a zero temperature current; or
[0051] If the feedback voltage is a zero-temperature voltage, the control current adjustment unit outputs a zero-temperature current, making the reference current output by the reference source generation unit a zero-temperature current; or
[0052] If the feedback voltage is a positive temperature voltage, the control current adjustment unit outputs a negative temperature current, so that the reference current output by the reference source generating unit is a zero temperature current.
[0053] This application provides a trimming circuit, including a reference source generation unit, a current mirror unit, a current trimming unit, and a voltage clamping unit. The voltage clamping unit has a first input terminal for inputting a positive power supply voltage, a second input terminal for inputting a zero-temperature voltage, and a third input terminal for inputting a feedback voltage. The first and second output terminals of the voltage clamping unit are connected to the current mirror unit; the first output terminal outputs a first current, and the second output terminal outputs a second current. The current trimming unit has a first input terminal connected to a first power supply, a second input terminal for inputting a positive power supply voltage, and both its first and second output terminals are connected to the current mirror unit. The first output terminal of the current adjustment unit is used to output a third current, and the second output terminal is used to output a fourth current. The first input terminal of the current mirror unit is used to input a positive power supply voltage, the second input terminal is used to input a negative power supply voltage, the third input terminal is used to input a fifth current, and the fourth input terminal is used to input a sixth current. The output terminal of the current mirror unit is connected to the reference source generation unit. The fifth current is the sum of the first and third currents, and the sixth current is the sum of the second and fourth currents. The reference source generation unit is used to generate a stable reference current. The voltage clamping unit is used to clamp the feedback voltage of the reference source generation unit. The current adjustment unit is used to compensate for temperature characteristics, and the current mirror unit is used to control the matching of the fifth and sixth currents. This application achieves current temperature characteristic compensation by introducing a current adjustment unit, controlling the reference current generated by the reference source generation unit to be a zero-temperature current. Attached Figure Description
[0054] Figure 1 is a schematic diagram of the adjustment circuit provided in one embodiment;
[0055] Figure 2 is a schematic diagram of the adjustment circuit provided in an embodiment of this application;
[0056] Figure 3 is a schematic diagram of the adjustment circuit provided in another embodiment of this application;
[0057] Figure 4 is a schematic diagram of the adjustment circuit provided in an embodiment of this application;
[0058] Figure 5 shows the temperature characteristics of different combinations provided in an embodiment of this application;
[0059] Figure 6 is a flowchart of an embodiment of the adjustment method provided in this application.
[0060] Reference numerals: 304, Reference source generation unit; 303, Current mirror unit; 302, Current adjustment unit; 301, Voltage clamping unit; 305, Adjustment ratio control unit; M1, First switch transistor; M2, Second switch group; M3, Third switch unit; M4, Fourth switch transistor; M5, Fifth switch transistor; M6, Sixth switch transistor; M7, Seventh switch transistor; M8, Eighth switch transistor; M9, Ninth switch transistor; M10, Tenth switch transistor; M11, Eleventh switch transistor; M12, Twelfth switch transistor; M13, Thirteenth switch transistor; M14, Fourteenth switch transistor; M15, Fifteenth switch transistor; VBP, Positive power supply voltage; VBG, Zero-temperature voltage; VBN, Negative power supply voltage; R, First resistor. Detailed Implementation
[0061] As shown in Figure 1, which is a schematic diagram of the adjustment circuit provided in an embodiment, the positive terminal of the operational amplifier OPA is input with a zero-temperature voltage (VBG), which is generally achieved by a bandgap reference. The negative feedback formed by the operational amplifier clamps the far-ground end of the resistor. If the gain of the operational amplifier is high enough, the Vgs of the switching transistor Mc is approximately equal to VBG. Therefore, the current I in the branch where the switching transistor Mc is located is equal to VBG / R. The switching transistors M9 and M10 are current mirrors, so the output current of the drain of the switching transistor M10 replicates the current I in the branch where the switching transistor Mc is located. However, the resistor R usually has a certain temperature coefficient, so the output current cannot be completely zero-temperature current.
[0062] Based on this, as shown in Figure 2, which is a schematic diagram of the structure of a trimming circuit provided in an embodiment of this application, the trimming circuit includes a reference source generation unit, a current mirror unit, and a voltage clamping unit. However, the absolute current value trimming and temperature characteristic trimming in this current structure affect each other, making it difficult to achieve accurate calibration.
[0063] Based on the embodiment shown in Figure 2, this application provides a schematic diagram of a trimming circuit, as shown in Figure 3. The trimming circuit includes a reference source generation unit 304, a current mirror unit 303, a current trimming unit 302, and a voltage clamping unit 301. The first input terminal of the voltage clamping unit 301 is used to input a positive power supply voltage, the second input terminal is used to input a zero-temperature voltage, and the third input terminal is used to input a feedback voltage. The first and second output terminals of the voltage clamping unit 301 are connected to the current mirror unit 303. The first output terminal of the voltage clamping unit 301 is used to output a first current, and the second output terminal is used to output a second current.
[0064] The first input terminal of the current adjustment unit 302 is connected to the first power supply, the second input terminal of the current adjustment unit 302 is used to input the positive power supply voltage, the first output terminal and the second output terminal of the current adjustment unit 302 are connected to the current mirror unit 303, the first output terminal of the current adjustment unit 302 is used to output the third current, and the second output terminal of the current adjustment unit 302 is used to output the fourth current.
[0065] The first input terminal of the current mirror unit 303 is used to input a positive power supply voltage, the second input terminal is used to input a negative power supply voltage VBN, the third input terminal is used to input a fifth current, and the fourth input terminal is used to input a sixth current. The output terminal of the current mirror unit 303 is connected to the reference source generation unit 304. The fifth current is the sum of the first and third currents, and the sixth current is the sum of the second and fourth currents. The reference source generation unit 304 is used to generate a stable reference current. The voltage clamping unit 301 is used to clamp the feedback voltage of the reference source generation unit 304. The current adjustment unit 302 is used to compensate for temperature characteristics, and the current mirror unit 303 is used to control the matching of the fifth and sixth currents.
[0066] This application achieves current temperature characteristic compensation by introducing a current adjustment unit, and controls the reference current generated by the reference source generation unit 304 to be a zero-temperature current; secondly, the temperature adjustment and the absolute value resistance adjustment are separated, avoiding the problem of low accuracy caused by mutual interference between temperature characteristic adjustment and absolute value current adjustment.
[0067] In an optional embodiment, as shown in FIG4, FIG4 is a schematic diagram of the structure of a trimming circuit provided in an embodiment of the present application. The trimming circuit further includes a trimming ratio control unit 305. The second end of the current trimming unit 302 is connected to the trimming ratio control unit 305. The trimming ratio control unit 305 is used to input a first voltage V1 or a second voltage V2 to the current trimming unit 302.
[0068] There is a pressure difference ΔV between the first voltage V1 and the second voltage V2 with a positive or negative temperature coefficient.
[0069] In an optional embodiment, the current adjustment unit 302 includes a first switching transistor M1, a second switching group M2, and a third switching unit M3; the first end of the first switching transistor M1 is connected to a first power supply, the control end of the first switching transistor M1 is used to input a positive power supply voltage, and the second end of the first switching transistor M1 is connected to the first ends of the second switching group M2 and the third switching unit M3.
[0070] The second terminal of the second switch group M2 is connected to the fourth input terminal of the current mirror unit 303, and the control terminal of the second switch group M2 is connected to the trimming ratio control unit 305; the second terminal of the third switch unit M3 is connected to the third input terminal of the current mirror unit 303, and the control terminal of the third switch unit M3 is connected to the trimming ratio control unit 305.
[0071] In an optional embodiment, the current mirror unit 303 includes a fourth switch M4, a fifth switch M5, a sixth switch M6, a seventh switch M7, an eighth switch M8, and a ninth switch M9; the drain of the fourth switch M4 is connected to the second output terminal of the voltage clamping unit 301 and the second output terminal of the current adjustment unit 302, the source of the fourth switch M4 is grounded, and the control terminal of the fourth switch M4 is connected to the control terminal of the fifth switch M5; the drain of the fifth switch M5 is connected to the first output terminal of the voltage clamping unit 301 and the first output terminal of the current adjustment unit 302, and the source of the fifth switch M5 is grounded; the source of the sixth switch M6 is connected to the first power supply, and the control terminal of the sixth switch M6 is used for output... A positive power supply voltage is input, and the drain of the sixth switch M6 is connected to the drain of the eighth switch M8; the source of the seventh switch M7 is connected to the first power supply, and the control terminal of the seventh switch M7 is used to input the positive power supply voltage, and the drain of the seventh switch M7 is connected to the drain of the ninth switch M9; the control terminal of the eighth switch M8 is used to input the negative power supply voltage VBN, and the source of the eighth switch M8 is connected to the drain of the fourth switch M4; the control terminal of the ninth switch M9 is used to input the negative power supply voltage VBN, and the source of the ninth switch M9 is connected to the drain of the fifth switch M5, and the drain of the ninth switch M9 is connected to the reference source generation unit 304; wherein, the drain of the eighth switch M8 is connected to the control terminal of the fourth switch M4.
[0072] The current mirror unit is a folded op-amp input pair used to control the current matching of the input pair. That is, the currents input to the third and fourth input terminals of the current mirror unit, the fifth current and the sixth current are matched so that the fifth current is equal to the sixth current.
[0073] In one embodiment, the fourth, fifth, sixth, seventh, eighth, and ninth switches have the same width-to-length ratio to ensure that the input fifth and sixth currents of the current mirror unit are equal.
[0074] In an optional embodiment, the voltage clamping unit 301 includes a tenth switch M10, an eleventh switch M11, and a twelfth switch M12. The source of the tenth switch M10 is connected to a first power supply, and its control terminal is used to input a positive power supply voltage. The drain of the tenth switch M10 is connected to the source of the first switch M1 and the source of the sixth switch M6. The control terminal of the twelfth switch M12 is used to input a zero-temperature voltage, and its drain is connected to the drain of the fourth switch M4. The control terminal of the eleventh switch M11 is connected to the reference source generation unit 304 and is used to input the feedback voltage of the reference source generation unit 304. The drain of the eleventh switch M11 is connected to the drain of the fifth switch M5. The voltage clamping unit is a folded operational amplifier input pair, used to clamp the feedback voltage VM of the reference source generation unit, thereby stabilizing the feedback voltage.
[0075] In an optional embodiment, the reference source generation unit 304 includes a thirteenth switch M13, a fourteenth switch M14, a fifteenth switch M15, and a first resistor R. The source of the thirteenth switch M13 is connected to a first power supply, the control terminal of the thirteenth switch M13 is connected to the control terminal of the fourteenth switch M14, the control terminal of the thirteenth switch M13 is connected to its drain, and the drain of the thirteenth switch M13 is connected to the drain of the fifteenth switch M15. The source of the fifteenth switch M15 is connected to the first end of the first resistor R, and the control terminal of the fifteenth switch M15 is connected to the drain of the tenth switch M10. The first end of the first resistor R is connected to the voltage clamping unit 301 to provide feedback voltage to the voltage clamping unit 301, and the second end of the first resistor R is grounded. The source of the fourteenth switch M14 is connected to the first power supply, and the drain of the fourteenth switch M14 is used to output a zero-temperature current. This reference source generation unit is used to generate a stable reference current.
[0076] In an optional embodiment, the first resistor R is an adjustable resistor.
[0077] Optionally, the first switch M1, the tenth switch, the eleventh switch, all switches in the second switch group M2, all switches in the third switch unit M3, the twelfth switch, the seventh switch M7, the sixth switch, the thirteenth switch M13 and the fourteenth switch M14 are all P-type switches, and the eighth switch M8, the ninth switch M9, the fourth switch, the fifth switch and the fifteenth switch M15 are all N-type switches.
[0078] In an optional embodiment, the second switch group M2 includes 2 n -1 MOSFET, the third switching unit M3 includes n groups of switching transistors, and the i-th group of switching transistors includes 2 i-1 There are n MOSFETs, where 1 ≤ i ≤ n, and n is a positive integer;
[0079] The drains of all MOSFETs in the second switch group M2 are connected to the drain of the fourth switch M4. The control terminals of all MOSFETs in the second switch group M2 are connected to one end and connected to the trimming proportional control unit 305.
[0080] The drains of all the switching transistors in the third switching unit M3 are connected to the drain of the fifth switching transistor M5, and the control terminals of all the switching transistors in the third switching unit are connected to the adjustment proportional control unit 305.
[0081] Specifically, the control terminals of all MOSFETs in the second switch group M2 are connected to one end and then connected to the adjustment proportional control unit 305. The adjustment proportional control unit 305 is used to input a first voltage V1 or a second voltage V2 to the control terminals of all MOSFETs in the second switch group M2. This can be understood as the control terminals of all MOSFETs in the second switch group M2 simultaneously receiving the first voltage V1 or simultaneously receiving the second voltage V2.
[0082] The adjustment ratio control unit 305 inputs a first voltage V1 or a second voltage V2 to the control terminals of all MOS transistors in the third switching unit M3. That is, the voltages at the control terminals of the MOS transistors in the third switching unit M3 can be the same or different.
[0083] In an optional embodiment, the trimming ratio control unit 305 includes a trimming register; the trimming register stores trimming instructions, which are used to control the output current of the current trimming unit 302 to be one of negative temperature current, zero temperature current, and positive temperature current.
[0084] In an optional embodiment, the adjustment command is used to control the voltage combination of the MOS transistor control terminals in the second switch group M2 and the third switch unit M3.
[0085] Specifically, a multi-bit trimming register (TCTRIM) <n:0>Different register settings correspond to different combinations of gate voltages for transistors M2 and M3 (see Table 1, taking n=4 as an example, the register has 4 bits). With 4 registers, there are 15 MOS transistors in the second switch group M2, and 4 switch groups in the third switch unit M3, with 1, 2, 4, and 8 MOS transistors in each group, corresponding to the following combinations: M2 gate voltage (V1 or V2), and M3 gate voltage (V1, V0). n The register can store the combination of the gate voltages of the MOS transistors in the second switch group M2 and the third switch unit M3. By selecting the optimal combination, the best temperature characteristics can be achieved. As shown in Figure 5, Figure 5 is a temperature characteristic effect diagram of different combinations provided in an embodiment of this application.
[0086] Table 1: Combinations of gate voltages for transistors M2 and M3 corresponding to 4-bit registers.
[0087] In the temperature characteristic adjustment process of the circuit structure provided in this application, the temperature characteristic of the resistor R is not considered at first. At this time, the gate voltage of the MOS transistor in the second switch group M2 is considered to be the first voltage V1, the gate voltage of m MOS transistors in the third switch unit M3 is considered to be the first voltage V1, the gate voltage of the remaining MOS transistors is considered to be the second voltage V2, and the drain current of the twelfth switch transistor is considered to be the second current I. a1 The drain current of the second switch group M2 is the fourth current I. b1 The drain current of the fourth switch is the sixth current I. c1 The drain current of the eleventh switch is the first current I. a0 The drain current of the third switching unit M3 is the third current I. b0 The drain current of the fifth switch is the fifth current I. c0 Since the fourth and fifth switches are mirror images of each other, I c0 =I C1 Based on the circuit analysis in Figure 4, the following formula can be derived: I c1 =I a1 +I b1 I c0 =I a0 +I b0 Formula (1) I a1 =VBG*g mm1 I b1 =15*V1*g mm2 I a0 =VM*g mm0 I b0 =(15-m)V2*g mm3 +m*V1*g mm2 Formula (2)
[0088] Where VM is the feedback voltage of resistor R, g mm1 g is the transconductance value of the twelfth switch. mm2 g is the transconductance value of the switching transistor in the second switching group M2. mm0 g is the transconductance value of the eleventh switch. mm3 Let be the transconductance value of the switching transistor in the third switching unit M3. From formulas (1) and (2), formula (3) can be derived: VBG*g mm1 -VM*g mm0 = (15-m)V2*g mm3 -(15-m)V1*g mm2 =ΔI Formula (3)
[0089] When m = 0, that is, the gate voltage of the switching transistor in the second switch group M2 is the first voltage V1, and the gate voltage of the switching transistor in the third switch unit M3 is the second voltage V2. Since V1 and V2 are voltages with positive temperature coefficient voltage difference, the current with the largest ΔI value and positive temperature coefficient is the current. However, since VBG is a zero-temperature voltage, when the feedback voltage VM is a negative-temperature voltage, formula (3) holds. At this time, the output current of the current adjustment unit 302 is a positive-temperature current. It can be understood that when the feedback voltage of the resistor R is a negative-temperature voltage, the current adjustment unit 302 controls the combination of the gate voltages of the MOS transistors in the second switch group M2 and the third switch unit M3 through the adjustment proportional control unit 305, so that the output current of the current adjustment unit 302 is a positive-temperature current, which compensates for the negative-temperature voltage generated by the resistor R, so that the current output by the reference source generation unit 304 is a zero-temperature current.
[0090] When m = 15, the gate voltages of the switching transistors in the second switching group M2 and the third switching unit M3 are both the first voltage V1, so ΔI equals 0. Therefore, the voltage-temperature characteristic of the feedback voltage VM is consistent with the zero-temperature voltage VBG. At this time, the output current of the current adjustment unit 302 is the zero-temperature current. When the feedback voltage of resistor R is detected to be the zero-temperature voltage, the resistor has no temperature coefficient, and the output current of the current adjustment unit 302 is also the zero-temperature current, requiring no temperature adjustment.
[0091] Similarly, when the gate voltage of the MOS transistor in the second switch group M2 is the second voltage, and the gate voltage of the switch transistor in the third switch unit M3 is the first voltage V1, the current adjustment unit 302 can obtain an output current of negative temperature current.
[0092] When the resistor R has temperature characteristics (positive temperature voltage, negative temperature voltage, or zero temperature voltage), the current adjustment unit 302 compensates for the temperature characteristics of the resistor by adjusting the ratio of the first voltage V1 and the second voltage V2 in the second switch group M2 and the third switch unit M3, thereby adjusting the temperature characteristics and achieving zero temperature current output.
[0093] In an optional embodiment, the second switch group M2 includes 2 n -1 MOSFET, the third switching unit M3 includes n groups of switching transistors, and the i-th group of switching transistors includes 2 i-1 There are 1 MOS transistors, 1≤i≤n, where n is a positive integer; the number of bits in the adjustment register is also n. The larger the value of n, the larger the number of bits required in the adjustment register, and the more combinations of the ratio of the first voltage and the second voltage in the second switch group M2 and the third switch unit M3, the higher the accuracy when adjusting the temperature characteristics.
[0094] In an optional embodiment, the trimming ratio control unit 305 controls the trimming accuracy by adjusting the voltage difference ΔV between the first voltage V1 and the second voltage V2. The smaller ΔV is, the higher the trimming accuracy that the current trimming unit 302 can achieve. The smaller the voltage difference, the smaller the variation caused by different voltage ratios during the trimming process for currents requiring high precision, making it easier to select the optimal output current.
[0095] In an optional embodiment, the ratio of the width-to-length ratio of the first switch M1 to the width-to-length ratio of the tenth switch M10 is a first ratio, which is used to adjust the source current of the second switch group M2 and the third switch unit M3 to control the trimming accuracy.
[0096] The first switch M1 and the tenth switch M10 are mirror images of each other. By adjusting the aspect ratio of the first switch M1 and the tenth switch M10, the proportion of source current in the second switch group M2 and the third switch unit M3 is adjusted, thus reducing the proportion of source current in the second switch group M2 and the third switch unit M3. The current flowing through the first switch M1 divided by the current flowing through the tenth switch M10 yields a percentage A. If the register controlling the second switch group M2 and the third switch unit M3 is 5 bits, 32 adjustment bits will be generated. The adjustment precision is equal to A / 32, meaning that the smaller the proportion of the current of the first switch M1 to that of the tenth switch M10, the higher the adjustment precision. Therefore, reducing the source current of the second switch group M2 and the third switch unit M3 also reduces the drain current of the second switch group M2 and the third switch unit M3, thereby achieving a more precise current output.
[0097] After the temperature characteristics are adjusted, the absolute value of the current is adjusted. The formula for the output current can be approximated as I = (VBG + K * ΔV) / R, where K is the temperature coefficient adjustment ratio and ΔV is the difference between the first voltage V1 and the second voltage V2. After the temperature characteristics of the current are adjusted, K and ΔV are fixed. The absolute value of the output current is changed by adjusting R.
[0098] This application first performs temperature characteristic adjustment by adjusting the ratio of the first voltage and the second voltage in the second switch group M2 and the third switch unit M3 to compensate for the temperature characteristic of the resistor, and then performs current absolute value adjustment to avoid mutual interference between temperature characteristic adjustment and current absolute value adjustment.
[0099] This application provides an integrated circuit chip including any of the adjustment circuits described above. The integrated circuit chip may be a microprocessor chip, etc., and the adjustment circuit is connected to temperature-sensitive functional circuit modules such as an ADC and a reference voltage source.
[0100] This application also provides a trimming method, as shown in Figure 6, which is applied to the above-mentioned trimming current and includes the following steps:
[0101] Step S702: Adjust the current-temperature characteristics based on the feedback voltage of the reference source generation unit 304;
[0102] Step S704: After the current-temperature characteristic adjustment is completed, the absolute value of the current is adjusted.
[0103] In an optional embodiment, step S702 specifically includes:
[0104] If the feedback voltage is a negative temperature voltage, the control current adjustment unit 302 outputs a positive temperature current, so that the reference current output by the reference source generation unit 304 is a zero temperature current; or
[0105] If the feedback voltage is a zero-temperature voltage, the control current adjustment unit 302 outputs a zero-temperature current, making the reference current output by the reference source generation unit 304 a zero-temperature current; or
[0106] If the feedback voltage is a positive temperature voltage, the control current adjustment unit 302 outputs a negative temperature current, so that the reference current output by the reference source generation unit 304 is a zero temperature current.
[0107] This application first performs temperature characteristic adjustment by adjusting the ratio of the first voltage and the second voltage in the second switch group M2 and the third switch unit M3 in the current adjustment unit to compensate for the temperature characteristic of the resistor, and then performs absolute current adjustment to avoid mutual interference between temperature characteristic adjustment and absolute current adjustment.
[0108] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A tuning circuit, characterized in that, It includes a reference source generation unit, a current mirror unit, a current adjustment unit, and a voltage clamping unit; The first input terminal of the voltage clamping unit is used to input a positive power supply voltage, the second input terminal of the voltage clamping unit is used to input a zero-temperature voltage, the third input terminal of the voltage clamping unit is used to input a feedback voltage, the first output terminal and the second output terminal of the voltage clamping unit are connected to the current mirror unit, the first output terminal of the voltage clamping unit is used to output a first current, and the second output terminal of the voltage clamping unit is used to output a second current. The first input terminal of the current adjustment unit is connected to the first power supply, the second input terminal of the current adjustment unit is used to input the positive power supply voltage, the first output terminal and the second output terminal of the current adjustment unit are connected to the current mirror unit, the first output terminal of the current adjustment unit is used to output the third current, and the second output terminal of the current adjustment unit is used to output the fourth current. The first input terminal of the current mirror unit is used to input a positive power supply voltage, the second input terminal of the current mirror unit is used to input a negative power supply voltage, the third input terminal of the current mirror unit is used to input a fifth current, the fourth input terminal of the current mirror unit is used to input a sixth current, and the output terminal of the current mirror unit is connected to the reference source generation unit. The fifth current is the sum of the first current and the third current, and the sixth current is the sum of the second current and the fourth current. The reference source generation unit is used to generate a stable reference current, the voltage clamping unit is used to clamp the feedback voltage of the reference source generation unit, the current adjustment unit is used to compensate for temperature characteristics, and the current mirror unit is used to control the matching of the fifth current and the sixth current.
2. The adjustment circuit according to claim 1, characterized in that, The adjustment circuit also includes an adjustment ratio control unit. The second terminal of the current adjustment unit is connected to the adjustment ratio control unit. The adjustment ratio control unit is used to input a first voltage or a second voltage to the current adjustment unit. There is a pressure difference with a positive or negative temperature coefficient between the first voltage and the second voltage.
3. The adjustment circuit according to claim 2, characterized in that, The current adjustment unit includes a first switching transistor, a second switching group, and a third switching unit; The first terminal of the first switching transistor is connected to the first power supply, the control terminal of the first switching transistor is used to input a positive power supply voltage, and the second terminal of the first switching transistor is connected to the first terminal of the second switching group and the third switching unit. The second terminal of the second switch group is connected to the fourth input terminal of the current mirror unit, and the control terminal of the second switch group is connected to the adjustment ratio control unit. The second end of the third switching unit is connected to the third input end of the current mirror unit, and the control end of the third switching unit is connected to the adjustment ratio control unit.
4. The adjustment circuit according to claim 3, characterized in that, The second switch group includes 2 n -1 MOSFET, the third switching unit includes n groups of switching transistors, the i-th group of switching transistors includes 2 i-1 There are n MOSFETs, where 1 ≤ i ≤ n, and n is a positive integer; The drains of all MOSFETs in the second switching group are connected to the fourth input terminal of the current mirror unit, and the control terminals of all MOSFETs in the second switching group are connected to one end and to the adjustment ratio control unit. The drains of all the switching transistors in the third switching unit are connected to the third input terminal of the current mirror unit, and the control terminals of all the switching transistors in the third switching unit are connected to the adjustment ratio control unit.
5. The adjustment circuit according to claim 3, characterized in that, The adjustment ratio control unit includes an adjustment register; The adjustment register stores adjustment instructions, which are used to control the output current of the current adjustment unit to be one of negative temperature current, zero temperature current, and positive temperature current.
6. The adjustment circuit according to claim 5, characterized in that, The adjustment command is used to control the voltage combination of the MOS transistor control terminals in the second switch group and the third switch unit.
7. The adjustment circuit according to claim 1, characterized in that, The current mirror unit includes a fourth switch, a fifth switch, a sixth switch, a seventh switch, an eighth switch, and a ninth switch. The drain of the fourth switch is connected to the second output terminal of the voltage clamping unit and the second output terminal of the current trimming unit, the source of the fourth switch is grounded, and the control terminal of the fourth switch is connected to the control terminal of the fifth switch. The drain of the fifth switching transistor is connected to the first output terminal of the voltage clamping unit and the first output terminal of the current trimming unit, and the source of the fifth switching transistor is grounded. The source of the sixth switch is connected to the first power supply, the control terminal of the sixth switch is used to input a positive power supply voltage, and the drain of the sixth switch is connected to the drain of the eighth switch. The source of the seventh switch is connected to the first power supply, the control terminal of the seventh switch is used to input a positive power supply voltage, and the drain of the seventh switch is connected to the drain of the ninth switch. The control terminal of the eighth switch is used to input a negative power supply voltage, and the source of the eighth switch is connected to the drain of the fourth switch. The control terminal of the ninth switch is used to input a negative power supply voltage. The source of the ninth switch is connected to the drain of the fifth switch, and the drain of the ninth switch is connected to the reference source generation unit. The drain of the eighth switch is connected to the control terminal of the fourth switch.
8. The adjustment circuit according to claim 7, characterized in that, The voltage clamping unit includes a tenth switch, an eleventh switch, and a twelfth switch; The source of the tenth switch is connected to the first power supply, the control terminal of the tenth switch is used to input a positive power supply voltage, and the drain of the tenth switch is connected to the source of the first switch and the source of the sixth switch. The control terminal of the twelfth switch is used to input a zero-temperature voltage, and the drain of the twelfth switch is connected to the drain of the fourth switch. The control terminal of the eleventh switch is connected to the reference source generation unit and is used to input the feedback voltage of the reference source generation unit. The drain of the eleventh switch is connected to the drain of the fifth switch.
9. The adjustment circuit according to claim 8, characterized in that, The reference source generation unit includes a thirteenth switch, a fourteenth switch, a fifteenth switch, and a first resistor; The source of the thirteenth switch is connected to the first power supply, the control terminal of the thirteenth switch is connected to the control terminal of the fourteenth switch, the control terminal of the thirteenth switch is connected to the drain of the thirteenth switch, and the drain of the thirteenth switch is connected to the drain of the fifteenth switch. The source of the fifteenth switch is connected to the first end of the first resistor, and the control terminal of the fifteenth switch is connected to the drain of the ninth switch. The first end of the first resistor is connected to the voltage clamping unit to provide feedback voltage to the voltage clamping unit, and the second end of the first resistor is grounded. The source of the fourteenth switch is connected to the first power supply, and the drain of the fourteenth switch is used to output zero-temperature current.
10. The adjustment circuit according to claim 9, characterized in that, The first resistor is an adjustable resistor.
11. The adjustment circuit according to claims 3 and 8, characterized in that, The ratio of the width-to-length ratio of the first switching transistor to the width-to-length ratio of the tenth switching transistor is a first ratio value. The first ratio value is used to adjust the source current of the second switching group and the third switching unit to control the adjustment accuracy.
12. The adjustment circuit according to claim 7, characterized in that, The width-to-length ratio of the fourth, fifth, sixth, seventh, eighth, and ninth switching transistors is the same.
13. The adjustment circuit according to claim 4, characterized in that, The adjustment ratio control unit is used to control the adjustment accuracy by adjusting the voltage difference between the first voltage and the second voltage.
14. An integrated circuit chip, characterized in that, Includes the adjustment circuit as described in any one of claims 1-13.
15. A method for adjusting settings, characterized in that, Based on the adjustment circuit according to any one of claims 1-13, the adjustment method includes: The current-temperature characteristics are adjusted based on the feedback voltage of the reference source generation unit. After the current-temperature characteristic adjustment is completed, the absolute value of the current is adjusted.
16. The adjustment method according to claim 15, characterized in that, The current-temperature characteristics are adjusted based on the feedback voltage of the reference source generation unit, specifically including: If the feedback voltage is a negative temperature voltage, the current adjustment unit is controlled to output a positive temperature current, so that the reference current output by the reference source generation unit is a zero temperature current; or If the feedback voltage is a zero-temperature voltage, control the current adjustment unit to output a zero-temperature current, so that the reference current output by the reference source generation unit is a zero-temperature current; or If the feedback voltage is a positive temperature voltage, the current adjustment unit is controlled to output a negative temperature current, so that the reference current output by the reference source generation unit is a zero temperature current.
Citation Information
Patent Citations
Low-power-consumption high-precision current reference circuit
CN108491023A
Constant current source driving circuit, driving chip and electronic equipment
CN114420044A
Low dropout regulator trimmed by feedback network
CN114995573A
Reference voltage trimming circuit
CN117826917A
Low dropout regulator and ring oscillator
CN117850521A