ELECTRONIC SYSTEM WITH OFFSET VOLTAGE CORRECTION AND OFFSET VOLTAGE CORRECTION METHOD

An offset voltage correction technology is shown. An offset voltage correction (AOC) circuit is coupled to the first and second target nodes (affected by the offset voltage) of the target circuit for offset voltage correction, wherein current digital-to-analog converters (iDAC) are provided to bias the correction circuits. The first iDAC generates a first bias current. In response to the first bias current, the first correction circuit adjusts the voltage of the first target node. The second iDAC generates a second bias current. In response to the second bias current, the second correction circuit adjusts the voltage of the second target node.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority of China patent application No. 202510668254.9, filed May 22, 2025, the entirety of which is incorporated by reference herein.

TECHNICAL FIELD

The present disclosure relates to an offset voltage correction (AOC) circuit.

BACKGROUND

Common high-speed serial interfaces (SerDes) include the fourth-generation and fifth-generation Peripheral Component Interconnect Express (PCIe gen4/gen5), third-generation Universal Serial Bus (USB gen3), and chip-to-chip interconnect (ZDI), among others. By design, the higher the speed, the more significant the channel attenuation. Signals transmitted to the receiving end may be attenuated by tens or even hundreds of times. High-speed comparators (such as SA), therefore, are required at the receiving end, to restore the signals. However, the offset voltage of high-speed comparators cannot be too high, lest it overwhelm the signal itself. Furthermore, to accommodate high data rates (such as 16 G or 32 G), high-speed comparators must a have high bandwidth to successfully restore signals from tens of millivolts (mV) to rail-to-rail for subsequent digital circuit processing.

One conventional solution is to use physically large transistors to deal with the offset voltage. In one implementation, the offset voltage is inversely proportional to the square root of the transistor size. The offset voltage is suppressed within a reasonable range by physically large transistors. However, physically large transistors are not suitable for use in high-speed designs. The parasitic capacitance and resistance of physically large transistors will seriously affect the operating frequency of comparators and their preceding circuits. Physically large transistors also have problems of excessive power consumption and area. Especially, the receiving end of a serial interface may be equipped with more than one comparator. If each comparator is configured with physically large transistors to handle the offset voltage, the power consumption is considerable and a large area is required.

Another conventional approach corrects the offset voltage of the comparator by adding additional capacitors or gain transistors. FIG. 1 illustrates a conventional offset voltage correction technique for correcting the offset voltage of a comparator. The illustrated comparator 100 includes a comparator main circuit 102, and a 10-bit adjustable (referring to control signals P<9:0> and N<9:0>) gain transistor array 104 and a capacitor array 106. The gain transistor array 104 and capacitor array 106 are connected to intermediate nodes Calp and Caln of the comparator main circuit 102. By selecting the proper number of gain transistors (104) and capacitors (106), the offset voltage is corrected with high precision, and a large range correction is permitted. The illustration shows gain transistors with 63× (=1×+2×+4×+8×+16×+32×) units in size and capacitors with 15× (=1×+2×+4×+8×) units of size. Although this design balances high precision and large range correction, it inevitably brings significant parasitic capacitance/resistance problems, which also significantly affect the operating frequency of the comparator.

In addition to high-speed comparators (SA), other circuits such as operational amplifiers and bandgap circuits also have offset voltage correction requirements. How to achieve high-precision and large range offset voltage correction for high-speed circuits with low power consumption is an important issue in this technical field.

BRIEF SUMMARY

Offset voltage correction using current-type digital-to-analog converters (iDAC) is proposed. In such an architecture, a offset voltage (very small or considerable great) of a target circuit can be corrected in high precision by small-sized transistors; for example, the correction range may be ±3σ, where σ is a custom measure). Since small-sized transistors only carry small parasitic capacitance/resistance, the operating frequency of the high-speed circuit is not affected.

An electronic system with offset voltage correction in accordance with an exemplary embodiment of the disclosure includes a target circuit and an offset voltage correction circuit. The target circuit has a first target node and a second target node affected by an offset voltage. The offset voltage correction circuit is coupled to the first target node and the second target node to correct the offset voltage. The offset voltage correction circuit has a first sub-circuit coupled to the first target node, and a second sub-circuit coupled to the second target node. The first sub-circuit has a first current-type digital-to-analog converter and a first correction circuit. The first current-type digital-to-analog converter generates a first bias current, and the first correction circuit adjusts the voltage of the first target node based on the first bias current. The second sub-circuit has a second current-type digital-to-analog converter and a second correction circuit. The second current-type digital-to-analog converter generates a second bias current, and the second correction circuit adjusts the voltage of the second target node based on the second bias current.

In such a design, large-range and high-precision offset circuit correction can be achieved without using additional large gain transistor arrays and nor additional resistors, which is beneficial for high-speed circuit design.

The electronic system may be an electronic product including a control unit or a test machine including a control unit. The control unit is operative to control the first current-type digital-to-analog converter and the second current-type digital-to-analog converter, to generate the first bias current and second bias current to correct the offset voltage of the target circuit.

In another exemplary embodiment, an offset voltage correction method for correcting the offset voltage of the target circuit based on the aforementioned concept is shown. This method includes operating a first current-type digital-to-analog converter to generate a first bias current, to drive a first correction circuit to adjust the voltage of the first target node of the target circuit based on the first bias current. This method further includes operating a second current-type digital-to-analog converter to generate a second bias current, to drive a second correction circuit to adjust a voltage of a second target node of the target circuit based on the second bias current. The first target node and the second target node are affected by the offset voltage.

A detailed description is given in the following embodiments with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:

FIG. 1 illustrates a conventional offset voltage correction technique for correcting the offset voltage of a comparator;

FIG. 2 illustrates a comparator 200 in accordance with an exemplary embodiment of the disclosure, which includes a comparator main circuit 202 and an offset voltage correction circuit (abbreviated as AOC, including two sub-circuits 204_1 and 204_2);

FIG. 3 illustrates circuit details of the offset voltage correction circuit implemented in accordance with an exemplary embodiment of the disclosure;

FIG. 4 shows an electronic system 400 in accordance with an exemplary embodiment of the disclosure, which includes a control unit; and

FIG. 5 illustrates an offset voltage correction method for a target circuit 404 in accordance with an exemplary embodiment of the disclosure.

DETAILED DESCRIPTION

The following description shows various exemplary embodiments of the present disclosure, but is not intended to limit the content of the present disclosure. The actual scope of the disclosure should be defined in accordance with the appended claims. The various functional blocks described below may be implemented by a combination of hardware, software, and firmware, and may also include special circuits. The presented circuits, units, modules, or functional blocks are not limited to being implemented separately, but may be combined together to share certain structures.

An offset voltage correction (AOC) circuit for correcting the offset voltage of the target circuit is shown. The target circuit includes a first target node and a second target node affected by an offset voltage. The offset voltage correction circuit is coupled to the first target node and the second target node to correct the offset voltage. The offset voltage correction circuit has a first sub-circuit coupled to the first target node and a second sub-circuit coupled to the second target node. The first sub-circuit has a first current-type digital-to-analog converter (iDAC) and a first correction circuit, wherein the first current-type digital-to-analog converter generates a first bias current, and the first correction circuit adjusts the voltage of the first target node based ono the first bias current. The second sub-circuit has a second current-type digital-to-analog converter (iDAC) and a second correction circuit, wherein the second current-type digital-to-analog converter generates a second bias current, and the second correction circuit adjusts the voltage of the second target node based on the second bias current.

Because the correction circuits correcting the offset voltage are biased by iDACs, high-precision and large-range offset voltage correction is achieved without additional transistor array (104 of FIG. 1) or capacitor array (106 of FIG. 1). Thus, the target circuit can still operate at high speed.

In some exemplary embodiments, there are switches operative to couple the correction circuits to the target nodes. In this manner, when there is no correction requirement, the correction circuits can be disabled to save power.

The following uses a high-speed comparator (SA) as an illustrative example to show the operations of the disclosed offset voltage correction (AOC) circuit. The same concept may be applied to other types of target circuits, such as operational amplifiers, bandgap circuits, etc.

FIG. 2 illustrates a comparator 200 in accordance with an exemplary embodiment of the disclosure, which includes a comparator main circuit 202 and an offset voltage correction circuit (abbreviated as AOC, including two sub-circuits 204_1 and 204_2).

This paragraph explains how the offset voltage of the comparator main circuit 202 affects the voltages VSP and VSN of the two target nodes. In an ideal comparator, when the positive input voltage VIP equals the negative input voltage VIN (VIP=VIN), the voltages of outputs Q and Qb should be the same, that is, the voltages VSP and VSN of the two target nodes should be the same (VSP=VSN). However, due to process variations, even when VIP=VIN, there is still a voltage difference between the voltages VSP and VSN of the two target nodes. For example, VSP will be the same as VSN only when VIP=VIN+VOS; VOS is the offset voltage of this comparator. Due to the existence of offset voltage VOS, when the positive input voltage VIP equals the negative input voltage VIN (VIP=VIN), the node voltage VSP will be higher than the node voltage VSN. The voltages VSP and VSN of the two target nodes are affected by the offset voltage.

In response to the excessively high voltage VSP, the sub-circuit 204_1 provided by the offset voltage correction circuit (AOC) of the disclosure acts to pull down the voltage VSP of the target node to correct the offset voltage. As shown, the sub-circuit 204_1 includes a current-type digital-to-analog converter (iDAC) 206_1, a correction circuit 208_1, a switch 210_1, and a duty cycle adjustment circuit 212_1. In response to VSP exceeding VSN under the input balanced condition (VIP=VIN), the current-type digital-to-analog converter 206_1 provides a proper current to bias the correction circuit 208_1, thereby the correction circuit 208_1 properly pulls down the voltage VSP to correct the offset voltage. The switch 210_1 is disposed between the target node VSP and the correction circuit 208_1. The comparator main circuit 202 operates according to a clock signal CKS. The duty cycle of the clock signal CKS is adjusted by the duty cycle adjustment circuit 212_1 for the control of the switch 210_1. The switch 210_1 is an optional design, which is provided to save the power consumption due to offset voltage correction circuit (AOC).

Conversely, if the comparator main body 202 has the target node voltage VSN higher than the target node voltage VSP under the input balanced condition (VIP=VIN), the sub-circuit 204_2 provided by the offset voltage correction circuit (AOC) of the disclosure acts to pull down the voltage VSN to correct the offset voltage. As shown, the sub-circuit 204_2 has the same structure as the sub-circuit 204_1. The sub-circuit 204_2 includes a current-type digital-to-analog converter (iDAC) 206_2, a correction circuit 208_2, a switch 210_2, and a duty cycle adjustment circuit 212_2. In response to VSN exceeding VSP under the input balanced condition (VIP=VIN), the current-type digital-to-analog converter 206_2 provides a proper current to bias the correction circuit 208_2, thereby the correction circuit 208_2 properly pulls down the voltage VSN to correct the offset voltage. The switch 210_2 is disposed between the target node VSN and the correction circuit 208_2. The duty cycle of the clock signal CKS is adjusted by the duty cycle adjustment circuit 212_2 for the control of the switch 210_2. The switch 210_2 is an optional design, which is provided to save the power consumption due to offset voltage correction circuit (AOC).

In an exemplary embodiment, the offset voltage correction is not achieved in one step, but is gradually corrected to the precise correction. For example, if the comparator main body 202 has the target node voltage VSP higher than the target node voltage VSN under the input balanced condition (VIP=VIN), the current-type digital-to-analog converter 206_1 of sub-circuit 204_1 gradually modifies the bias current for the correction circuit 208_1 (such as from coarse adjustment to fine adjustment). If the voltages are reversed (VSN is higher than VSP), it changes to the current-type digital-to-analog converter 206_2 of the sub-circuit 204_2 providing a small current (smaller than the bias current provided by the current-type digital-to-analog converter 206_1) to bias the correction circuit 208_2, so that the target node voltages VSP and VSN are precisely aligned.

FIG. 3 illustrates circuit details of the offset voltage correction circuit implemented in accordance with an exemplary embodiment of the disclosure. In the illustrated example, the correction circuits 208_1 and 208_2 are each implemented with a single transistor M1 and M3. The switches 210_1 and 210_2 are each implemented with a single transistor M2 and M4. The transistors M1~M4 are all n-channel metal-oxide-semiconductor field-effect transistors (NMOSs). The transistor M1 has a source terminal grounded, a drain terminal coupled to target node VSP through transistor M2 that servs as a switch, and a gate terminal coupled to current-type digital-to-analog converter 206_1. The bias current I1 generated by the current-type digital-to-analog converter 206_1 is proportionally mirrored to the transistor M1 to properly pull down the voltage VSP of the target node to correct offset voltage of the comparator main circuit 202. The transistors M3 and M4 on the other side have similar designs. The transistor M3 has a source terminal grounded, a drain terminal coupled to target node VSN through transistor M4 that servs as a switch, and a gate terminal coupled to current-type digital-to-analog converter 206_2. The bias current I2 generated by the current-type digital-to-analog converter 206_2 is proportionally mirrored to the transistor M3 to properly pull down the voltage VSN of the target node to correct offset voltage of the comparator main circuit 202.

In FIG. 3, the current-type digital-to-analog converters 206_1 and 206_2 bias the transistors M1 and M3, respectively, to achieve the offset voltage correction. Compare to the conventional technology of FIG. 1, the fewer transistors are required in the disclosure, and no additional capacitors are required. According to the conventional technology of FIG. 1, the gain transistor array 104 has 63× gain transistors, and the capacitor array 106 has 15× capacitors. In the disclosure, the circuit size is small, and the parasitic effect is low. In addition to being beneficial for application in high-speed circuits, it is also convenient for implementations of nanometer-scale or even smaller process technologies in the future. In other exemplary embodiments, the correction circuit 208_1/208_2 may be implemented with other variations, not limited to the single transistor M1/M3 illustrated in FIG. 3. Any circuit that is biased by a current-type digital-to-analog converter (206_1/206_2) and thereby adjusts the target node voltage VSP/VSN may be used to replace the single transistor M1/M3 shown in the example. Additionally, the switch 210_1/210_2 may also be implemented with other variations, not limited to the single transistor M2/M4 shown in the example.

In an exemplary embodiment, the current-type digital-to-analog converters (iDAC) 206_1/206_2 may supply a large range adjustable bias current in high precision. Therefore, the disclosure is capable of large offset voltage correction in high precision. In the illustrated example, the current-type digital-to-analog converter 206_1/206_2 uses switches to activate the current mirrors of the proper multiples (1×, 2× . . . 2N×), and thereby a proper bias current I1/I2 is generated to correct the offset voltage.

This paragraph describes the structure of the current-type digital-to-analog converter 206_1 as an example. The current-type digital-to-analog converter 206_1 includes a reference transistor Mb1 with connected gate and drain terminals. The current Ib flowing through the reference transistor Mb1 is determined by the current source transistor Ms (with a gate bias VBN). The mirror transistors Mm1 . . . MmN are scaled in size according to a power-of-N ratio (1×, 2× . . . 2NX), where N is a number. The source terminals of the mirror transistors Mm1 . . . MmN are connected to the source terminal of the reference transistor Mb1, and their gate terminals are connected to the gate terminal of the reference transistor Mb1, to form N current mirrors that are respectively enabled or disabled by the switches SW1 . . . SWN to contribute currents to form the proper bias current I1 flowing into the reference transistor Mb2. The gate terminal of the reference transistor Mb2 is not only connected to its own drain but also connected to the gate terminal of the single transistor M1 (the correction circuit 208_1) to form another current mirror. The bias current I1 is proportionally mirrored to the transistor M1 to pull down the target node voltage VSP. The current-type digital-to-analog converter 206_2 has the same structure.

Regarding the switches SW1 . . . SWN within the current-type digital-to-analog converter 206_1/206_2, the discussion is as follows. In an exemplary embodiment, if VSP is greater than VSN under the input balanced condition (VIP=VIN), the switch SW1 of the current-type digital-to-analog converter 206_1 is first turned on, making the bias current I1 equal to 1× current. If VSP is still greater than VSN, the current-type digital-to-analog converter 206_1 turns off the switch SW1 but turns on the switch SW2, making the bias current I1 equal to 2× current. The bias current I1 increases stepwise until VSP=VSN. Conversely, if VSN is greater than VSP, the current-type digital-to-analog converter 206_2 may similarly increase the bias current I2 stepwise, enhancing the transistor M3 to pull down the target node voltage VSN until VSP=VSN. The dynamic control strategy for the switches of the current-type digital-to-analog converters 206_1 and 206_2 based on the observed VSP and VSN may be implemented by other logics, not limited to stepwise enhancement of bias current. The control strategy of the current-type digital-to-analog converters 206_1 and 206_2 can be realized by a control unit.

FIG. 4 shows an electronic system 400 in accordance with an exemplary embodiment of the disclosure, which includes a control unit 402. To correct the offset voltage of a target circuit 404, an offset voltage correction circuit (AOC) 406 is equipped to target circuit 404. Prior to being made into a product, both the target circuit 404 and the offset voltage correction circuit (AOC) 406 are installed on the electronic system 400 to complete the offset voltage correction. The control unit 402 first operates the target circuit 404 to collect the voltages VSP and VSN of the two target nodes. Based on the voltages VSP and VSN of the target nodes, the control unit 402 controls the switches within the current-type digital-to-analog converters (iDAC) 206_1 and 206_2 of the offset voltage correction circuit (AOC) 406, to obtain the proper switch settings for offset voltage correction, to apply these switch settings in the productization. Such electronic system 400 may be a test machine that tests the optimal switch settings before made the circuits 404 and 406 in to a product.

In another exemplary embodiment, the electronic system 400 is an electronic product. The processor of the electronic product can serve as the control unit 402, adapting the switches within the current-type digital-to-analog converters (iDAC) 206_1 and 206_2 for the optimal switch settings each time upon startup.

FIG. 5 illustrates an offset voltage correction method for a target circuit 404 in accordance with an exemplary embodiment of the disclosure. In step S502, the control unit 402 setting the operations of the target circuit 404 to observe the required information about the target node voltages VSP and VSN. For example, in the case wherein the target circuit 404 is a comparator (FIG. 3), the control unit 402 sets the two input voltages of the comparator to be equal (VIP=VIN). In step S504, the control unit 402 receives the target node voltages VSP and VSN and, accordingly, changes the switches within the current-type digital-to-analog converters 206_1 and 206_2 in step S506. In step S508, the control unit 402 checks the target node voltages VSP and VSN to determine whether the offset voltage correction has been achieved. If not (e.g., VSP and VSN are still inconsistent), the control unit 402 enhances the correction strength (step S510), returns to step S506, and updates the switch settings within the current-type digital-to-analog converters 206_1 and 206_2. Otherwise, the control unit 402 fixes the switch settings within the current-type digital-to-analog converters 206_1 and 206_2 in step S512, so that the productized comparator no longer has offset voltage.

Any technology that uses current-type digital-to-analog converters (iDAC) to bias non-array transistors to fine-tune the voltages of two target nodes on a target circuit to achieve offset voltage correction of the target circuit falls within the scope of protection intended by this disclosure.

While the disclosure has been described by way of example and in terms of the preferred embodiments, it should be understood that the disclosure is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims

1. An electronic system with offset voltage correction, comprising:

a target circuit, having a first target node and a second target node affected by an offset voltage; and
an offset voltage correction circuit, coupled to the first target node and the second target node to correct the offset voltage, wherein the offset voltage correction circuit comprises: a first sub-circuit coupled to the first target node, having a first current-type digital-to-analog converter and a first correction circuit, wherein the first current-type digital-to-analog converter generates a first bias current, and the first correction circuit adjusts a voltage of the first target node based on the first bias current; and a second sub-circuit coupled to the second target node, having a second current-type digital-to-analog converter and a second correction circuit, wherein the second current-type digital-to-analog converter generates a second bias current, and the second correction circuit adjusts a voltage of the second target node based on the second bias current.

2. The electronic system as claimed in claim 1, wherein:

the first correction circuit is a single transistor that proportionally mirrors the first bias current and has a drain terminal coupled to the first target node; and
the second correction circuit is a single transistor that proportionally mirrors the second bias current and has a drain terminal coupled to the second target node.

3. The electronic system as claimed in claim 1, wherein:

the first sub-circuit further has a first switch disposed between the first target node and the first correction circuit, which is closed according to a clock signal of the target circuit; and
the second sub-circuit further has a second switch disposed between the second target node and the second correction circuit, which is closed according to the clock signal of the target circuit.

4. The electronic system as claimed in claim 3, wherein:

the first sub-circuit further includes a first duty cycle adjustment circuit for duty cycle adjustment of the clock signal controlling the first switch; and
the second sub-circuit further includes a second duty cycle adjustment circuit for duty cycle adjustment of the clock signal controlling the second switch.

5. The electronic system as claimed in claim 4, wherein:

the first correction circuit is implemented with a first transistor, and the first switch is implemented with a second transistor, wherein the first transistor proportionally mirrors the first bias current, a drain terminal of the first transistor is coupled to a source terminal of the second transistor, a drain terminal of the second transistor is coupled to the first target node, and a gate terminal of the second transistor receives the clock signal with duty cycle adjustment by the first duty cycle adjustment circuit; and
the second correction circuit is implemented with a third transistor, and the second switch is implemented with a fourth transistor, wherein the third transistor proportionally mirrors the second bias current, a drain terminal of the third transistor is coupled to a source terminal of the fourth transistor, a drain terminal of the fourth transistor is coupled to the second target node, and a gate terminal of the fourth transistor receives the clock signal with duty cycle adjustment by the second duty cycle adjustment circuit.

6. The electronic system as claimed in claim 1, wherein the first current-type digital-to-analog converter and the second current-type digital-to-analog converter each include:

a first reference transistor and a plurality of mirror transistors, wherein a gate terminal and a drain terminal of the first reference transistor are coupled together and further coupled to gate terminals of the mirror transistors to form a plurality of current mirrors that proportionally mirror a reference current flowing through the first reference transistor into a plurality of mirror currents;
a second reference transistor; and
a plurality of switches, operative to couple the mirror currents to a drain terminal of the second reference transistor, to form a bias current flowing through the second reference transistor;
wherein the second reference transistor is coupled to a correction circuit to drive the correction circuit based on the bias current.

7. The electronic system as claimed in claim 6, wherein in each current-type digital-to-analog converter, sizes of the mirror transistors are scaled in a power-of-N ratio, where N is a number.

8. The electronic system as claimed in claim 6, wherein:

a gate terminal and a drain terminal of the second reference transistor are coupled together and further coupled to a gate terminal of a single transistor that is implemented as the correction circuit, so that the bias current is proportionally mirrored to the correction circuit to operate the correction circuit to adjust a voltage of a target node.

9. The electronic system as claimed in claim 6, further comprising:

a control unit, operating the target circuit to obtain the voltage of the first target node and the voltage of the second target node; and
based on the voltage of the first target node and the voltage of the second target node, the control unit stepwise controls the switches in each current-type digital-to-analog converter, and thereby the first bias current and the second bias current generated by the first current-type digital-to-analog converter and the second current-type digital-to-analog converter correct the offset voltage.

10. The electronic system as claimed in claim 9, wherein:

after stepwise adjusting the first bias current and the second bias current to being capable of correcting the offset voltage, the control unit no longer changes the switches in each current-type digital-to-analog converter, and the target circuit and the offset voltage correction circuit are combined to form an electronic product.

11. The electronic system as claimed in claim 9, wherein:

the target circuit, the offset voltage correction circuit, and the control unit are combined to form an electronic product.

12. The electronic system as claimed in claim 1, further comprising:

a control unit, operating the target circuit to obtain the voltage of the first target node and the voltage of the second target node; and
based on the voltage of the first target node and the voltage of the second target node, the control unit controls the first current-type digital-to-analog converter and the second current-type digital-to-analog converter to generate the first bias current and the second bias current to correct the offset voltage.

13. The electronic system as claimed in claim 1, wherein:

the target circuit is a comparator main circuit that receives a positive input voltage through a gate terminal of a first input transistor and receives a negative input voltage through a gate terminal of a second input transistor, to compare the positive input voltage and the negative input voltage; and
a drain terminal of the first input transistor is coupled to the first target node, and a drain terminal of the second input transistor is coupled to the second target node.

14. The electronic system as claimed in claim 13, further comprising:

a control unit, controlling the positive input voltage and the negative input voltage so that the positive input voltage is equal to the negative input voltage to obtain the voltage of the first target node and the voltage of the second target node; and
based on the voltage of the first target node and the voltage of the second target node, the control unit controls the first current-type digital-to-analog converter and the second current-type digital-to-analog converter to generate the first bias current and the second bias current, respectively, to correct the offset voltage of the comparator main circuit by controlling the voltage of the first target node to match the voltage of the second target node.

15. An offset voltage correction method for correcting an offset voltage of a target circuit, comprising:

operating a first current-type digital-to-analog converter to generate a first bias current, to drive a first correction circuit to adjust a voltage of a first target node of the target circuit based on the first bias current; and
operating a second current-type digital-to-analog converter to generate a second bias current, to drive a second correction circuit to adjust a voltage of a second target node of the target circuit based on the second bias current;
wherein the first target node and the second target node are affected by the offset voltage.

16. The method as claimed in claim 15, wherein the first current-type digital-to-analog converter and the second current-type digital-to-analog converter each comprises:

a first reference transistor and a plurality of mirror transistors, wherein a gate terminal and a drain terminal of the first reference transistor are coupled together and further coupled to gate terminals of the mirror transistors to form a plurality of current mirrors that proportionally mirror a reference current flowing through the first reference transistor into a plurality of mirror currents;
a second reference transistor; and
a plurality of switches, operative to couple the mirror currents to a drain terminal of the second reference transistor to form a bias current flowing through the second reference transistor;
wherein the second reference transistor is coupled to a correction circuit to drive the correction circuit based on the bias current.

17. The method as claimed in claim 16, further comprising:

operating the target circuit to obtain the voltage of the first target node and the voltage of the second target node; and
based on the voltage of the first target node and the voltage of the second target node, stepwise controlling the switches in each current-type digital-to-analog converter, and thereby the first bias current and the second bias current generated by the first current-type digital-to-analog converter and the second current-type digital-to-analog converter correct the offset voltage.

18. The method as claimed in claim 15, further comprising:

operating the target circuit to obtain the voltage of the first target node and the voltage of the second target node; and
based on the voltage of the first target node and the voltage of the second target node, controlling the first current-type digital-to-analog converter and the second current-type digital-to-analog converter to generate the first bias current and the second bias current to correct the offset voltage.

19. The method as claimed in claim 15, wherein:

the target circuit is a comparator main circuit that receives a positive input voltage through a gate terminal of a first input transistor and receives a negative input voltage through a gate terminal of a second input transistor, to compare the positive input voltage and the negative input voltage; and
a drain terminal of the first input transistor is coupled to the first target node, and a drain terminal of the second input transistor is coupled to the second target node.

20. The method as claimed in claim 19, further comprising:

obtaining the voltage of the first target node and the voltage of the second target node while the positive input voltage is set to a value that is equal to the negative input voltage; and
based on the voltage of the first target node and the voltage of the second target node, controlling the first current-type digital-to-analog converter and the second current-type digital-to-analog converter to generate the first bias current and the second bias current, respectively, to correct the offset voltage for the comparator main circuit by controlling the voltage of the first target node to match the voltage of the second target node.
Patent History
Publication number: 20260379463
Type: Application
Filed: Sep 10, 2025
Publication Date: Nov 26, 2026
Inventors: Xiaoguang WANG (Beijing), Yang CHEN (Beijing)
Application Number: 19/324,249
Classifications
International Classification: H03M 1/06 (20060101);