A detecting apparatus for compensating for changes in supply voltage to a physical parameter sensor. The apparatus includes an input element, such as a heatsensitive resistor connected to a voltage source to produce a voltage signal (CS) corresponding to a physical factor, e.g., a temperature. A constant voltage circuit or a voltage divider connected to the same voltage source as the input element produces a reference voltage signal (CR) corresponding to a predetermined reference value of the input element. Both voltage signals (CS, CR) are applied to a microcomputer in which a correction value (CC) is calculated on the basis of the both voltage signals (CS, CR) and a theoretical set value (CO) of the reference voltage signal (CR). The detected physical factor by the input element is corrected by the correction value (CC).

Patent
   4479190
Priority
Dec 12 1980
Filed
Dec 10 1981
Issued
Oct 23 1984
Expiry
Dec 10 2001
Assg.orig
Entity
Large
12
3
EXPIRED
13. A detecting apparatus comprising:
an electric power source providing a source voltage;
input means, connected in series across said electric power source and including a serial combination of a fixed resistor and a potentiometer having a moving output contact, for generating an input voltage signal varying in accordance with the position of said contact and in proportion to the source voltage at said contact and generating a reference voltage signal varying in direct proportion to the source voltage at the junction between said fixed resistor and said potentiometer;
converting means for converting said input voltage signal and reference voltage signal into an input digital signal and reference digital signal, respectively;
fixed means for providing a fixed digital signal equal to a predetermined value which is a product of a predetermined coefficient and said reference digital signal provided when the source voltage is a predetermined constant value;
compensating means for compensating said input digital signal in a direction to increase said input digital signal by an amount equal to said fixed digital signal and in a direction to decrease said input digital signal by an amount equal to said reference digital signal, said compensating means producing a control output signal on the basis of a result of compensation; and
an output device responsive to said control output signal from said compensating means.
1. A detecting apparatus for generating a control output signal indicative of a physical parameter, including means for compensating for a change of supply voltage to a sensor of said physical parameter comprising:
an electric power source supplying a source voltage;
input means, connected to said electric power source and responsive to said physical parameter to be detected, for producing a first voltage signal varying in accordance with the detected physical parameter and in proportion to the source voltage supplied from said electric power source;
reference means, connected to said electric power source, for generating a second voltage signal varying in direct proportion to the source voltage but independent from changes in the detected physical factor;
control means, connected to said input means and said reference means, including analog-digital converter means for converting said first voltage signal into a first digital signal and converting said second voltage signal into a second digital signal, fixed means for providing a fixed digital signal predetermined to be equal to said second digital signal when the source voltage supplied from said electric power source is a predetermined value and compensating means for compensating said first digital signal in a direction to increase said first digital signal by an amount equal to said fixed digital signal and in a direction to decrease said first digital signal by an amount equal to said second digital signal, said control means producing a control output signal equal to the first digital signal, as compensated by said compensation means; and
an output device responsive to said control output signal from said control means.
5. A control apparatus comprising:
an electric power source for supplying a source voltage;
input means, connected to said electric power source and responsive to a physical factor to be detected, for producing a first voltage signal varying in accordance with the detected physical factor and in proportion to the source voltage;
reference means, connected to said electric power source, for generating a second voltage signal varying in direct proportion to the source voltage but independent from changes in the detected physical factor;
control means, connected to said input means and said reference means, including analog-digital converter means for converting said first voltage signal into a first digital signal and converting said second voltage signal into a second digital signal, fixed means for providing a fixed digital signal determined to be equal to said second digital signal when the voltage supplied from said electric power source is a predetermined value, varying means for providing a third digital signal varying in accordance with a desired value of said physical factor, compensating means for compensating said first digital signal in a direction to increase said first digital signal by an amount equal to said fixed digital signal and in a direction to decrease said first digital signal by an amount equal to said second digital signal, and comparing means for comparing a result of compensation of said control means with said third digital signal and producing a control output signal in accordance with the result of said comparison; and
changing means responsive to said control output signal from said control means for changing said physical factor detected by said input means toward said desired value.
10. An apparatus for controlling an air temperature in a compartment comprising:
an electric power source for supplying a source voltage; a temperature sensing means connected to said electric power source and responsive to said air temperature in said compartment, said temperature sensing means generating a first voltage signal varying in accordance with the sensed air temperature and in proportion to the source voltage supplied from said electric power source;
voltage-dividing means, connected to said electric power source for generating a second voltage signal varying in direct proportion to the source voltage but independent from changes in said air temperature;
temperature setting means for setting a desired temperature for said compartment and generating a third voltage signal indicative of said desired temperature;
converting means for converting said first, second, and third voltage signals into a first, second, and third digital signals, respectively;
fixed means for providing a fixed digital signal predetermined to be equal to said second digital signal when the source voltage is a predetermined value;
compensating means for compensating said first digital signal in a direction to increase said digital signal by an amount equal to said fixed digital signal and in a direction to decrease said first digital signal by an amount equal to said second digital signal;
comparing means for comparing a result of compensation of said compensating means with said third digital signal and producing a control output signal in accordance with the result of comparison;
operating means responsive to said control output signal for changing said air temperature in said compartment to decrease a difference of said sensed air temperature from said desired temperature.
12. An apparatus for controlling an air temperature in a compartment comprising:
an electric power source providing a source voltage;
first signal generating means, connected in series across said electric power source and including a serial combination of a first fixed resistor and a heat-sensitive resistor changing its internal resistance value in response to said air temperature, for generating a first voltage signal varying in accordance with the sensed air temperature and in proportion to the source voltage at the junction between said first fixed resistor and said heat-sensitive resistor;
second signal generating means, connected in series across said electric power source and including a voltage divider arrangement, for generating a second voltage signal varying in direct proportion to the source voltage but independent from changes in said air temperature;
third signal generating means, connected in series across said electric power source and including a serial combination of a second fixed resistor and a potentiometer having a manually adjusted contact, for generating a third voltage signal varying in accordance with the position of said contact and in proportion to the source voltage at said contact and generating a fourth voltage signal varying in direct proportion to the source voltage at the junction between said second fixed resistor and said variable resistor;
converting means for converting said first, second, third, and fourth voltage signals into a first, second, third, and fourth digital signals, respectively;
means, responsive to said fourth digital signal, for multiplying said fourth digital signal by a predetermined coefficient, said means providing a fifth digital signal indicative of the result of said multiplication;
fixed means for providing a first fixed digital signal predetermined to be equal to said second digital signal when the source voltage is a predetermined constant and for providing a second fixed digital signal equal to a predetermined value which is a product of said predetermined coefficient and said fourth digital signal provided when the source voltage is equal to said predetermined constant;
first compensating means for compensating said first digital signal in a direction to increase said first digital signal by an amount equal to said first fixed digital signal and in a direction to decrease said first digital signal by an amount equal to said second digital signal;
second compensating means for compensating said third digital signal in a direction to increase said third digital signal by an amount equal to said second fixed digital signal and in a direction to decrease said third digital signal by an amount equal to said fifth digital signal;
comparing means for comparing a result of compensation by said first compensating means with a result of said second compensating means, and producing a control output signal indicative of comparison therebetween; and
operating means, responsive to said control output signal, for changing said air temperature in said compartment to decrease a difference of said sensed air temperature from said desired temperature.
2. An apparatus according to claim 1, wherein said input means includes a variable resistor having a changing resistance value for controlling said first voltage signal.
3. An apparatus according to claim 2, wherein said variable resistor is a heat-sensitive resistor responsive to said physical parameter.
4. An apparatus according to claim 1, wherein said reference means includes a voltage-dividing resistor arrangement.
6. An apparatus according to claim 5, wherein said input means includes a variable resistor changing the internal resistance value thereof for controlling said first voltage signal.
7. An apparatus according to claim 6, wherein said variable resistor is a heat-sensitive resistor responsive to said physical factor.
8. An apparatus according to claim 5, wherein said reference means includes a voltage-dividing resistor arrangement.
9. An apparatus according to claim 5, wherein said variable means includes a variable resistor manipulated by a user for changing said desired value of said physical factor, said variable resistor producing a third voltage signal indicative of an amount of said said manipulation, and wherein said analog-digital converter means also converts said third voltage signal into said third digital signal.
11. An apparatus according to claim 10, wherein said temperature sensing means includes a serial combination of a fixed resistor and a heat-sensitive resistor changing the internal resistance value thereof in response to said air temperature.

1. Field of the Invention

The present invention relates in general to a detecting apparatus using a digital computer, and more in particularly to a detecting apparatus for rendering a control specification to coincide with a standard specification.

2. Description of the Prior Art

In a detecting apparatus using a digital computer, the resistance value of a heat-sensitive resistor or a variable resistor or the value of the electromotive force of a piezoelectric element used as an input element is provided usually as a converted value of a predetermined range of voltages, so that the A/D converted digital value of the voltage is used to determine the input condition of the digital computer thereby to control an output element. The characteristic variations of the individual elements directly affecting the voltage conversion, however, present themselves as variations of the control specification of a final product, and therefore, the variations of the control specifications are required to be held within a predetermined tolerance by preshipment adjustment.

In a widely-used method, the characteristics of the input elements, namely, the relation between the physical factors and the value of a generated voltage is adjusted within the range of the standard characteristics by use of a variable correction resistor or a pre-amplifier with the gain thereof controllable.

The greatest disadvantage of this method is that a considerable number of adjustment steps is involved.

In view of the above-mentioned fact, the object of the present invention is generally to simplify the adjusting work and to reduce the steps of the adjusting work, and specifically to provide a control system in which in order to maintain the control specification within a standard or reference range, a control digital computer has an adjusting function by a calculation based on the program thereof, thus eliminating the need of adjustment of the input element itself.

As described above, according to the present invention, there is provided a detecting apparatus comprising a reference voltage source for correction under the control of the same power supply as an input element, means for converting the voltage generated from the input element into a digital value and means for correctional calculating by use of the reference voltage from a reference voltage source. This eliminates the need of manual adjusting work thereby to greatly reduce the number of steps for producing the control system. Further, the adverse effect of such vague variable factors as the change with temperature or time can be dampened.

FIG. 1 is a diagram showing an electrical connection of an embodiment of the present invention.

FIG. 2 is a flowchart generally showing a control program.

FIG. 3 is a detail flowchart of the correctional calculation routine of the control program.

FIG. 4 is a diagram showing an electrical connection of a modification of the input element.

A part of a control system for an air conditioner is shown in FIG. 1 as an embodiment of the present invention. Reference numeral 1 designates a transformer for dropping the voltage of a commercial power supply, numeral 2 a rectifier circuit using a diode bridge, and numeral 3 a constant-voltage circuit with its output source voltage expressed as Vcc. designates a microcomputer (such as M58840 of Mitsubishi Electric Corporation) includes a central processing unit (CPU) (not shown), a read-only memory (ROM) (not shown), a random access memory (RAM) not shown, and an A/D converter 4a, input ports I1 . . . I5 and an output port O1, a heat-sensitive resistor 5 for generating an analog voltage V1 corresponding to the temperature of the space controlled, and a variable resistor 6 for setting a control target temperature, which applies a setting voltage V4 to the input port I4 of the microcomputer and the voltages V3 and V5 of junction points of the clamp resistors R3 and R4 across the variable resistor to the input ports I3 and I5 respectively. A constant-voltage circuit 7 is provided for generating a reference voltage VREF for used by A/D converter 4a in microcomputer 4 and for applying the reference voltage VREF to the reference voltage input terminal of the microcomputer. Reference characters R1 and R2 designate fixed resistors for applying the voltage V2 to the input port I2 for correcting the voltage produced from the heat-sensitive resistor 5. The resistance value of the fixed resistors R1 and R2 is selected in such a manner as to produce a voltage equal to the voltage V1 of the heat-sensitive resistor 5 at a reference temperature (which is assumed to be Ts).

Numeral 8 designates an output relay connected to the output port O1 of the microcomputer 4. Numeral 9 designates a motor compressor for the air-conditioner which is connected to a contact 8a of the output relay 8 and operated and stopped by the output of the microcomputer. Output elements other than the compressor will not be described.

A flowchart generally showing a control program of the microcomputer 4 is shown in FIG. 2. The correctional calculation is always made during the execution of the program.

A detailed flowchart of the correctional calculation program is shown in FIG. 3.

A method of adjustment will be described below with reference to the flowchart of FIG. 3. FIG. 3 corresponds to the "correction calculation" block shown in FIG. 2. In the case where the source voltage VCC and the reference voltage VREF for A/D conversion take theoretical values, the A/D converted value of the voltage V1 generated at the ambient temperature of Ts of the heat-sensitive resistor 5 is assumed to be CT. Generally, the temperature Ts is selected to be a middle point of the control temperature range. Assuming that the A/D converted values CV1 and CV2 are applied from the input ports I1 and I2 respectively and that the value CV1 is corrected to obtain the value CV1 ', the correctional calculation is given by the equation (1) below.

CV1 '=CV1 +(CT -CV2) (1)

The values VCC and VREF are not necessarily coincident with the theoretical values thereof due to the variations of the elements involved. Thus, in the case where the value CV2 is larger than the theoretical value CT, the correction is made to reduce the value CV1 ', whereas in the case where the value CV2 is smaller than CT, the correction is made to increase the value CV1 '.

Now, let us assume that the A/D converted value of the voltage V1 at the theoretical value To of the target temperature is Co when the variable resistor 6 is set at the middle point. Also assuming that the A/D converted values of the voltages applied from the input ports I3, I4 and I5 are CV3, CV4 and CV5 respectively, and that the corrected value of CV4 is CV4 ', the correctional calculation is expressed by the equation (2) below.

CV4 '=CV4 +(Co-(CV3 +CV5)/2 (2)

As in the case of the correctional calculation of the voltage CV1, the correction is made to reduce the value CV4 ' when the value (CV3 +CV5)/2 is larger than the theoretical value Co, whereas the correction is made to increase the value CV4 ' when the value (CV3 +CV5)/2 is smaller than the theoretical value Co.

The theoretical values CT and Co in the abovementioned correctional calculations are defined as a constant in the program. These values are not limited to a hypothetical middle point in a control range or the middle point of a variable resistor but may be defined at an appropriate value. In this case, the voltage-dividing ratio of the resistors R1 and R2 may be changed or the variable CV2 in equation (1) or the variable (CV3 +CV5) in equation (2) may be multiplied by an appropriate ratio (constant).

A specific calculation procedure of equations (1) and (2) above is appropriately set by a given combination of commands provided in the computer 4 and may be arranged in the significance indicated by the equations (1) and (2) respectively.

As shown in FIG. 2, the control system, namely, the air conditioner is such that in the case where the room temperature is higher than a set temperature on the basis of the value obtained by the correctional calculation, the output port O1 is turned on while in the case where the room temperature is lower than the set temperature, the output port O1 is turned off in order to control the compressor.

Each time the correctional calculation routine is passed, the A/D conversion is effected and a new correction value is calculated to be used for control. As a result, even under the operating conditions where the stabilization voltage VCC or VREF is changed by the change of the characteristics of the constant-voltage circuit 3 or 7 against temperature or the like, an always correct digital value of the physical quantity which should be exhibited by the input elements 5 and 6 is grasped for operation of the control system.

The aforementioned embodiment concerns the correction of temperature and a set temperature. The present invention may be further applied to the discrimination of the operating mode as shown in FIG. 4 where the operating position of an operating mode change-over switch is determined by use of a single input port I6 from the difference of the divided voltage, in a manner similar to the correction shown in equation (1).

Furthermore, a similar correction is possible also in a microcomputer having an A/D converter as an external element.

The present invention may also be applied to the case where a piezoelectric element or a differential transformer is used as an input element.

Shibata, Akira, Takai, Hiromitsu

Patent Priority Assignee Title
4592002, Dec 13 1983 Honeywell Inc. Method of digital temperature compensation and a digital data handling system utilizing the same
4604692, Dec 29 1981 Fujitsu Limited Operation mode setting system for a microprocessor
4633424, Nov 16 1983 Santrade Ltd. Programmable multi-channel tool monitor with multiple alarm limits and sensor taring
4651286, Jun 23 1983 Yokogawa Electric Corporation Electromagnetic flowmeter
4713783, Jun 24 1985 Digital temperature indicating system
4910689, Dec 25 1986 Canon Kabushiki Kaisha Resistivity value measuring circuit
5031126, Jun 30 1988 Delta M Corporation Constant power thermal sensor
5038304, Jun 24 1988 Honeywell Inc. Calibration of thermal conductivity and specific heat devices
5137370, Mar 25 1991 Delta M Corporation Thermoresistive sensor system
8155792, Dec 03 2008 LG Electronics Inc Air conditioner and method of controlling the same
8204627, Dec 26 2008 LG Electronics Inc Air conditioner and method of controlling the same
8364317, Dec 26 2008 LG Electronics Inc Air conditioner and method of operating the same
Patent Priority Assignee Title
4198676, Dec 20 1978 General purpose electronic thermometer having selective data recovery, data conversion, and data derivation capabilities
4340882, Apr 06 1977 Nippon Telegraph & Telephone Corporation D/A Conversion system with compensation circuit
4369352, Dec 29 1980 HUNTER FAN COMPANY, DELAWARE Temperature control system facilitating cooking temperature calibration in self-cleaning oven
///
Executed onAssignorAssigneeConveyanceFrameReelDoc
Nov 25 1981TAKAI, HIROMITSUNIPPONDENSO CO , LTD ASSIGNMENT OF ASSIGNORS INTEREST 0039680223 pdf
Nov 25 1981SHIBATA, AKIRANIPPONDENSO CO , LTD ASSIGNMENT OF ASSIGNORS INTEREST 0039680223 pdf
Dec 10 1981Nippondenso Co., Ltd.(assignment on the face of the patent)
Date Maintenance Fee Events
May 08 1986ASPN: Payor Number Assigned.
May 24 1988REM: Maintenance Fee Reminder Mailed.
Oct 23 1988EXP: Patent Expired for Failure to Pay Maintenance Fees.


Date Maintenance Schedule
Oct 23 19874 years fee payment window open
Apr 23 19886 months grace period start (w surcharge)
Oct 23 1988patent expiry (for year 4)
Oct 23 19902 years to revive unintentionally abandoned end. (for year 4)
Oct 23 19918 years fee payment window open
Apr 23 19926 months grace period start (w surcharge)
Oct 23 1992patent expiry (for year 8)
Oct 23 19942 years to revive unintentionally abandoned end. (for year 8)
Oct 23 199512 years fee payment window open
Apr 23 19966 months grace period start (w surcharge)
Oct 23 1996patent expiry (for year 12)
Oct 23 19982 years to revive unintentionally abandoned end. (for year 12)