Abstract:
A method for calibrating a test instrument having an initial output voltage level and an open output relay can include programming the test instrument for a certain current level, starting a timer, and stopping the timer (responsive to the test instrument entering compliance) to determine a time interval. The method can also include determining whether the time interval is within a desired range.

Description:
TECHNICAL FIELD 
       [0001]    This disclosure relates generally to various types of electronic instrumentation and, more particularly, to self-calibration of measurement circuitry therein. 
       BACKGROUND 
       [0002]    Today&#39;s users of electronic instrumentation generally desire the measurement of either voltage or current to be highly linear over the range of the instrument (e.g., &lt;&lt;100 ppm over the range). Also, linearity can—and often does—drift with time and temperature, which may necessitate frequent corrections. And removing the instrument to a calibration facility or requiring external equipment is particularly undesirable. 
         [0003]    Today&#39;s users also tend to desire having an option of making faster measurements with correspondingly lower accuracy [or slower high-resolution measurements when called for] with the same instrument. 
         [0004]    Accordingly, a need remains for improvement in electronic instrumentation that does not affect throughput for lower resolution, high speed measurements (which is usually the case with multipoint calibration). However, while certain designs (e.g., dual converters) may begin to address this problem, the shortcomings associated therewith include increased cost with regard to board space as well as further complications to calibration traceability. 
       SUMMARY 
       [0005]    Embodiments of the disclosed technology generally pertain to techniques with regard to instrument self-adjustment for fixing the linearity of the measurement circuit without relying on external references or multipoint calibration. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0006]      FIG. 1A  illustrates an example of an ideal capacitance circuit. 
           [0007]      FIG. 1B  illustrates an example of a non-ideal capacitance circuit. 
           [0008]      FIG. 1C  is a graphical illustration of the voltage ramps corresponding to the ideal capacitance circuit and the non-ideal capacitance circuit illustrated by  FIGS. 1A and 1B , respectively. 
           [0009]      FIG. 2  is a graphical illustration of the linearity self-adjust rejection of the dielectric absorption (DA) effect. 
           [0010]      FIG. 3  is a graphical illustration of an adjustment procedure in accordance with certain embodiments of the disclosed technology. 
       
    
    
     DETAILED DESCRIPTION 
       [0011]    Embodiments of the disclosed technology generally include calibration of DC accuracy in a conventional manner, e.g., a regular 3-point calibration that is done typically on an annual calibration cycle. 
         [0012]    Certain implementations may be used to acquire a set of points (e.g., nine, roughly ⅛ th  of a scale apart) periodically (e.g., at the frequency chosen by the user, possibly on a monthly basis or more frequently if needed). These adjustments may be stored in the instrument&#39;s flash along with, but separately from, the DC calibration constants. 
         [0013]    When measurements are made that will benefit from further adjustment (e.g. 1 PLC or better), the linearity adjustment may be applied to the result (e.g., after DC calibration has already been applied). 
         [0014]    Implementations may generally be performed without any external equipment or references by the user (e.g., customer). However, one potential issue with trying to self-calibrate linearity error is the lack of a reference. The instrument&#39;s source capability would seem to be a good choice: that is, simply sweeping the source across the range of the instrument then measuring the internal feedback network would yield information about the system linearity. Unfortunately, this technique also includes linearity errors of the source (e.g., the DAC) which is typically much worse than the measurement system that is in the process of being corrected. 
         [0015]    Among the various advantages provided by certain implementations is that the instrument generally has a stable time reference (e.g., the processor clock). Also, the instrument generally includes a current sourcing capability that extends to a low level (e.g., nano-Amps). Further, a constant current into a pure capacitance generally yields a linear voltage-versus-time (i.e., ΔV/Δt=I/C). 
         [0016]    Embodiments generally involve using the current source capability of the instrument into its own output capacitance to measure the cardinal points of the measurement circuit, which may advantageously eliminate source linearity from polluting the process because the source is not changing during the procedure. The current source typically does need not be calibrated for this to work but there may be certain challenges. 
         [0017]    As used herein, Dielectric Absorption (DA) generally refers to the non-ideal way that the output capacitance of a circuit behaves due to the absorption of charge through materials that have a high relative permittivity (e.g., with respect to air). These dielectrics can be part of the capacitors themselves or the printed circuit board (PCB) on which the capacitor is soldered. DA may be modeled as a series of parasitic elements in parallel with the ideal capacitance that is charging.  FIG. 1A  illustrates an example of an ideal capacitance circuit  102 ,  FIG. 1B  illustrates an example of a non-ideal capacitance circuit  104 , and  FIG. 1C  is a graphical illustration  106  of the voltage ramps corresponding to the ideal capacitance circuit  102  and the non-ideal capacitance circuit  104 . 
         [0018]    No matter the cause, the effect of DA is generally to make the voltage ramp during constant-current output not linear, frustrating efforts to obtain linearity information about the measurement circuits. Another source of error requiring correction is integral nonlinearity (INL) by A/D converters or amplifiers within the test instrument, for example. 
         [0019]    However, nonlinearity due to DA or INL has been observed to be symmetrical with respect to the direction of current flow. That is, if the current ramp is repeated at the same rate and opposite polarity, the differential voltage measured across the effective output impedance will largely discard nonlinearities that are due to DA while maintaining the nonlinearity due to the measurement circuit. 
         [0020]      FIG. 2  is a graphical illustration  200  of the linearity self-adjust rejection of the DA effect. The output capacitance and current source accuracy are both typically highly variable. That is, the ramp rate seen by the measurement circuit may vary significantly. For self-calibration to be effective, the nine cardinal points in the graph  200  need to be approximately evenly spaced from negative (−) full scale to positive (+) full scale. To accomplish this, the self-calibration algorithm may include a timing phase at the beginning. 
         [0021]    The algorithm may begin with the output at 0V and the output relay of the instrument open. The instrument may then be programmed for a small negative current (e.g., approx. −2 nA), and a timer may begin. Once the instrument enters a certain voltage limit, the timer may be stopped. If the time measured is outside the range desired for the procedure (which is typically determined by the DA issue and the speed of the instrument&#39;s acquisition) then the instrument output may be reset to 0V and the current level may be adjusted. This may be repeated as necessary. 
         [0022]    Once the current level has been adjusted and the timing is known, the instrument may perform two sweeps. Firstly, beginning at the negative (−) full scale (i.e., −100V in the example), the current source may be programmed for the chosen level, with positive polarity. The instrument firmware may measure the voltage at the time interval identified, resulting in nine cardinal points. 
         [0023]    Secondly, now at the positive (+) full scale (i.e., +100V in the example), the current source polarity may be reversed and the same—or comparable—procedure may be used to acquire nine more cardinal points. The second array may be reversed and then subtracted from the first. The resulting array of points may be used to extract a linearity factor for the measurement circuit (e.g., meaning that the array is “linearized” by subtracting it from an ideal straight line which begins at the first point and ends at the second point). 
         [0024]    Once the coefficients for linearity adjustment have been acquired, they may be stored for future use. In certain implementations, application of the linearity adjustment may take approximately 15 microseconds, so it would typically only be applied to measurements where the throughput is significantly slower so that higher speed (e.g., lower resolution) measurements are not negatively impacted. For example, a 1 PLC equivalent reading generally requires 16.6 milliseconds to acquire, effectively rendering irrelevant the overhead of linearity adjustment. 
         [0025]      FIG. 3  is a graphical illustration  300  of an adjustment procedure in accordance with certain embodiments of the disclosed technology. The measurement to be adjusted is typically bounded by two of the available adjustment points (e.g., which may occur at approximately ⅛ th  scale intervals). Given that the measurement (X) in the example is between two adjustment cardinal points M and N, which have corresponding adjustment values A[M] and A[N] (e.g., the amount of non-linearity known at those points), the adjusted measurement (Y) may be calculated by linear interpolation between the two cardinal points bounding the measurement using the following: 
         [0000]    
       
         
           
             
               A 
               N 
             
             = 
             
               
                 
                   A 
                   N 
                 
                 + 
                 
                   
                     
                       ( 
                       
                         
                           A 
                           M 
                         
                         - 
                         
                           A 
                           N 
                         
                       
                       ) 
                     
                     · 
                     
                       
                         X 
                         - 
                         N 
                       
                       
                         M 
                         - 
                         N 
                       
                     
                   
                    
                   
                       
                   
                    
                   and 
                    
                   
                       
                   
                    
                   Y 
                 
               
               = 
               
                 X 
                 + 
                 
                   
                     A 
                     X 
                   
                   . 
                 
               
             
           
         
       
     
         [0026]    It should be noted that this procedure does not rely on taking nine points and may work effectively with fewer points in certain situations or require more points in other situations. The number of points needed generally depends on the nature of the nonlinearity being corrected. 
         [0027]    The techniques described herein may also be used to adjust current measure linearity if resources are available to route the voltage measurement information to the current measurement circuit. 
         [0028]    The following discussion is intended to provide a brief, general description of a suitable machine in which embodiments of the disclosed technology can be implemented. As used herein, the term “machine” is intended to broadly encompass a single machine or a system of communicatively coupled machines or devices operating together. Exemplary machines may include computing devices such as personal computers, workstations, servers, portable computers, handheld devices, tablet devices, and the like. 
         [0029]    Typically, a machine includes a system bus to which processors, memory such as random access memory (RAM), read-only memory (ROM), and other state-preserving medium, storage devices, a video interface, and input/output interface ports can be attached. The machine may also include embedded controllers such as programmable or non-programmable logic devices or arrays, Application Specific Integrated Circuits (ASICs), embedded computers, smart cards, and the like. The machine may be controlled, at least in part, by input from conventional input devices such as keyboards and mice, as well as by directives received from another machine, interaction with a virtual reality (VR) environment, biometric feedback, or other pertinent input. 
         [0030]    The machine may utilize one or more connections to one or more remote machines, such as through a network interface, modem, or other communicative coupling. Machines can be interconnected by way of a physical and/or logical network, such as an intranet, the Internet, local area networks, wide area networks, etc. One having ordinary skill in the art will appreciate that network communication may utilize various wired and/or wireless short range or long range carriers and protocols, including radio frequency (RF), satellite, microwave, Institute of Electrical and Electronics Engineers (IEEE) 545.11, Bluetooth, optical, infrared, cable, laser, etc. 
         [0031]    Having described and illustrated the principles of the invention with reference to illustrated embodiments, it will be recognized that the illustrated embodiments may be modified in arrangement and detail without departing from such principles, and may be combined in any desired manner. And although the foregoing discussion has focused on particular embodiments, other configurations are contemplated. 
         [0032]    In particular, even though expressions such as “according to an embodiment of the invention” or the like are used herein, these phrases are meant to generally reference embodiment possibilities, and are not intended to limit the invention to particular embodiment configurations. As used herein, these terms may reference the same or different embodiments that are combinable into other embodiments. 
         [0033]    Consequently, in view of the wide variety of permutations to the embodiments that are described herein, this detailed description and accompanying material is intended to be illustrative only, and should not be taken as limiting the scope of the invention. What is claimed as the invention, therefore, is all such modifications as may come within the scope and spirit of the following claims and equivalents thereto.