The present invention relates to control of measurement instruments, and more particularly to automatic compensation of gain versus temperature in an oscilloscope.
Gain accuracy is an important parameter in a measurement instrument, such as an oscilloscope, because it contributes to the quality of the measurements. Presently manufacturers typically recommend that the measurement instrument be re-calibrated whenever ambient temperature of the environment changes by more than five degrees Centigrade in order to maintain gain accuracy within stated specifications. The specified accuracy of many instruments is therefore limited by how much the gain of the instrument changes over temperature. The actual gain accuracy is further limited by how reliably the instrument user remembers to actually run the calibration routine, which in some cases requires over one minute to run. Another disadvantage of re-calibrating is that the gain of the input channel may suddenly change after calibration is completed which may lead to measurement fluctuations that are inexplicable from the user's standpoint. The result is that the instrument may not stay within specification between calibrations.
What is desired is a method of automatically compensating of gain versus temperature between instrument re-calibrations to avoid measurement fluctuations and maintain instrument specifications between calibrations.
Accordingly the present invention provides for automatic compensation of gain versus temperature in a circuit of a measurement instrument that is subject to gain drift with temperature. A temperature sensor detects an ambient temperature for the circuit as a temperature voltage. The temperature voltage is scaled by a settable value representing a known temperature/gain characteristic for the circuit to produce a temperature correction voltage. The temperature correction voltage is subtracted from a reference voltage representing a gain for the circuit to produce a corrected reference voltage for the cricuit. The automatic compensation occurs continuously in the background without user intervention or interference with signal processing by the circuit.
The objects, advantages and other novel features of the present invention are apparent from the following detailed description when read in light of the appended claims and attached drawing.
Referring now to
Although the above example applies the temperature compensation to the reference voltages of the ADCs in the input channels, the correction voltage may alternatively be applied to a variable gain control of input channel preamplifiers. Also the temperature may be sensed digitally and the digital values input to a microcontroller that continuously adjusts the gain control, i.e., any gain control in the input channel. The settable value may be empirically derived during instrument design since generally instruments of the same type have essentially the same temperature/gain characteristics. However where there is the possibility of variations in temperature/gain characteristics from instrument to instrument, the particular temperature/gain characteristics of each instrument may be determined during manufacturing testing.
The example described above describes the situation where the gain drift versus temperature is linear—in such a case only one settable value representing a single temperature coefficient as the temperature/gain characteristic is needed. However more generally temperature drift may also be compensated for non-linear changes in gain versus temperature. In the non-linear case there is more than one settable value—one for each coefficient in a suitable gain correction equation representing the non-linear temperature/gain characteristic. Implementation of the non-linear case is straightforward using a microcontroller. An analog implementation is more complex, requiring more multipliers in cascade.
Thus the present invention provides automatic compensation of gain versus temperature by measuring ambient temperature and adjusting the gain control of an circuit subject to gain drift with temperature based upon a known temperature/gain characteristic for the circuit so that the actual circuit gain is more stable. This process happens automatically in the background so no user intervention is required nor is data acquisition interrupted—100% “live” time; happens continuously so the circuit gain remains nearly constant; enables the instrument specifications to be set tighter; decreases the frequency of calibrations; and allows relaxation of temperature stability requirements of the circuitry which reduces design time or allows tradeoffs more favorable to other specifications such as noise or bandwidth.