Background of the Invention
This invention relates to a signal converter, particularly to a signal converter in which a certain input signal, such as a voltage signal from a temperature sensor, a position detector, a techogenerator or the like, can be converted into an output signal in an absolute value substantially proportional to the difference between the input signal and a predetermined reference.
There is often the need for conversion of a signal to absolute value in various applications. In the case, for example, where a detected signal which changes both in the negative and the positive ranges is indicated in digital form, it is necessary that the absolute value of the detected signal and the sign thereof are provided. The absolute value in analog form is converted into a signal in the digital form, and the converted signal and the negative or positive sign are separately indicated by means of respective indicators.
Signals of such nature may represent, for example, a varying temperature, a position detecting signal, a speed difference signal from a predetermined reference and the like. For easy understanding of this invention, the following description will relate to temperature indications.
Various known temperature sensors have either a monotonously incremental characteristic or a monotonously decremental one in relationship of a detected output voltage to a temperature to be detected; for example, the Temperature Sensitive Resistor TSR 5-1001F (made by Corning Co., U.S.A.) has such an incremental characteristic, and a known thermistor element has such a decremental characteristic. Therefore, in order to produce a signal corresponding to the absolute value of the detected temperature, it is necessary to provide a signal converter which exhibits a decremental characteristic in a range of minus temperature and an incremental characteristic in a range of plus temperature with the boundary at 0.degree. C. Such a conventional signal converter has two amplifiers. One of the amplifiers has a decremental characteristic and is used for the range of minus temperatures and the other has an incremental characteristic and is used for the range of plus temperatures. The two amplifiers are switched over to each other with the boundary at 0.degree. C. The signal converter of this type has the disadvantage that the two amplifiers are necessary, whereby the converter has a large number of components and is therefore expensive.
Summary of the Invention
An object of this invention is to provide a signal converter which has one amplifier, whereby the converter has a small number of components and is accordingly inexpensive.
Such object has been attained by a signal converter which comprises a comparing means for comparing an input signal to a predetermined reference and for generating a control signal, an operational amplifier circuit having two input terminals to which the input signal and the predetermined reference are applied respectively and for generating a signal proportional to the difference between the input signal and the predetermined reference, and switching means for exchanging the applied signals between the two input terminals of the operational amplifier circuit in response to the control signal from the comparing means.
Brief Description of the Drawings
FIG. 1 shows a temperature displaying device which employs a signal converter of an embodiment according to this invention;
FIG. 2 shows a typical temperature output voltage characteristic of a known detector which is employed in the temperature displaying device shown in FIG. 1;
FIG. 3 shows a conversion characteristic of the signal converter shown in FIG. 1; and
FIG. 4 shows another embodiment of this invention.
Detailed Description of Preferred Embodiments
Referring now to FIG. 1, there is shown a detector circuit 1 which provides an output voltage signal corresponding to a temperature to be detected. In the detector circuit 1, a constant bias is applied across the emitter and base of a pnp transistor 14. The bias voltage is provided by resistors 11 and 13 which are connected in series between ground and a d.c. voltage source 8. Reference numeral 12 indicates an emitter resistor. Such an arrangement is well known as a constant current source so that the current flowing through a sensor element 15 connected to the collector of transistor 14 is always constant. The sensor element 15, such as Temperature Sensitive Resistor TSR 5-1001F, varies the resistance value thereof in accordance with the temperature to be detected, and the output voltage signal V.sub.15 corresponding to the temperature appears across the detector element 15, as shown in FIG. 2.
The output voltage signal V.sub.15 of the detector circuit 1 is applied to a comparator circuit 2 to be compared to a predetermined reference voltage V.sub.21. A comparator 22 has two input terminals; one of the terminals is connected to the output terminal of the detector circuit 1 and the other to an intermediate tap of a potentiometer 21, which permits the reference voltage V.sub.21 to be adjusted. The output terminal of the comparator 22 is connected to an inverter 23.
When the detected output voltage V.sub.15 is smaller than the reference voltage V.sub.21, a signal of "1" level is provided at an output terminal of the comparator 22 and a signal of "0" level is provided at an output terminal of the inverter 23. On the other hand, when the detected output voltage V.sub.15 is greater than the reference voltage V.sub.21, a signal of "0" level is provided at the output terminal of the comparator 22 and a signal of "1" level is provided at the output terminal of the inverter 23. Here, the predetermined reference voltage V.sub.21 of the potentiometer 21 is selected at the voltage V.sub.0 which is equal to the voltage produced by the detector circuit 1 when the temperature to be detected is a certain boundary temperature. The boundary temperature in the case of this embodiment is 0.degree. C., as shown in FIG. 2.
A switching circuit 3 is controlled by the output signal of the comparator circuit 2. When the output signal of the comparator 22 is at the "1" level, the output signal of the inverter 23 is at the "0" level, and electronic switches 31 and 32 of the switching circuit 3 are biased to the conductive state. Under such conditions, the other electronic switches 33 and 34 are both in the non-conductive state and the output voltage signal V.sub.15 of the detector circuit 1 is applied to an input terminal 48 of an operational amplifier circuit 4 through switch 31. Another input terminal 49 is provided with a voltage E.sub.2 applied from a variable d.c. voltage source 9 through switch 32.
When the output signal of the comparator 22 is at the "0" level and the output signal of the inverter 23 is at the "1" level, the electronic switches 31 and 32 biased to the non-conductive state and the other electronic switches 33 and 34 become conductive. The predetermined reference voltage V.sub.21 is applied in this case to the input terminal 48 of the operational amplifier circuit 4 via switch 33 and the output voltage signal V.sub.15 of the detector circuit 1 is applied to the another input terminal 49 of the operational amplifier circuit 4 via switch 34.
At the same time, the output signal of the comparator 22 and the output signal of the inverter 23 are connected to a state indicating device 5 which indicates the negative or positive sign of the detected temperature. When the output signal of the comparator 22 is at the "1" level, base current flows through a resistor 51 to the base of transistor 53, so that the transistor 53 is biased into the conductive state with the result that collector current flows through a collector resistor 57 and a photo diode 55 from the voltage source 8. The photo diode 55, therefore, emits light to indicate the minus sign.
In the same way, when the output signal of the inverter 23 is at the "1" level, transistor 54 becomes conductive due to the current applied through resistor 52 and another photo diode 56 indicating the plus sign radiates.
In the operational amplifier circuit 4, the input terminal 48 is connected to a minus input terminal of an operational amplifier 41 through an input resistor 42. A feed back resistor 43 is connected between the minus input terminal and an output terminal of the operational amplifier 41. The input terminal 49 of the operational amplifier circuit 4 is connected to ground through a series connection of resistors 44 and 45, the point of connection of which is connected to a plus input terminal of the operational amplifier 41.
As stated above, when the output signal of the comparator 22 is at the "1" level, the output voltage signal V.sub.15 of the detector circuit 1 is applied to the minus input terminal of the operational amplifier 41, while a voltage obtained by dividing the voltage E.sub.2 of the variable d.c. voltage source 9 by the resistors 44 and 45 is applied to the plus input terminal thereof.
Letting V.sub.out and V.sub.im be the output voltage and the minus input terminal voltage of the operational amplifier 41, respectively, R.sub.42 and R.sub.43 be the resistance values of the resistors 42 and 43, respectively, the following equation (1) is obtained: ##EQU1##
From this equation (1), the voltage V.sub.im is given by the following equation (2): ##EQU2##
On the other hand, on the plus input terminal of the operational amplifier 41, the following equation (3) holds by letting R.sub.44 and R.sub.45 be the resistance values of the resistors 44 and 45, respectively, and V.sub.ip be the plus input terminal voltage: ##EQU3##
Since both of the voltages at the minus and plus input terminals V.sub.im and V.sub.ip are nearly equal to each other and to the ground level because of the extremely large gain of the operational amplifier 41, the following equation (4) results: ##EQU4##
Putting R.sub.42 = R.sub.45 = R.sub.1 and R.sub.43 = R.sub.44 = R.sub.2 in equation (4), the output voltage V.sub.out may be represented by the following equation (5): ##EQU5##
Accordingly, the output voltage V.sub.out is a value proportional to the difference between the voltages E.sub.2 and V.sub.15, and represents the decremental characteristic with respect to the increase of the output voltage V.sub.15 of the sensor 15.
On the other hand, when the output voltage of the comparator 22 is at the "0" level, the minus input terminal of the operational amplifier 41 receives the predetermined reference voltage V.sub.21 corresponding to the boundary temperature, while the plus input terminal receives the output voltage signal V.sub.15 of the detector circuit 1.
Here, the output voltage V.sub.out of the operational amplifier 41 is represented by the following equation (6) by substituting V.sub.15 and V.sub.21 for E.sub.2 and V.sub.15 in equation (5), respectively: ##EQU6##
Under this condition, the output voltage signal V.sub.15 of the detector circuit 1 is always greater than the voltage signal V.sub.21 corresponding to the boundary temperature, so that equation (6) represents the incremental characteristic. The variable d.c. voltage source 9 is set at the level equal to the predetermined reference voltage V.sub.21. In this way, an output signal having a characteristic as illustrated in FIG. 3 is provided at the output terminal of the operational amplifier circuit 4.
The output signal of the operational amplifier circuit 4 is converted into a digital form by an analog-digital converter 6, and is displayed on a digital display 7.
As understood from the foregoing description, according to this invention, the operations are enabled with the only one operational amplifier, and hence, it is possible to reduce the number of components and to achieve a significant reduction of cost.
While, in the above embodiment, description has been made of the case of the output characteristic in which the decremental characteristic shifts to the incremental one, an output characteristic which shifts to the decremental one is acquired by reversing the plus and minus input terminals of the comparator 22. Additionally, by varying the voltage E.sub.2 of the variable d.c. voltage source 9, various conversion characteristics can be attained.
Referring now to FIG. 4, there is shown another embodiment of this invention. In this embodiment, resistors 46 and 47 are further provided. When the electronic switches 33 and 34 are in the conductive state, the output voltage signal V.sub.15 is divided by the resistors 44 and 47 and applied to the plus input terminal of the operational amplifier 41. At the same time, the predetermined reference voltage V.sub.21 is applied to the minus input terminal through the resistor 46. All the elements except those designated by reference numerals 46 and 47 are the same as indicated in FIG. 1.
When the resistance values of the resistors 46 and 47 are made equal and are denoted by R.sub.3, equation (6) becomes the following equation (7): ##EQU7##
Further, this invention is applicable to any quantity of detection in addition to temperature detection insofar as it is detected in the form of a voltage and besides has incremental and decremental characteristics.
As set forth above, in accordance with this invention, various characteristics of conversion are acquired with a simple circuit arrangement.