System and method for current sense resistor compensation
10768211 ยท 2020-09-08
Assignee
Inventors
- Peter J. Pupalaikis (Ramsey, NJ)
- Lawrence W. Jacobs (Redwood Shores, CA, US)
- Istvan Novak (Bedford, MA, US)
Cpc classification
G01R19/2509
PHYSICS
G01R15/005
PHYSICS
International classification
Abstract
Systems and methods are provided for compensating for parasitics in current measurements utilizing series current sense resistors. In one or more embodiments, the techniques include connecting a probe to a terminal of a circuit and a waveform measuring device. A waveform measuring device then acquires, through the probe, a voltage waveform. A virtual probe netlist is generated, where the netlist is descriptive of a series resistance and associated parasitics. A virtual probe processor converts, based on the virtual probe netlist, the voltage waveform to a current waveform representative of a current in the circuit.
Claims
1. A method for generating a current waveform, the method comprising: connecting a probe to a terminal of a circuit and a waveform measuring device; acquiring, by the waveform measuring device through the probe, a voltage waveform; generating a virtual probe netlist descriptive of a series resistance and associated parasitics; converting, by a virtual probe processor based on the virtual probe netlist, the voltage waveform to the current waveform, wherein the current waveform is representative of a current in the circuit.
2. The method of claim 1, wherein the associated parasitics includes a parasitic inductance and wherein the virtual probe processor compensates for the parasitic inductance based on the virtual probe netlist to generate the current waveform.
3. The method of claim 2, further comprising tuning a value representing the parasitic inductance in the virtual probe netlist until unexpected characteristics associated with the parasitic inductance are substantially removed.
4. The method of claim 3, wherein the unexpected characteristics include Fourier series components of the current waveform.
5. The method of claim 3, wherein the unexpected characteristics include time-domain discontinuities.
6. The method of claim 1, wherein the associated parasitics includes a parasitic capacitance and wherein the virtual probe processor compensates for the parasitic capacitance based on the virtual probe netlist to generate the current waveform.
7. The method of claim 1, wherein the circuit is a power converter, the method further comprising tuning a value representing at least one parasitic in the virtual probe netlist until unexpected characteristics associated with a power converter are substantially removed.
8. The method of claim 1, further comprising receiving, through a user interface, an adjustment to at least one value approximating the associated parasitics; and in response to receiving, through the user interface, the adjustment to the at least one value, updating the virtual probe netlist and the current waveform.
9. The method of claim 1, wherein converting the voltage waveform comprises applying a filter that is generated as a function of the virtual probe netlist.
10. A system for generating a current waveform, the system comprising: a probe that is connected to a terminal of a circuit; a waveform measuring device connected to the probe that acquires, through the probe, a voltage waveform; a virtual probe processor that receives a virtual probe netlist descriptive of a series resistance and associated parasitics; wherein the virtual probe processor converts, based on the virtual probe netlist, the voltage waveform to the current waveform; wherein the current waveform is representative of a current in the circuit.
11. The system of claim 10, wherein the associated parasitics includes a parasitic inductance and wherein the virtual probe processor compensates for the parasitic inductance based on the virtual probe netlist to generate the current waveform.
12. The system of claim 11, wherein the virtual probe processor further tunes a value representing the parasitic inductance in the virtual probe netlist until unexpected characteristics associated with the parasitic inductance are substantially removed.
13. The system of claim 12, wherein the unexpected characteristics include Fourier series components of the current waveform.
14. The system of claim 12, wherein the unexpected characteristics include time-domain discontinuities.
15. The system of claim 10, wherein the associated parasitics includes a parasitic capacitance and wherein the virtual probe processor compensates for the parasitic capacitance based on the virtual probe netlist to generate the current waveform.
16. The system of claim 10, wherein the circuit is a power converter, wherein the virtual probe processor further tunes a value representing at least one parasitic in the virtual probe netlist until unexpected characteristics associated with a power converter are substantially removed.
17. The system of claim 10, further comprising a user interface for adjusting at least one value approximating the associated parasitics; wherein in response to receiving, through the user interface, an adjustment to the at least one value, the virtual probe processor updates the current waveform.
18. The system of claim 10, wherein virtual probe process converts the voltage waveform by applying a filter that is generated as a function of the virtual probe netlist.
19. An apparatus for generating a current waveform, the apparatus comprising: a probe input that includes or connects to a probe for connecting to a terminal of a circuit; a waveform processor connected to the probe input that acquires, through the probe, a voltage waveform; and a virtual probe processor that receive a virtual probe netlist descriptive of a series resistance and associated parasitics and converts, based on the virtual probe netlist, the voltage waveform to a current waveform representative of current in the circuit.
20. The apparatus of claim 19, further comprising a know or a dial that tunes a value representing the associated parasitics when turned causing the virtual probe processor to update the current waveform representative of the current in the circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The embodiments are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings. It should be noted that references to an or one embodiment in this disclosure are not necessarily to the same embodiment, and they mean at least one. In the drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding. One or more embodiments may be practiced without these specific details. Features described in one embodiment may be combined with features described in a different embodiment. In some examples, well-known structures and devices are described with reference to a block diagram form in order to avoid unnecessarily obscuring the present invention. 1. GENERAL OVERVIEW 2. PARASITICS IN CURRENT SENSE MEASUREMENTS 3. CURRENT SENSE RESISTOR COMPENSATION USING VIRTUAL PROBING 4. COMPENSATION TUNING 5. MISCELLANEOUS; EXTENSIONS
1. General Overview
(16) Techniques described herein provide systems and methods for compensation of parasitics. The systems and methods allow for measurements errors of current involving series sense resistors to be overcome.
(17) In one or more embodiments, the dominant parasitic effect is that of unwanted parasitic inductance where the parasitic inductance value is known. In this scenario, a system may compensate for the parasitic inductance by generating a virtual probe netlist comprising a measurement portion and an output portion. The measurement portion may include or consist of a circuit containing preferably a phase inductor, an ideal sense resistor, and a load. The output portion may include or consist of a circuit containing preferably the phase inductor, the load, and the actual circuit of the actual sense resistor model. The actual circuit in this context includes or consists of the sense resistor and associated parasitics.
(18) In one or more embodiments, the output and measurement portion of the circuit are joined by a common stimulus. In the measurement portion, a measurement probe provides the location where an actual measurement is taken. In the output portion, an output probe provides the location where the desired, compensated waveform is provided.
(19) In one or more embodiments, virtual probing is used to compensate for parasitics. Virtual probing allows measurements to be provided that are present at any other point in a circuit other than where the probe tips are able to be connected. Virtual probing may be used to determine a transfer function and resulting processing function for converting measured waveforms into compensated output waveforms that more closely represent the actual current.
(20) In one or more embodiments, the systems and methods provided herein compensate for other forms of parasitics, such as parasitic capacitance and/or parasitic resistance, in addition or as an alternative to parasitic inductance.
(21) In one or more embodiments, tuning capabilities are provided to tune or trim the parasitics until a correct waveform is identified. Tuning may be performed automatically, such as by a waveform processor, or may be exposed through an interface to a user. The system may be automatically tuned until the characteristics of the waveforms meet expected characteristics, such as expected Fourier components in a calibration step. The waveforms may be output on the display of a oscilloscope or computing device as a representation of current in a phase of a switch-mode power supply.
(22) 2. Parasitics in Current Sense Measurements
(23)
(24)
(25)
(26) The impedance of an inductor is given by the well-known equation:
V=s.Math.L=j.Math.2.Math.f.Math.L
where s is the Laplace variable, L is the inductance in henries and f is the frequency in hertz (Hz). Using this equation, it may be seen that for frequencies over about 3 MHz, the impedance of the parasitic inductance is higher than the desired resistance.
(27)
(28)
(29)
(30) 3. Current Sense Resistor Compensation Using Virtual Probing
(31) In one or more embodiments, virtual probing is used to compensate for the effect of parasitics associated with a sense resistor. Virtual probing involves the description of a measurement problem schematically providing an actual measurement taken and query the system to solve for a desired measurement situation. More information about virtual probing is provided in Virtual Probing and Probe Compensation, U.S. Pat. Nos. 7,660,685 and 8,170,820 to Pupalaikis, et al., which were previously incorporated by reference.
(32)
(33) The virtual probe measurement probe [14] may correspond to any physical probe or set of physical probes, such as a differential voltage probe, that is used to capture waveforms in a circuit. The virtual probe measurement probe [14] may be connected to the terminal of a series sense resistor as depicted. Additionally or alternatively, the virtual probe measurement probe [14] may be connected to other terminals within the electronic circuit being tested.
(34) In one or more embodiments, the virtual probe measurement probe [14] is connected to a waveform measuring device. Example waveform measuring devices include, but are not limited to, digital oscilloscopes, analog oscilloscopes, and analyzing recorders. Waveform measuring devices may be used to capture single-shot or recurring signals. The captured waveform may be scaled to convert from a voltage measurement to a current measurement as previously described.
(35) The bottom circuit portion [13] comprises a circuit for which an output, compensated waveform is provided at the location of the virtual probe output probe [15]. As can be seen, the parasitic inductance [7] associated with the series resistor [3] has been removed from the bottom circuit portion [13]. This difference indicates to a virtual probe processor that the effects of the parasitic inductance should be removed from the actual waveform measurement.
(36) The two circuits (i.e., the top circuit portion [12] and the bottom circuit portion [13]) are joined by a device called a stim [16] which provides for a common, singular source of waves in the system emanating from a ground [17]. Due to the typical stiffness of an input voltage supply, ground [17] is a good approximation of the impedance of an input voltage supply, but if the true input supply voltage is known, then a single-port s-parameter block can be utilized providing the return-loss looking into the output of the input supply.
(37) In one or more embodiments, a virtual probe netlist is generated as part of the process to compensate for parasitics. The virtual probe netlist may be generated based on virtual probe schematic. For example,
(38) In one or more embodiments, the virtual probe netlist is generated by a computer aided design (CAD) that converts pictorial circuits and system definitions to an equivalent text file definition. The CAD tool may be implemented in software, hardware, or some combination thereof. Additional examples of generating virtual probe netlists are provided in Virtual Probing and Probe Compensation, U.S. Pat. Nos. 7,660,685 and 8,170,820 to Pupalaikis, et al.
(39) In one or more embodiments, a virtual probe processor is configured to generate an output waveform as a function of a virtual probe measurement waveform. For example,
(40)
(41)
(42) Referring again to
(43) The examples above relate to compensating for parasitic inductance that is within or associated with a sense resistor that is the subject of a waveform measurement. The technique is applicable for parasitics other than just inductance. In the virtual probe arrangement in
(44) Referring again to
(45) 4. Compensation Tuning
(46) The examples above assume that the parasitics are known before compensation. However, in some circumstances, there may be a lack of a priori knowledge of the parasitics. In these cases, a dynamic tuning capability may be provided to compensate for the unknown parasitic values. The tuning capability may update the parasitic values in the virtual probing schematic and netlist until the compensated waveform matches a set of expected characteristics, as will be explained further below.
(47) In one or more embodiments, the tuning capability is provided via a user interface of an instrument providing for such compensation. For example, the user interface may include a dial or knob on an oscilloscope or other waveform measurement device. As another example, the tuning ability may be provided through a GUI or some other display interface of a digital computing device. The user may then tune, trim, or otherwise adjust the parasitic values observing the effect on the compensated waveform. The compensated waveform may be displayed via a screen of the waveform measurement device, and the display of the compensated waveform may be updated in real-time as the user is turning the dial or otherwise tuning the parasitic values through the interface. This allows the user to adjust the assumed parasitic values and near immediately see the result of the update virtual probing output waveform. The user may continue adjusting the assumed parasitic values until the compensated waveform substantially matches the characteristics expected for the measurement.
(48) It is noted that tuning the assumed parasitic values, in the examples set forth herein, does not adjust the actual parasitic inductance for which compensation is desired. Rather, tuning the assumed parasitic values adjusts signal processing parameters in the virtual probe netlist for compensating the effects of the parasitic inductance. The filter applied by a virtual probe processor is computed as a function of the assumed parasitic value. The more closely the assumed parasitic value matches the actual parasitic inductance, the more effective the applied filter at minimizing the effect of the actual parasitic inductance.
(49) In one or more embodiments, tuning may be performed automatically by the instrument providing for such compensation. To automatically tune the values, the instrument may adjust in a manner that minimizes the error waveform [11]. In
(50) Another technique for automatically tuning the values is to iteratively change the parasitic values until unexpected time-domain characteristics are removed. For example, the parasitic inductance values may be iteratively updated until the time-series discontinuity characterized by pulse train is removed. The result removes sudden spikes in the current waveform that are unexpected and indicative of a measurement error.
(51)
(52) 5. Miscellaneous; Extensions
(53) Embodiments are directed to a system with one or more devices that include a hardware processor and that are configured to perform any of the operations described herein and/or recited in any of the claims below.
(54) In an embodiment, a non-transitory computer readable storage medium comprises instructions which, when executed by one or more hardware processors, causes performance of any of the operations described herein and/or recited in any of the claims.
(55) Any combination of the features and functionalities described herein may be used in accordance with one or more embodiments. In the foregoing specification, embodiments have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.