Bias switch circuit for compensating frontend offset of high accuracy measurement circuit
10826449 ยท 2020-11-03
Assignee
Inventors
Cpc classification
G01R1/30
PHYSICS
H03F3/45179
ELECTRICITY
G01R19/0053
PHYSICS
International classification
G01R19/00
PHYSICS
Abstract
Disclosed is a high accurate measurement circuit, and the feature is using bias switching circuit for compensating front end offset, and the back end offset of amplifier is also cancelled. In the real measurement environment, offset exists in the amplifier of the measurement circuit has, and non-ideal effects also exist in the interface between measurement terminal and the measurement circuit, such as leakage current of chip package pins or mismatch of the circuit. The above non-ideal effects belong to front end offset and cannot be compensated by the prior arts. The disclosed structure uses the bias switch circuit and uses different switching method in the two measurement timings. By subtracting the measurement results for the two measurement timings, the front end offset is compensated, and the back end offset of the amplifier is also cancelled.
Claims
1. An accurate measurement circuit which compensates offset of a front end circuit while performing current measurement, comprising: a measurement terminal, having a positive terminal pin and a negative terminal pin, wherein an impedance is connected between the positive terminal pin and the negative terminal pin and a current flowing through the impedance is measured; an amplifier, having a positive input of amplifier connected to the measurement terminal via the positive terminal pin and a negative input of amplifier connected to the measurement terminal via the negative terminal pin, wherein an output signal is generated according to a voltage difference between the positive input of amplifier and the negative input of amplifier; a first switch, connected between the positive input of amplifier and a reference voltage; and a second switch, connected between the negative input of amplifier and the reference voltage.
2. The accurate measurement circuit according to claim 1, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
3. The accurate measurement circuit according to claim 1, wherein a control method for the switches comprising: a first timing, conducting the first switch, and turning off the second switch; hence the positive input of amplifier is connected to the reference voltage; and a second timing, conducting the second switch, and turning off the first switch; hence the negative input of amplifier is connected to the reference voltage; wherein output voltages generated during the first timing and the second timing are added to compensate an offset of a front end circuit.
4. The accurate measurement circuit according to claim 3, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
5. The accurate measurement circuit according to claim 3, wherein the higher input impedance of the measurement terminal is, the better the compensation effect for the offset of the front end circuit is.
6. The accurate measurement circuit according to claim 3, wherein the closer the current values of the leakage current of positive terminal pin and the leakage current of negative terminal pin are, the better the compensation effect is.
7. An accurate measurement circuit which compensates offset of a front end circuit while performing current measurement, comprising: a measurement terminal, having a positive terminal pin and a negative terminal pin, wherein an impedance is connected between the positive terminal pin and the negative terminal pin and a current flowing through the impedance is measured; an amplifier, generating an output signal according to a voltage difference between a positive input of amplifier and a negative input of amplifier; a first switch and a second switch, wherein one terminal of the first switch and one terminal of the second switch are both connected to a reference voltage, other terminals thereof are connected to the measurement terminal via the positive terminal pin and the negative terminal pin, respectively; a third switch, connected between the positive terminal pin and the positive input of amplifier; a fourth switch, connected between the positive terminal pin and the negative input of amplifier; a fifth switch, connected between the negative terminal pin and the positive input of amplifier; and a sixth switch, connected between the negative terminal pin and the negative input of amplifier.
8. The accurate measurement circuit according to claim 7, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
9. The accurate measurement circuit according to claim 7, wherein a control method for the switches comprising: a first timing, conducting the first switch, the third switch and the sixth switch, and turning off the second switch, the fourth switch and the fifth switch; hence the positive terminal pin and the positive input of amplifier are connected to the reference voltage, and the negative terminal pin is connected to the negative input of amplifier at the same time; and a second timing, conducting the second switch, the fourth switch and the fifth switch, and turning off the first switch, the third switch and the sixth switch; hence the positive terminal pin is connected to the negative input of amplifier, and the negative terminal pin and the positive input of amplifier are connected to the reference voltage at the same time; wherein output voltages generated during the first timing and the second timing are subtracted to compensate offsets of a front end circuit and the amplifier at the same time.
10. The accurate measurement circuit according to claim 9, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
11. The accurate measurement circuit according to claim 9, wherein the higher input impedance of the measurement terminal is, the better the compensation effect for the offset of the front end circuit is.
12. The accurate measurement circuit according to claim 9, wherein the closer the current values of the leakage current of positive terminal pin and the leakage current of negative terminal pin are, the better the compensation effect is.
13. An accurate measurement circuit which compensates offset of a front end circuit while performing current measurement, comprising: a measurement terminal, having a positive terminal pin and a negative terminal pin, wherein an impedance is connected between the positive terminal pin and the negative terminal pin and a current flowing through the impedance is measured; an amplifier, generating an output signal according to a voltage difference between a positive input of amplifier and a negative input of amplifier; a reference voltage, connected to the positive input of amplifier or the negative input of amplifier; a first switch, connected between the positive terminal pin and the positive input of amplifier; a second switch, connected between the positive terminal pin and the negative input of amplifier; a third switch, connected between the negative terminal pin and the positive input of amplifier; and a fourth switch, connected between the negative terminal pin and the negative input of amplifier; wherein the positive terminal pin and the negative terminal pin are used to connect to the measurement terminal.
14. The accurate measurement circuit according to claim 13, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
15. The accurate measurement circuit according to claim 13, wherein a control method for the switches comprising: a first timing, conducting the first switch and the fourth switch, and turning off the second switch and the third switch; hence the positive terminal pin is connected to the positive input of amplifier, and the negative terminal pin is connected to the negative input of amplifier at the same time; and a second timing, conducting the second switch and the third switch, and turning off the first switch and the fourth switch; hence the positive terminal pin is connected to the negative input of amplifier, and the negative terminal pin is connected to the positive input of amplifier at the same time; during the first timing and the second timing, the reference voltage is fixedly connected to the positive input of amplifier or the negative input of amplifier; wherein output voltages generated during the first timing and the second timing are subtracted to compensate offsets of a front end circuit and the amplifier at the same time.
16. The accurate measurement circuit according to claim 15, wherein the amplifier further comprises a negative output of amplifier; a voltage difference between the output of amplifier and the negative output of amplifier equals to a voltage difference between the positive input of amplifier and the negative input of amplifier multiplied by a gain.
17. The accurate measurement circuit according to claim 15, wherein the higher input impedance of the measurement terminal is, the better the compensation effect for the offset of the front end circuit is.
18. The accurate measurement circuit according to claim 15, wherein the closer the current values of the leakage current of positive terminal pin and the leakage current of negative terminal pin are, the better the compensation effect is.
19. An accurate measurement circuit which compensates offset of a front end circuit while performing current measurement, comprising: a measurement terminal, having a positive terminal pin and a negative terminal pin, wherein an impedance is connected between the positive terminal pin and the negative terminal pin and a current flowing through the impedance is measured; an amplifier, generating an output signal according to a voltage of a positive input of amplifier; a first switch, connected between the positive terminal pin and the positive input of amplifier; a second switch, connected between the positive terminal pin and a reference voltage; a third switch, connected between the negative terminal pin and the positive input of amplifier; and a fourth switch, connected between the negative terminal pin and the reference voltage; wherein the positive terminal pin and the negative terminal pin are used to connect to the measurement terminal.
20. The accurate measurement circuit according to claim 19, wherein a control method for the switches comprising: a first timing, conducting the first switch and the fourth switch, and turning off the second switch and the third switch; hence the positive terminal pin is connected to the positive input of amplifier, and the negative terminal pin is connected to the reference voltage at the same time; and a second timing, conducting the second switch and the third switch, and turning off the first switch and the fourth switch; hence the positive terminal pin is connected to the reference voltage, and the negative terminal pin is connected to the positive input of amplifier at the same time; wherein output voltages generated during the first timing and the second timing are subtracted to compensate offsets of a front end circuit and the amplifier at the same time.
21. The accurate measurement circuit according to claim 20, wherein the higher input impedance of the measurement terminal is, the better the compensation effect for the offset of the front end circuit is.
22. The accurate measurement circuit according to claim 20, wherein the closer the current values of the leakage current of positive terminal pin and the leakage current of negative terminal pin are, the better the compensation effect is.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(12) The present invention will now be described more specifically with reference to the following embodiments. Please note that the following description of embodiments of the invention is intended to be merely illustrative. This is not meant to be an exhaustive description of the invention or limited to the form of the disclosure.
(13) A first embodiment of the present invention is disclosed in
(14) An operation method of above accurate measurement circuit comprises two timings: a first timing and a second timing. In the first timing, conduct the first switch 401, and turn off the second switch 402. Hence, the positive input of amplifier 501 is connected to the reference voltage 30. An equivalent circuit diagram is shown in
(15)
An output voltage V.sub.OUT2 output by the output of amplifier 503 in
(16)
Output voltages V.sub.OUT1 and V.sub.OUT2 generated in the two timings are added and then divided by 2 to get K*(I.sub.S+((I.sub.L1I.sub.L2)/2))*R.sub.S. Thus, non-ideal effect of the leakage current of positive terminal pin (I.sub.L1) and the leakage current of negative terminal pin (I.sub.L2) can be compensated.
(17) In the above operation method, the higher the input impedance 102 (R.sub.S) is, the better the compensation effect of the leakage current (I.sub.L1 and I.sub.L2) is. The reason is during the first timing when conducting the first switch 401, ideal situation is the leakage current of positive terminal pin 203 (I.sub.L1) flowing to the reference voltage 30 but not to the input impedance 102 (R.sub.S). Increasing the resistance of the input impedance 102 (R.sub.S) will let the leakage current of positive terminal pin 203 (I.sub.L1) less easy to flow to the input impedance 102 (R.sub.S). It comes closer to the ideal situation. During the second timing when conducting the second switch 402, ideal situation is the leakage current of negative terminal pin 204 (I.sub.L2) flowing to the reference voltage 30 but not to the input impedance 102 (R.sub.S). Similarly, higher input resistance of the impedance 102 (R.sub.S) is closer to the ideal situation. Hence, the higher the input impedance 102 (R.sub.S) is, the better the compensation effect is for the leakage current (I.sub.L1 and I.sub.L2).
(18) In the above accurate measurement circuit and the operation method, there is a compensation effect for the leakage current of positive terminal pin 203 (I.sub.L1) and the leakage current of negative terminal pin 204 (I.sub.L2) but the offset of the amplifier 50 is not eliminated. It is just to adjust the connection of the switches to compensate the leakage current of front end pin and eliminate the offset of the back end amplifier at the same time.
(19) A second embodiment of the present invention is disclosed in
(20) An operation method of above accurate measurement circuit comprises two timings: a first timing and a second timing. In the first timing, conduct the first switch 401, the third switch 403 and the sixth switch 406, and turn off the second switch 402, the fourth switch 404 and the fifth switch 405. Hence, the positive terminal pin 201 and the positive input of amplifier 501 are connected to the reference voltage 30, and the negative terminal pin 202 is connected to the negative input of amplifier 502 at the same time. An equivalent circuit diagram is shown in
(21)
An output voltage V.sub.OUT2 output by the output of amplifier 503 in
(22)
Output voltages V.sub.OUT1 and V.sub.OUT2 generated in the two timings are subtracted and then divided by 2 to get K*(I.sub.S+((I.sub.L1I.sub.L2)/2))*R.sub.S. Thus, non-ideal effect of the leakage current of positive terminal pin (I.sub.L1) and the leakage current of negative terminal pin (I.sub.L2) can be compensated. Meanwhile, errors of the offset voltage 504 (V.sub.OS) of the amplifier can be completely cancelled off.
(23) A third embodiment of the present invention is disclosed in
(24) An operation method of above accurate measurement circuit comprises two timings. Please refer to
(25)
An output voltage V.sub.OUT2 output by the output of amplifier 503 in
(26)
Output voltages V.sub.OUT1 and V.sub.OUT2 generated in the two timings are subtracted and then divided by 2 to get K*(I.sub.S+((I.sub.L1I.sub.L2)/2))*R.sub.S. Thus, non-ideal effect of the leakage current of positive terminal pin (I.sub.L1) and the leakage current of negative terminal pin (I.sub.L2) can be compensated. Meanwhile, errors of the offset voltage 504 (V.sub.OS) of the amplifier can be cancelled off.
(27) A fourth embodiment of the present invention is disclosed in
(28) An operation method of above accurate measurement circuit comprises into two timings. In a first timing, conduct the first switch 401 and the fourth switch 404, and turn off the second switch 402 and the third switch 403. Hence, the positive terminal pin 201 is connected to the positive input of amplifier 501, and the negative terminal pin 202 is connected to the reference voltage 30 at the same time. An equivalent circuit diagram is shown in
(29)
An output voltage V.sub.OUT2 output by the output of amplifier 503 in
(30)
Output voltages V.sub.OUT1 and V.sub.OUT2 generated in the two timings are subtracted and then divided by 2 to get K*(I.sub.S+((I.sub.L1I.sub.L2)/2))*R.sub.S. Thus, non-ideal effect of the leakage current of positive terminal pin (I.sub.L1) and the leakage current of negative terminal pin (I.sub.L2) can be compensated. Meanwhile, errors of the offset voltage 504 (V.sub.OS) of the amplifier can be eliminated.
(31) According to the present invention, the voltage of output of amplifier 503 equals to a voltage difference between the positive input of amplifier 501 and the negative input of amplifier 502, and multiplied by a gain (K). Mathematical expression is V.sub.OUT+=K*(V.sub.IN+V.sub.IN). In addition, please refer to
(32) While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.