1. Field of Invention
The present invention relates in general to a temperature compensation apparatus for an electronic signal, and more particularly, to a temperature correction and compensation apparatus suitable for use in electronic signal correction of infrared, chip, temperature sensor and control, voltage source and current source, which uses a digital circuit to perform calculation, so as to suppress the temperature drift of reference voltage source.
Related Art
The advanced development of electronic technology does not only requires high precision of electronic signal generated or transmitted by the product, but is also very sensitive to the error message caused by environment factor such as temperature variation. Therefore, the modern electronic device or product normally includes a temperature compensation apparatus to manually or automatically compensate the signal affected by external temperature variation.
Currently, various temperature correction and compensation circuits or apparatus for input or output electronic signal input of infrared, chip or temperature control have been disclosed in U.S. Pat. Nos. 5,246,292, 4,488,824, 5,719,378, 6,283,628, 5,455,510, 5,621,306, 6,283,628, 6,332,710, 6,504,697, 6,808,307, 6,736,540, 6,679,628, 6,525,550 and 6,029,251. Most of the temperature correction and compensation circuit or apparatus disclosed above uses a resistor or an operation amplifier, differential operation amplifier to form an analog circuit in combination with an external reference voltage to perform temperature correction and compensation. This analog type of temperature compensation technique is less costly, but cannot resolve the temperature drift problem of the reference voltage source. Therefore, the correction precision is seriously affected by this type of correction and compensation. To overcome the temperature drift problem, the temperature coefficient of the reference voltage source can be configured to approximately zero by certain circuit design or adjustment of semiconductor process parameters. However, such method requires complex circuit design and is very costly. Further, the external temperature drift of the reference voltage source cannot be completely eliminated. Further, the circuit of the converter for each circuit design or application has to be specially designed. This increases the development cost greatly. Alternatively, a standard semiconductor fabrication process is used to fabricate standard reference voltage circuit that has a nearly constant temperature coefficient within a specific range. Adders and multipliers are used to construct a temperature correction circuit to execute digital operation. The temperature dependence of the temperature coefficient of the reference voltage source is thus eliminated by operation of hardware circuit. Consequently, the temperature drift of the reference voltage source can also be suppressed. Further, the converter required for different circuit designs or applications does not have to be different. Therefore, this method does not only have broader application, but also reduces development cost.
A plurality of adders and multipliers is used to construct a digital operation circuit operative to execute operation for canceling temperature effect upon the temperature coefficient of the reference voltage source.
In one embodiment, a temperature compensation apparatus for an electronic signal includes a signal converter and a temperature correction unit coupled to the signal converter for correcting and compensating temperature. Temperature compensation operation is performed on an input signal, and an output signal is output by the temperature correction unit. The digital correction unit includes at least a first adder, a first multiplier and a second adder to construct a digital circuit. The first adder is used to perform digital addition on a real-time measured ambient temperature and a reference temperature. A temperature compensation digital signal is output to perform digital multiplication on a temperature compensation coefficient and an input signal. A reference voltage signal is generated and output as one of the input signal of the second adder and summed up with the other input signal thereof Thereby, a corrected and compensated signal result is output.
The present invention will become more fully understood from the detailed description given hereinbelow illustration only, and thus are not limitative of the present invention, and wherein:
Referring to
In one embodiment, the signal converter includes an analog-to-digital converter or a digital-to-analog converter coupled to a temperature detector 11 for measuring a real-time ambient temperature. The ambient temperature is represented by a signal value T of the temperature correction unit 2. Preferably, the signal value T is represented by a 21-bit digital, that is, the bus length of T is 12.
The above mentioned temperature correction unit 2, as shown in
where ΔT=T−Tref, Vin is the input signal voltage, Vref is the ideal reference source voltage; α is the temperature compensation coefficient, T is the real-time ambient temperature, and Tref is the reference temperature.
By inputting the input signal Vin to the above formula, the temperature variation factor is corrected and compensated as a
which can be used to perform the temperature correction and compensation to obtain the signal output Vout. Thereby, without considering the temperature drift of the reference voltage source, that is, as the drift factor of temperature coefficient is corrected into a drift factor independent of temperature, the output of the data converter can be precisely corrected.
The first adder extracts the real-time ambient temperature T measured by the temperature detector 11 and a reference temperature signal Tref, which is a reference temperature under normal temperature and have the same bit length of the signal value T. The first adder 21 uses 2's complement to perform operation on the signal value T and a reference Tref, so as to generate and output an N-bit temperature compensation digital signal as shown in
The first multiplier 22 extracts the temperature compensation digital signal (N-bit) output by the first adder 21, a temperature compensation coefficient a, and the input signal Vin to perform multiplication, so as to generate an M-bit correction voltage signal VC output as an input signal for the second adder 23.
The temperature coefficient α is generated from the reference source voltage of the external circuit according to temperature variation. Preferably, the temperature coefficient α s is obtained by system measurement. The temperature coefficient α is fed back to an α register. The temperature coefficient α is represented in a digital format. In one embodiment, the bus length of the temperature compensation coefficient α is 7, which indicates the compensation capability up to 1024 ppm/° C.
The second adder 23 extracts the input signal Vin and the correction voltage VC output from the first multiplier 22 as the signal source and perform digital accumulation to generate an output signal Vout with J-bit length. Thereby, the drift factor of temperature coefficient is compensated and corrected to achieve the high-precision temperature compensation and correction during analog-digital conversion.
Referring to
In this embodiment, one terminal of the analog-digital converter 3 serves as an input source to input an analog signal Vin′. Being converted into a digital signal by the analog-digital converter 3, the digital signal is input to the above temperature correction unit 2. The first adder 21, the first multiplier 22 and the second adder 23 are used to construct a digital circuit to perform operation, correction and compensation, so as to generate and output the signal Vout′.
Referring to
In this embodiment, the digital-to-analog converter 4 has one terminal serving as an input source to input the digital signal Vin″ to the temperature correction unit 2. The digital signal Vin″ is proportional to an external electric signal and can be a voltage signal or a current signal. A first adder 21, a first multiplier 22 and a second adder 23 are used to construct a digital circuit to perform operation, correction and compensation, so as to generate an output signal input to the digital-to-analog converter 4 and converted into the analog output signal Vout.
The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.