Background of the Invention
This relates to the compensation of divider circuits for changes in resistance due to one or more environmental factors. Because the use of such circuits with strain gauges is of primary interest, the invention will be described in terms of such application. In will be recognized, however, that the principles disclosed may have application to other circuits.
A strain gauge is typically used by bonding it to a flexible object and measuring the change in voltage across the gauge or the change in gauge resistance as different loads are applied to the object. It is particularly advantageous to use a Wheatstone bridge in which two strain gauges are connected in series on one side of the bridge and two resistors are connected in series on the other side. Each of these four elements is in a separate diagonal of the bridge with the supply voltage applied to the nodes between the two arms and the output voltage measured between the node between the two resistors and the node between the two strain gauges. If the gauges are mounted on opposite sides of the object so that bending of the object applies tensile loading to one gauge and compressive loading to the other, the ratio of the resistance of the two strain gauges is a function of the amount of deflection in the object. Hence, the output voltage can be related to the amount of deflection in the object.
As is well known, strain gauges have both a temperature coefficient of resistance and a temperature coefficient of gauge factor or sensitivity. Thus, both their resistance and their rate of change of resistance with applied stress vary with temperature. Strain gauges can be made so that these temperature coefficients in different devices are approximately the same. However, when the gauges are bonded to an object, certain uncontrollable temperature induced strains are created that modify the temperature coefficients of resistance and sensitivity of the gauges. As a result, the voltage output from the bridge is a function of temperature.
Typically, this variation in output voltage because of changes in resistance with temperature is compensated by measuring the resistance of the gauges under zero stress at two temperatures and selecting a series/parallel network of resistance for one gauge which offsets the effects of its temperature coefficient of resistance enough that the ratio of the resistance in the two strain gauge diagonals at the two compensation temperatures is identical. This process is called temperature compensation or constant value compensation hereinafter. While this temperature compensation does improve the performance of the circuit as a measuring device, it does not guarantee that the resistance ratios are the same at any other temperature because of the complex effects of the temperature induced strain in the gauges. Moreover, no correction is made by this temperature compensation process for the variation in output voltage because of change in sensitivity with temperature.
The variation in output voltage because of change in sensitivity with temperature may be compensated by introducing a resistor in series with the bridge. The value of this resistor is selected to balance the temperature coefficient of sensitivity. More particularly, once the bridge is temperature compensated at its two compensation temperatures, its output voltage is measured at these two temperatures with maximum deflection being applied to the object on which the gauges are mounted. The series resistor is then selected so that the output voltage under this condition is the same at both compensation temperatures. This process is called span compensation.
Summary of the Invention
To provide for improved compensation in the bridge circuit, I have devised a method of designing the circuit which compensates for temperature effects at three different points.
Illustratively, I start with a bridge circuit comprising two series resistors in one arm and an arbitrary resistance in series with two strain gauges in the other. For this circuit I measure the voltage drop across the strain gauges and arbitrary resistance at zero and maximum stresses at three temperatures. From these values, I calculate the appropriate resistance for span compensation at the two extreme temperatures.
Next, I begin an iterative process to distribute the span compensation resistance between a first span compensation resistor connected in series with one of the strain gauges in one diagonal of the bridge circuit and a second span compensation resistor connected in series with the other strain gauge in a second diagonal of the bridge circuit. Initially, I assign the value of one ohm to the first resistor and the remainder of the span compensation resistance to the second resistor. With these values, I calculate the series/parallel resistances required for temperature compensation at the two extreme temperatures. I then calculate the outputs at zero stress for both the maximum temperature and the intermediate temperature and take the difference between these values. This difference, the values of the first and second span compensation resistors, and the values of the series/parallel resistances are retained.
Next, I increment the resistance of the first span compensation resistor by one ohm, decrement the resistance of the second resistor by one ohm, and again calculate the series/parallel resistances required for temperature compensation at the two extreme temperatures. From these values, I again calculate the output at zero stress at both the maximum and intermediate temperatures. The difference between these outputs is then compared with the difference previously calculated and whichever value is closer to zero is retained along with the circuit parameters required to achieve it.
The first span compensation resistor is then incremented by one ohm and the foregoing process is repeated until the value of the first span compensation resistor reaches the span resistance. At that point, the retained circuit parameters define the resistance values of the bridge circuit which produce the best three-point temperature compensation.
Brief Description of the Drawing
The nature, advantages, and various features of my invention will appear more fully upon consideration of the illustrative embodiment now to be described in detail in connection with the drawing in which:
FIG. 1 is a block diagram of a prior art bridge circuit;
FIG. 2 is an illustrative embodiment of a bridge circuit in accordance with my invention; and
FIG. 3 is a flow chart of the steps used in calculating the resistance values of several resistors depicted in FIG. 2.
Detailed Description of the Invention
FIG. 1 depicts a typical bridge circuit 10 of the prior art. In one arm of the bridge are first and second resistors 12, 13 connected in series. In the other arm are first and second strain gauges 15, 16, likewise connected in series. To provide for temperature compensation at two temperatures in an illustrative bridge a third resistor 18 is connected in series with second strain gauge 16 and a fourth resistor 19 is connected in parallel thereto. Span compensation is provided by a fifth resistor 21 connected in series with the bridge circuit.
As shown in FIG. 2, in an illustrative bridge circuit 30 of my invention, temperature compensation and span compensation are provided by resistors in the same arm of the bridge as the strain gauges. In one arm of the bridge are first and second resistors 32, 33. In a first diagonal of the other arm are a first strain gauge 35, connected in series with a third resistance 38. A fourth resistor 39 is connected in parallel across gauge 35. In a second diagonal of this arm, a second strain gauge 36 is connected in series with a fifth resistor 40. The strain gauges are mounted on opposite sides of a flexible object so that bending of the object applies tensile loading to one gauge and compressive loading to the other resulting in approximately equal resistance changes in each gauge but of opposite polarity. An example of such a mounting is shown in U.S. patent application Ser. No. 885,079, filed Mar. 9, 1978, by Birger B. Gabrielson for "Differential Pressure Sensor With Dual Level Overrange Protection" and assigned to the same assignee, which application is incorporated herein by reference. The resistance values of the three resistors 38, 39, 40 are selected as will be described below to provide both for span compensation at two extreme temperatures and for temperature compensation at three temperatures.
As shown in the flow chart of FIG. 3, to determine the values of resistors 38, 39, 40, and relative position in the circuit I start with a bridge circuit having first and second resistors 32, 33 connected in series in one arm and strain gauges 35, 36 and an arbitrary resistance AR connected in series in the other arm. For this circuit, I measure the voltage drop across each gauge 35, 36 and that across arbitrary resistance AR at zero stress and at maximum stress for three different temperatures. As will be apparent from the description of the mounting of the strain gauges, the condition of maximum stress means maximum tension for one gauge and maximum compression for the other. From these values I then calculate the appropriate resistance SSR for span compensation at the two extreme temperatures of the three temperatures measured using the following equations: ##EQU1## where
VBR(H,S)=VGA(H,S)+VGB(H,S)
VBR(C,S)=VGA(C,S)+VGB(C,S)
VO(H)=(AR+GA(H,Z))iBR(H,Z)-(AR+GA(H,S))iBR(H,S)
VO(C)=(AR+GA(C,Z))iBR(C,Z)-(AR+GA(C,S))iBR(C,S)
iBR(H,Z)=VAR(H,Z)/AR
iBR(H,S)=VAR(H,S)/AR
iBR(C,Z)=VAR(C,Z)/AR
iBR(C,S)=VAR(C,S)/AR
H=the uppermost of the three temperatures
C=the lowermost of the three temperatures
Z=zero stress
S=maximum stress
and VGA and VGB are the measured voltage drops across gauges 35, 36, respectively, at the temperatures and stresses indicated; VAR is the measured voltage drop across the arbitrary resistance AR at the temperatures and stresses indicated; and GA is the resistance of gauge 35 at the temperatures and stresses indicated. As will be evident, the resistance of gauges 35, 36 can readily be determined from the measured voltage drop across each gauge and the current flow iBR in that arm of the bridge at the temperatures and stresses of interest.
Next, I begin an iterative process to find the optimum distribution of the span resistance between resistors 38, 40. Initially, I assume that the resistance of resistor 38 is an arbitrary value such as one ohm and that the resistance of resistor 40 is the remainder of the span resistance. With these values, I calculate the values of a series/parallel resistance network that are required for temperature compensation at each of the two extreme temperatures H, C. More specifically, I calculate the ratios of the resistance GA+SRA in the first diagonal of the bridge to the resistance GB+SRB in the second diagonal at the hot and cold temperatures and zero stress, where GA and GB are the resistances of gauges 35, 36 at the temperatures and stresses indicated, SRA is the resistance assigned to resistor 38 and SRB is the resistance assigned to resistor 40. As is well known in the art, for two point temperature compensation, the ratios should be the same.
If, however, ##EQU2## resistance must be added to GA(C)+SRA to compensate. If ##STR1## resistance must be added to GB(C)+SRB to compensate.
For purposes of discussion, let us assume that resistance must be added to GA(C)+SRA. Using well known two point temperature compensation procedures, the resistance RY of parallel resistor 39 can be calculated to be: ##EQU3## and the resistance RX of an additional series resistance in series with resistor 38 can be calculated to be: ##STR2## where GA and GB are the resistances of gauges 35, 36, respectively, at the temperatures and stresses indicated and SRA and SRB are the resistances of resistors 38 and 40, respectively. RX and RY cancel each other out at the uppermost temperature H so that the resistance in the arm of the bridge where the strain gauges are located remains unchanged. At the lowermost temperature C, these values provide an additional resistance sufficient to equalize the ratios of the resistance in the first diagonal and the resistance in the second diagonal for the two temperatures H and C. If, instead, the resistance had to be added to GB(C)+SRB, the equations would be similar with the substitution of GA, GB and SRA for GB, GA and SRB of the above equations.
Next, the voltage V at the node 42 between the two strain gauge diagonals of the compensated bridge circuit is calculated at the intermediate temperature and the uppermost temperature using the relation: ##EQU4## where
VS=the voltage across the bridge circuit
ESRA=SRA+RX
EGA=(GA) (RY)/(GA+RY)
and GA and GB are the resistance of strain gauges 35, 36 at zero stress for each of the temperatures for which the calculation is made.
The difference DV between the voltage V at the intermediate temperature and the voltage V at the uppermost temperature is then determined. During the first run of the iterative process, this difference is retained along with the values SRA, SRB, RX and RY.
The value of SRA is then tested to determine if
during the first run of the process this test will not be met. Accordingly, the value of SRA is incremented by one ohm and that of SRB is decremented by one ohm and the series/parallel resistances required for temperature compensation are calculated for the extreme temperatures using the foregoing equations for RX and RY, the measured values of the gauge resistances GA, GB and the new value of SRB or SRA as circumstances require. From these values the voltage V is calculated at the intermediate temperature and the uppermost temperature using the relation set forth above and the difference DV between these voltages is taken. This difference is then compared with the difference previously calculated and whichever value is closer to zero is retained along with the circuit parameters SRA, SRB, RX and RY needed to produce said difference.
The foregoing process is repeated for each value of SRA less than SSR. Once these calculations are completed, the difference DV which is retained is the closest value to zero for each of the values of SRA in one ohm increments between zero and SSR. Hence, the circuit parameters associated with that value DV produce the best three-point temperature compensation. Using these values, the resistances of the bridge network of FIG. 2 are then set.
As will be apparent, the above-identified calculations can be made by hand or machine. If desired, the calculation process can readily be implemented in any number of small computers commercially available. The creation of a suitable program for making such calculations will be evident to any programmer in light of the discussion above.
My invention is not limited to the specific circuit described above. The use of a bridge circuit as shown in FIG. 2 is only illustrative because the function of resistors 32, 33 is merely to provide a reference voltage. Thus, my invention may be practiced in any voltage divider circuit in which there are two elements having an appreciable temperature co-efficient of resistance. Even more generally, my invention may be practiced using any divider circuit made of elements having a resistive, capacitive or inductive effect for which at least two of such elements have an output which is a function of two variables. In such circumstances the span compensation process described above is used to calculate the value of a fixed electrical element such that at a first value of one variable the difference in the output between two values of the second variable is the same as the difference in the output between the same two values of the second variable at a second value of the first variable. The process of temperature (or constant value) compensation is then used to minimize the differences in the output of the circuit at three values of the first variable and a constant value of the second variable. From the foregoing description, the implementation of my invention in these circumstances will be evident to those skilled in the art. This compensation method may also be practiced using a constant current source in place at voltage regulator 25 in which case the span compensation resistance is connected in parallel with the divider. The process for obtaining three point temperature compensation is similar. Initially, an arbitrary resistance is connected in series with the gauges; and the necessary span compensation resistance is calculated. I then go through the iterative process of distributing the arbitrary resistance between two resistances and calculating the resistance values of the series/parallel networks as described previously.