The present invention is related to an offset compensation device, and more particularly to a configurable offset compensation device.
Since the differential signal has a better immunity against ambient noises, it is widely adopted in various circuits. However, in the actual manufacturing of differential amplifiers or other types of differential circuits, due to process deviations, the direct current (DC) voltage level is often shifted unexpectedly, causing offset voltages and/or offset currents at the terminals of the differential pair. Since the offset voltage and/or offset current at the terminals of the differential pair will interfere with the differential signal and cause distortion, additional voltage or current must be applied to compensate the offset and reduce the impact brought by the shift of the DC voltage level.
Furthermore, as the manufacturing technology grows, the size of electronic components becomes smaller and smaller. However, when the size of the electronic component becomes smaller, the influence of the same offset voltage and/or offset current on the differential circuit will also become more significant, and thus, the requirements for accurate compensation to the offset voltage and/or the offset current would be higher.
One embodiment of the present invention discloses an offset compensation device. The offset compensation device includes a first bias module and a second bias module.
The first bias module is coupled to a first bias node and includes a plurality of first current control circuits and a plurality of second current control circuits. Each of the plurality of first current control circuits generates a first reference current, and each of the plurality of second current control circuits generates a second reference current. The second bias module is coupled to a second bias node and includes a plurality of third current control circuits and a plurality of fourth current control circuits. Each of the plurality of third current control circuits generates a third reference current, and each of the plurality of fourth current control circuits generates a fourth reference current.
The plurality of first current control circuits and the plurality of second current control circuits are coupled in parallel and coupled to the first bias node. The plurality of third current control circuits and the plurality of fourth current control circuits are coupled in parallel and coupled to the second bias node. The second reference current is greater than the first reference current, and the fourth reference current is greater than the third reference current.
Another embodiment of the present invention discloses a method for operating an offset compensation device. The offset compensation device includes a first bias module and a second bias module. The first bias module includes a plurality of first current control circuits and a plurality of second current control circuits. The second bias module includes a plurality of third current control circuits and a plurality of fourth current control circuits. The plurality of first current control circuits and the plurality of second current control circuits are coupled in parallel and coupled to a first bias node, and the plurality of third current control circuits and the plurality of fourth current control circuits are coupled in parallel and coupled to a second bias node.
The method includes enabling a first number of second or fourth current control circuits according to an offset value for making a preliminary compensation to the offset value, and enabling a second number of first or third current control circuits according to the offset value after the preliminary compensation is made for making a further compensation to the offset value.
A second reference current generated by each of the second current control circuits is greater than a first reference current generated by each of the first current control circuits, and a fourth reference current generated by each of the fourth current control circuits is greater than a third reference current generated by each of the third current control circuits.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The first bias module 110 can include first current control circuits 1121 to 112X and second current control circuits 1141 to 114Y, where X and Y are positive integers. Each of the first current control circuits 1121 to 112X can generate a first reference current Iref1, and each of the second current control circuits 1141 to 114Y can generate a second reference current Iref2. The second bias module 120 can include third current control circuits 1221 to 122X and fourth current control circuits 1241 to 124Y. Each of the third current control circuits 1221 to 122X can generate a third reference current Iref3, and each of the fourth current control circuits 1241 to 124Y can generate a fourth reference current Iref4.
In the first bias module 110, the first current control circuits 1121 to 112X and the second current control circuits 1141 to 114Y can be coupled to the first bias node N1 and can be coupled in parallel. In the second bias module 120, the third current control circuits 1221 to 122X and the fourth current control circuits 1241 to 124Y can be coupled to the second bias node N2 and can be coupled in parallel.
In
Furthermore, in the present embodiment, the second reference current Iref2 generated by the reference current source CS2 can be greater than the first reference current Iref1 generated by the reference current source CS1, and the fourth reference current Iref4 generated by the reference current source CS4 can be greater than the third reference current Iref3 generated by the reference current source CS3. In addition, the first reference current Iref1 can be equal to the third reference current Iref3, and the second reference current Iref2 can be equal to the fourth reference current Iref4.
Furthermore, in
In some embodiments, the offset compensation device 100 can enable a proper number of second current control circuits 1141 to 114Y or a proper number of fourth current control circuits 1241 to 124Y according to the offset value to be compensated, that is, the offset IOS in the present embodiment. After the number of second current control circuits 1141 to 114Y or the number of fourth current control circuits 1241 to 124Y to be enabled is determined to make a preliminary compensation, according to the result of the preliminary compensation, the number of first current control circuits 1121 to 112X or the number of third current control circuits 1221 to 122X to be enabled can be determined to make a further compensation to the offset current IOS.
Since the offset compensation device 100 can use the second current control circuits 1141 to 114Y or the fourth current control circuits 1241 to 124Y to generate greater currents for making a preliminary compensation, and can use first current control circuits 1121 to 112X or the third current control circuits 1221 to 122X to generate smaller current for making a further compensation, the offset compensation device 100 can determine the numbers of current control circuits to be enabled for achieving the desired compensation result rapidly. Furthermore, by adopting this kind of configurable compensation structure, the offset compensation device 100 can reduce the total number of the current control circuits and, thus, the offset compensation device 100 can be implemented within a smaller circuit area.
S210: enable a corresponding number of second current control circuits 1141 to 114Y or a corresponding number of fourth current control circuits 1241 to 124Y according to the offset value to be compensated for making a preliminary compensation to the offset value; and
S220: enable a corresponding number of first current control circuits 1121 to 112X or a corresponding number of third current control circuits 1221 to 122X according to the desired bias value after the preliminary compensation is made for making a further compensation to the offset value.
Generally, the actual value of the offset current IOS is unknown before the offset current IOS is compensated. However, the value of the offset current can be roughly depicted by observing the offset current and/or the local oscillator (LO) leakage generated by the mixer M1 under the original DC level condition.
In addition, according to the direction of the leakage current, the user can determine to increase the current at the first bias node N1 by enabling the second current control circuits 1141 to 114Y or to increase the current at the second bias node N2 by enabling the fourth current control circuits 1241 to 124Y for compensation. For the mixer M1, the current on the first node N1 and the current on the second node N2 are counterparts to each other. That is, increasing the current on the first bias node N1 has the same effect as decreasing the current on the second bias node N2. Similarly, increasing the current on the second bias node N2 has the same effect as decreasing the current on the first bias node N1. Therefore, in general, when any of the second current control circuits 1141 to 114Y is determined to be enabled, all the fourth current control circuits 1241 to 124Y may be disabled, avoiding the second reference current Iref2 and the fourth reference current Iref4 from canceling each other. Similarly, when any of the fourth current control circuits 1241 to 124Y is determined to be enabled, all the second current control circuits 1141 to 114Y may be disabled.
In step S210, after determining whether to enable the second current control circuits 1141 to 114Y or the fourth current control circuits 1241 to 124Y, the corresponding number of the second current control circuit 1141 to 114Y or the corresponding number of the fourth current control circuit 1241 to 124Y that should be enabled can be further determined. In some embodiments, the offset compensation device 100 can gradually increase the number of enabled second current control circuits 1141 to 114Y to increase the current on the first bias node N1 or gradually increase the number of enabled fourth current control circuits 1241 to 124Y to increase the current on the second bias node N2 for seeking the proper configurations of the current control circuits that can minimize the LO leakage.
In step S220, the similar principle can be followed. That is, the offset compensation device 100 can gradually increase the number of enabled first current control circuits to increase the current on the first bias node N1 or gradually increase the number of enabled third current control circuits to increase the current on the second bias node N2 for making further compensation.
For the mixer M1, since the current on the first node N1 and the current on the current on the second node N2 are counterparts to each other. Therefore, when any of the first current control circuits 1121 to 112X is determined to be enabled, all the third current control circuits 1221 to 122X may be disabled, avoiding the first reference current Iref1 and the third reference current Iref3 from canceling each other. Similarly, when any of the third current control circuits 1221 to 122X is determined to be enabled, all the first current control circuits 1121 to 112X may be disabled.
In
Since the offset compensation device 100 can use the current control circuits that generate greater currents to make a preliminary compensation, and can use the current control circuits that generate smaller currents to make a further compensation according to the result of the preliminary compensation, the offset compensation device 100 can determine which current control circuits to be enabled and the numbers of enabled current control circuits rapidly to make the compensation. By adopting such configurable compensation structure, the offset compensation device 100 can reduce the total number of current control circuits and, thus, compensation can be completed within a smaller circuit area.
For example, if the system requires the offset compensation device 100 to provide 32 levels of different compensation currents, then X can be 7 and Y can be 3. In this case, the first bias module 110 and the second bias module 120 can each include 10 current control circuits. However, in prior art, if the reference currents generated by the current control circuits are all the same, each bias module would need 31 current control circuits for providing the 32 levels of different compensation currents. In contrast, the offset compensation device 100 can not only reduce the area, but also reduce the parasitic effects and maintain the compensation effect.
In the offset compensation device 100, the first bias module 110 and the second bias module 120 can each include two different current control circuits for generating reference currents of different intensities. Therefore, the compensation can be achieved in two stages. However, in some other embodiments, according to the system requirement, the offset compensation device may include more different current control circuits for generating reference currents of different intensities and achieve the compensation with more stages.
Furthermore, due to the uncontrollable factors in the manufacturing process, the first reference currents Iref1 generated by the first current control circuits 1121 to 112X may not be completely equal. In this case, to ensure that the current can be increased smoothly when the number of enabled current control circuits increases, the first current control circuits 1121 to 112X can have the same layout so that the variation of the reference current Iref1 can be reduced. Also, the first current control circuits 1121 to 112X can be enabled according to a fixed order so as to prevent that the current is not positively correlated to the number of enabled current control circuits when the enabled current control circuits are unfortunately the ones that generate smaller reference currents Iref1. Similarly, the other current control circuits can be operated with the same principle to reduce the current variation to influence the compensation result.
Furthermore, since the second reference currents Iref2 generated by the second current control circuits 1141 to 114Y may also be slightly different, the first bias module 110 may include more first current control circuits 1121 to 112X so the total current generated by the first reference currents Iref1 outputted by the first current control circuits 1121 to 112X can be greater than the target value of the second reference current Iref2. For example, if the second reference current Iref2 is targeted to be 100 μA and the first reference current Iref1 is targeted to be 25 μA, then the first bias module 110 can include 5 first current control circuits 1121 to 1125, that is, X can be 5. Consequently, when the second reference current Iref2 generated by the second current control circuit 1141 is smaller than the target value, such as 75 μA, then the first bias module 110 can still provide a 200 μA current by enabling the second current control circuit 1141 and the five first current control circuits 1121 to 1125, ensuring the current accuracy of each compensation stage. Similarly, the second bias module 120 can include more third current control circuits 1221 to 122X so that the total current generated by the third reference currents Iref3 outputted by the third current control circuits 1221 to 122X can be greater than the target value of the fourth reference current Iref4.
In
The resistor R1 has a first terminal coupled to the first bias node N1, and a second terminal coupled to a system voltage terminal NV1. The resistor R2 has a first terminal coupled to the second bias node N2, and a second terminal coupled to the system voltage terminal NV1. In this case, by adjusting the currents outputted by the first bias module 110 and the second bias module 120, the voltages at the terminals of the resistors R1 and R2 can also be adjusted, thereby adjusting the voltages at the bias nodes N1 and N2. Consequently, the offset compensation device 300 can be used to compensate the offset voltage VOS at the input terminals of the differential amplifier A1. In some embodiments, the method 200 can also be used to operate the offset compensation device 300 to compensate the offset voltage VOS.
In summary, the offset compensation devices and the methods for operating the offset compensation devices provided by the embodiments of the present invention can compensate the offset current or the offset voltage in multiple stages so that the compensation can be made rapidly while the number of current control circuits can be reduced, thereby reducing the circuit area and the parasitic effects.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
109113491 | Apr 2020 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6970689 | Khorram | Nov 2005 | B2 |
7076384 | Radulov | Jul 2006 | B1 |
7098738 | Tam | Aug 2006 | B2 |
7289783 | Rostami | Oct 2007 | B2 |
7697905 | Lee | Apr 2010 | B2 |
8335249 | Su | Dec 2012 | B1 |
8457190 | Raghavan | Jun 2013 | B2 |
9046908 | Gong | Jun 2015 | B2 |
10826570 | Balteanu | Nov 2020 | B2 |
20070042728 | Pan | Feb 2007 | A1 |
Entry |
---|
Office action dated Apr. 21, 2022 for CN application No. 202010355439.1, filing date: Apr. 29, 2020, pp. 1-8. |
Number | Date | Country | |
---|---|---|---|
20210333816 A1 | Oct 2021 | US |