Apparatus and method for calibration of errors caused by routing resistance
Through the hardware-based calibration method in the PMU, the transconductance amplifier is used to tune according to the parasitic routing resistance, which solves the impact of the parasitic routing resistance on the measurement accuracy, realizes real-time compensation and improves the channel density, and solves the time delay in the existing technology. and complexity issues.
Patent Information
- Application Number
- CN202410234948.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-29
- Filing Date
- 2024-03-01
- Publication Date
- 2024-09-17
AI Technical Summary
In the Parametric Measurement Unit (PMU), errors caused by parasitic routing resistance affect the measurement accuracy in forced voltage mode. Existing software-based calibration methods have latency and complexity issues that grow as the number of channels increases.
Using a hardware-based calibration method, the calibration current is determined by measuring the current of the device under test, and the transconductance amplifier is tuned according to the parasitic routing resistance, thereby achieving real-time compensation within the PMU for the impact of the parasitic routing resistance on the measured values and facilitating the sensing circuit and forced voltage circuit shorting, reducing the physical size of the PMU and increasing channel density.
Real-time compensation with less delay than software-based methods is achieved, reducing the physical size of the PMU and increasing channel density, enhancing measurement accuracy and efficiency.
Smart Images

Figure CN118655508A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Indian Provisional Patent Application No. 202341016828 filed on March 14, 2023, entitled “On-Chip Calibration Technique For Routing Resistance Induced Error In Force Voltage Mode Of A PMU” and the said application is hereby incorporated herein by reference in its entirety. Technical Field
[0003] Embodiments of the present application relate to devices and methods for calibration of errors caused by routing resistance. Background Art
[0004] A parameter measurement unit (PMU) is a form of automatic test equipment (ATE). In some operating modes, the PMU provides a voltage at an output pin coupled to a terminal of a device under test (DUT). The PMU provides the voltage as a forcing voltage to measure the response of the DUT in the presence of the voltage. The voltage may be referred to as a forcing voltage. The value present at the terminal of the DUT may be measured by the PMU. Summary of the invention
[0005] In some examples, an apparatus includes a current sensing circuit, a voltage amplifier, a tunable transconductance amplifier, and a voltage sensing circuit. The current sensing circuit has an output terminal. The voltage amplifier has a negative input terminal coupled to the output terminal of the current sensing circuit. The tunable transconductance amplifier has an input terminal and an output terminal. The input terminal of the tunable transconductance amplifier is coupled to the output terminal of the current sensing circuit. The voltage sensing circuit has a first signal input terminal, a second signal input terminal, a third input terminal, and an output terminal. The third input terminal of the voltage sensing circuit is coupled to the output terminal of the tunable transconductance amplifier.
[0006] In some examples, an apparatus includes a current sensing circuit, a voltage amplifier, a voltage sensing circuit, and a tunable transconductance amplifier. The current sensing circuit is configured to measure a current of a DUT to provide a first signal, the first signal having a voltage representing the current of the DUT. The voltage amplifier is coupled to the current sensing circuit and is configured to provide a second signal to the DUT based on a third signal and a fourth signal, wherein the second signal is a result of differential amplification between the third signal and the first signal. The voltage sensing circuit is configured to measure a voltage of the DUT at a connector to provide a fourth signal. The tunable transconductance amplifier is coupled to the current sensing circuit and the voltage sensing circuit. The transconductance amplifier is configured to provide a fifth signal as a calibration signal to the voltage sensing circuit. The tunable transconductance amplifier determines the fifth signal based on the first signal and a tuning code.
[0007] In some examples, a method of performing a measurement of a DUT coupled to a connector includes determining a first voltage signal representing a current of the DUT, the current flowing through the connector. The method also includes determining a second voltage signal representing a voltage of the DUT as provided at the connector. The method also includes determining a calibration current based on the first voltage signal. The method also includes modifying the measurement of the DUT based on the calibration current. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A block diagram of an example of a system.
[0009] Figure 2 is a block diagram of an example of a PMU.
[0010] Figure 3 is a schematic diagram of an example of a PMU.
[0011] Figure 4 is a schematic diagram of an example of a voltage sensing circuit.
[0012] Figure 5 is a flow chart of an example method. DETAILED DESCRIPTION
[0013] As described above, the PMU provides a forced voltage (VFORCE) at a first pin coupled to a terminal of the DUT. The forced voltage is, for example, a stimulus for the DUT. In order to measure the response of the DUT to the forced voltage, the PMU includes a sensing circuit system coupled to the terminal of the DUT. In some embodiments, the PMU includes a second pin, at which the PMU is coupled to the terminal of the DUT in a star connection arrangement. The circuit system for providing the forced voltage to the DUT and the sensing circuit system may be collectively referred to as a channel of the PMU, wherein the PMU may have multiple channels that may be coupled to independent corresponding DUTs. Such an embodiment of a PMU including independent pins for providing forced voltage and performing sensing may increase the amount of space consumed by one channel of the PMU, thereby limiting the number of channels that may be set in a single PMU. In order to increase the number of channels that may be included in the PMU, the forced voltage circuit system and the sensing circuit system may be shorted together in the PMU and may be coupled to the DUT at a single pin. However, such a single-pin embodiment may present challenges, such as parasitic routing resistance within the PMU affecting the accuracy of sensing performed by the sensing circuit system. There may be some solutions to alleviate these challenges, such as software-based calibration, but such solutions may be high latency and their complexity may grow rapidly as the channel count of the PMU increases.
[0014] Examples of the present specification include hardware-based calibration of a PMU. In some examples, the calibration compensates for parasitic routing resistance within the PMU, thereby alleviating the effect of the parasitic routing resistance on the measured values obtained via the sensing circuit system of the PMU. In some examples, the calibration current (ICAL) is determined based on the measured current (IDUT) of the DUT. ICAL can be determined to have a value proportional to the parasitic routing resistance. For example, the current sensing circuit system of the PMU measures the IDUT and provides a voltage (VCS) having a value indicating the IDUT. The transconductance amplifier receives VCS and provides ICAL based on the value of VCS and the transconductance (Gm) of the transconductance amplifier. In one example, Gm is determined based on the parasitic routing resistance. In one example, the transconductance amplifier provides ICAL to the voltage sensing circuit system of the PMU, causing the voltage sensing circuit system to alleviate the effect of the parasitic routing resistance on the voltage signal (VVS) provided by the voltage sensing circuit system. In another example, the transconductance amplifier provides ICAL to an amplifier or other circuit of the PMU to modify the forced voltage, thereby alleviating the effect of the parasitic routing resistance on VVS. In this way, the transconductance amplifier can be tuned based on the value of the parasitic routing resistance to have a transconductance that is proportional to the parasitic routing resistance. This tunable property can enable the transconductance amplifier to provide an ICAL having a value determined to offset, mitigate, or otherwise compensate for the effect of the parasitic routing resistance on the operation of the PMU, such as when providing VVS. In some instances, the hardware-based method of the present disclosure provides substantially real-time mitigation of the effect of the parasitic routing resistance on the operation of the PMU, performing compensation or calibration with less latency than software-based methods. In addition, the hardware-based method of the present disclosure also facilitates shorting of the sensing circuit system and the forcing voltage circuit system in the PMU, thereby reducing the physical size of the channels of the PMU and achieving increased channel density in the PMU.
[0015] Figure 1 1 is a block diagram of an example of a system 100. In one example, the system 100 includes an ATE 101, which includes a controller 102 and a PMU 104. The PMU 104 includes a calibration circuit 108. The system 100 also includes a DUT 106, to which the PMU 104 is coupled via a connector 110. In some examples, the connector 110 is a wire or other conductor that runs between terminals of the PMU 104 and terminals of the DUT 106 to couple the DUT 106 to the PMU 104. In some examples, the system 100 represents a test environment for testing the DUT 106 by the ATE 101.
[0016] In one example, the controller 102 is coupled to the PMU 104, which includes a calibration circuit 108. The PMU 104 is coupled to the DUT 106 via the connector 110. In some examples, the controller 102 includes multiple couplings to the PMU 104 to provide multiple signals to the PMU 104 and receive one or more signals from the PMU 104. For example, the controller 102 provides a digital signal to the PMU 104 to cause the PMU 104 to provide VFORCE to the DUT 106. The PMU 104 further measures the voltage (VDUT) of the DUT 106. In a theoretical or nominal example, VFORCE is approximately equal to VDUT. However, in an implementation, VDUT varies from VFORCE based on parasitic routing resistance. Therefore, in some examples, VDUT is approximately equal to VFORCE minus IDUT*ROUT, where ROUT is the parasitic resistance of the connector 110. The variation of VDUT from VFORCE caused by parasitic routing resistance can affect the accuracy of VVS determined by PMU 104 as described above. In order to mitigate the effect of parasitic routing resistance on the value of VDUT and therefore on the value of VVS and the operation of PMU 104 or ATE 101, calibration circuit 108 provides ICAL to compensate for the effect of parasitic routing resistance on VDUT and VVS. For example, calibration circuit 108 receives a signal indicating IDUT (e.g., VCS) and provides ICAL that is proportional to IDUT and ROUT. In this way, calibration circuit 108 causes PMU 104 to treat VDUT as approximately equal to VFORCE despite the presence of ROUT.
[0017] Figure 2 1 is a block diagram of an example of a PMU 104. In one example, the PMU 104 includes a forced digital-to-analog converter (DAC) and gain circuit 202, a forced amplifier circuit 204, a resistor 206, a current sensing circuit 208, a resistor circuit 210, a voltage sensing circuit 212, and a voltage scaling circuit 214. The PMU 104 also includes switches 216, 218, 220, and 222. Figure 2 , calibration circuit 108 may be a transconductance amplifier. In some examples, resistor 206 is not a component of PMU 104 but is coupled to PMU 104.
[0018] In an example architecture of the PMU 104, the gain circuit 202 includes an input and an output. In some instances, the input is coupled to the controller 102 and receives a digital signal that can be used to provide VFORCE at a programmed value. In some instances, the gain circuit 202 includes a second input. The second input can be coupled to the controller 102 or any other suitable source, for example, for receiving a second digital value that can be used to provide VFORCE at a programmed value. The second digital value can be an offset value, a value for programming a gain factor of the gain circuit 202, or any other suitable value that can be used in the architecture of the gain circuit 202. The force amplifier circuit 204 has a first input and a second input, and a first output and a second output. The first input of the force amplifier circuit 204 is coupled to the output of the gain circuit 202 to receive VFORCE. The resistor 206 has a first terminal coupled to the first output of the force amplifier circuit 204 and a second terminal coupled to the connector 110, for example, via a terminal of the PMU 104.
[0019] The current sensing circuit 208 has a first input and a second input and an output. The resistor circuit 210 has a first input and a second input and a first output and a second output. The first input of the resistor circuit 210 is coupled to the second output of the force amplifier circuit 204. The second input of the resistor circuit 210 is coupled to the connector 110, for example, via a terminal of the PMU 104. The first output of the resistor circuit 210 is coupled to the first input of the current sensing circuit 208. The second output of the resistor circuit 210 is coupled to the second input of the current sensing circuit 208. The calibration circuit 108 includes a first input and a second input and an output. In some examples, the first input of the calibration circuit 108 is coupled to the controller 102 and receives a digital signal specifying the transconductance of the calibration circuit 108. The second input of the calibration circuit 108 is coupled to the output of the current sensing circuit 208.
[0020] In some examples, the voltage sensing circuit 212 has a first input, a second input, and a third input, and an output. The first input of the voltage sensing circuit 212 is coupled to the connector 110, for example, via a terminal of the PMU 104. In some examples, the second input of the voltage sensing circuit 212 is coupled to a ground terminal 224 that provides a ground voltage potential. The third input of the voltage sensing circuit 212 is coupled to the output of the calibration circuit 108. The voltage scaling circuit 214 has a first input and a second input and at least a first output. In some examples, the voltage scaling circuit 214 has additional outputs, such as at least a second output. The first input of the voltage scaling circuit 214 is coupled to the output of the current sensing circuit 208. The second input of the voltage scaling circuit 214 is coupled to the output of the voltage sensing circuit 212. In some examples, the first output of the voltage scaling circuit 214 is coupled to the controller 102. The switch 216 has a first terminal coupled to the first terminal of the resistor 206 and a second terminal coupled to the first input of the current sensing circuit 208. Switch 218 has a first terminal coupled to the second terminal of resistor 206 and a second terminal coupled to the second input of current sense circuit 208. Switch 220 has a first terminal coupled to the output of voltage sense circuit 212 and a second terminal coupled to the second input of force amplifier circuit 204. Switch 222 has a first terminal coupled to the output of current sense circuit 208 and a second terminal coupled to the second input of force amplifier circuit 204. Although Figure 2 1 , but in some examples, switches 216, 218, 220, and 222 each have a respective control terminal that can be coupled to any suitable circuit, component, or device to receive a control signal for controlling the state of the respective switch. In some examples, the control terminal is coupled to controller 102.
[0021] In an example of operation of the PMU 104, a digital signal is received at a first input of the gain circuit 202. In some examples, the digital signal is received from the controller 102. The gain circuit 202 provides VFORCE having a value determined based on the received digital signal. The force amplifier circuit 204 receives VFORCE and VVS, and modifies the value of VFORCE through negative feedback to cause VDUT to be approximately equal to VFORCE. In an example where IDUT is relatively large, such as about 100 milliamps (mA) or more, IDUT is measured by the current sensing circuit 208 to form VCS based on the voltage measured across the resistor 206. In an example where IDUT is relatively small, such as less than about 100 mA, IDUT is measured by the current sensing circuit 208 to form VCS based on the voltage measured across the resistor circuit 210. The voltage sensing circuit 212 measures the value of VDUT at the connector 110 to provide VVS. In some instances, the voltage scaling circuit 214 attenuates VVS and VCS to place the attenuated signal in a voltage domain that can be sampled by a low voltage (e.g., approximately 5 V) analog-to-digital converter (ADC) (not shown), and in some instances, offsets the attenuated signal to align the attenuated signal with the input voltage range of the ADC.
[0022] As described above, in some examples, VDUT varies from VFORCE based on the parasitic resistance (e.g., ROUT) of connector 110. This variation may adversely affect the operation of PMU 104, for example by affecting the accuracy of VVS. To compensate for the variation, calibration circuit 108 receives VCS from current sensing circuit 208 and, for example, receives a digital calibration signal from controller 102. In some examples, the digital calibration signal has a value proportional to ROUT. Based on VCS and the digital calibration signal, calibration circuit 108 provides ICAL. For example, calibration circuit 108 scales (e.g., increases) VCS based on the digital calibration signal to determine the value of ICAL. In some examples, ROUT is based on the length of connector 110. For example, ROUT may be determined based on a data sheet for connector 110, a measurement of the resistance of connector 110, a calculation based on the resistivity of connector 110 and the measured length of connector 110, or any other suitable resistance determination method. In other examples, an approximate value of ROUT may be selected, and PMU 104 may fine-tune ICAL to cause VDUT to be approximately equal to VFORCE.
[0023] In some instances, such as Figure 2 As shown in FIG. 1 , calibration circuit 108 provides ICAL to voltage sensing circuit 212 to mitigate the change of VDUT from VFORCE based on ROUT. In other examples, although in Figure 22 , but the output of the calibration circuit 108 is not coupled to the voltage sensing circuit 212. In fact, the output of the calibration circuit 108 is coupled to the first input of the forcing amplifier circuit 204. In such an example, the calibration circuit 108 provides ICAL to the forcing amplifier circuit 204 to mitigate the change of VDUT from VFORCE based on ROUT.
[0024] Figure 3 is a schematic diagram of an example of a PMU 104. In some examples, Figure 3 The PMU 104 is shown in more detail Figure 2 PMU 104. Therefore, at least Figure 2 A description of the PMU 104 is available from Figure 3 Omitted from the description, or can refer to Figure 2 Mention.
[0025] In one example, the gain circuit 202 includes a force DAC 302, an amplifier 304, a resistor 306, and a resistor 308. The force DAC 302 has an input, which may be a first input of the gain circuit 202 and is coupled to the controller 102, and an output. The amplifier 304 has a first input and a second input and an output, which may be an output of the gain circuit 202. The first input of the amplifier 304 is coupled to the output of the force DAC 302. The resistor 306 has a first terminal coupled to the output of the amplifier 304 and a second terminal coupled to the second input of the amplifier 304. The resistor 308 has a first terminal coupled to the second input of the amplifier 304 and has a second terminal coupled to the ground terminal 224. In some examples, the resistor 308 has a set or specified resistance value. In other examples, the resistor 308 has a tunable, programmable, or otherwise adjustable resistance value. In such an example, resistor 308 includes a control terminal (not shown) coupled to any suitable source for receiving a control signal for specifying the resistance value of resistor 308 .
[0026] In one example, the forcing amplifier circuit 204 includes an amplifier 316, a buffer 318, and a buffer 320. Figure 3316 , which may be the first output of the force amplifier circuit 204. Buffer 318 has an input and an output. The input of buffer 318 is coupled to the output of amplifier 304. The output of buffer 318 is coupled to the first terminal of resistor 206, which may be the first output of the force amplifier circuit 204. Buffer 320 has an input and an output. The input of buffer 320 is coupled to the output of amplifier 316. The output of buffer 320 may be the second output of the force amplifier circuit 204.
[0027] In one example, the current sensing circuit 208 includes an amplifier 322 and an amplifier 324, resistors 326, 328, 330, and 332, and an amplifier 334. In one example, the amplifier 322 has a first input and a second input and an output. The first input of the amplifier 322 is coupled to the second terminal of the switch 216 and to the first output of the resistor circuit 210, which may be the first input of the current sensing circuit 208. The second input of the amplifier 322 is coupled to the output of the amplifier 322. In one example, the amplifier 324 has a first input and a second input and an output. The first input of the amplifier 324 is coupled to the second terminal of the switch 218 and to the second output of the resistor circuit 210, which may be the second input of the current sensing circuit 208. The second input of the amplifier 324 is coupled to the output of the amplifier 324. The resistor 326 has a first terminal and a second terminal, wherein the first terminal of the resistor 326 is coupled to the output of the amplifier 322. Resistor 328 has a first terminal and a second terminal, wherein the first terminal of resistor 328 is coupled to the second terminal of resistor 326, and the second terminal of resistor 328 is coupled to ground terminal 224. Resistor 330 has a first terminal and a second terminal, wherein the first terminal of resistor 330 is coupled to the output of amplifier 324. Resistor 332 has a first terminal and a second terminal, wherein the first terminal of resistor 332 is coupled to the second terminal of resistor 330. Amplifier 334 has a first input and a second input and an output. The first input of amplifier 334 is coupled to the second terminal of resistor 326, the second input of amplifier 334 is coupled to the second terminal of resistor 330, and the output of amplifier 334 is coupled to the input of calibration circuit 108, the first terminal of switch 222, and the first input of voltage scaling circuit 214, which may be the output of current sensing circuit 208. In an example, the second terminal of resistor 332 is coupled to the output of amplifier 334. In some examples of current sensing circuit 208, the resistance of resistor 328 is approximately five times the resistance of resistor 326, and the resistance of resistor 332 is approximately five times the resistance of resistor 330. Therefore, the gain of current sense amplifier 208 is approximately equal to five. However, in other examples, the resistance of resistor 328 is approximately N times the resistance of resistor 326, and the resistance of resistor 332 is approximately N times the resistance of resistor 330 to provide a gain of current sense amplifier 208 that is approximately equal to N.
[0028] In an example, the resistance circuit 210 includes a resistor 336 and switches 338, 340, and 342. The resistor 336 has a first terminal and a second terminal, wherein the second terminal of the resistor 336 can be a second input of the resistance circuit 210 and is coupled to the connector 110, for example, via a terminal of the PMU 104. The switch 338 has a first terminal and a second terminal, wherein the first terminal of the switch 338 is coupled to the output of the buffer 320, which can be a first input of the resistance circuit 210, and the second terminal of the switch 338 is coupled to the first terminal of the resistor 336. The switch 340 has a first terminal and a second terminal, wherein the first terminal of the switch 340 is coupled to the first terminal of the resistor 336, and the second terminal of the switch 340 is coupled to the first input of the amplifier 322, which can be a first output of the resistance circuit 210. The switch 342 has a first terminal and a second terminal, wherein the first terminal of the switch 342 is coupled to the second terminal of the resistor 336, and the second terminal of the switch 342 is coupled to the first input of the amplifier 324, which can be a second output of the resistance circuit 210. Despite Figure 3 102. In some examples, the switches 338, 340, 342 each have a respective control terminal that can be coupled to any suitable circuit, component, or device to receive a control signal for controlling the state of the respective switch. In some examples, the control terminal is coupled to the controller 102.
[0029] In one example, the voltage sensing circuit 212 includes an amplifier 344, an amplifier 350, resistors 346, 348, 352, and 354, and an amplifier 356. In one example, the amplifier 344 has a first input and a second input, and an output. The first input of the amplifier 344 is coupled to the connector 110, for example, via a terminal of the PMU 104, and the first input may be the first input of the voltage sensing circuit 212. The second input of the amplifier 344 is coupled to the output of the amplifier 344. The resistor 346 has a first terminal and a second terminal, wherein the first terminal of the resistor 346 is coupled to the output of the amplifier 344. The resistor 348 has a first terminal and a second terminal, wherein the first terminal of the resistor 348 is coupled to the second terminal of the resistor 346, and the second terminal of the resistor 348 is coupled to the ground terminal 224. In one example, the amplifier 350 has a first input and a second input, and an output. The first input of the amplifier 350 is coupled to the ground terminal 224, and the first input may be the second input of the voltage sensing circuit 212. A second input of amplifier 350 is coupled to the output of amplifier 350. Resistor 352 has a first terminal and a second terminal, wherein the first terminal of resistor 352 is coupled to the output of amplifier 350. Resistor 354 has a first terminal and a second terminal, wherein the first terminal of resistor 354 is coupled to the second terminal of resistor 352. Amplifier 356 has a first input and a second input and an output. A first input of amplifier 356 is coupled to the second terminal of resistor 346, a second input of amplifier 356 is coupled to the second terminal of resistor 352, and an output of amplifier 356 is coupled to a first terminal of switch 220 and a second input of voltage scaling circuit 214, which may be the output of voltage sensing circuit 212. In an example, a second terminal of resistor 354 is coupled to the output of amplifier 356. In some examples of voltage sensing circuit 212, the resistance of resistor 348 is approximately the same as the resistance of resistor 346, and the resistance of resistor 354 is approximately the same as the resistance of resistor 352. Therefore, the gain of voltage sensing circuit 212 is approximately equal to one. However, in other examples, the resistance of resistor 348 is approximately M times the resistance of resistor 346, and the resistance of resistor 354 is approximately M times the resistance of resistor 352 to provide a gain of voltage sensing circuit 212 that is approximately equal to M. In some examples, the output of calibration circuit 108 is coupled to a second input of amplifier 356 to mitigate variations in VDUT from VFORCE as described above.
[0030] In one example, the voltage scaling circuit 214 includes a scaling circuit 358, a multiplexer 360, a multiplexer 362, an amplifier 364, and switches 368 and 370. In one example, the scaling circuit 358 has a first input and a second input and a first output and a second output. The first input of the scaling circuit 358 is coupled to the output of the current sensing circuit 208, and the first input may be the first input of the voltage scaling circuit 214. The second input of the scaling circuit 358 is coupled to the output of the voltage sensing circuit 212, and the second input may be the second input of the voltage scaling circuit 214. The multiplexer 360 has a first input and a second input and an output. In various examples, the first input of the multiplexer 360 may receive any suitable signal from any suitable source, node, terminal, or component of the PMU 104 to provide a signal from the PMU 104 for monitoring or testing by the controller 102. The second input of the multiplexer 360 is coupled to the first output of the scaling circuit 358. The output of multiplexer 360 is coupled to a first terminal of switch 368, which has a second terminal coupled to controller 102, which second terminal may be the first output of voltage scaling circuit 214. Multiplexer 362 has a first input and a second input and an output. The first input of multiplexer 362 is coupled to the first output of scaling circuit 358. The second input of multiplexer 362 is coupled to the second output of scaling circuit 358. The output of multiplexer 362 is coupled to a first input of amplifier 364. Amplifier 364 has a second input and has an output. The second input of amplifier 364 is coupled to the output of amplifier 364. The output of amplifier 364 is coupled to a first terminal of switch 370, which has a second terminal coupled to controller 102, which second terminal may be the second output of voltage scaling circuit 214. Although in Figure 3 , but in some examples, switches 368, 370 each have a respective control terminal that can be coupled to any suitable circuit, component, or device to receive a control signal for controlling the state of the respective switch. In some examples, the control terminal is coupled to controller 102. Similarly, although in Figure 3 1, but in some examples, the multiplexers 360, 362 each have a respective selection or control terminal that can be coupled to any suitable circuit, component, or device to receive a control signal for selecting an input of the respective multiplexer for output of the respective multiplexer. In some examples, the selection or control terminal is coupled to the controller 102.
[0031] exist Figure 3In an example of operation of the PMU 104 of FIG. 1 , the force DAC 302 receives a digital signal and provides a voltage signal having a value determined according to the digital signal. The voltage provided by the force DAC 302 is amplified by the amplifier 304 to form VFORCE. In one example, the gain ratio of the amplifier 304 is determined according to the ratio of the resistance of the resistor 306 to the resistance of the resistor 308. The amplifier 304 may lack sufficient drive strength for driving the DUT 106. Thus, the amplifier 316 receives VFORCE at its first input and implements negative feedback based on VVS to cause VDUT to be approximately equal to VFORCE. In one example, by opening switches 338, 340 and 342 and closing switches 216, 218, the current sensing circuit 208 determines and provides VCS indicating the value of IDUT flowing through the resistor 206. In another example, by closing switches 338, 340, and 342 and opening switches 216, 218, current sensing circuit 208 determines and provides VCS indicating the value of IDUT flowing through resistor 336. Calibration circuit 108 receives VCS and provides ICAL based on the value of VCS and the tuning code. In some examples, ICAL is approximately equal to the decimal value of the tuning code multiplied by VCS.
[0032] As described herein above, in a theoretical or nominal example, VFORCE is approximately equal to VDUT. However, in an embodiment, VDUT may be approximately equal to VFORCE-IDUT*ROUT, as described above. VCS is approximately equal to IDUT*Rsense*N, where Rsense is the resistance of resistor 206 or resistor 336, by which current sensing circuit 208 determines IDUT. ICAL is approximately equal to Gm*VCS, so by substitution, ICAL=Gm*(IDUT*Rsense*N), where Gm is the decimal value of the tuning code received by calibration circuit 108. VVS is approximately equal to (VSH-DGS)-ICAL*R, where R is the resistance of resistor 354. The feedback loop formed between the forcing amplifier circuit 204 and the voltage sensing circuit 212 causes the forcing amplifier circuit 204 to provide VFORCE having a value approximately equal to VVS, so by substitution, VFORCE=(VSH-DGS)-ICAL*R. By further substituting, VDUT = (VSH - DGS) - IDUT * ROUT, VDUT = VFORCE + ICAL * R - IDUT * ROUT, and VDUT = VFORCE + IDUT * (Gm * 5 * Rsense * R - ROUT). By determining and providing a tuning code such that Gm = ROUT / (N * Rsense * R), VDUT becomes approximately equal to VFORCE. In some examples, the controller 102 generates the tuning code as K * 2 X, where X is the number of bits of the tuning code, and K is determined based on the resistance of the connector divided by the maximum connector resistance value. In one example, the maximum connector resistance is the maximum value of ROUT that can be calibrated. Thus, the calibration current can be determined to be proportional to the parasitic resistance of the connector and proportional to the first voltage signal.
[0033] Figure 4 is a schematic diagram of an example of a voltage sensing circuit 212. Figure 3 At least some description of the voltage sensing circuit 212 may be obtained from Figure 4 Omitted from the description, or can refer to Figure 3 As mentioned above about Figure 3 As described, in some examples, the output of the calibration circuit 108 is coupled to the virtual ground of the voltage sensing circuit 212 (e.g., the second input of the amplifier 356). However, such an arrangement may present challenges under certain operating conditions. For example, VVS may swing rail-to-rail, or vary within the operating voltage range of the PMU 104 (e.g., the input voltage minus the ground voltage potential). This may cause the calibration circuit 108 to be exposed to large changes in the output common-mode voltage, thereby potentially introducing errors in the value of ICAL, such as errors generated by the calibration circuit 108 having a finite output impedance. In some examples, leakage current may flow from the calibration circuit 108. The resulting leakage error of the calibration circuit 108 may be proportional to the ratio of the leakage current to the step size of ICAL.
[0034] Thus, in other examples, the output of calibration circuit 108 is coupled to an internal node of voltage sensing circuit 212. For example, resistor 348 can be divided into resistor 402 and resistor 404. Resistor 402 has a first terminal and a second terminal, wherein the first terminal of resistor 402 is coupled to the second terminal of resistor 346. Resistor 404 has a first terminal and a second terminal, wherein the first terminal of resistor 404 is coupled to the second terminal of resistor 402, and the second terminal of resistor 404 is coupled to ground terminal 224. The output of calibration circuit 108 is coupled to the second terminal of resistor 402. In such examples, the polarity of the calibration circuit can be reversed. In some examples, the resistance of resistor 402 is approximately ¾ of the resistance of resistor 346, and the resistance of resistor 404 is approximately ¼ of the resistance of resistor 346.
[0035] Through Figure 4 The calibration circuit 108 is coupled to the voltage sensing circuit 212 as shown in FIG. Figure 3 At least some of the challenges that arise when coupling the calibration circuit 108 to the voltage sensing circuit 212 at the virtual ground of the voltage sensing circuit 212 shown in FIG. 2 can be alleviated. For example, Figure 4The output common mode voltage variation of the calibration circuit 108 can be reduced to approximately Figure 3 1 / 4 of the variation of the coupled calibration circuit 108 shown in FIG. Figure 4 The ICAL step size of the calibration circuit 108 can be approximated as follows: Figure 3 4 times the ICAL step size of the coupled calibration circuit 108 shown in , thereby reducing the ratio of leakage current to ICAL step size.
[0036] Figure 5 is a flow chart of an example method 500. In some examples, the method 500 is a method of performing measurements of a DUT, such as by an ATE, and is at least partially implemented by the PMU 104 and / or the controller 102.
[0037] At operation 502, a first voltage signal representing a current of the DUT is determined. In some instances, the current flows through a connector or terminal of a PMU, such as PMU 104. In some instances, the first voltage signal is determined by a circuit, such as current sensing circuit 208. In some instances, the current flows through the connector in response to the PMU providing a forcing voltage at the connector. In some instances, the forcing voltage is provided by gain circuit 202 and / or forcing amplifier circuit 204.
[0038] At operation 504, a second voltage signal representing a voltage of the DUT is determined. In some examples, the voltage is provided at a connector or terminal of the PMU. In a theoretical or nominal example, the voltage of the DUT is approximately equal to the forcing voltage. However, in an embodiment, the voltage of the DUT varies from the forcing voltage based on parasitic routing resistance of the PMU, such as parasitic resistance of a connector or terminal of the PMU.
[0039] At operation 506, a calibration current is determined based on the first voltage signal. For example, the first voltage signal may be scaled based on a tuning code. For example, the tuning code is determined to have a value proportional to a parasitic routing resistance of the PMU, such as a parasitic resistance of a connector or terminal of the PMU. In some examples, the calibration current is determined and provided by a calibration circuit, such as calibration circuit 108, which may be a transconductance amplifier. In such examples, the tuning code may tune or program the transconductance of the transconductance amplifier. In some examples, the tuning code is determined to have a value of K*2 X Where X is the number of bits in the digital code, and K is determined based on the resistance of the connector divided by the maximum connector resistance value. Thus, the calibration current can be determined to be proportional to the parasitic resistance of the connector and proportional to the first voltage signal. In one example, the maximum connector resistance is the maximum value of ROUT that can be calibrated.
[0040] At operation 508, the measurement of the DUT is modified according to the calibration current. In some examples, the modification of the measurement of the DUT is performed by modifying the determination of the second voltage signal according to the calibration current, such as described above with respect to Figure 3 or Figure 4 In other examples, the modification of the measurement of the DUT is performed by modifying the value of the forcing voltage according to a calibration current, such as by providing the calibration current to the first terminal of the amplifier 316 via a series resistor.
[0041] In this specification, the term "coupled" may encompass connections, communications, or signal paths that enable a functional relationship consistent with this specification. For example, if device A generates a signal to control device B to perform an action, then: (a) in a first instance, device A is coupled to device B through a direct connection; or (b) in a second instance, device A is coupled to device B through an intermediate component C, provided that the intermediate component C does not change the functional relationship between device A and device B, so that device B is controlled by device A through the control signal generated by device A.
[0042] A device "configured to" perform a task or function may be configured (e.g., programmed and / or hardwired) to perform the function when manufactured by a manufacturer, and / or may be configurable (or reconfigurable) by a user after manufacture to perform the function and / or other additional or alternative functions. Configuration may be by firmware and / or software programming of the device, by the construction and / or layout of the hardware components and interconnections of the device, or a combination thereof.
[0043] Circuits or devices described herein as including certain components may actually be coupled to those components to form the described circuit system or device. For example, a structure described as including one or more semiconductor elements (e.g., transistors), one or more passive elements (e.g., resistors, capacitors, and / or inductors), and / or one or more sources (e.g., voltage sources and / or current sources) may actually include only semiconductor elements within a single physical device (e.g., a semiconductor die and / or an integrated circuit (IC) package), and may be coupled to at least some of the passive elements and / or sources to form the described structure at the time of manufacture or after manufacture, for example, by an end user and / or a third party.
[0044] Although some components may be described herein as belonging to a specific process technology, these components may be exchanged with components of other process technologies. The circuits described herein may be reconfigured to include replaced components to provide functionality similar to functionality available at least in part before component replacement. Unless otherwise stated, components shown as resistors generally represent any one or more elements coupled in series and / or in parallel to provide the impedance amount represented by the displayed resistor. For example, a resistor or capacitor shown and described as a single component herein may actually be a plurality of resistors or capacitors coupled in parallel between the same nodes, respectively. For example, a resistor or capacitor shown and described as a single component herein may actually be a plurality of resistors or capacitors coupled in series between the same two nodes as a single resistor or capacitor, respectively.
[0045] The use of the phrase "ground voltage potential" in the foregoing description includes chassis ground, ground wire ground, floating ground, virtual ground, digital ground, universal ground, and / or any other form of ground connection that is applicable or suitable for the teachings of this specification. In this specification, unless otherwise stated, "about", "approximately" or "substantially" before a parameter means within + / -10% of the parameter. Modifications may be made in the described examples, and other examples may be made within the scope of the claims.
[0046] As used herein, the terms "terminal", "node", "interconnect", "pin", and "lead" may be used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnect between device elements, circuit elements, integrated circuits, devices, or semiconductor components, or their terminations. In addition, a voltage rail or more simply a "rail" may also be referred to as a voltage terminal, and may generally mean a common node or set of coupled nodes in a circuit that are at the same potential.
Claims
1. A device comprising: a current sensing circuit having an output terminal; a voltage amplifier having a negative input terminal coupled to the output terminal of the current sensing circuit; a tunable transconductance amplifier having an input terminal and an output terminal, the input terminal of the tunable transconductance amplifier being coupled to the output terminal of the current sensing circuit; as well as A voltage sensing circuit has a first signal input terminal, a second signal input terminal, a third input terminal, and an output terminal, wherein the third input terminal of the voltage sensing circuit is coupled to the output terminal of the tunable transconductance amplifier.
2. The apparatus of claim 1 , wherein the voltage sensing circuit comprises: a first amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the first amplifier is the first signal input terminal of the voltage sensing circuit, and the the second input terminal of the first amplifier being coupled to the output terminal of the first amplifier; a first resistor having a first terminal and a second terminal, the first terminal of the first resistor being coupled to the output terminal of the first amplifier; a second resistor having a first terminal and a second terminal, the first terminal of the second resistor being coupled to the second terminal of the first resistor and the second terminal of the second resistor being coupled to a ground terminal; a second amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the second amplifier is the second signal input terminal of the voltage sensing circuit, and the the second input terminal of the second amplifier being coupled to the output terminal of the second amplifier; a third resistor having a first terminal and a second terminal, the first terminal of the third resistor being coupled to the output terminal of the second amplifier; a fourth resistor having a first terminal and a second terminal, the first terminal of the fourth resistor being coupled to the second terminal of the third resistor; as well as a third amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the third amplifier is coupled to the second terminal of the first resistor, the second input terminal of the third amplifier is the third input terminal and is coupled to the second terminal of the third resistor and to the output terminal of the tunable transconductance amplifier, and the output terminal of the third amplifier is coupled to the second terminal of the fourth resistor and is the output terminal of the voltage sensing circuit.
3. The apparatus of claim 1 , wherein the voltage sensing circuit comprises: a first amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the first amplifier is the first signal input terminal of the voltage sensing circuit, and the the second input terminal of the first amplifier being coupled to the output terminal of the first amplifier; a first resistor having a first terminal and a second terminal, the first terminal of the first resistor being coupled to the output terminal of the first amplifier; a second resistor having a first terminal and a second terminal, the first terminal of the second resistor being coupled to the second terminal of the first resistor; a third resistor having a first terminal and a second terminal, the first terminal of the third resistor being coupled to the output terminal of the second amplifier and the second terminal of the third resistor being coupled to a ground terminal, wherein the first terminal of the third resistor is the third input terminal and is coupled to the output terminal of the tunable transconductance amplifier; a second amplifier having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the second amplifier is the second signal input terminal of the voltage sensing circuit, and the the second input terminal of the second amplifier being coupled to the output terminal of the second amplifier; a fourth resistor having a first terminal and a second terminal, the first terminal of the fourth resistor being coupled to the output terminal of the second amplifier; a fifth resistor having a first terminal and a second terminal, the first terminal of the fifth resistor being coupled to the second terminal of the fourth resistor; as well as a third amplifier having a first input terminal, a second input terminal, and an output terminal, wherein the first input terminal of the third amplifier is coupled to the second terminal of the first resistor, the second input terminal of the third amplifier is coupled to the second terminal of the fourth resistor, and the output terminal of the third amplifier is coupled to the second terminal of the fifth resistor and is the output terminal of the voltage sensing circuit.
4. The apparatus according to claim 1, further comprising: a first switch having a first terminal and a second terminal, the second terminal of the first switch being coupled to the output terminal of the current sensing circuit; as well as a second switch having a first terminal and a second terminal, the second terminal of the second switch being coupled to the output terminal of the voltage sensing circuit, The voltage amplifier comprises: an amplifier having a first input terminal, a second input terminal, and an output terminal, wherein the second input terminal of the amplifier is coupled to the first terminal of the first switch and to the first terminal of the second switch; a first buffer having an input terminal and an output terminal, the input of the first buffer being coupled to the output terminal of the amplifier and the output terminal being coupled to a first output pin of the device; as well as A second buffer has an input terminal and an output terminal, the input of the second buffer being coupled to the output terminal of the amplifier.
5. The device according to claim 4, wherein the device further comprises: a controllable voltage source having a first control input terminal, a second control input terminal, and an output terminal, wherein the output terminal of the controllable voltage source is coupled to the first input terminal of the amplifier; a resistor having a first terminal and a second terminal, wherein the second terminal of the resistor is coupled to a second output pin of the device; a third switch having a first terminal and a second terminal, the first terminal of the third switch being coupled to the output terminal of the second buffer and the second terminal of the third switch being coupled to the first terminal of the resistor; a fourth switch having a first terminal and a second terminal, the first terminal of the fourth switch being coupled to the first terminal of the resistor; as well as A fifth switch has a first terminal and a second terminal, the first terminal of the fifth switch being coupled to the second terminal of the resistor.
6. The apparatus of claim 5, wherein the controllable voltage source comprises: a first digital-to-analog converter DAC having an input terminal and an output terminal, wherein the input terminal of the first DAC is coupled to a first input pin of the device; a second amplifier having first and second input terminals and an output terminal, wherein the first input terminal of the second amplifier is coupled to the output of the first DAC and the output terminal of the second amplifier is coupled to the first input terminal of the amplifier; a second resistor having a first terminal and a second terminal, the first terminal of the second resistor being coupled to the output terminal of the second amplifier and the second terminal of the second resistor being coupled to the second input terminal of the second amplifier; an adjustable value resistor having a first terminal and a second terminal, the first terminal of the adjustable value resistor being coupled to the second input terminal of the second amplifier; a multi-pole switch having a first terminal, a second terminal, and a third terminal, wherein the first terminal of the multi-pole switch is coupled to the second terminal of the adjustable value resistor and the second terminal of the multi-pole switch is coupled to a ground terminal; a second DAC having an input terminal and an output terminal, wherein the input terminal of the second DAC is the second control input terminal of the controllable voltage source; as well as A buffer has a buffer input and a buffer output, the buffer input being coupled to the output terminal of the second DAC and the buffer output being coupled to the third terminal of the multi-pole switch.
7. The apparatus of claim 6 , wherein the tunable transconductance amplifier has a tuning input terminal, and the apparatus further comprises a controller having a first output terminal, a second output terminal, and a third output terminal, wherein the first output terminal of the controller is coupled to the tuning input terminal of the tunable transconductance amplifier, the second output terminal of the controller is coupled to the input terminal of the first DAC, and the third output terminal of the controller is coupled to the input terminal of the second DAC.
8. The apparatus of claim 5, wherein the current sensing circuit comprises: a sixth switch having a first terminal and a second terminal, wherein the second terminal of the sixth switch is coupled to an input pin of the device; a seventh switch having a first terminal and a second terminal, wherein the second terminal of the seventh switch is coupled to a second input pin of the device; a first amplifier having a first input terminal, a second input terminal, and an output terminal, wherein the first input terminal of the first amplifier is coupled to the second terminal of the fourth switch and to the first terminal of the sixth switch, and the second input terminal of the first amplifier is coupled to the output terminal of the first amplifier; a third resistor having a first terminal and a second terminal, the first terminal of the third resistor being coupled to the output terminal of the first amplifier; a fourth resistor having a first terminal and a second terminal, the first terminal of the fourth resistor being coupled to the second terminal of the third resistor and the second terminal of the fourth resistor being coupled to the ground terminal; a second amplifier having a first input terminal, a second input terminal, and an output terminal, wherein the first input terminal of the second amplifier is coupled to the second terminal of the fifth switch and to the first terminal of the seventh switch; and the second input terminal of the second amplifier is coupled to the output terminal of the second amplifier; a fifth resistor having a first terminal and a second terminal, the first terminal of the fifth resistor being coupled to the output terminal of the second amplifier; a sixth resistor having a first terminal and a second terminal, the first terminal of the sixth resistor being coupled to the second terminal of the fifth resistor; as well as a third amplifier having a first input terminal, a second input terminal, and an output terminal, wherein the first input terminal of the third amplifier is coupled to the second terminal of the third resistor, the second input terminal of the third amplifier is coupled to the second terminal of the fifth resistor, and the output terminal of the third amplifier is coupled to the second terminal of the sixth resistor and is the output terminal of the current sensing circuit.
9. A device comprising: a current sensing circuit configured to measure a current of a device under test (DUT) to provide a first signal having a voltage representative of the current of the DUT; a voltage amplifier coupled to the current sensing circuit and configured to provide a second signal to the DUT based on a third signal and a fourth signal, wherein the second signal is a result of differential amplification between the third signal and the first signal; a voltage sensing circuit configured to measure a voltage of the DUT at a connector to provide the fourth signal; as well as A tunable transconductance amplifier is coupled to the current sensing circuit and the voltage sensing circuit, the transconductance amplifier being configured to provide a fifth signal as a calibration signal to the voltage sensing circuit, wherein the tunable transconductance amplifier determines the fifth signal based on the first signal and a tuning code.
10. The apparatus of claim 9, wherein the tuning code is determined in response to a resistance of the connector.
11. The apparatus according to claim 10, wherein the tuning code has a value according to K*2 X A value determined where X is the number of bits of the tuning code and K is determined based on the resistance of the connector divided by a maximum connector resistance value.
12. The apparatus of claim 9, wherein the apparatus further comprises: a digital-to-analog converter configured to receive the digital code and to provide a seventh signal having a value determined according to the digital code; as well as An amplifier is configured to amplify the seventh signal to form the third signal.
13. The apparatus of claim 12, further comprising a controller, wherein the controller is configured to provide the tuning code and the digital code.
14. A method of performing measurements of a device under test (DUT) coupled to a connector, comprising: determining a first voltage signal representative of a current of the DUT, the current flowing through the connector; determining a second voltage signal representative of a voltage of the DUT as provided at the connector; determining a calibration current according to the first voltage signal; as well as Measurements of the DUT are modified based on the calibration current.
15. The method of claim 14, further comprising determining the calibration current based on a tunable transconductance amplifier, the tunable transconductance amplifier being tunable based on a digital code determined in response to a resistance of the connector.
16. The method of claim 15, wherein the digital code is determined to have K*2 X where X is the number of bits in the digital code and K is determined based on the resistance of the connector divided by the maximum connector resistance value.
17. The method of claim 14, further comprising providing a forcing voltage at the connector.
18. The method of claim 17, further comprising modifying a measurement of the DUT by modifying a value of the forcing voltage according to the calibration current.
19. The method of claim 14, further comprising modifying a measurement of the DUT by modifying a determination of the second voltage signal according to the calibration current.
20. The method of claim 14, further comprising determining the calibration current that is proportional to a parasitic resistance of the connector and to the first voltage signal.
