Circuit and method for determining potentiometer wiper resistance
A circuit and method for determining the wiper resistance of a potentiometer that includes a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals, includes the step of electrically coupling a sense resistor having a substantially constant sense resistance to the potentiometer third terminal. The potentiometer is electrically energized, and a potentiometer voltage, which is a voltage potential between the potentiometer first and second terminals, is determined. The wiper position is determined based at least in part on the determined potentiometer voltage. The sense resistor is electrically coupled to a potential that causes a wiper current to flow through the wiper and sense resistor. A magnitude of the wiper current is determined, and the wiper resistance is determined based at least in part on the potentiometer resistance, the determined potentiometer position, the determined wiper current magnitude, and the sense resistance.
Latest Patents:
The present invention relates to potentiometer characteristic measurement and, more particularly, to a circuit and method for determining the wiper resistance of a potentiometer.
BACKGROUNDA potentiometer is an electronic component that is configured to provide a user-adjustable resistance. Typically, the potentiometer is a three-terminal circuit element that includes first, second, and third terminals, a resistor electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistor and the third terminal. The wiper is movable along the resistor, thereby providing a variable resistance between the wiper terminal and each of the first and second terminals.
Potentiometers are used in myriad devices and systems. For example, potentiometers are many times used to supply signals representative of the position of various components. Such components may include various types of valves, actuators, or various mechanical devices. As is generally known, the resistance of a potentiometer's terminals, as well as the resistance of the potentiometer wiper, may vary over time. These resistances may also vary with various environmental conditions to which the potentiometer may be exposed. Hence, various devices and methods have been developed to determine, in-situ, potentiometer resistances, including potentiometer wiper resistance.
Although the presently known devices and methods for determining potentiometer wiper resistance generally work well, the devices and methods can suffer certain drawbacks. For example, many devices and methods may rely on relatively complex circuitry, or relatively complex and/or expensive circuit modifications, in order to provide in-situ potentiometer wiper resistance determination. Hence, there is a need for a circuit and method of determining wiper resistance that does not rely on relatively complex circuitry, and/or relatively complex and/or expensive circuit modifications. The present invention addresses at least this need.
BRIEF SUMMARYThe present invention provides a circuit and method for determining potentiometer wiper resistance. In one embodiment, and by way of example only, a method of determining the wiper resistance of a potentiometer that includes a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals, includes the step of electrically coupling a sense resistor having a substantially constant sense resistance to the potentiometer third terminal. The potentiometer is electrically energized, and a potentiometer voltage is determined. The potentiometer voltage being a voltage potential between the potentiometer first and second terminals. The wiper position is determined based at least in part on the determined potentiometer voltage. The sense resistor is electrically coupled to a potential that causes a wiper current to flow through the wiper and sense resistor. A magnitude of the wiper current is determined, and the wiper resistance is determined based at least in part on the potentiometer resistance, the determined potentiometer position, the determined wiper current magnitude, and the sense resistance.
In another exemplary embodiment, a potentiometer wiper resistance measurement circuit includes a potentiometer, a sense resistor, a power source, and an output circuit. The potentiometer includes a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals. The sense resistor has a substantially constant sense resistance and includes a first terminal and a second terminal. The sense resistor first terminal is coupled to the potentiometer third terminal. The power source is electrically coupled to the potentiometer and is configured to supply a current thereto that results in a voltage drop between the potentiometer first and second terminals. The output circuit has a plurality of input terminals and an output terminal. Separate ones of the output circuit input terminals are coupled to at least the potentiometer first terminal, the potentiometer second terminal, and the sense resistor output terminal. The output circuit operable to selectively couple the potentiometer first terminal to the output terminal, the potentiometer third terminal to the output terminal, and the sense resistor second terminal to a reference potential.
In yet another exemplary embodiment, a potentiometer wiper resistance measurement circuit includes a potentiometer, a sense resistor, a power source, and first, second, third, and fourth multiplexers. The potentiometer includes a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals. The sense resistor has a substantially constant sense resistance and includes a first terminal and a second terminal. The sense resistor first terminal is coupled to the potentiometer third terminal. The power source is electrically coupled to the potentiometer and is configured to supply a current thereto that results in a voltage drop between the potentiometer first and second terminals. The first multiplexer has a plurality of input terminals and an output terminal. A first of its input terminals is coupled to the potentiometer first terminal, and a second of its input terminals coupled to the potentiometer third terminal. The second multiplexer has a plurality of input terminals and an output terminal. A first of its input terminals is coupled to the sense resistor second terminal. The third multiplexer has a plurality of input terminals and an output terminal. A first of its input terminals is coupled to the reference potential, and its output terminal is coupled to the second multiplexer output terminal. The fourth multiplexer has a plurality of input terminals and an output terminal. A first of its input terminals is coupled to the first multiplexer output terminal, and a second of its input terminals is coupled to the second multiplexer output terminal.
Other independent features and advantages of the preferred circuit and method will become apparent from the following detailed description, taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the invention.
The following detailed description of the invention is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any theory presented in the preceding background of the invention or the following detailed description of the invention.
Turning now to
In addition to being coupled to the resistive element 110, the first terminal 108-1 is coupled to a voltage source 114, and the second terminal 108-2 is coupled to a reference potential, such as circuit common. Thus, a current flows through the resistive element 110, generating a voltage drop across the resistive element 110. In the depicted embodiment, the first terminal 108-1 is coupled to the voltage source 114 via one or more current limiting resistors 116, and the second terminal 108-2 is coupled to the reference potential via one or more bias resistors 117. It will be appreciated that this configuration is merely exemplary, and that the potentiometer first terminal 108-1 and/or the second terminal 108-2 could instead be directly coupled to the voltage source 114 and the reference potential, respectively. In particular, it is noted that if the potentiometer resistance (Rpot) is unknown, or could vary with, for example, time and/or temperature, then the one or more current limiting resistors 116 are preferably included. If, however, the potentiometer resistance (Rpot) is known, the one or more current limiting resistors 116 could be omitted.
The wiper 112 is electrically coupled between the resistive element 110 and the third terminal 108-3, and is movable to a position between the first and second terminals 108-1, 108-2. The resistance between the third terminal 108-3 and each of the first and second terminals 108-1, 108-2 varies based on the position of the wiper 112. Hence, the voltage potential at the third terminal 108-3 similarly varies based on the position of the wiper 112. It may be appreciated that, at least in the depicted embodiment, as the wiper 112 is moved closer to the first terminal 108-1, the voltage potential at the third terminal 108-3 increases, and as the wiper 112 is moved closer to the second terminal 108-2, the voltage potential on the third terminal 108-3 decreases. As was noted above, the resistance of the wiper (Rw) may vary over time. As such, the wiper 112 is depicted in
The sense resistor 104 has a first terminal 118-1, which is electrically coupled to the potentiometer third terminal 108-3, and a second terminal 118-2, which is electrically coupled to the output circuit 106. The sense resistor 104 may be implemented using one or more resistors, or various other resistive circuit elements. Moreover, the sense resistor 104 preferably has at least a substantially constant electrical resistance, which is referred to herein as the sense resistance (Rsense).
The output circuit 106 has a plurality of input terminals 122, and an output terminal 124. In the depicted embodiment, three of the input terminals 122 are coupled to the potentiometer 102, one of the input terminals 122 is coupled to the sense resistor second terminal 118-2, one of the input terminals 122 is coupled to the reference potential, and one or more of the remaining input terminals 122 are coupled to receive various signals from one or more non-illustrated circuits. In particular, one of the input terminals 122 is coupled to the potentiometer first terminal 108-1, another input terminal 122 is coupled to the potentiometer second terminal 108-2, and yet another of the input terminals 122 is coupled to the potentiometer third terminal 108-3. It will be appreciated that in an alternative embodiment, in which the potentiometer second terminal 108-2 is directly coupled to the reference potential, the input terminal 122 that is coupled to the potentiometer second terminal 108-2 can be omitted.
In addition to the above, the output circuit 106 also receives one or more input select commands from, for example, a processor 126. In response to the input select commands, the output circuit 106 supplies various signals to its output terminal 124 for further processing. In the depicted embodiment, the processor 126 that supplies the input select commands is also coupled to the output circuit output terminal 124. Thus, the processor 126 selectively receives the various signals supplied from to the output circuit output terminal 124 in response to the input select commands supplied to the output circuit 106 from the processor 126. In an alternative embodiment, separate processors or devices could be used to supply the input select commands and selectively receive the signals supplied from the output circuit 106.
At least some of the input select commands supplied to the output circuit 106 are used to electrically couple selected ones of the potentiometer terminals 108 to the output circuit output terminal 124, and the sense resistor second terminal 118-2 to the output circuit output terminal 124 and/or to the reference potential. In doing so, the signals at these terminals, which are concomitantly supplied to the output circuit output terminal 124, are used by the processor 126 to determine the potentiometer wiper resistance (Rw). The manner in which the potentiometer wiper resistance (Rw) is determined based on these signals is described below. Before doing so, however, a particular physical implementation of the output circuit 106, which is also depicted in more detail in
In the depicted implementation, the output circuit includes four multiplexers—a first multiplexer 128, a second multiplexer 132, a third multiplexer 134, and a fourth multiplexer 136—an analog-to-digital converter (ADC) 138, and may optionally include a gain stage 142. Each of the multiplexers 128-136 is a multi-channel multiplexer that includes a plurality of channel select input terminals 144, a plurality of input terminals 146, and an output terminal 148. It will be appreciated that the multiplexers 128-136 could be implemented using multiplexers having any one of numerous channels. In other words, each multiplexer 128-136 could be an N-channel multiplexer that includes log2(N) channel select input terminals 144, and N-number of input terminals 146. No matter the specific number of channels each includes, the multiplexers 128-132 are each coupled to receive, via its channel select input terminals 144, selected ones of the input select commands from the processor. In response to the input select commands, the multiplexers 128-132, in a conventionally known manner, selectively enables one or more of its input terminals 146, which electrically couples the enabled input terminal 146 to its output terminal 148.
The ADC 138 is coupled to receive the analog signals supplied to the fourth multiplexer output terminal 148 and, upon receipt thereof, converts the signal, in a conventional manner, to a digital signal for use by the processor 126. The gain stage 142, if included, is disposed between the fourth multiplexer 136 and the ADC 138, and amplifies the analog signals supplied from the fourth multiplexer 136 before supplying it to the ADC 138.
Turning now to
Whether or not the potentiometer resistance is known, or needs to be determined, the wiper position (Pwiper) is then determined based, at least in part, on the determined potentiometer voltage (204). Although this may be accomplished in any one of numerous ways, preferably it is done so by measuring the wiper voltage (Vwiper), and then dividing the measured wiper voltage (Vwiper) by the potentiometer voltage (Vpot) (e.g., Pwiper=(Vwiper/Vpot). In the depicted embodiment, the wiper voltage (Vwiper) is measured by enabling the input terminal 146 of the second multiplexer 132 that is coupled to the sense resistor second terminal 118-2, and the input terminal 146 of the fourth multiplexer 136 that is coupled to the second multiplexer output terminal 148. It will be appreciated that the input impedance of the gain stage 142, if included, is sufficiently high that the sum of the resistance of the sense resistor 104 (Rsense) and wiper resistance (Rw) has an insigificant impact on the wiper voltage (Vwiper) measurement.
After the above steps are completed, the sense resistor second terminal 118-2 is coupled to the reference potential, causing a wiper current (Iw) to flow through the wiper 112 and the sense resistor 104 (206). The magnitude of the wiper current is then determined (208). In the depicted embodiment, the wiper current (Iw) is caused to flow and is measured by simultaneously enabling the input terminal 146 of the first multiplexer 128 that is coupled to the potentiometer third terminal 108-3, the input terminal 146 of the second multiplexer 132 that is coupled to the sense resistor second terminal 118-2, the input terminal 146 of the third multiplexer 134 that is coupled to the reference potential, and the input terminal 146 of the fourth multiplexer 136 that is coupled to the first multiplexer 128 output terminal 148. With this configuration, the wiper voltage (Vwiper) with current flow through the wiper 112 and sense resistor 104 is measured and supplied to the processor 126. Because the sense resistance (Rsense) is known, the wiper current (Iw) can be determined from the measured wiper voltage (e.g., Iw=Vwiper/Rsense).
The processor 126 then determines the wiper resistance (Rw) based, at least in part, on the potentiometer resistance (Rpot) and the sense resistance (Rsense), both of which are known, the determined potentiometer position (Pwiper), and the determined wiper current (Iw) (212). It will be appreciated that the processor 126 could determine the wiper resistance (Rw) using the known, measured, and determined quantities in accordance with any one of numerous processes, algorithms, or formulae. In a particular preferred embodiment, however, the processor 126 uses a particular formula, which will now be described in more detail.
It is generally known that the potentiometer resistance (Rpot) includes a first resistance (Rx) and a second resistance (Ry). The first resistance (Rx) is the resistance between the first potentiometer terminal 108-1 and the portion of the wiper 112 that contacts the potentiometer resistor 110, which is referred to herein as the wiper contact 108-4. The second resistance (Ry) is the resistance between the potentiometer second terminal 108-2 and the wiper contact 108-4. From this and from the above, it may thus be appreciated that the voltage at the wiper contact 108-4 (Vwc) is equal to the product of the wiper current (Iw) and the summation of the wiper resistance (Rw) and the sense resistance (Rsense) (e.g., Vwc=Iw (Rw+Rsense)). Moreover, the second resistance (Ry) may be determined according to the following equation:
Ry=(Rpot)(Pwiper),
and the first resistance (Rx) may be determined according to the following equation:
Rx=Rpot−Ry.
Thus, at this point all of the resistances in the circuit 100 are known, except for the wiper resistance (Rw). However, as will now be explained, this value can be determined from two separate equations for the voltage at the wiper contact 108-4 (Vwc). The first equation, which was noted above, is:
Vwc=Iw(Rw+Rsense),
and the second equation is:
where the variable Ra is used to represent the summation of the first resistance (Rx) and the resistance of the one or more current limiting resistors 116 (e.g., Ra=Rx+R116), the variable Rb is used to represent the summation of the second resistance (Ry) and the one or more bias resistors 117 (e.g., Rb=Ry+R117), the variable Rz is used to represent the summation of the wiper resistance and sense resistance (e.g., Rz=Rw+Rsense),
is the parallel resistance formed by Rz and Rb, and Vref is the voltage source 114. When these two equations are equated, the following result is obtained:
The denominator on the right side of the equation may then be eliminated as follows:
IwRz(RaRz+RaRb+RzRb)=VrejRzRb
Then, by canceling Rz from both sides:
Iw(RaRz+RaRb+RzRb)=VrefRb,
and rearranging this equation so that Rz is on the left side, the following is obtained:
Because, as noted above, Rz=Rw+Rsense, it thus follows that:
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt to a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.
Claims
1. A method of determining wiper resistance of a potentiometer including a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals, the method comprising the steps of:
- electrically energizing the potentiometer;
- electrically coupling a sense resistor to the potentiometer third terminal, the sense resistor having a substantially constant sense resistance;
- determining a potentiometer voltage, the potentiometer voltage being a voltage potential between the potentiometer first and second terminals;
- determining the wiper position based at least in part on the determined potentiometer voltage;
- electrically coupling the sense resistor to a potential that causes a wiper current to flow through the wiper and sense resistor;
- determining a magnitude of the wiper current; and
- determining the wiper resistance based at least in part on the potentiometer resistance, the determined potentiometer position, the determined wiper current magnitude, and the sense resistance.
2. The method of claim 1, wherein the step of determining the wiper position comprises:
- substantially preventing current flow through the sense resistor;
- determining a no-load wiper voltage at the potentiometer third terminal; and
- calculating the wiper position by dividing the determined no-load wiper voltage by the determined potentiometer voltage.
3. The method of claim 1, wherein the step of determining the magnitude of the wiper current comprises:
- determining a wiper voltage at the potentiometer third terminal when the wiper current flows through the wiper and sense resistor; and
- calculating the wiper current magnitude from the determined wiper voltage and the sense resistance.
4. The method of claim 1, wherein the potentiometer resistance includes a first resistance between the first terminal and the wiper, and a second resistance between the second terminal and the wiper, and wherein the method further comprises:
- determining the second resistance from the potentiometer resistance and the determined wiper position; and
- determining the first resistance from the potentiometer resistance and the determined second resistance.
5. The method of claim 4, wherein the wiper resistance is determined from the potentiometer resistance, the determined first resistance, the determined second resistance, the determined wiper current magnitude, and the sense resistance.
6. The method of claim 5, further comprising: R w = V ref R b - I w R a R b I w R pot - R sense,
- electrically energizing the potentiometer from a voltage source having a reference voltage magnitude, and via a current limiting resistor having a resistance value and a bias resistor having a resistance value, the current limiting resistor coupled between the voltage source and the potentiometer first terminal, the bias resistor coupled between the potentiometer second terminal and a reference potential,
- wherein the wiper resistance is determined in accordance with the following equation:
- where: Vref=the reference voltage magnitude, Iw=the wiper current flow, Ra=the first resistance plus the resistance value of the current limiting resistor, Rb=the second resistance plus the resistance of the bias resistor, Rpot=the potentiometer resistance, Rsense=the sense resistance, and Rw=the wiper resistance.
7. The method of claim 1, wherein the step of determining the potentiometer voltage comprises determining a voltage magnitude at least at the potentiometer first terminal.
8. The method of claim 7, wherein the step of determining the potentiometer voltage further comprises determining a voltage magnitude at the potentiometer second terminal.
9. The method of claim 1, further comprising:
- determining the potentiometer resistance.
10. The method of claim 9, further comprising:
- determining a voltage magnitude at least at the potentiometer first terminal; and
- determining the potentiometer resistance based at least in part on the determined voltage magnitude at the potentiometer first terminal.
11. A potentiometer wiper resistance measurement circuit, comprising:
- a potentiometer including a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals;
- a sense resistor having a substantially constant sense resistance and including a first terminal and a second terminal, the sense resistor first terminal coupled to the potentiometer third terminal;
- a power source electrically coupled to the potentiometer and configured to supply a current thereto that results in a voltage drop between the potentiometer first and second terminals; and
- an output circuit having a plurality of input terminals and an output terminal, separate ones of the output circuit input terminals coupled to at least the potentiometer first terminal, the potentiometer second terminal, and the sense resistor second terminal, the output circuit operable to selectively couple (i) the potentiometer first terminal to the output terminal, (ii) the potentiometer third terminal to the output terminal, and (iii) the sense resistor second terminal to a reference potential.
12. The circuit of claim 11, wherein the output circuit includes:
- a first multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the potentiometer first terminal, a second of the input terminals coupled to the potentiometer third terminal;
- a second multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the sense resistor second terminal;
- a third multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the reference potential, the output terminal coupled to the second multiplexer output terminal; and
- a fourth multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the first multiplexer output terminal, a second of the input terminals coupled to the second multiplexer output terminal.
13. The circuit of claim 12, wherein the first of the third multiplexer input terminals is further coupled to the potentiometer second terminal.
14. The circuit of claim 12, wherein a second of the third multiplexer input terminals is coupled to the potentiometer second terminal.
15. The circuit of claim 12, further comprising:
- an analog-to-digital converter (ADC) coupled to the fourth multiplexer output terminal.
16. The circuit of claim 15, further comprising:
- an amplifier coupled between the ADC and the fourth multiplexer output terminal.
17. The circuit of claim 11, further comprising:
- a processor coupled to receive signals supplied from the output circuit output terminal and selectively operable, upon receipt thereof, to determine the potentiometer wiper resistance.
18. A potentiometer wiper resistance measurement circuit, comprising:
- a potentiometer including a first terminal, a second terminal, a third terminal, a resistive element having a potentiometer resistance electrically coupled between the first and second terminals, and a wiper electrically coupled between the resistive element and the third terminal and movable to a wiper position between the first and second terminals;
- a sense resistor having a substantially constant sense resistance and including a first terminal and a second terminal, the sense resistor first terminal coupled to the potentiometer third terminal;
- a power source electrically coupled to the potentiometer and configured to supply a current thereto that results in a voltage drop between the potentiometer first and second terminals;
- a first multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the potentiometer first terminal, a second of the input terminals coupled to the potentiometer third terminal;
- a second multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the sense resistor second terminal;
- a third multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the reference potential, the output terminal coupled to the second multiplexer output terminal; and
- a fourth multiplexer having a plurality of input terminals and an output terminal, a first of the input terminals coupled to the first multiplexer output terminal, a second of the input terminals coupled to the second multiplexer output terminal.
19. The circuit of claim 18, wherein a second of the third multiplexer input terminals is coupled to the potentiometer second terminal.
20. The circuit of claim 17, further comprising:
- a processor coupled to receive signals supplied from the fourth multiplexer output terminal and selectively operable, upon receipt thereof, to determine the potentiometer wiper resistance.
Type: Application
Filed: Aug 10, 2006
Publication Date: May 1, 2008
Patent Grant number: 7550981
Applicant:
Inventor: Mark F. Merry (Tucson, AZ)
Application Number: 11/502,956
International Classification: G01R 31/08 (20060101);