US20130033320A1 - Circuit and method for dynamically controlling op-amp offset for photodetector applications - Google Patents
Circuit and method for dynamically controlling op-amp offset for photodetector applications Download PDFInfo
- Publication number
- US20130033320A1 US20130033320A1 US13/198,120 US201113198120A US2013033320A1 US 20130033320 A1 US20130033320 A1 US 20130033320A1 US 201113198120 A US201113198120 A US 201113198120A US 2013033320 A1 US2013033320 A1 US 2013033320A1
- Authority
- US
- United States
- Prior art keywords
- current
- circuit
- node
- variable
- trimming
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/04—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements with semiconductor devices only
- H03F3/08—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements with semiconductor devices only controlled by light
- H03F3/087—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements with semiconductor devices only controlled by light with IC amplifier blocks
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/45—Differential amplifiers
- H03F3/45071—Differential amplifiers with semiconductor devices only
- H03F3/45076—Differential amplifiers with semiconductor devices only characterised by the way of implementation of the active amplifying circuit in the differential amplifier
- H03F3/45475—Differential amplifiers with semiconductor devices only characterised by the way of implementation of the active amplifying circuit in the differential amplifier using IC blocks as the active amplifying circuit
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45101—Control of the DC level being present
Definitions
- Integrated circuits may include various components for use in applications such as optical sensing applications.
- One such component is an operational amplifier (op-amp) that has positive and negative input terminals.
- An ideal op-amp has no input offset voltage. In other words, the positive and negative input terminals are balanced so that connecting the two terminals to one another results in a zero output.
- op-amp operational amplifier
- An ideal op-amp has no input offset voltage. In other words, the positive and negative input terminals are balanced so that connecting the two terminals to one another results in a zero output.
- a finite offset exists due to imperfections in the op-amp itself and/or environmental factors such as heat that may affect op-amp performance. This offset may affect the performance of an optical sensing application. Accordingly, improvements are needed to address op-amp offset in optical sensing applications.
- FIG. 1 illustrates one embodiment of a circuit having an op-amp coupled to an optoelectronic sensor.
- FIG. 2 illustrates one embodiment of a circuit having a variable trimming circuit coupled to a test node and the op-amp of FIG. 1 .
- FIG. 3 illustrates one embodiment of the variable trimming circuit of FIG. 2 .
- FIG. 4 is a flow chart illustrating one embodiment of a method that may be used with the circuit of FIG. 2 .
- FIG. 5 is a diagram of one embodiment of a system with which the circuit of FIG. 2 may be used.
- the present disclosure is directed to circuits and methods for op-amp offset control. It is understood that the following disclosure provides many different embodiments or examples. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
- a circuit 100 is illustrated with an optoelectronic sensor 102 (e.g., a photodiode) that produces a current in response to detected light.
- the photodiode 102 is coupled to an op-amp 104 .
- the circuit 100 is a simplified circuit and it is understood that the photodiode 102 may be coupled to the op-amp 104 in many different configurations.
- the circuit 100 includes an element 106 (e.g., a capacitor or a resistor), it is understood that the circuit 100 may include many different components, including resistive elements, capacitive elements, inductive elements, other op-amps, and/or other components needed to provide desired functionality.
- the op-amp 104 includes a negative input terminal NEG, a positive input terminal POS, and an output terminal OUT.
- the anode of the photodiode 102 is coupled to ground via a node 108 and the cathode of the photodiode 102 is coupled to the negative input terminal NEG of the op-amp 104 via a node 110 .
- the positive input terminal 110 is coupled to ground via a node 112 .
- the output terminal OUT is coupled to a node 114 , which is coupled to the node 110 via the element 106 .
- the photodiode 102 of circuit 100 is a light sensor: a photo current will be produced from the photodiode 102 when light hits the photodiode. At low light, the generated photo current might be very small. In order to detect low light, the photodiode 102 is preferred to have an extremely low leakage current. One way to reduce photodiode leakage current is to make sure the voltage across the photodiode is close to zero. This can be achieved by a high gain op-amp 104 . For the ideal op-amp with no input offset, the feedback configuration of the circuit 100 will drive the op-amp NEG input terminal very close to the POS input terminal.
- the NEG input terminal When the POS input terminal is at ground voltage level, the NEG input terminal will also be close to ground voltage level. Since the photodiode 102 is between the NEG input terminal and ground, the voltage across the photodiode 102 is close to zero voltage, and therefore an extremely low leakage current (also called dark current) can be achieved.
- the op-amp 104 of the circuit 100 has a finite offset.
- this offset is undesirable because this offset voltage is the voltage across the photodiode 102 .
- a finite amount of leakage current also called dark current
- the dark current may result in a detectable signal even when the photodiode 102 is not actually detecting light.
- this is problematic as it may interfere with sensing applications that rely on extremely low levels of detected light. Accordingly, the offset voltage needs to be minimized or eliminated in order to more accurately detect light using the photodiode 102 .
- the op-amp 104 also includes a negative trim terminal TRNEG and a positive trim terminal TRPOS that may be used to bias the op-amp 104 either negatively or positively, respectively, to account for offset. Adjusting for this offset is referred to as “trimming” and typically involves the use of a trimming current that compensates for the mismatches between differential branches within the op-amp 104 and serves to minimize or cancel the offset when applied.
- trim trimming may be difficult to accomplish if the offset is so small as to be difficult to detect.
- trimming may be performed for a certain set of parameters (e.g., a particular environmental temperature or range of temperatures) and may change if the circuit 100 is used under other environmental conditions.
- Trimming introduces an additional problem that involves reliability. More specifically, there is a question as to whether the trimming circuit itself is reliable. For example, if a desired current is to be supplied to the TRNEG terminal of the op-amp 104 , the trimming circuit may be set to provide that current. However, there may be no testing of the trimming circuit to ensure that it is actually providing the desired current.
- the circuit 200 also includes a variable trimming circuit 202 that controls current for two different purposes. One purpose is to provide trimming circuitry for providing a trimming current to the op-amp 104 and another purpose is to provide a test current to ensure that the trimming current is correct (e.g., that the variable trimming circuit 202 is functioning correctly).
- the variable trimming circuit 202 is shown with a variable current source 204 .
- variable current source 204 is coupled to a VDD node 206 and provides current to a selector 208 , which represents any means for selectively diverting current.
- selector 208 is coupled to an output of the variable current source 204 and the position of the selector 208 results in the output current being either the test current or the trimming current.
- the selector 208 may be configured to provide current from selected current branches (as described below) as the trimming current and the remaining current as the test current. This configuration enables the difference between the total current and the trimming current to be calculated to determine whether the trimming current is correct without affecting the supply of the trimming current to the op-amp 104 .
- each current branch or group of current branches may be selectable to couple to either a test node or a trim node, and the selector 208 may be omitted.
- the selector 208 may be manipulated to provide current to a current amplifier.
- the current amplifier is a current mirror formed by transistors M 2 and M 1 that provides a gain of K:1, but it is understood that other current amplifiers may be used.
- the transistors M 1 and M 2 are both N-channel metal oxide semiconductor field effect transistors (MOSFET), but it is understood that other transistors and transistor configurations may be used.
- MOSFET metal oxide semiconductor field effect transistors
- the gates of M 1 and M 2 are coupled together to form a node 210 and the sources of both M 1 and M 2 are coupled to a ground node 212 .
- the selector 208 is coupled to the drain of M 1 and to the node 210 .
- the drain of M 2 is coupled to a test pin 216 by a node 214 .
- the selector 208 may be manipulated to provide current to a switch 220 via a node 218 .
- the switch 220 represents any means for selectively diverting current received from the variable current source 206 to one of TRNEG and TRPOS.
- variable trimming circuit 202 is illustrated as a current source having multiple current branches identified as I 1 through I n+m .
- Each current branch I 1 through I n+m may be individually selectable and the variable trimming circuit 202 may be configured to provide varying amounts of current based on the selected branches with a total available current of I fullscale (I fs ) that is the sum of all the branches.
- some embodiments may enable the current branches I 1 through I n+m to be individually selectable, which enables testing of branches not used for trimming to occur simultaneously with trimming.
- current branches I 1 through I n may be selected for the trimming current (I trim ) and the remainder (I n+1 through I n+m ) may be available for a testing current (I fs ⁇ I trim ).
- current branches I 1 through I n+m may be provided.
- the current branches may be configured to supply an identical amount of current or different amounts of current.
- I 1 is the smallest current branch (where “smallest” refers to the amount of current provided and provides the minimum resolution of the variable trimming circuit 202 ) and is configured to provide an amperage of X
- I 2 is configured to provide twice as much current as I 1 (2*X)
- I 3 is configured to provide twice as much current as I 2 (2 2 *X)
- I n+m (2 n+m ⁇ 1 *X
- each current branch is identical and a sufficient number of current branches are summed until the desired current is obtained.
- each current branch other than I 1 and I 2 may be the summation of previous current branches.
- I 3 may be the summation of I 1 and I 2
- I 4 may be the summation of I 3 , I 2 , and I 1 , and so on.
- the actual configuration of the circuit branches I 1 through I n+m may vary considerably as long as the value of each is known so that the proper current branches can be selected to provide the desired trimming current.
- a method 400 illustrates one embodiment of a process that may be executed using the circuit 200 of FIG. 2 with the variable trimming circuit 202 as illustrated in FIG. 3 .
- the method 400 is a multi-step process that involves both testing the variable trimming circuit 202 and trimming the offset of the op-amp 104 .
- each circuit branch is tested individually to ensure that each branch is functioning properly.
- This step involves directing the output of the variable trimming circuit 202 to the test pin 216 and measuring the current off of the test pin 216 .
- Various methods may be used to test the current branches. For example, each current branch may be stepped through on an individual basis, with I 1 being tested, then I 2 , then I 3 , etc, to determine whether each branch provides the proper current.
- calculations may be performed based on multiple branches. For example, I 1 may be tested and then I 1 +I 2 may be tested. The difference may be calculated as the value of I 2 , or the summed result may be compared to a desired value. Accordingly, while the actual testing process may vary, a determination is made as to whether each current branch is functioning properly.
- variable trimming circuit 202 may be discarded (which may entail discarding some or all of the remainder of the circuit 200 ).
- adjustments may be made. For example, if the branch I 3 is not functioning and the current branches are identical, I 3 may be marked as malfunctioning and the number of available current branches may be reduced to I n+m ⁇ 1 . It is understood that this may be performed in software and so may entail the circuit 200 being coupled to a processor with which it will be used as the processor would need to know which current branch is not functioning. Due to the more complicated nature of such adjustments, discarding of the variable trimming circuit 202 may be the typical method of handling a malfunctioning current branch, particularly when the testing of step 402 is performed during manufacture.
- step 404 the offset of the op-amp 104 is identified.
- This step may involve coupling the input pins of the op-amp together (e.g., via ground), directing the output of the variable trimming circuit 202 to the op-amp 104 , and measuring the output of the op-amp 104 while stepping through the current branches.
- the testing process may look for the lowest value current branch or branch combination that causes the output of the op-amp 104 to transition from positive to negative or vice versa.
- any method may be used to determine the offset of the op-amp 104 using the variable trimming circuit 202 .
- the current branches may be stepped through in order from smallest to largest, from largest to smallest, or in other methodologies, such as using larger step increments to more rapidly narrow the offset into a smaller range of possibilities and then using smaller current branches to more carefully identify the offset.
- the current branches needed to produce the desired trimming current are selected. This may be accomplished by configuring the variable trimming circuit 202 to close the desired current branches and open the remaining current branches. For example, if I 1 , I 2 , and I 5 are needed, those three current branches may be closed and the remaining branches opened. In the embodiments providing for both testing and trimming currents, this would result in an I frim equal to I 1+2+5 and an I fs ⁇ I trim of I n+m ⁇ (I 1+2+5 ).
- a determination may be made as to whether parameters and/or the offset have changed. For example, the offset may drift over time or parameters changes (e.g., moving from one environmental temperature to another environmental temperature) may cause offset changes. If the parameters/offset have changed, the method 400 returns to step 404 . If the parameters/offset have not changed, the method 400 may return to step 410 .
- step 410 may occur some time after the preceding steps. For example, steps 402 - 408 may be performed initially during manufacture, while a user may execute step 410 at a later time to determine whether the offset needs to be corrected. As the variable trimming circuit 202 has been fully tested in step 402 , a later adjustment to the trimming current that uses current branches not originally used will provide the proper trimming current. Without such complete testing of the variable trimming circuit 202 , later adjustments may rely on malfunctioning current branches and so would not produce the proper trimming current. Accordingly, it is understood that the method 400 may end and later be restarted at a particular step (e.g., step 410 or 404 ) or that a relatively long period of time may elapse before step 410 is executed.
- a particular step e.g., step 410 or 404
- variable trimming circuit 202 may be retested as well. Such functionality may be available or may be hidden based on packaging, available interfaces (e.g., whether the test node is accessible), and/or other factors.
- the system 500 includes an integrated circuit (IC) package 502 that provides, in the present example, ALS functionality, although the IC package may be configured to provide any optical sensing functionality.
- the IC package 502 includes the circuit 200 , although not all components are shown (e.g., the photodiode 102 of FIG. 1 ).
- the op-amp 104 and the variable trimming circuit 202 are illustrated along with one or more registers 504 that are coupled to the variable trimming circuit 202 .
- the registers 504 may be used to store configuration variables for the variable trimming circuit 202 , such as which current branches are to be used for trimming the op-amp 104 .
- a feedback loop 506 may be provided to aid in identifying the offset during testing. It is understood that packaging material (e.g., a plastic) may encapsulate some or all of the IC package 502 , although pins and the photodiode 102 may be mounted above or otherwise not covered by the packaging material.
- packaging material e.g., a plastic
- pins and the photodiode 102 may be mounted above or otherwise not covered by the packaging material.
- the system 500 may further include a microcontroller unit (MCU) 508 or other processer that is coupled to the IC package 502 .
- MCU microcontroller unit
- the MCU 508 is coupled to the variable control circuitry 202 via lines 510 and 512 , which may be clock and data lines respectively.
- the MCU 508 may be coupled directly to the registers 504 .
- a user may interact with the MCU 508 to test the offset of the op-amp 104 , set a new trimming current via the variable trimming circuitry 202 , and/or otherwise configure and use the functionality provided by the IC package 502 .
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Amplifiers (AREA)
Abstract
Description
- Integrated circuits (ICs) may include various components for use in applications such as optical sensing applications. One such component is an operational amplifier (op-amp) that has positive and negative input terminals. An ideal op-amp has no input offset voltage. In other words, the positive and negative input terminals are balanced so that connecting the two terminals to one another results in a zero output. Practically however, a finite offset exists due to imperfections in the op-amp itself and/or environmental factors such as heat that may affect op-amp performance. This offset may affect the performance of an optical sensing application. Accordingly, improvements are needed to address op-amp offset in optical sensing applications.
- For a more complete understanding, reference is now made to the following description taken in conjunction with the accompanying Drawings in which:
-
FIG. 1 illustrates one embodiment of a circuit having an op-amp coupled to an optoelectronic sensor. -
FIG. 2 illustrates one embodiment of a circuit having a variable trimming circuit coupled to a test node and the op-amp ofFIG. 1 . -
FIG. 3 illustrates one embodiment of the variable trimming circuit ofFIG. 2 . -
FIG. 4 is a flow chart illustrating one embodiment of a method that may be used with the circuit ofFIG. 2 . -
FIG. 5 is a diagram of one embodiment of a system with which the circuit ofFIG. 2 may be used. - The present disclosure is directed to circuits and methods for op-amp offset control. It is understood that the following disclosure provides many different embodiments or examples. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
- Referring to
FIG. 1 , one embodiment of acircuit 100 is illustrated with an optoelectronic sensor 102 (e.g., a photodiode) that produces a current in response to detected light. Thephotodiode 102 is coupled to an op-amp 104. Thecircuit 100 is a simplified circuit and it is understood that thephotodiode 102 may be coupled to the op-amp 104 in many different configurations. Furthermore, while thecircuit 100 includes an element 106 (e.g., a capacitor or a resistor), it is understood that thecircuit 100 may include many different components, including resistive elements, capacitive elements, inductive elements, other op-amps, and/or other components needed to provide desired functionality. - The op-
amp 104 includes a negative input terminal NEG, a positive input terminal POS, and an output terminal OUT. In the present example, the anode of thephotodiode 102 is coupled to ground via anode 108 and the cathode of thephotodiode 102 is coupled to the negative input terminal NEG of the op-amp 104 via anode 110. Thepositive input terminal 110 is coupled to ground via anode 112. The output terminal OUT is coupled to anode 114, which is coupled to thenode 110 via theelement 106. - The
photodiode 102 ofcircuit 100 is a light sensor: a photo current will be produced from thephotodiode 102 when light hits the photodiode. At low light, the generated photo current might be very small. In order to detect low light, thephotodiode 102 is preferred to have an extremely low leakage current. One way to reduce photodiode leakage current is to make sure the voltage across the photodiode is close to zero. This can be achieved by a high gain op-amp 104. For the ideal op-amp with no input offset, the feedback configuration of thecircuit 100 will drive the op-amp NEG input terminal very close to the POS input terminal. When the POS input terminal is at ground voltage level, the NEG input terminal will also be close to ground voltage level. Since thephotodiode 102 is between the NEG input terminal and ground, the voltage across thephotodiode 102 is close to zero voltage, and therefore an extremely low leakage current (also called dark current) can be achieved. - Although an ideal op-amp has no offset voltage, in the real world the op-
amp 104 of thecircuit 100 has a finite offset. In photodetector applications (e.g., ambient light sensing, motion detection, or proximity detection), this offset is undesirable because this offset voltage is the voltage across thephotodiode 102. When thephotodiode 102 is biased up by this offset voltage, a finite amount of leakage current (also called dark current) will be generated from thephotodiode 102 and this will limit the photodetector's performance. For example, the dark current may result in a detectable signal even when thephotodiode 102 is not actually detecting light. For photodetector applications, this is problematic as it may interfere with sensing applications that rely on extremely low levels of detected light. Accordingly, the offset voltage needs to be minimized or eliminated in order to more accurately detect light using thephotodiode 102. - Due to the offset voltage that may exist between the positive and negative input terminals POS and NEG of the op-
amp 104, the op-amp 104 also includes a negative trim terminal TRNEG and a positive trim terminal TRPOS that may be used to bias the op-amp 104 either negatively or positively, respectively, to account for offset. Adjusting for this offset is referred to as “trimming” and typically involves the use of a trimming current that compensates for the mismatches between differential branches within the op-amp 104 and serves to minimize or cancel the offset when applied. However, offset trimming may be difficult to accomplish if the offset is so small as to be difficult to detect. Furthermore, trimming may be performed for a certain set of parameters (e.g., a particular environmental temperature or range of temperatures) and may change if thecircuit 100 is used under other environmental conditions. - Trimming introduces an additional problem that involves reliability. More specifically, there is a question as to whether the trimming circuit itself is reliable. For example, if a desired current is to be supplied to the TRNEG terminal of the op-
amp 104, the trimming circuit may be set to provide that current. However, there may be no testing of the trimming circuit to ensure that it is actually providing the desired current. - Referring to
FIG. 2 , one embodiment of acircuit 200 is illustrated with the op-amp 104 ofFIG. 1 . Although not shown, the op-amp 104 may be part of the circuit ofFIG. 1 or may be configured differently. Thecircuit 200 also includes avariable trimming circuit 202 that controls current for two different purposes. One purpose is to provide trimming circuitry for providing a trimming current to the op-amp 104 and another purpose is to provide a test current to ensure that the trimming current is correct (e.g., that thevariable trimming circuit 202 is functioning correctly). For purposes of illustration, thevariable trimming circuit 202 is shown with a variablecurrent source 204. The variablecurrent source 204 is coupled to aVDD node 206 and provides current to aselector 208, which represents any means for selectively diverting current. Theselector 208 is coupled to an output of the variablecurrent source 204 and the position of theselector 208 results in the output current being either the test current or the trimming current. - In other embodiments, the
selector 208 may be configured to provide current from selected current branches (as described below) as the trimming current and the remaining current as the test current. This configuration enables the difference between the total current and the trimming current to be calculated to determine whether the trimming current is correct without affecting the supply of the trimming current to the op-amp 104. In still other embodiments, each current branch or group of current branches may be selectable to couple to either a test node or a trim node, and theselector 208 may be omitted. - To provide the test current, the
selector 208 may be manipulated to provide current to a current amplifier. In the present example, the current amplifier is a current mirror formed by transistors M2 and M1 that provides a gain of K:1, but it is understood that other current amplifiers may be used. For purposes of illustration, the transistors M1 and M2 are both N-channel metal oxide semiconductor field effect transistors (MOSFET), but it is understood that other transistors and transistor configurations may be used. The gates of M1 and M2 are coupled together to form anode 210 and the sources of both M1 and M2 are coupled to aground node 212. Theselector 208 is coupled to the drain of M1 and to thenode 210. The drain of M2 is coupled to atest pin 216 by anode 214. - To provide the trimming current polarity, the
selector 208 may be manipulated to provide current to aswitch 220 via anode 218. Theswitch 220 represents any means for selectively diverting current received from the variablecurrent source 206 to one of TRNEG and TRPOS. - With additional reference to
FIG. 3 , one embodiment of thevariable trimming circuit 202 is illustrated as a current source having multiple current branches identified as I1 through In+m. Each current branch I1 through In+m may be individually selectable and thevariable trimming circuit 202 may be configured to provide varying amounts of current based on the selected branches with a total available current of Ifullscale (Ifs) that is the sum of all the branches. - As described previously, some embodiments may enable the current branches I1 through In+m to be individually selectable, which enables testing of branches not used for trimming to occur simultaneously with trimming. For example, current branches I1 through In may be selected for the trimming current (Itrim) and the remainder (In+1 through In+m) may be available for a testing current (Ifs−Itrim).
- It is understood that many different configurations of current branches I1 through In+m may be provided. For example, the current branches may be configured to supply an identical amount of current or different amounts of current. One possible configuration is a binary configuration where I1 is the smallest current branch (where “smallest” refers to the amount of current provided and provides the minimum resolution of the variable trimming circuit 202) and is configured to provide an amperage of X, I2 is configured to provide twice as much current as I1 (2*X), I3 is configured to provide twice as much current as I2 (22*X), and so on until In+m (2n+m−1*X). In another possible configuration, each current branch is identical and a sufficient number of current branches are summed until the desired current is obtained. In yet another possible configuration, each current branch other than I1 and I2 may be the summation of previous current branches. For example, I3 may be the summation of I1 and I2, I4 may be the summation of I3, I2, and I1, and so on. Accordingly, the actual configuration of the circuit branches I1 through In+m may vary considerably as long as the value of each is known so that the proper current branches can be selected to provide the desired trimming current.
- Referring to
FIG. 4 , amethod 400 illustrates one embodiment of a process that may be executed using thecircuit 200 ofFIG. 2 with thevariable trimming circuit 202 as illustrated inFIG. 3 . Themethod 400 is a multi-step process that involves both testing thevariable trimming circuit 202 and trimming the offset of the op-amp 104. - In
step 402, each circuit branch is tested individually to ensure that each branch is functioning properly. This step involves directing the output of thevariable trimming circuit 202 to thetest pin 216 and measuring the current off of thetest pin 216. Various methods may be used to test the current branches. For example, each current branch may be stepped through on an individual basis, with I1 being tested, then I2, then I3, etc, to determine whether each branch provides the proper current. Alternatively, calculations may be performed based on multiple branches. For example, I1 may be tested and then I1+I2 may be tested. The difference may be calculated as the value of I2, or the summed result may be compared to a desired value. Accordingly, while the actual testing process may vary, a determination is made as to whether each current branch is functioning properly. - Although not shown in
FIG. 4 , if a current branch is not functioning properly, thevariable trimming circuit 202 may be discarded (which may entail discarding some or all of the remainder of the circuit 200). Alternatively, adjustments may be made. For example, if the branch I3 is not functioning and the current branches are identical, I3 may be marked as malfunctioning and the number of available current branches may be reduced to In+m−1. It is understood that this may be performed in software and so may entail thecircuit 200 being coupled to a processor with which it will be used as the processor would need to know which current branch is not functioning. Due to the more complicated nature of such adjustments, discarding of thevariable trimming circuit 202 may be the typical method of handling a malfunctioning current branch, particularly when the testing ofstep 402 is performed during manufacture. - In
step 404, the offset of the op-amp 104 is identified. This step may involve coupling the input pins of the op-amp together (e.g., via ground), directing the output of thevariable trimming circuit 202 to the op-amp 104, and measuring the output of the op-amp 104 while stepping through the current branches. As the op-amp 104 theoretically has infinite gain, the testing process may look for the lowest value current branch or branch combination that causes the output of the op-amp 104 to transition from positive to negative or vice versa. It is understood that any method may be used to determine the offset of the op-amp 104 using thevariable trimming circuit 202. For example, the current branches may be stepped through in order from smallest to largest, from largest to smallest, or in other methodologies, such as using larger step increments to more rapidly narrow the offset into a smaller range of possibilities and then using smaller current branches to more carefully identify the offset. - In
step 408, the current branches needed to produce the desired trimming current are selected. This may be accomplished by configuring thevariable trimming circuit 202 to close the desired current branches and open the remaining current branches. For example, if I1, I2, and I5 are needed, those three current branches may be closed and the remaining branches opened. In the embodiments providing for both testing and trimming currents, this would result in an Ifrim equal to I1+2+5 and an Ifs−Itrim of In+m−(I1+2+5). - In
step 410, a determination may be made as to whether parameters and/or the offset have changed. For example, the offset may drift over time or parameters changes (e.g., moving from one environmental temperature to another environmental temperature) may cause offset changes. If the parameters/offset have changed, themethod 400 returns to step 404. If the parameters/offset have not changed, themethod 400 may return to step 410. - It is understood that
step 410 may occur some time after the preceding steps. For example, steps 402-408 may be performed initially during manufacture, while a user may execute step 410 at a later time to determine whether the offset needs to be corrected. As thevariable trimming circuit 202 has been fully tested instep 402, a later adjustment to the trimming current that uses current branches not originally used will provide the proper trimming current. Without such complete testing of thevariable trimming circuit 202, later adjustments may rely on malfunctioning current branches and so would not produce the proper trimming current. Accordingly, it is understood that themethod 400 may end and later be restarted at a particular step (e.g., step 410 or 404) or that a relatively long period of time may elapse beforestep 410 is executed. - Although not shown, in some embodiments the
variable trimming circuit 202 may be retested as well. Such functionality may be available or may be hidden based on packaging, available interfaces (e.g., whether the test node is accessible), and/or other factors. - Referring to
FIG. 5 , one embodiment of asystem 500 within which thecircuit 200 ofFIG. 2 may be used is provided. Thesystem 500 includes an integrated circuit (IC)package 502 that provides, in the present example, ALS functionality, although the IC package may be configured to provide any optical sensing functionality. TheIC package 502 includes thecircuit 200, although not all components are shown (e.g., thephotodiode 102 ofFIG. 1 ). For example, the op-amp 104 and thevariable trimming circuit 202 are illustrated along with one ormore registers 504 that are coupled to thevariable trimming circuit 202. Theregisters 504 may be used to store configuration variables for thevariable trimming circuit 202, such as which current branches are to be used for trimming the op-amp 104. Afeedback loop 506 may be provided to aid in identifying the offset during testing. It is understood that packaging material (e.g., a plastic) may encapsulate some or all of theIC package 502, although pins and thephotodiode 102 may be mounted above or otherwise not covered by the packaging material. - The
system 500 may further include a microcontroller unit (MCU) 508 or other processer that is coupled to theIC package 502. In the present example, theMCU 508 is coupled to thevariable control circuitry 202 vialines MCU 508 may be coupled directly to theregisters 504. - In operation, a user may interact with the
MCU 508 to test the offset of the op-amp 104, set a new trimming current via thevariable trimming circuitry 202, and/or otherwise configure and use the functionality provided by theIC package 502. - It will be appreciated by those skilled in the art having the benefit of this disclosure that this circuit and method for dynamically controlling op-amp offset for photodetector applications provides improved functionality. It should be understood that the drawings and detailed description herein are to be regarded in an illustrative rather than a restrictive manner, and are not intended to be limiting to the particular forms and examples disclosed. On the contrary, included are any further modifications, changes, rearrangements, substitutions, alternatives, design choices, and embodiments apparent to those of ordinary skill in the art, without departing from the spirit and scope hereof, as defined by the following claims. Thus, it is intended that the following claims be interpreted to embrace all such further modifications, changes, rearrangements, substitutions, alternatives, design choices, and embodiments.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/198,120 US8362842B1 (en) | 2011-08-04 | 2011-08-04 | Circuit and method for dynamically controlling op-amp offset for photodetector applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/198,120 US8362842B1 (en) | 2011-08-04 | 2011-08-04 | Circuit and method for dynamically controlling op-amp offset for photodetector applications |
Publications (2)
Publication Number | Publication Date |
---|---|
US8362842B1 US8362842B1 (en) | 2013-01-29 |
US20130033320A1 true US20130033320A1 (en) | 2013-02-07 |
Family
ID=47562294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/198,120 Active US8362842B1 (en) | 2011-08-04 | 2011-08-04 | Circuit and method for dynamically controlling op-amp offset for photodetector applications |
Country Status (1)
Country | Link |
---|---|
US (1) | US8362842B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10033331B1 (en) | 2016-12-29 | 2018-07-24 | Texas Instruments Incorporated | Op-amp IC chip |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11402265B2 (en) | 2019-11-05 | 2022-08-02 | Texas Instruments Incorporated | Apparatus for integrated offset voltage for photodiode current amplifier |
US11361644B2 (en) | 2019-12-18 | 2022-06-14 | Texas Instruments Incorporated | Duty cycle tuning in self-resonant piezo buzzer |
US11468756B2 (en) | 2020-04-02 | 2022-10-11 | Texas Instruments Incorporated | Integrated circuit for smoke detector having compatibility with multiple power supplies |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7561812B2 (en) * | 2005-10-13 | 2009-07-14 | Lite-On Technology Corp. | Optical receiver with matched photodetector capacitance |
TWI398095B (en) * | 2007-03-14 | 2013-06-01 | Novatek Microelectronics Corp | Operational amplifier capable of compensating offset voltage |
-
2011
- 2011-08-04 US US13/198,120 patent/US8362842B1/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10033331B1 (en) | 2016-12-29 | 2018-07-24 | Texas Instruments Incorporated | Op-amp IC chip |
Also Published As
Publication number | Publication date |
---|---|
US8362842B1 (en) | 2013-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7304534B2 (en) | Amplifier arrangement, and method for compensating for an offset | |
US8362842B1 (en) | Circuit and method for dynamically controlling op-amp offset for photodetector applications | |
US7528637B2 (en) | Driver circuit | |
US7928743B2 (en) | Measuring bridge arrangement, method of testing a measuring bridge, test arrangement for testing a measuring bridge, method of producing a tested measuring bridge arrangement, and computer program | |
US20080036524A1 (en) | Apparatus and method for compensating change in a temperature associated with a host device | |
US6997606B2 (en) | Threshold temperature sensor comprising room temperature test means | |
US8013668B1 (en) | Bias current compensation device and method | |
TW201531030A (en) | System and method for using an integrated circuit pin as both a current limiting input and an open-drain output | |
CN114640395B (en) | Optical transmitter input resistance measurement and encoder/driver modulation current configuration | |
US6749335B2 (en) | Adjustment and calibration system for post-fabrication treatment of on-chip temperature sensor | |
JP5981890B2 (en) | Hall element drive circuit | |
US10742175B2 (en) | Amplifier circuit, reception circuit, and semiconductor integrated circuit | |
EP3663735B1 (en) | Temperature detection circuitry | |
US10897234B2 (en) | Fully differential operational amplifier common mode current sensing feedback | |
US7915951B1 (en) | Locally calibrated current source | |
KR20240095036A (en) | An apparatus comprising a bias current generator | |
US7135892B2 (en) | Peak detector systems and methods with leakage compensation | |
US8228108B2 (en) | High speed fully differential resistor-based level formatter | |
US7884650B2 (en) | Analog comparator comprising a digital offset compensation | |
US20210263548A1 (en) | Bias current generation circuit | |
US20090059450A1 (en) | Sensing a Current Signal in an Integrated Circuit | |
US7345536B2 (en) | Amplifier circuit and control method thereof | |
US20240283409A1 (en) | Slope-temperature drift calibration of a signal strength detector | |
US7888952B2 (en) | Circuit arrangement for balancing a resistance circuit | |
US20210336709A1 (en) | Transmitter device and calibration method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS, INC., TEX Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:XU, GONGGUI;REEL/FRAME:026702/0973 Effective date: 20110803 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
AS | Assignment |
Owner name: AMS-TAOS USA INC., TEXAS Free format text: CHANGE OF NAME;ASSIGNOR:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS, INC.;REEL/FRAME:031934/0060 Effective date: 20110928 |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |